* @version $Id$ * @access public * @license http://opensource.org/licenses/gpl-3.0.html */ //////////// Check Inclusion de pages //////////// if (!class_exists('auth')) { include_once ("../lib/lib_common.php"); ReloadIndex('admin'); } //////////// //////////// Check Droits utilisateur //////////// if (!$l21auth->isSuperAdmin()) ReloadIndex('admin'); //////////// // emails queue information include_once('../class/class.emailq.php'); $emailqo = new emailq; $emailqueue = $emailqo->getCountQueue($sql_object); $email_div_content = ''; if(isset($emailqueue[0]['number'])) $emailsCounter = $emailqueue[0]['number']; else $emailsCounter = 0 ; $limit = 1000; if($emailsCounter > 0) { $emailrecords = $emailqo->getQueue($sql_object, $limit); $separator = " # "; foreach ($emailrecords as $record) { $email_div_content .= '
'.PHP_EOL; $email_div_content .= '' . mb_ucfirst(_t('divers', 'date')) . ' : ' . $record['eq_date_crea'] . '' . $separator . $record['eq_id'] . $separator . _t('contact', 'email') . ' : '. $record['eq_recipient'] . '' . $separator . '' .mb_ucfirst(_t('contact', 'subject')) . ' : ' . $record['eq_subject'] .'' . ' ' ; $email_div_content .= '
'.PHP_EOL; $email_div_content .= $record['eq_htmlbody']; $email_div_content .= '
'.PHP_EOL; $email_div_content .= '
'.PHP_EOL; } } ?>
%s
%s
', $crontab_php, $crontab_curl); $crontabInstructions = '
'. _t('system','title_cron_config') .'
'; $js = 'var clipboard = new ClipboardJS(".copy-cron-code"); clipboard.on("success", function(e) { alertify.success("'._t('copy', 'embedcode_copy_succeed').'"); });'; footerAddInlineJS($js); footerAddJS('../lib/js/clipboard.js-2.0.10/dist/clipboard.min.js'); } else $crontabInstructions = ''; $js = 'var cboxOptions = { innerWidth: "80%", innerHeight: "80%", maxWidth: "80%", maxHeight: "80%"} $(".see-logs").colorbox(cboxOptions); $(window).resize(function(){ $.colorbox.resize({ width: window.innerWidth > parseInt(cboxOptions.maxWidth) ? cboxOptions.maxWidth : cboxOptions.width, height: window.innerHeight > parseInt(cboxOptions.maxHeight) ? cboxOptions.maxHeight : cboxOptions.height }); }); '; $js .= '$("a.purge-log").on( "click", function () { var url = $(this).attr("href"); alertify.set({ labels : { ok: "'._t('divers', 'yes').'", cancel: "'._t('divers', 'no').'" } }); alertify.confirm("'._t('logs', 'purge_confirm').'", function (e) { if (e) { $.ajax({ type: "GET", url: url, data: {mode: "ajax"}, dataType: "json", success: function(data){ if(data.status==1) { alertify.success(data.msg); } else { alertify.error(data.msg); } } }); } }); return false; });'.PHP_EOL; $js .= '$.ajax({url: "../system/actions_admin.php", method: "POST", data: {action : "version-check"}, dataType: "html", success: function(data){ $("#version-check-container").delay(600).html(data); }});'; footerAddInlineJS($js); $js = 'var cboxOptions = { inline:true, innerWidth: "80%", innerHeight: "80%", maxWidth: "80%", maxHeight: "80%"} $(".cb-inline").colorbox(cboxOptions); $(window).resize(function(){ $.colorbox.resize({ width: window.innerWidth > parseInt(cboxOptions.maxWidth) ? cboxOptions.maxWidth : cboxOptions.width, height: window.innerHeight > parseInt(cboxOptions.maxHeight) ? cboxOptions.maxHeight : cboxOptions.height }); }); '; footerAddInlineJS($js); $js = '$(".email-body-toggle").on( "click", function () { $(this).next("div.email-htmlbody").slideToggle(); return false; });'; footerAddInlineJS($js); $js = '$("#purge-emailq").on( "click", function () { alertify.set({ labels : { ok: "'._t('divers', 'yes').'", cancel: "'._t('divers', 'no').'" } }); alertify.confirm("'._t('emailq', 'purge_confirm').'", function (e) { if (e) { $.ajax({ type: "GET", url: "../system/actions_admin.php", data: {action: "emailq-purge", mode: "ajax"}, dataType: "json", success: function(data){ if(data.status==1) { $("#emailq-counter").text("0"); alertify.success(data.msg); } else { alertify.error(data.msg); } } }); } }); return false; });'; footerAddInlineJS($js); $link_mod=$rub_link."&todo=mod&type="; $edit_theme=$rub_link."&todo=edit_files"; ?>

LINEA RELEASE

 

'.$folder.''); ?> : '._t('system', 'permission_ok').''; else echo '
'._t('system', 'permission_warn').'
'; ?>
'.$plugin.''); ?> : '._t('system', 'permission_ok').''; else echo '
'._t('system', 'permission_warn').'
'; ?>

  • LOG_ACCESS : -
  • LOG_MAILING : -
  • LOG_MAILER : -
  • LOG_CRONJOBS : -
  • LOG_SQL_QUERIES : -
  • LOG_SQL_ERRORS : -
  • LOG_MAINFILE : -
  • LOG_PHP_ERRORS : -