Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/cpanel.tar
Назад
view.html.php 0000604 00000074551 15245653265 0007217 0 ustar 00 <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @author acyba.com * @copyright (C) 2009-2018 ACYBA S.A.R.L. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><?php class CpanelViewCpanel extends acymailingView{ function display($tpl = null){ $toggleClass = acymailing_get('helper.toggle'); $config = acymailing_config(); $language = acymailing_getLanguageTag(); $styleRemind = 'float:right;margin-right:30px;position:relative;'; $loadLink = acymailing_popup(acymailing_completeLink('file', true).'&task=latest&code='.$language, acymailing_translation('LOAD_LATEST_LANGUAGE'), '', 800, 500, '', ' onclick="window.document.getElementById(\'acymailing_messages_warning\').style.display = \'none\';return true;" '); if(!file_exists(acymailing_getLanguagePath(ACYMAILING_ROOT, $language).DS.$language.'.com_acymailing.ini')){ if($config->get('errorlanguagemissing', 1)){ $notremind = '<small style="'.$styleRemind.'">'.$toggleClass->delete('acymailing_messages_warning', 'errorlanguagemissing_0', 'config', false, acymailing_translation('DONT_REMIND')).'</small>'; acymailing_enqueueMessage(acymailing_translation('MISSING_LANGUAGE').' '.$loadLink.' '.$notremind, 'warning'); } }elseif(version_compare(acymailing_translation('ACY_LANG_VERSION'), $config->get('version'), '<')){ if($config->get('errorlanguageupdate', 1)){ $notremind = '<small style="'.$styleRemind.'">'.$toggleClass->delete('acymailing_messages_warning', 'errorlanguageupdate_0', 'config', false, acymailing_translation('DONT_REMIND')).'</small>'; acymailing_enqueueMessage(acymailing_translation('UPDATE_LANGUAGE').' '.$loadLink.' '.$notremind, 'warning'); } } if($config->get('wronghttpsoption', 1) && $config->get('ssl_links', 1) == 0){ if((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443) { $notremind = '<small style="'.$styleRemind.'">'.$toggleClass->delete('acymailing_messages_error', 'wronghttpsoption_0', 'config', false, acymailing_translation('DONT_REMIND')).'</small>'; acymailing_enqueueMessage('If your site uses HTTPS on front-end, please make sure to turn On the "'.acymailing_translation('ACY_SSLCHOICE').'" option otherwise the links in your newsletters may not work properly (the unsubscribe link for instance).'.$notremind, 'error'); } } $indexes = array('listsub', 'stats', 'list', 'mail', 'userstats', 'urlclick', 'history', 'template', 'queue', 'subscriber'); $addIndexes = array('We recently optimized our database...'); foreach($indexes as $oneTable){ if($config->get('optimize_'.$oneTable, 1)) continue; $addIndexes[] = 'Please '.$toggleClass->toggleText('addindex', $oneTable, 'config', 'click here').' to add indexes on the '.$oneTable.' table'; } if(count($addIndexes) > 1) acymailing_enqueueMessage($addIndexes, 'warning'); $acyToolbar = acymailing_get('helper.toolbar'); $acyToolbar->custom('test', acymailing_translation('SEND_TEST'), 'send', false); $acyToolbar->divider(); $acyToolbar->addButtonOption('apply', acymailing_translation('ACY_APPLY'), 'apply', false); $acyToolbar->save(); $acyToolbar->cancel(); $acyToolbar->divider(); $acyToolbar->help('config'); $acyToolbar->setTitle(acymailing_translation('ACY_CONFIGURATION'), 'cpanel'); $acyToolbar->display(); $elements = new stdClass(); $elements->add_names = acymailing_boolean("config[add_names]", '', $config->get('add_names', true)); $elements->embed_images = acymailing_boolean("config[embed_images]", '', $config->get('embed_images', 0)); $elements->embed_files = acymailing_boolean("config[embed_files]", '', $config->get('embed_files', 1)); $elements->multiple_part = acymailing_boolean("config[multiple_part]", '', $config->get('multiple_part', 0)); $mailerMethods = array('elasticemail', 'smtp', 'sendmail'); $js = "function updateMailer(mailermethod){"."\n"; foreach($mailerMethods as $oneMethod){ $js .= " window.document.getElementById('".$oneMethod."_config').style.display = 'none'; "."\n"; } $js .= "if(window.document.getElementById(mailermethod+'_config')) {window.document.getElementById(mailermethod+'_config').style.display = 'block';} }"; $js .= 'document.addEventListener("DOMContentLoaded", function(){ updateMailer(\''.$config->get('mailer_method', 'phpmail').'\'); });'; acymailing_addScript(true, $js); $encodingval = array(); $encodingval[] = acymailing_selectOption('binary', 'Binary'); $encodingval[] = acymailing_selectOption('quoted-printable', 'Quoted-printable'); $encodingval[] = acymailing_selectOption('7bit', '7 Bit'); $encodingval[] = acymailing_selectOption('8bit', '8 Bit'); $encodingval[] = acymailing_selectOption('base64', 'Base 64'); $elements->encoding_format = acymailing_select($encodingval, "config[encoding_format]", 'size="1" style="width:150px;"', 'value', 'text', $config->get('encoding_format', 'base64')); $charset = acymailing_get('type.charset'); $elements->charset = $charset->display("config[charset]", $config->get('charset', 'UTF-8')); $securedVals = array(); $securedVals[] = acymailing_selectOption('', '- - -'); $securedVals[] = acymailing_selectOption('ssl', 'SSL'); $securedVals[] = acymailing_selectOption('tls', 'TLS'); $elements->smtp_secured = acymailing_select($securedVals, "config[smtp_secured]", 'size="1" style="width:100px;"', 'value', 'text', $config->get('smtp_secured')); $elements->smtp_auth = acymailing_boolean("config[smtp_auth]", '', $config->get('smtp_auth', 0)); $elements->smtp_keepalive = acymailing_boolean("config[smtp_keepalive]", '', $config->get('smtp_keepalive', 1)); $elements->allow_visitor = acymailing_boolean("config[allow_visitor]", '', $config->get('allow_visitor', 1)); $elements->subscription_message = acymailing_boolean("config[subscription_message]", '', $config->get('subscription_message', 1)); $elements->confirmation_message = acymailing_boolean("config[confirmation_message]", '', $config->get('confirmation_message', 1)); $elements->unsubscription_message = acymailing_boolean("config[unsubscription_message]", '', $config->get('unsubscription_message', 1)); $elements->welcome_message = acymailing_boolean("config[welcome_message]", '', $config->get('welcome_message', 1)); $elements->unsub_message = acymailing_boolean("config[unsub_message]", '', $config->get('unsub_message', 1)); $elements->confirm_message = acymailing_boolean("config[confirm_message]", '', $config->get('confirm_message', 0)); if(acymailing_level(1)){ $js = "function updateDKIM(dkimval){ if(dkimval == 1){document.getElementById('dkim_config').style.display = 'block';} else{document.getElementById('dkim_config').style.display = 'none';} };"; acymailing_addScript(true, $js); if(function_exists('openssl_sign')){ $elements->dkim = acymailing_boolean("config[dkim]", 'onclick="updateDKIM(this.value)"', $config->get('dkim', 0)); }else{ $elements->dkim = '<input type="hidden" name="config[dkim]" value="0" />PHP Extension openssl not enabled'; } $js = "function updateQueueProcess(newvalue){"; $js .= "if(newvalue == 'onlyauto') {window.document.getElementById('method_auto').style.display = ''; window.document.getElementById('method_manual').style.display = 'none';}"; $js .= "if(newvalue == 'auto') {window.document.getElementById('method_auto').style.display = ''; window.document.getElementById('method_manual').style.display = '';}"; $js .= "if(newvalue == 'manual') {window.document.getElementById('method_auto').style.display = 'none'; window.document.getElementById('method_manual').style.display = '';}"; $js .= '};'; acymailing_addScript(true, $js); $queueType = array(); $queueType[] = acymailing_selectOption('onlyauto', acymailing_translation('AUTO_ONLY')); $queueType[] = acymailing_selectOption('auto', acymailing_translation('AUTO_MAN')); $queueType[] = acymailing_selectOption('manual', acymailing_translation('MANUAL_ONLY')); $elements->queue_type = acymailing_radio($queueType, "config[queue_type]", 'onclick="updateQueueProcess(this.value);"', 'value', 'text', $config->get('queue_type', 'auto')); }else{ $elements->dkim = acymailing_getUpgradeLink('essential'); } $js = 'var selectedHTTPS = '.($config->get('ssl_links', 0) == 0 ? 'false;' : 'true;').' function confirmHTTPS(element){ var clickedHTTPS = (element == 1); if(clickedHTTPS == selectedHTTPS) return true; if(clickedHTTPS){ var cnfrm = confirm(\''.str_replace("'", "\'", acymailing_translation('ACY_SSLCHOICE_CONFIRMATION')).'\'); if(!cnfrm){'; if(ACYMAILING_J30){ $js .= 'var labels = document.getElementById(\'config_ssl_linksfieldset\').getElementsByTagName(\'label\'); if(labels[0].hasClass(\'btn-success\')){ labels[1].click(); return true; }else{ labels[0].click(); return true; }'; }else{ $js .= 'return false;'; } $js .= '} } selectedHTTPS = clickedHTTPS; return true; }'; acymailing_addScript(true, $js); $elements->ssl_links = acymailing_boolean("config[ssl_links]", 'onclick="return confirmHTTPS(this.value);"', $config->get('ssl_links', 0)); $delayTypeManual = acymailing_get('type.delay'); $elements->queue_pause = $delayTypeManual->display('config[queue_pause]', $config->get('queue_pause'), 0); $delayTypeAuto = acymailing_get('type.delay'); $delayTypeAuto->onChange = "window.document.getElementById('autoFrequencyWarning').style.display='inline';"; $onChangeMsg = '<span style="display:none;color:red;" id="autoFrequencyWarning">'.acymailing_translation('ACY_CRON_CHANGE_FREQUENCY_WARNING').'</span>'; $elements->cron_frequency = $delayTypeAuto->display('config[cron_frequency]', $config->get('cron_frequency'), 2).$onChangeMsg; $js = "function detectTimeout(id){ try{ window.document.getElementById(id).className = 'onload'; window.document.getElementById(id).innerHTML = '".str_replace("'", "\'", acymailing_translation('ACY_CLOSE_TIMEOUT'))."'; var xhr = new XMLHttpRequest(); xhr.open('GET', '".acymailing_prepareAjaxURL('stats')."&task=detecttimeout&seckey=".$config->get('security_key')."'); xhr.onload = function(){ document.getElementById(id).innerHTML = 'Done!'; window.document.getElementById(id).className = 'loading'; } xhr.send(); }catch(err){ alert('Could not load the max execution time value : '+err); } return; }"; $maxexecutiontime = $config->get('max_execution_time'); if(empty($maxexecutiontime) && (intval($config->get('last_maxexec_check')) < (time() - 60))){ $js .= 'window.addEventListener("load", function() {detectTimeout(\'timeoutcheck\')});'; } acymailing_addScript(true, $js); $script = ''; $cssval = array('css_frontend' => 'component', 'css_module' => 'module', 'css_backend' => 'backend'); foreach($cssval as $configval => $type){ $myvals = array(); $myvals[] = acymailing_selectOption('', acymailing_translation('ACY_NONE')); if($configval == 'css_backend'){ $myvals[] = acymailing_selectOption('backend_custom', acymailing_translation('ACY_CUSTOM')); $editFileName = $config->get('css_backend', 'default'); }else{ $regex = '^'.$type.'_([-_a-z0-9]*)\.css$'; $allCSSFiles = acymailing_getFiles(ACYMAILING_MEDIA.'css', $regex); $family = ''; foreach($allCSSFiles as $oneFile){ preg_match('#'.$regex.'#i', $oneFile, $results); $fileName = str_replace('default_', '', $results[1]); $fileNameArray = explode('_', $fileName); if(count($fileNameArray) == 2){ if($fileNameArray[0] != $family){ if(!empty($family)) $myvals[] = acymailing_selectOption('</OPTGROUP>'); $family = $fileNameArray[0]; $myvals[] = acymailing_selectOption('<OPTGROUP>', ucfirst($family)); } unset($fileNameArray[0]); $fileName = implode('_', $fileNameArray); } $fileName = ucwords(str_replace('_', ' ', $fileName)); $myvals[] = acymailing_selectOption($results[1], $fileName); } if(!empty($family)) $myvals[] = acymailing_selectOption('</OPTGROUP>'); $editFileName = $type.'_'.$config->get($configval, 'default'); } $currentVal = $config->get($configval, 'default'); $aStyle = empty($currentVal) ? ' style="display:none" ' : ''; $js = 'onchange="updateCSSLink(\''.$configval.'\',\''.$type.'\',this.value);"'; $elements->$configval = acymailing_select($myvals, 'config['.$configval.']', 'class="inputbox" size="1" '.$js, 'value', 'text', $config->get($configval, 'default'), $configval.'_choice'); $linkEdit = acymailing_completeLink("file", true)."&task=css&var=".$configval."&file='+".$configval."+'"; $elements->$configval .= ' '.acymailing_popup($linkEdit, '<i class="acyicon-edit" style="margin: 5px 5px 0px 5px; display: inline-block;"></i>', '', 800, 500, $configval.'_link', $aStyle); $script .= ' var '.$configval.' = "'.$editFileName.'"; '; } $script .= " function updateCSSLink(myid,type,newval){ if(newval){ document.getElementById(myid+'_link').style.display = ''; }else{ document.getElementById(myid+'_link').style.display = 'none'; } if(myid == 'css_backend') filename = newval; else filename = type+'_'+newval; document.getElementById(myid+'_link').href = '".acymailing_completeLink('file&task=css', true)."&var='+myid+'&file='+filename; window[myid] = filename; }"; acymailing_addScript(true, $script); $elements->colortype = acymailing_get('type.color'); $link = 'index.php?option=com_acymailing&tmpl=component&ctrl=email&task=edit&mailid=send-in-article'; $elements->edit_send_in_article = acymailing_popup($link, '<button class="acymailing_button_grey" onclick="return false">'.acymailing_translation('ACY_EDIT_ARTICLE_EMAIL').'</button>', '', 900, 700); if(acymailing_level(1)){ $trackingMode = $config->get('trackingsystem', 'acymailing'); $tracking_system = '<input type="checkbox" name="config[trackingsystem][]" id="trackingsystem[0]" value="acymailing" style="margin-left:10px" '.(stripos($trackingMode, 'acymailing') !== false ? 'checked="checked"' : '').'/> <label for="trackingsystem[0]">Acymailing</label>'; $tracking_system .= '<input type="checkbox" name="config[trackingsystem][]" id="trackingsystem[1]" value="google" style="margin-left:10px;" '.(stripos($trackingMode, 'google') !== false ? 'checked="checked"' : '').'/> <label for="trackingsystem[1]">Google Analytics</label>'; $tracking_system .= '<input type="hidden" name="config[trackingsystem][]" value="1"/>'; $tracking_system_external_website = acymailing_boolean("config[trackingsystemexternalwebsite]", ' id="trackingsystemexternalwebsite"', $config->get('trackingsystemexternalwebsite', 1)); }else{ $tracking_system = acymailing_getUpgradeLink('essential'); $tracking_system_external_website = acymailing_getUpgradeLink('essential'); } $elements->tracking_system = $tracking_system; $elements->tracking_system_external_website = $tracking_system_external_website; if(acymailing_level(3)){ $geolocAvailable = true; $geolocation = '<input type="hidden" name="config[geolocation]" value="0"/>'; $geoloc_api_key = ''; $google_map_api_key = ''; if(!function_exists('curl_init')){ $geolocAvailable = false; $geolocation .= 'The AcyMailing geolocation plugin needs the CURL library installed but it seems that it is not available on your server. Please contact your web hosting to set it up.'; } if(!function_exists('json_decode')){ if(!$geolocAvailable) $geolocation .= '<br />'; $geolocAvailable = false; $geolocation .= 'The AcyMailing geolocation plugin can only work with PHP 5.2 at least. Please ask your web hosting to update your PHP version.'; } if($geolocAvailable){ $geoloc = $config->get('geolocation', ''); $geolocation = '<span style="white-space:nowrap"><input type="checkbox" name="config[geolocation][]" id="geolocation_0" value="creation" style="margin-left:10px" '.(stripos($geoloc, 'creation') !== false ? 'checked="checked"' : '').'/> <label for="geolocation_0">'.acymailing_translation('ON_USER_CREATE').'</label></span>'; $geolocation .= ' <span style="white-space:nowrap"><input type="checkbox" name="config[geolocation][]" id="geolocation_1" value="modify" style="margin-left:10px;" '.(stripos($geoloc, 'modify') !== false ? 'checked="checked"' : '').'/> <label for="geolocation_1">'.acymailing_translation('ON_USER_CHANGE').'</label></span>'; $geolocation .= ' <span style="white-space:nowrap"><input type="checkbox" name="config[geolocation][]" id="geolocation_2" value="confirm" style="margin-left:10px;" '.(stripos($geoloc, 'confirm') !== false ? 'checked="checked"' : '').'/> <label for="geolocation_2">'.acymailing_translation('GEOLOC_CONFIRM_SUB').'</label></span>'; $geolocation .= ' <span style="white-space:nowrap"><input type="checkbox" name="config[geolocation][]" id="geolocation_3" value="clic" style="margin-left:10px;" '.(stripos($geoloc, 'clic') !== false ? 'checked="checked"' : '').'/> <label for="geolocation_3">'.acymailing_translation('ON_USER_CLICK').'</label></span>'; $geolocation .= ' <span style="white-space:nowrap"><input type="checkbox" name="config[geolocation][]" id="geolocation_4" value="open" style="margin-left:10px;" '.(stripos($geoloc, 'open') !== false ? 'checked="checked"' : '').'/> <label for="geolocation_4">'.acymailing_translation('ON_OPEN_NEWS').'</label></span>'; $geolocation .= ' <span style="white-space:nowrap"><input type="checkbox" name="config[geolocation][]" id="geolocation_5" value="unsubscription" style="margin-left:10px;" '.(stripos($geoloc, 'unsubscription') !== false ? 'checked="checked"' : '').'/> <label for="geolocation_5">'.acymailing_translation('GEOLOC_UNSUB').'</label></span>'; $geolocation .= '<input type="hidden" name="config[geolocation][]" value="1"/>'; $geoloc_api_key = '<input class="inputbox" type="text" id="geoloc_api_key" name="config[geoloc_api_key]" style="width:450px" value="'.$this->escape($config->get('geoloc_api_key', '')).'">'; $google_map_api_key = '<input class"inputbox" type="text" id="google_map_api_key" name="config[google_map_api_key]" style="width:450px" value="'.$this->escape($config->get('google_map_api_key', '')).'">'; } }else{ $geolocation = acymailing_getUpgradeLink('enterprise'); $geoloc_api_key = false; $google_map_api_key = false; } $elements->geolocation = $geolocation; $elements->geoloc_api_key = $geoloc_api_key; $elements->google_map_api_key = $google_map_api_key; $link = acymailing_completeLink('email', true).'&task=edit&mailid='; $button = '<button class="acymailing_button_grey" onclick="return false">'.acymailing_translation('EDIT_NOTIFICATION_MAIL').'</button>'; $elements->editConfEmail = acymailing_popup($link.'confirmation', '<button class="acymailing_button_grey" onclick="return false">'.acymailing_translation('EDIT_CONF_MAIL').'</button>', '', 800, 500, 'confirmemail'); $elements->edit_notification_created = acymailing_popup($link.'notification_created', $button); $elements->edit_notification_refuse = acymailing_popup($link.'notification_refuse', $button); $elements->edit_notification_unsuball = acymailing_popup($link.'notification_unsuball', $button); $elements->edit_notification_unsub = acymailing_popup($link.'notification_unsub', $button); $elements->edit_notification_contact = acymailing_popup($link.'notification_contact', $button); $elements->edit_notification_contact_menu = acymailing_popup($link.'notification_contact_menu', $button); $elements->edit_notification_confirm = acymailing_popup($link.'notification_confirm', $button); $elements->editModifEmail = acymailing_popup($link.'modif', $button, '', 800, 500, 'modifemail'); $link = acymailing_completeLink('cpanel', true).'&task=checkDB'; $elements->checkDB = acymailing_popup($link, '<button class="acymailing_button_grey" onclick="return false">'.acymailing_translation('DATABASE_INTEGRITY').'</button>'); $js = "function addUnsubReason(){ var input = document.createElement('input'); input.name = 'unsub_reasons[]'; input.style.width = '300px'; input.style.margin = '3px 0px'; input.type = 'text'; document.getElementById('unsub_reasons').appendChild(input); var br = document.createElement('br'); document.getElementById('unsub_reasons').appendChild(br); } function displaySurvey(surveyval){ if(surveyval == 1){ document.getElementById('unsub_reasons_area').style.display = 'block'; }else{ document.getElementById('unsub_reasons_area').style.display = 'none'; } } "; acymailing_addScript(true, $js); $langs = acymailing_getLanguages(); $languages = array(); foreach ($langs as $lang => $obj) { if (strlen($lang) != 5 || $lang == "xx-XX") continue; $oneLanguage = new stdClass(); $oneLanguage->language = $lang; $oneLanguage->name = $obj->name; $linkEdit = acymailing_completeLink('file').'&task=language&code=' . $lang; $icon = $obj->exists ? 'edit' : 'new'; $oneLanguage->edit = acymailing_popup($linkEdit, '<i class="acyicon-'.$icon.'" id="image' . $lang . '"></i>'); $languages[] = $oneLanguage; } $js = "function updateConfirmation(newvalue){"; $js .= "if(newvalue == 0) {window.document.getElementById('confirmemail').style.display = 'none'; window.document.getElementById('confirm_redirect').disabled = true;}else{window.document.getElementById('confirmemail').style.display = 'inline'; window.document.getElementById('confirm_redirect').disabled = false;}"; $js .= '}'; $js .= "function updateModification(newvalue){ if(newvalue != 'none') {window.document.getElementById('modifemail').style.display = 'none';}else{window.document.getElementById('modifemail').style.display = 'inline';}} "; $js .= 'window.addEventListener("load", function(){ updateModification(\''.$config->get('allow_modif', 'data').'\'); updateConfirmation('.$config->get('require_confirmation', 0).'); });'; acymailing_addScript(true, $js); $elements->require_confirmation = acymailing_boolean("config[require_confirmation]", 'onclick="updateConfirmation(this.value)"', $config->get('require_confirmation', 0)); $allowmodif = array(); $allowmodif[] = acymailing_selectOption("none", acymailing_translation('JOOMEXT_NO')); $allowmodif[] = acymailing_selectOption("data", acymailing_translation('ONLY_SUBSCRIPTION')); $allowmodif[] = acymailing_selectOption("all", acymailing_translation('JOOMEXT_YES')); $elements->allow_modif = acymailing_radio($allowmodif, "config[allow_modif]", 'size="1" onclick="updateModification(this.value)"', 'value', 'text', $config->get('allow_modif', 'data')); if('joomla' == 'joomla') { $indexType = $config->get('indexFollow', ''); $indexFollow = '<div style="float: left;"><input type="checkbox" name="config[indexFollow][]" id="indexFollow[0]" value="noindex" style="margin-left:10px" '.(stripos($indexType, 'noindex') !== false ? 'checked="checked"' : '').'/> <label for="indexFollow[0]">noindex</label></div>'; $indexFollow .= '<div style="float: left;"><input type="checkbox" name="config[indexFollow][]" id="indexFollow[1]" value="nofollow" style="margin-left:10px" '.(stripos($indexType, 'nofollow') !== false ? 'checked="checked"' : '').'/> <label for="indexFollow[1]">nofollow</label></div>'; $indexFollow .= '<input type="hidden" name="config[indexFollow][]" value="1"/>'; $elements->indexFollow = $indexFollow; if(!ACYMAILING_J16){ $query = 'SELECT a.name, a.id as itemid, b.title FROM `#__menu` as a JOIN `#__menu_types` as b on a.menutype = b.menutype WHERE a.access = 0 ORDER BY b.title ASC,a.ordering ASC'; }else{ $orderby = ACYMAILING_J30 ? 'a.lft' : 'a.ordering'; $query = 'SELECT a.alias as name, a.id as itemid, b.title FROM `#__menu` as a JOIN `#__menu_types` as b on a.menutype = b.menutype WHERE a.access = 1 AND a.client_id=0 AND a.parent_id != 0 ORDER BY b.title ASC,'.$orderby.' ASC'; } $joomMenus = acymailing_loadObjectList($query); $menuvalues = array(); $menuvalues[] = acymailing_selectOption('0', acymailing_translation('ACY_NONE')); $lastGroup = ''; foreach($joomMenus as $oneMenu){ if($oneMenu->title != $lastGroup){ if(!empty($lastGroup)) $menuvalues[] = acymailing_selectOption('</OPTGROUP>'); $menuvalues[] = acymailing_selectOption('<OPTGROUP>', $oneMenu->title); $lastGroup = $oneMenu->title; } $menuvalues[] = acymailing_selectOption($oneMenu->itemid, $oneMenu->name); } $elements->acymailing_menu = acymailing_select($menuvalues, 'config[itemid]', 'size="1"', 'value', 'text', $config->get('itemid')); $acyrss_format = array(); $acyrss_format[] = acymailing_selectOption('', acymailing_translation('ACY_NONE')); $acyrss_format[] = acymailing_selectOption('rss', 'RSS feed'); $acyrss_format[] = acymailing_selectOption('atom', 'Atom feed'); $acyrss_format[] = acymailing_selectOption('both', acymailing_translation('ACY_ALL')); $elements->acyrss_format = acymailing_select($acyrss_format, "config[acyrss_format]", 'size="1"', 'value', 'text', $config->get('acyrss_format', '')); $acyrss_order = array(); $acyrss_order[] = acymailing_selectOption('senddate', acymailing_translation('SEND_DATE')); $acyrss_order[] = acymailing_selectOption('mailid', acymailing_translation('ACY_ID')); $acyrss_order[] = acymailing_selectOption('subject', acymailing_translation('ACY_TITLE')); $elements->acyrss_order = acymailing_select($acyrss_order, "config[acyrss_order]", 'size="1"', 'value', 'text', $config->get('acyrss_order', 'senddate')); if(version_compare(JVERSION, '3.1.2', '>=')) $elements->special_chars = acymailing_boolean("config[special_chars]", '', $config->get('special_chars', 0)); $bootstrapFrontValues = array(); $bootstrapFrontValues[] = acymailing_selectOption(0, acymailing_translation('JOOMEXT_NO')); $bootstrapFrontValues[] = acymailing_selectOption(1, 'Bootstrap 2'); $bootstrapFrontValues[] = acymailing_selectOption(2, 'Bootstrap 3'); $elements->bootstrap_frontend = acymailing_radio($bootstrapFrontValues, "config[bootstrap_frontend]", '', 'value', 'text', $config->get('bootstrap_frontend', 0)); if(acymailing_level(1)){ $js = 'var selectedForward = '.$config->get('forward', 0).' function confirmForward(clickedForward){ if(clickedForward == selectedForward || clickedForward != 1) return true; var cnfrm = confirm(\''.str_replace("'", "\'", acymailing_translation('ACY_FORWARDCHOICE_CONFIRMATION')).'\'); if(!cnfrm) return true;'; if(ACYMAILING_J30){ $js .= ' var labels = document.getElementById("config_forwardfieldset").getElementsByTagName("label"); for(oneLabel in labels){ if(isNaN(oneLabel)) continue; if(labels[oneLabel].getAttribute("for") == "config_forward2"){ labels[oneLabel].click(); } }'; }else{ $js .= 'document.getElementById("config[forward]2").checked = true;'; } $js .= '}'; acymailing_addScript(true, $js); $forwardValues = array(); $forwardValues[] = acymailing_selectOption(0, acymailing_translation('JOOMEXT_NO')); $forwardValues[] = acymailing_selectOption(1, acymailing_translation('JOOMEXT_YES')); $forwardValues[] = acymailing_selectOption(2, acymailing_translation('JOOMEXT_YES_FORWARD')); $elements->forward = acymailing_radio($forwardValues, "config[forward]", 'onclick="confirmForward(this.value);"', 'value', 'text', $config->get('forward', 0)); $nextDate = $config->get('cron_plugins_next', time()); $listHours = array(); $listMinutess = array(); for($i = 0; $i < 24; $i++){ $value = $i < 10 ? '0'.$i : $i; $listHours[] = acymailing_selectOption($value, $value); } $hours = acymailing_select($listHours, 'cronplghours', 'class="inputbox" size="1" style="width:60px;"', 'value', 'text', acymailing_getDate($nextDate, 'H')); for($i = 0; $i < 60; $i += 5){ $value = $i < 10 ? '0'.$i : $i; $listMinutess[] = acymailing_selectOption($value, $value); } $defaultMin = floor(acymailing_getDate($nextDate, 'i') / 5) * 5; $minutes = acymailing_select($listMinutess, 'cronplgminutes', 'class="inputbox" size="1" style="width:60px;"', 'value', 'text', $defaultMin); $elements->cron_plugins = $hours.' : '.$minutes; }else{ $elements->forward = acymailing_getUpgradeLink('essential'); } $elements->use_sef = acymailing_boolean("config[use_sef]", '', $config->get('use_sef', 0)); $editorType = acymailing_get('type.editor'); $elements->editor = $editorType->display('config[editor]', $config->get('editor')); if (!ACYMAILING_J16) { $plugins = acymailing_loadObjectList("SELECT name, element, published,id FROM `#__plugins` WHERE `folder` = 'acymailing' AND `element` NOT LIKE 'plg%' ORDER BY published DESC, name ASC"); } else { $plugins = acymailing_loadObjectList("SELECT name, element, enabled as published,extension_id as id FROM `#__extensions` WHERE `state` <> -1 AND `folder` = 'acymailing' AND `type`= 'plugin' AND `element` NOT LIKE 'plg%' ORDER BY enabled DESC, name ASC"); } if (!ACYMAILING_J16) { $integrationplugins = acymailing_loadObjectList("SELECT name, element, published,id FROM `#__plugins` WHERE (`folder` != 'acymailing' OR `element` LIKE 'plg%') AND (`name` LIKE '%acymailing%' OR `element` LIKE '%acymailing%') ORDER BY published DESC, name ASC"); } else { $integrationplugins = acymailing_loadObjectList("SELECT name, element, enabled as published ,extension_id as id FROM `#__extensions` WHERE `state` <> -1 AND (`folder` != 'acymailing' OR `element` LIKE 'plg%') AND `type` = 'plugin' AND (`name` LIKE '%acymailing%' OR `element` LIKE '%acymailing%') ORDER BY enabled DESC, name ASC"); } $pluginsNeedUpDate = json_decode($config->get('pluginNeedUpdate', '')); if(!empty($pluginsNeedUpDate)){ foreach($plugins as $plugin){ if(!in_array($plugin->id, $pluginsNeedUpDate)) continue; $plugin->needUpDate = true; } foreach($integrationplugins as $plugin){ if(!in_array($plugin->id, $pluginsNeedUpDate)) continue; $plugin->needUpDate = true; } } $this->plugins = $plugins; $this->integrationplugins = $integrationplugins; if((!ACYMAILING_J16 AND !file_exists(ACYMAILING_ROOT.'plugins'.DS.'acymailing'.DS.'tagsubscriber.php')) OR (ACYMAILING_J16 AND !file_exists(ACYMAILING_ROOT.'plugins'.DS.'acymailing'.DS.'tagsubscriber'.DS.'tagsubscriber.php'))) acymailing_checkPluginsFolders(); } $this->bounceaction = acymailing_get('type.bounceaction'); $this->config = $config; $this->languages = $languages; $this->elements = $elements; $this->tabs = acymailing_get('helper.acytabs'); $this->toggleClass = $toggleClass; return parent::display($tpl); } } tmpl/default.php 0000604 00000004321 15245653265 0007666 0 ustar 00 <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @author acyba.com * @copyright (C) 2009-2018 ACYBA S.A.R.L. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><div id="acy_content"> <div id="iframedoc"></div> <form action="<?php echo acymailing_completeLink('cpanel'); ?>" method="post" name="adminForm" autocomplete="off" id="adminForm"> <?php acymailing_formOptions(); echo $this->tabs->startPane('config_tab'); echo $this->tabs->startPanel(acymailing_translation('MAIL_CONFIG'), 'config_mail'); include(dirname(__FILE__).DS.'mail.php'); echo $this->tabs->endPanel(); echo $this->tabs->startPanel(acymailing_translation('QUEUE_PROCESS'), 'config_queue'); include(dirname(__FILE__).DS.'queue.php'); echo $this->tabs->endPanel(); echo $this->tabs->startPanel(acymailing_translation('SUBSCRIPTION'), 'config_subscription'); include(dirname(__FILE__).DS.'subscription.php'); echo $this->tabs->endPanel(); echo $this->tabs->startPanel(acymailing_translation('INTERFACE'), 'config_interface'); include(dirname(__FILE__).DS.'interface.php'); echo $this->tabs->endPanel(); echo $this->tabs->startPanel(acymailing_translation('SECURITY'), 'config_security'); include(dirname(__FILE__).DS.'security.php'); echo $this->tabs->endPanel(); if(file_exists(dirname(__FILE__).DS.'others.php')){ echo $this->tabs->startPanel(acymailing_translation('OTHERS'), 'config_others'); include(dirname(__FILE__).DS.'others.php'); echo $this->tabs->endPanel(); } echo $this->tabs->startPanel(acymailing_translation('ACCESS_LEVEL'), 'config_acl'); include(dirname(__FILE__).DS.'acl.php'); echo $this->tabs->endPanel(); if(!empty($this->plugins) || !empty($this->integrationplugins)) { echo $this->tabs->startPanel(acymailing_translation('PLUGINS'), 'config_plugins'); include(dirname(__FILE__) . DS . 'plugins.php'); echo $this->tabs->endPanel(); } echo $this->tabs->startPanel(acymailing_translation('LANGUAGES'), 'config_languages'); include(dirname(__FILE__).DS.'languages.php'); echo $this->tabs->endPanel(); echo $this->tabs->endPane(); ?> <div class="clr"></div> </form> </div> tmpl/default.xml 0000604 00000000322 15245653265 0007674 0 ustar 00 <?xml version="1.0" encoding="utf-8"?> <metadata> <layout title="COM_CPANEL_CPANEL_VIEW_DEFAULT_TITLE"> <message> <![CDATA[COM_CPANEL_CPANEL_VIEW_DEFAULT_TITLE_DESC]]> </message> </layout> </metadata> default.php 0000604 00000002426 15245663007 0006711 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ // no direct access defined('_JEXEC') or die; use Joomla\Registry\Registry; echo JHtml::_('sliders.start', 'panel-sliders', array('useCookie' => '1')); if (JFactory::getUser()->authorise('core.manage', 'com_postinstall')) : if ($this->postinstall_message_count): echo JHtml::_('sliders.panel', JText::_('COM_CPANEL_MESSAGES_TITLE'), 'cpanel-panel-com-postinstall'); ?> <div class="modal-body"> <p> <?php echo JText::_('COM_CPANEL_MESSAGES_BODY_NOCLOSE'); ?> </p> <p> <?php echo JText::_('COM_CPANEL_MESSAGES_BODYMORE_NOCLOSE'); ?> </p> </div> <div class="modal-footer"> <button onclick="window.location='index.php?option=com_postinstall&eid=700'; return false" class="btn btn-primary btn-large" > <?php echo JText::_('COM_CPANEL_MESSAGES_REVIEW'); ?> </button> </div> <?php endif; ?> <?php endif; foreach ($this->modules as $module) { $output = JModuleHelper::renderModule($module); echo JHtml::_('sliders.panel', $module->title, 'cpanel-panel-' . $module->name); echo $output; } echo JHtml::_('sliders.end'); tmpl/interface.php 0000604 00000045506 15245703250 0010202 0 ustar 00 <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @author acyba.com * @copyright (C) 2009-2018 ACYBA S.A.R.L. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><div id="config_interface"> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('MESSAGES'); ?></span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('DISPLAY_MSG_SUBSCRIPTION_DESC').'<br /><br /><i>'.($this->config->get('require_confirmation', 0) ? acymailing_translation('CONFIRMATION_SENT') : acymailing_translation('SUBSCRIPTION_OK')).'</i>', acymailing_translation('DISPLAY_MSG_SUBSCRIPTION'), '', acymailing_translation('DISPLAY_MSG_SUBSCRIPTION')); ?> </td> <td> <?php echo $this->elements->subscription_message; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('DISPLAY_MSG_CONFIRM_DESC').'<br /><br /><i>'.acymailing_translation('SUBSCRIPTION_CONFIRMED').'</i>', acymailing_translation('DISPLAY_MSG_CONFIRM'), '', acymailing_translation('DISPLAY_MSG_CONFIRM')); ?> </td> <td> <?php echo $this->elements->confirmation_message; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('DISPLAY_MSG_UNSUBSCRIPTION_DESC'), acymailing_translation('DISPLAY_MSG_UNSUBSCRIPTION'), '', acymailing_translation('DISPLAY_MSG_UNSUBSCRIPTION')); ?> </td> <td> <?php echo $this->elements->unsubscription_message; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('DISPLAY_MSG_CONFIRMATION_DESC'), acymailing_translation('DISPLAY_MSG_CONFIRMATION'), '', acymailing_translation('DISPLAY_MSG_CONFIRMATION')); ?> </td> <td> <?php echo $this->elements->confirm_message; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('DISPLAY_MSG_WELCOME_DESC'), acymailing_translation('DISPLAY_MSG_WELCOME'), '', acymailing_translation('DISPLAY_MSG_WELCOME')); ?> </td> <td> <?php echo $this->elements->welcome_message; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('DISPLAY_MSG_UNSUB_DESC'), acymailing_translation('DISPLAY_MSG_UNSUB'), '', acymailing_translation('DISPLAY_MSG_UNSUB')); ?> </td> <td> <?php echo $this->elements->unsub_message; ?> </td> </tr> </table> </div> <div class="onelineblockoptions"> <span class="acyblocktitle">CSS</span> <table class="acymailing_table" cellspacing="1"> <?php if(!empty($this->elements->css_module)){ ?> <tr> <td class="acykey"> <?php if('joomla' == 'wordpress'){ echo acymailing_translation('ACY_CSS_WIDGET'); }else{ echo acymailing_tooltip(acymailing_translation('CSS_MODULE_DESC'), acymailing_translation('CSS_MODULE'), '', acymailing_translation('CSS_MODULE')); } ?> </td> <td> <?php echo $this->elements->css_module; ?> </td> </tr> <?php } ?> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('CSS_FRONTEND_DESC'), acymailing_translation('CSS_FRONTEND'), '', acymailing_translation('CSS_FRONTEND')); ?> </td> <td> <?php echo $this->elements->css_frontend; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('ACY_CSS_BACKEND_DESC'), acymailing_translation('ACY_CSS_BACKEND'), '', acymailing_translation('ACY_CSS_BACKEND')); ?> </td> <td> <?php echo $this->elements->css_backend; ?> </td> </tr> <?php if(ACYMAILING_J30 && !empty($this->elements->bootstrap_frontend)){ ?> <tr> <td class="acykey"> <?php echo acymailing_translation('USE_BOOTSTRAP_FRONTEND'); ?> </td> <td> <?php echo $this->elements->bootstrap_frontend; ?> </td> </tr> <?php } ?> </table> </div> <?php if(!empty($this->elements->use_sef)){ ?> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('FEATURES'); ?></span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('FORWARD_DESC'), acymailing_translation('FORWARD_FEATURE'), '', acymailing_translation('FORWARD_FEATURE')); ?> </td> <td> <?php echo $this->elements->forward; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('USE_SEF_DESC'), acymailing_translation('USE_SEF'), '', acymailing_translation('USE_SEF')); ?> </td> <td> <?php echo $this->elements->use_sef; ?> </td> </tr> <?php if(acymailing_level(3)){ ?> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('ACY_FEATURE_SEND_IN_ARTICLE_DESC'), acymailing_translation('ACY_FEATURE_SEND_IN_ARTICLE'), '', acymailing_translation('ACY_FEATURE_SEND_IN_ARTICLE')); ?> </td> <td class="acykey"> <?php echo $this->elements->edit_send_in_article ?> </td> </tr> <?php } ?> </table> </div> <?php } ?> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('TRACKING'); ?></span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_translation('TRACKINGSYSTEM'); ?> </td> <td> <?php echo $this->elements->tracking_system; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_translation('ACY_TRACKINGSYSTEM_EXTERNAL_LINKS'); ?> </td> <td> <?php echo $this->elements->tracking_system_external_website; ?> </td> </tr> </table> </div> <?php if(!empty($this->elements->acymailing_menu)) { ?> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('MENU'); ?></span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('ACYMAILING_MENU_DESC'), acymailing_translation('ACYMAILING_MENU'), '', acymailing_translation('ACYMAILING_MENU')); ?> </td> <td> <?php echo $this->elements->acymailing_menu; ?> </td> </tr> </table> </div> <?php } if(!empty($this->elements->editor)){ ?> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('ACY_EDITOR'); ?></span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('EDITOR_DESC'), acymailing_translation('ACY_EDITOR'), '', acymailing_translation('ACY_EDITOR')); ?> </td> <td> <?php echo $this->elements->editor; ?> </td> </tr> </table> </div> <?php } if(!empty($this->elements->indexFollow)){ ?> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('ARCHIVE_SECTION'); ?></span> <table class="acymailing_table" cellspacing="1"> <?php if(file_exists(ACYMAILING_ROOT.'components'.DS.'com_jcomments'.DS.'jcomments.php')){ $jcomments = ($this->config->get('comments_feature') == 'jcomments') ? 'checked="checked"' : ''; }else{ $jcomments = 'disabled="disabled"'; } if(file_exists(ACYMAILING_ROOT.'components'.DS.'com_rscomments')){ $rscomments = ($this->config->get('comments_feature') == 'rscomments') ? 'checked="checked"' : ''; }else{ $rscomments = 'disabled="disabled"'; } if(file_exists(ACYMAILING_ROOT.'components'.DS.'com_komento')){ $komento = ($this->config->get('comments_feature') == 'komento') ? 'checked="checked"' : ''; }else{ $komento = 'disabled="disabled"'; } if(file_exists(ACYMAILING_ROOT.'plugins'.DS.'content'.DS.'jom_comment_bot.php')){ $jomcomment = ($this->config->get('comments_feature') == 'jomcomment') ? 'checked="checked"' : ''; }else{ $jomcomment = 'disabled="disabled"'; } if($this->config->get('comments_feature') == 'disqus'){ $disqus = 'checked="checked"'; }else{ $disqus = ''; } $no_checked = $this->config->get('comments_feature') ? '' : 'checked="checked"'; ?> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('COMMENTS_ENABLED_DESC'), acymailing_translation('COMMENTS_ENABLED'), '', acymailing_translation('COMMENTS_ENABLED')); ?> </td> <td> <div class="controls"> <input onclick="updateCommentsOption();" name="config[comments_feature]" id="config_comments_feature" value="" <?php echo $no_checked; ?> size="1" type="radio"/> <label for="config_comments_feature"><?php echo acymailing_translation('JOOMEXT_NO'); ?></label> <?php if('joomla' == 'joomla') { ?> <input onclick="updateCommentsOption();" name="config[comments_feature]" id="config_comments_feature_rscomments" value="rscomments" <?php echo $rscomments; ?> size="1" type="radio"/> <label for="config_comments_feature_rscomments">RSComments</label> <input onclick="updateCommentsOption();" name="config[comments_feature]" id="config_comments_feature_komento" value="komento" <?php echo $komento; ?> size="1" type="radio"/> <label for="config_comments_feature_komento">Komento</label> <input onclick="updateCommentsOption();" name="config[comments_feature]" id="config_comments_feature_jcomments" value="jcomments" <?php echo $jcomments; ?> size="1" type="radio"/> <label for="config_comments_feature_jcomments">jComments</label> <input onclick="updateCommentsOption();" name="config[comments_feature]" id="config_comments_feature_jomcomment" value="jomcomment" <?php echo $jomcomment; ?> size="1" type="radio"/> <label for="config_comments_feature_jomcomment">jomComment</label> <?php } ?> <input onclick="updateCommentsOption();" name="config[comments_feature]" id="config_comments_feature_disqus" value="disqus" <?php echo $disqus; ?> size="1" type="radio"/> <label for="config_comments_feature_disqus">Disqus</label> </div> <label for="config_disqus_shortname" style="display:<?php echo empty($disqus) ? "none" : "inline-block"; ?>;" id="config_disqus_shortname_label">Shortname : </label> <input type="text" name="config[disqus_shortname]" id="config_disqus_shortname" value="<?php echo $this->config->get('disqus_shortname'); ?>" size="1" style="width:100px;float:none;<?php if(empty($disqus)) echo "display:none;"; ?>"/> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('SUBJECT_DISPLAY_DESC'), acymailing_translation('SUBJECT_DISPLAY'), '', acymailing_translation('SUBJECT_DISPLAY')); ?> </td> <td> <?php echo acymailing_boolean("config[frontend_subject]", '', $this->config->get('frontend_subject', 1)); ?> </td> </tr> <?php if(!ACYMAILING_J16){ ?> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('FRONTEND_PDF_DESC'), acymailing_translation('FRONTEND_PDF'), '', acymailing_translation('FRONTEND_PDF')); ?> </td> <td> <?php echo acymailing_boolean("config[frontend_pdf]", '', $this->config->get('frontend_pdf', 0)); ?> </td> </tr> <?php } ?> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('FRONTEND_PRINT_DESC'), acymailing_translation('FRONTEND_PRINT'), '', acymailing_translation('FRONTEND_PRINT')); ?> </td> <td> <?php echo acymailing_boolean("config[frontend_print]", '', $this->config->get('frontend_print', 0)); ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('SHOW_DESCRIPTION_DESC'), acymailing_translation('SHOW_DESCRIPTION'), '', acymailing_translation('SHOW_DESCRIPTION')); ?> </td> <td> <?php echo acymailing_boolean("config[show_description]", '', $this->config->get('show_description', 1)); ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('SHOW_FILTER_DESC'), acymailing_translation('SHOW_FILTER'), '', acymailing_translation('SHOW_FILTER')); ?> </td> <td> <?php echo acymailing_boolean("config[show_filter]", '', $this->config->get('show_filter', 1)); ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_translation('ACY_ORDER'); ?> </td> <td> <?php echo acymailing_boolean("config[show_order]", '', $this->config->get('show_order', 1)); ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('SHOW_SENDDATE_DESC'), acymailing_translation('SHOW_SENDDATE'), '', acymailing_translation('SHOW_SENDDATE')); ?> </td> <td> <?php echo acymailing_boolean("config[show_senddate]", '', $this->config->get('show_senddate', 1)); ?> </td> </tr> <?php if(acymailing_level(1)){ ?> <tr> <td class="acykey"> <?php echo acymailing_translation_sprintf('SHOW_COLUMN_X', '<b><i>'.acymailing_translation('RECEIVE_VIA_EMAIL').'</i></b>'); ?> </td> <td> <?php echo acymailing_boolean("config[show_receiveemail]", '', $this->config->get('show_receiveemail', 0)); ?> </td> </tr> <?php } ?> <tr> <td class="acykey" valign="top"> <?php echo acymailing_tooltip(acymailing_translation('OPEN_POPUP_DESC'), acymailing_translation('OPEN_POPUP'), '', acymailing_translation('OPEN_POPUP')); ?> </td> <td> <?php echo acymailing_boolean("config[open_popup]", '', $this->config->get('open_popup', 1)); ?> <div style="margin-top:10px;"> <?php echo acymailing_translation('CAPTCHA_WIDTH'); ?> <input type="text" name="config[popup_width]" style="float:none;width:40px" value="<?php echo intval($this->config->get('popup_width', 750)); ?>"/> x <?php echo acymailing_translation('CAPTCHA_HEIGHT'); ?> <input type="text" name="config[popup_height]" style="float:none;width:40px" value="<?php echo intval($this->config->get('popup_height', 550)); ?>"/> </div> </td> </tr> <tr id="indexfollow"> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('ARCHIVE_INDEX_FOLLOW_DESC'), acymailing_translation('ARCHIVE_INDEX_FOLLOW'), '', acymailing_translation('ARCHIVE_INDEX_FOLLOW')); ?> </td> <td> <?php echo $this->elements->indexFollow; ?> </td> </tr> </table> </div> <?php } ?> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('UNSUB_PAGE'); ?></span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_tooltip(str_replace('UNSUB_INTRO', acymailing_translation('UNSUB_INTRO'), $this->config->get('unsub_intro', 'UNSUB_INTRO')), acymailing_translation('UNSUB_INTRODUCTION'), '', acymailing_translation('UNSUB_INTRODUCTION')); ?> </td> <td> <textarea style="width:300px;" rows="5" name="config[unsub_intro]"><?php echo $this->config->get('unsub_intro', 'UNSUB_INTRO'); ?></textarea> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_translation('UNSUB_DISP_CHOICE'); ?> </td> <td> <?php echo acymailing_boolean("config[unsub_dispoptions]", '', $this->config->get('unsub_dispoptions', 1)); ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_translation('ACY_UNSUB_DISP_OTHER_SUBS'); ?> </td> <td> <?php echo acymailing_boolean("config[unsub_dispothersubs]", '', $this->config->get('unsub_dispothersubs', 0)); ?> </td> </tr> <tr> <td valign="top" class="acykey"> <?php echo acymailing_translation('UNSUB_DISP_SURVEY'); ?> </td> <td> <?php echo acymailing_boolean("config[unsub_survey]", 'onclick="displaySurvey(this.value)"', $this->config->get('unsub_survey', 1)); $reasons = unserialize($this->config->get('unsub_reasons')); ?> <div id="unsub_reasons_area" class="acymailing_deploy" <?php if(!$this->config->get('unsub_survey', 1)) echo 'style="display:none"'; ?> > <div id="unsub_reasons"> <?php foreach($reasons as $i => $oneReason){ if(preg_match('#^[A-Z_]*$#', $oneReason)){ $trans = acymailing_translation($oneReason); }else{ $trans = $oneReason; } echo '<span style="font-size:8px">'.$trans.'</span><br /><input type="text" style="width:300px;margin-bottom: 3px;" value="'.$this->escape($oneReason).'" name="unsub_reasons[]" /><br />'; } ?> </div> <a onclick="addUnsubReason();return false;" href='#' title="<?php echo $this->escape(acymailing_translation('FIELD_ADDVALUE')); ?>"> <button class="acymailing_button_grey" onclick="return false"> <?php echo acymailing_translation('FIELD_ADDVALUE'); ?> </button> </a> </div> </td> </tr> </table> </div> <?php if(!empty($this->elements->acyrss_format)){ ?> <div class="onelineblockoptions"> <span class="acyblocktitle">RSS</span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_translation('ACY_TYPE'); ?> </td> <td> <?php echo $this->elements->acyrss_format; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_translation('ACY_NAME'); ?> </td> <td> <input type="text" style="width:200px" name="config[acyrss_name]" value="<?php echo $this->escape($this->config->get('acyrss_name', '')); ?>"/> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_translation('ACY_DESCRIPTION'); ?> </td> <td> <textarea style="width:300px;" rows="5" name="config[acyrss_description]"><?php echo $this->config->get('acyrss_description', ''); ?></textarea> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_translation('MAX_ARTICLE'); ?> </td> <td> <input type="text" style="width:50px" name="config[acyrss_element]" value="<?php echo intval($this->config->get('acyrss_element', 20)); ?>"/> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_translation('ACY_ORDER'); ?> </td> <td> <?php echo $this->elements->acyrss_order; ?> </td> </tr> </table> </div> <?php } if(acymailing_level(3) && 'joomla' == 'joomla') include(dirname(__FILE__).DS.'interface_enterprise.php'); ?> <script language="javascript" type="text/javascript"> <!-- function updateCommentsOption(){ if(document.getElementById("config_comments_feature_disqus").checked){ document.getElementById('config_disqus_shortname_label').style.display = 'inline-block'; document.getElementById('config_disqus_shortname').style.display = ''; }else{ document.getElementById('config_disqus_shortname_label').style.display = 'none'; document.getElementById('config_disqus_shortname').style.display = 'none'; } } //--> </script> </div> tmpl/subscription.php 0000604 00000025670 15245703250 0010766 0 ustar 00 <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @author acyba.com * @copyright (C) 2009-2018 ACYBA S.A.R.L. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><div id="page-subscription"> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('SUBSCRIPTION'); ?></span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('ALLOW_VISITOR_DESC'), acymailing_translation('ALLOW_VISITOR'), '', acymailing_translation('ALLOW_VISITOR')); ?> </td> <td> <?php echo $this->elements->allow_visitor; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('REQUIRE_CONFIRM_DESC'), acymailing_translation('REQUIRE_CONFIRM'), '', acymailing_translation('REQUIRE_CONFIRM')); ?> </td> <td> <?php echo $this->elements->require_confirmation; ?> <?php echo $this->elements->editConfEmail; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('AUTO_SUBSCRIBE_DESC'), acymailing_translation('AUTO_SUBSCRIBE'), '', acymailing_translation('AUTO_SUBSCRIBE')); ?> </td> <td> <input class="inputbox" id="configautosub" name="config[autosub]" type="text" style="width:100px" value="<?php echo $this->escape($this->config->get('autosub', 'None')); ?>"> <?php echo acymailing_popup(acymailing_completeLink('chooselist', true).'&task=autosub&values='.$this->config->get('autosub', 'None').'&control=config', '<button class="acymailing_button_grey" onclick="return false">'.acymailing_translation('SELECT').'</button>', '', 650, 375, 'linkconfigautosub'); ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('ALLOW_MODIFICATION_DESC'), acymailing_translation('ALLOW_MODIFICATION'), '', acymailing_translation('ALLOW_MODIFICATION')); ?> </td> <td> <?php echo $this->elements->allow_modif; ?> <?php echo $this->elements->editModifEmail; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_translation('GENERATE_NAME'); ?> </td> <td> <?php echo acymailing_boolean("config[generate_name]", '', $this->config->get('generate_name', 1)); ?> </td> </tr> </table> </div> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('NOTIFICATIONS'); ?></span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('NOTIF_CREATE_DESC'), acymailing_translation('NOTIF_CREATE'), '', acymailing_translation('NOTIF_CREATE')); ?> </td> <td> <input class="inputbox" type="text" name="config[notification_created]" style="width:200px" value="<?php echo $this->escape($this->config->get('notification_created')); ?>"> <?php echo $this->elements->edit_notification_created; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('NOTIF_UNSUB_DESC'), acymailing_translation('NOTIF_UNSUB'), '', acymailing_translation('NOTIF_UNSUB')); ?> </td> <td> <input class="inputbox" type="text" name="config[notification_unsub]" style="width:200px" value="<?php echo $this->escape($this->config->get('notification_unsub')); ?>"> <?php echo $this->elements->edit_notification_unsub; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('NOTIF_UNSUBALL_DESC'), acymailing_translation('NOTIF_UNSUBALL'), '', acymailing_translation('NOTIF_UNSUBALL')); ?> </td> <td> <input class="inputbox" type="text" name="config[notification_unsuball]" style="width:200px" value="<?php echo $this->escape($this->config->get('notification_unsuball')); ?>"> <?php echo $this->elements->edit_notification_unsuball; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('NOTIF_REFUSE_DESC'), acymailing_translation('NOTIF_REFUSE'), '', acymailing_translation('NOTIF_REFUSE')); ?> </td> <td> <input class="inputbox" type="text" name="config[notification_refuse]" style="width:200px" value="<?php echo $this->escape($this->config->get('notification_refuse')); ?>"> <?php echo $this->elements->edit_notification_refuse; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('NOTIF_CONTACT_DESC'), acymailing_translation('NOTIF_CONTACT'), '', acymailing_translation('NOTIF_CONTACT')); ?> </td> <td> <input class="inputbox" type="text" name="config[notification_contact]" style="width:200px" value="<?php echo $this->escape($this->config->get('notification_contact')); ?>"> <?php echo $this->elements->edit_notification_contact; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('NOTIF_CONTACT_MENU_DESC'), acymailing_translation('NOTIF_CONTACT_MENU'), '', acymailing_translation('NOTIF_CONTACT_MENU')); ?> </td> <td> <input class="inputbox" type="text" name="config[notification_contact_menu]" style="width:200px" value="<?php echo $this->escape($this->config->get('notification_contact_menu')); ?>"> <?php echo $this->elements->edit_notification_contact_menu; ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('NOTIF_CONFIRM_DESC'), acymailing_translation('NOTIF_CONFIRM'), '', acymailing_translation('NOTIF_CONFIRM')); ?> </td> <td> <input class="inputbox" type="text" name="config[notification_confirm]" style="width:200px" value="<?php echo $this->escape($this->config->get('notification_confirm')); ?>"> <?php echo $this->elements->edit_notification_confirm; ?> </td> </tr> </table> </div> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('REDIRECTIONS'); ?></span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('REDIRECTION_CONFIRM_DESC'), acymailing_translation('REDIRECTION_CONFIRM'), '', acymailing_translation('REDIRECTION_CONFIRM')); ?> </td> <td> <input class="inputbox" type="text" id="confirm_redirect" name="config[confirm_redirect]" style="width:250px" value="<?php echo $this->escape($this->config->get('confirm_redirect')); ?>"> </td> </tr> <?php $redirectMessageModule = 'joomla' == 'joomla' ? '<br /><br /><i>'.acymailing_translation('REDIRECTION_NOT_MODULE').'</i>' : ''; ?> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('REDIRECTION_SUB_DESC').$redirectMessageModule, acymailing_translation('REDIRECTION_SUB'), '', acymailing_translation('REDIRECTION_SUB')); ?> </td> <td> <input class="inputbox" type="text" id="sub_redirect" name="config[sub_redirect]" style="width:250px" value="<?php echo $this->escape($this->config->get('sub_redirect')); ?>"> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('REDIRECTION_MODIF_DESC').$redirectMessageModule, acymailing_translation('REDIRECTION_MODIF'), '', acymailing_translation('REDIRECTION_MODIF')); ?> </td> <td> <input class="inputbox" type="text" id="modif_redirect" name="config[modif_redirect]" style="width:250px" value="<?php echo $this->escape($this->config->get('modif_redirect')); ?>"> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('REDIRECTION_UNSUB_DESC').$redirectMessageModule, acymailing_translation('REDIRECTION_UNSUB'), '', acymailing_translation('REDIRECTION_UNSUB')); ?> </td> <td> <input class="inputbox" type="text" id="unsub_redirect" name="config[unsub_redirect]" style="width:250px" value="<?php echo $this->escape($this->config->get('unsub_redirect')); ?>"> </td> </tr> <?php if('joomla' == 'joomla') { ?> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('REDIRECTION_MODULE_DESC'), acymailing_translation('REDIRECTION_MODULE'), '', acymailing_translation('REDIRECTION_MODULE')); ?> </td> <td> <input class="inputbox" type="text" id="module_redirect" name="config[module_redirect]" style="width:250px" value="<?php echo $this->escape($this->config->get('module_redirect')); ?>"> </td> </tr> <?php } ?> <tr> <td class="acykey"> <?php echo acymailing_translation('ACY_REDIRECT_TAGS'); ?> </td> <td> <?php echo acymailing_boolean("config[redirect_tags]", '', $this->config->get('redirect_tags', 0)); ?> </td> </tr> </table> </div> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('GEOLOCATION'); ?></span> <script language="JavaScript" type="text/javascript"> function testAPI(id, newvalue){ window.document.getElementById(id).className = 'onload'; var xhr = new XMLHttpRequest(); xhr.open('GET', '<?php echo acymailing_prepareAjaxURL('toggle'); ?>&task=' + id + '&value=' + newvalue); xhr.onload = function(){ window.document.getElementById(id).innerHTML = xhr.responseText; window.document.getElementById(id).className = 'loading'; }; xhr.send(); } </script> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('GEOLOCATION_TYPE_DESC'), acymailing_translation('GEOLOCATION_TYPE'), '', acymailing_translation('GEOLOCATION_TYPE')); ?> </td> <td> <?php echo $this->elements->geolocation; ?> </td> </tr> <?php if($this->elements->geoloc_api_key){ ?> <tr> <td class="acykey"> <a href="http://ipinfodb.com/register.php" target="_blank"><?php echo acymailing_tooltip(acymailing_translation('GEOLOCATION_API_KEY_DESC'), 'IPInfoDB API key', '', 'IPInfoDB API key'); ?></a> </td> <td> <?php echo $this->elements->geoloc_api_key; ?> </td> </tr> <tr> <td colspan="2"> <span id="testApiKey" class="acymailing_button_grey"> <i class="acyicon-location"></i> <a style="color:#666;text-decoration:none;" href="javascript:void(0);" onclick="testAPI('testApiKey',window.document.getElementById('geoloc_api_key').value)"><?php echo acymailing_translation('GEOLOC_TEST_API_KEY'); ?></a> </span> </td> </tr> <tr> <td class="acykey"> <a href="https://www.acyba.com/acymailing/350-acymailing-geolocation.html#accountsetup" target="_blank"><?php echo acymailing_tooltip(acymailing_translation('ACY_GOOGLE_MAP_KEY_DESC'), acymailing_translation('ACY_GOOGLE_MAP_KEY'), '', acymailing_translation('ACY_GOOGLE_MAP_KEY')) ?></a> </td> <td> <?php echo $this->elements->google_map_api_key; ?> </td> </tr> <?php } ?> </table> </div> </div> tmpl/queue.php 0000604 00000013201 15245703250 0007351 0 ustar 00 <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @author acyba.com * @copyright (C) 2009-2018 ACYBA S.A.R.L. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><div id="page-queue"> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('QUEUE_PROCESS'); ?></span> <table class="acymailing_table" cellspacing="1"> <?php if(acymailing_level(1)){ ?> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('QUEUE_PROCESSING_DESC'), acymailing_translation('QUEUE_PROCESSING'), '', acymailing_translation('QUEUE_PROCESSING')); ?> </td> <td> <?php echo $this->elements->queue_type; ?> </td> </tr> <tr id="method_auto" <?php echo ($this->config->get('queue_type', 'auto') == 'onlyauto' || $this->config->get('queue_type', 'auto') == 'auto') ? '' : 'style="display:none"'; ?>> <td class="acykey"> <?php echo acymailing_translation('AUTO_SEND_PROCESS'); ?> </td> <td> <?php echo acymailing_translation_sprintf('SEND_X_EVERY_Y', '<input class="inputbox" type="text" name="config[queue_nbmail_auto]" style="width:50px" value="'.intval($this->config->get('queue_nbmail_auto')).'" />', $this->elements->cron_frequency); ?> </td> </tr> <?php } ?> <tr id="method_manual" <?php echo ($this->config->get('queue_type', 'auto') == 'onlyauto') ? 'style="display:none"' : ''; ?>> <td class="acykey"> <?php echo acymailing_translation('MANUAL_SEND_PROCESS'); ?> </td> <td> <?php echo acymailing_translation_sprintf('SEND_X_WAIT_Y', '<input class="inputbox" type="text" name="config[queue_nbmail]" style="width:50px" value="'.intval($this->config->get('queue_nbmail')).'" />', $this->elements->queue_pause); ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('MAX_NB_TRY_DESC'), acymailing_translation('MAX_NB_TRY'), '', acymailing_translation('MAX_NB_TRY')); ?> </td> <td> <?php echo acymailing_translation_sprintf('CONFIG_TRY', '<input class="inputbox" type="text" name="config[queue_try]" style="width:50px" value="'.intval($this->config->get('queue_try')).'">'); echo ' '.acymailing_translation_sprintf('CONFIG_TRY_ACTION', $this->bounceaction->display('maxtry', $this->config->get('bounce_action_maxtry'))); ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_translation('ACY_MAX_EXECUTION_TIME'); ?> </td> <td> <?php echo acymailing_translation_sprintf('ACY_TIMEOUT_SERVER', ini_get('max_execution_time')).'<br />'; $maxexecutiontime = intval($this->config->get('max_execution_time')); if(intval($this->config->get('last_maxexec_check')) > (time() - 20)){ echo acymailing_translation_sprintf('ACY_TIMEOUT_CURRENT', $maxexecutiontime); }else{ if(!empty($maxexecutiontime)){ echo acymailing_translation_sprintf('ACY_MAX_RUN', $maxexecutiontime).'<br />'; } echo '<span id="timeoutcheck" ><a href="javascript:void(0);" onclick="detectTimeout(\'timeoutcheck\')">'.acymailing_translation('ACY_TIMEOUT_AGAIN').'</a></span>'; } ?> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_translation('ACY_ORDER_SEND_QUEUE'); ?> </td> <td> <?php $ordering = array(); $ordering[] = acymailing_selectOption("subid, ASC", 'subid ASC'); $ordering[] = acymailing_selectOption("subid, DESC", 'subid DESC'); $ordering[] = acymailing_selectOption("rand", acymailing_translation('ACY_RANDOM')); echo acymailing_select($ordering, 'config[sendorder]', 'size="1" style="width:150px;" onchange="if(this.value == \'rand\'){alert(\''.acymailing_translation('ACY_NO_RAND_FOR_MULTQUEUE').'\')}"', 'value', 'text', $this->config->get('sendorder', 'subid,ASC')); ?> </td> </tr> </table> </div> <?php if(acymailing_level(1)){ include(dirname(__FILE__).DS.'cron.php'); } if(acymailing_level(3)){ ?> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('PRIORITY'); ?></span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('NEWS_PRIORITY_DESC'), acymailing_translation('NEWS_PRIORITY'), '', acymailing_translation('NEWS_PRIORITY')); ?> </td> <td> <input class="inputbox" type="text" name="config[priority_newsletter]" style="width:50px" value="<?php echo intval($this->config->get('priority_newsletter', 3)); ?>"> </td> </tr> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('FOLLOW_PRIORITY_DESC'), acymailing_translation('FOLLOW_PRIORITY'), '', acymailing_translation('FOLLOW_PRIORITY')); ?> </td> <td> <input class="inputbox" type="text" name="config[priority_followup]" style="width:50px" value="<?php echo intval($this->config->get('priority_followup', 2)); ?>"> </td> </tr> </table> </div> <?php } if(acymailing_level(1) && !empty($this->elements->cron_plugins)){ ?> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('PLUGINS'); ?></span> <table class="acymailing_table" cellspacing="1"> <tr> <td class="acykey"> <?php echo acymailing_tooltip(acymailing_translation('ACY_DAILY_HOUR_PLUGINS_DESC'), acymailing_translation('ACY_DAILY_HOUR_PLUGINS'), '', acymailing_translation('ACY_DAILY_HOUR_PLUGINS')); ?> </td> <td> <?php echo $this->elements->cron_plugins; ?> </td> </tr> </table> </div> <?php } ?> </div> tmpl/acl.php 0000604 00000004203 15245703250 0006766 0 ustar 00 <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @author acyba.com * @copyright (C) 2009-2018 ACYBA S.A.R.L. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><div id="page-acl"> <?php echo acymailing_cmsACL(); ?> <div class="onelineblockoptions"> <span class="acyblocktitle"><?php echo acymailing_translation('ACY_ACL'); ?></span> <?php if(!acymailing_level(3)){ echo '<a target="_blank" href="'.ACYMAILING_REDIRECT.'acymailing-features#mail">'.acymailing_translation('ONLY_FROM_ENTERPRISE').'</a>'; }else{ ?> <table class="acymailing_table" cellspacing="1"> <?php $acltable = acymailing_get('type.acltable'); $aclcats['campaign'] = array('manage', 'delete', 'copy'); $aclcats['configuration'] = array('manage'); $aclcats['extra_fields'] = array('import'); $aclcats['cpanel'] = array('manage'); $aclcats['distribution'] = array('manage', 'copy', 'delete'); $aclcats['lists'] = array('manage', 'delete', 'filter'); $aclcats['newsletters'] = array('manage', 'delete', 'send', 'schedule', 'spam_test', 'copy', 'lists', 'attachments', 'sender_informations', 'meta_data', 'abtesting', 'inbox_actions'); $aclcats['queue'] = array('manage', 'delete', 'process'); $aclcats['simple_sending'] = array('manage'); $aclcats['autonewsletters'] = array('manage', 'delete'); $aclcats['tags'] = array('view'); $aclcats['templates'] = array('view', 'manage', 'delete', 'copy'); $aclcats['statistics'] = array('manage', 'delete'); $aclcats['subscriber'] = array('view', 'manage', 'delete', 'export', 'import', 'zohoimport'); foreach($aclcats as $category => $actions){ ?> <tr> <td width="185" class="acykey" valign="top"> <?php $trans = acymailing_translation('ACY_'.strtoupper($category)); if($trans == 'ACY_'.strtoupper($category)) $trans = acymailing_translation(strtoupper($category)); echo $trans; ?> </td> <td> <?php echo $acltable->display($category, $actions) ?> </td> </tr> <?php } ?> </table> <?php } ?> </div> </div> tmpl/index.html 0000604 00000000054 15245703250 0007513 0 ustar 00 <html><body bgcolor="#FFFFFF"></body></html>