public function display($tpl = null) { JHTML::stylesheet('administrator/components/com_jinc/assets/css/jinc_admin.css'); $layout = $this->getLayout(); if ($layout == 'uploadcsv') { $text = JText::_('COM_JINC_ACTION_IMPORT'); JToolBarHelper::title(JText::_('COM_JINC_NEWSLETTER') . ': <small><small>[ ' . $text . ' ]</small></small>', 'jinc'); if ($newsletter = $this->get('Newsletter')) { $this->csv_format = $newsletter->getSubscriptionInfo(); $this->news_id = $newsletter->get('id'); jincimport('utility.jinchelper'); JToolBarHelper::back(); JINCHelper::helpOnLine(12); parent::display($tpl); } else { jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::showError('COM_JINC_ERR001'); } } elseif ($layout == 'import') { $text = JText::_('COM_JINC_ACTION_IMPORT'); JToolBarHelper::title(JText::_('COM_JINC_NEWSLETTER') . ': <small><small>[ ' . $text . ' ]</small></small>', 'jinc'); JToolBarHelper::back(); jincimport('utility.jinchelper'); JINCHelper::helpOnLine(12); parent::display($tpl); } elseif ($layout == 'addsubscriber') { $this->form = $this->get('AddsubscriberForm'); if ($newsletter = $this->get('Newsletter')) { $this->csv_format = $newsletter->getSubscriptionInfo(); $this->news_id = $newsletter->get('id'); } parent::display($tpl); } else { $this->state = $this->get('State'); $this->form = $this->get('Form'); $this->item = $this->get('Item'); $user = JFactory::getUser(); $item = $this->item; $this->canAdmin = $user->authorise('core.admin', 'com_jinc.newsletter.' . $item->id); $this->addToolbar(); parent::display($tpl); } }
protected function tmplListInit($hint = '') { $listOrder = $this->state->get('list.ordering'); JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('dropdown.init'); jincimport('utility.jinchtmlhelper'); jincimport('frontend.jhtmljincdropdown'); if (strlen($hint) > 0) { JINCHTMLHelper::hint($hint, $hint . '_TITLE'); } ?> <script type="text/javascript"> Joomla.orderTable = function() { table = document.getElementById("sortTable"); direction = document.getElementById("directionTable"); order = table.options[table.selectedIndex].value; if (order != '<?php echo $listOrder; ?> ') { dirn = 'asc'; } else { dirn = direction.options[direction.selectedIndex].value; } Joomla.tableOrdering(order, dirn, ''); } </script> <?php }
* it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * JINC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); isset($this->items) or die('Items not defined'); jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::hint('TEMPLATE_LIST', 'TEMPLATE_LIST_TITLE'); $listOrder = $this->state->get('list.ordering'); $listDirn = $this->state->get('list.direction'); ?> <form action="<?php echo JRoute::_('index.php?option=com_jinc&view=templates'); ?> " method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <div class="filter-search fltlft"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?> </label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search'));
* JINC is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * JINC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::hint('IMPORT_RES', 'IMPORT_RES_TITLE'); ?> <table align="center" class="adminform"> <tr> <th><?php echo JText::_('COM_JINC_IMPORT_SUBSCRIBER'); ?> </th> <th><?php echo JText::_('COM_JINC_IMPORT_RESULT'); ?> </th> </tr> <?php
echo JText::_('COM_JINC_ERROR_DELETE_REPORT_JS'); ?> '); } }, 'params':{'proc_id': proc_id} }); } </script> <?php isset($this->history) or die('History not defined'); $history = $this->history; jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::hint('MESSAGE_HISTORY', 'MESSAGE_HISTORY_TITLE'); $nhist = count($history); if ($nhist == 0) { echo '<strong>' . JText::_('COM_JINC_NO_HISTORY') . '</strong>'; } for ($i = 0; $i < $nhist; $i++) { $process = $history[$i]; ?> <div class="sending"> <table align="center" width="55%" border=0 class="adminlist"> <thead> <tr> <td width="100%" colspan="4" align="center"> <strong><?php echo JText::_('COM_JINC_REPORT_DATA') . ' (' . ($nhist - $i) . ')'; ?>
" align="center"> </td> </tr> </table> <input type="hidden" name="option" value="com_jinc" /> <input type="hidden" name="task" value="newsletter.stats"> </form> <fieldset> <legend><?php echo JText::_('COM_JINC_PANEL_CHART'); ?> </legend> <center> <?php jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::statChart(); ?> </center> </fieldset> <fieldset> <legend><?php echo JText::_('COM_JINC_PANEL_DATA'); ?> </legend> <table width="80%" align="center"> <tr> <th><?php echo JText::_('COM_JINC_STATS_DATES'); ?> </th>
* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * JINC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); jincimport('utility.jinchtmlhelper'); $csv_format = isset($this->csv_format) ? $this->csv_format : array(); $csv_string = '<br><strong>' . implode(', ', $csv_format) . '<strong>'; JINCHTMLHelper::hint('ADD_SUBSCRIBER', 'ADD_SUBSCRIBER_TITLE'); $news_id = isset($this->news_id) ? $this->news_id : 0; ?> <div id="element-box"> <div class="t"> <div class="t"> <div class="t"></div> </div> </div> <div class="m"> <form action="index.php" method="GET" name="adminForm"> <table cellspacing="5px" align="center" width="60%"> <tr>
* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * JINC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); jincimport('utility.jinchtmlhelper'); $csv_format = isset($this->csv_format) ? $this->csv_format : ''; $csv_string = '<br><strong>' . implode(', ', $csv_format) . '<strong>'; JINCHTMLHelper::hint('IMPORT', 'IMPORT_TITLE', '', $csv_string, true); $news_id = isset($this->news_id) ? $this->news_id : 0; ?> <form action="index.php" method="post" name="adminForm" id="adminForm" enctype="multipart/form-data"> <table class="adminform"> <tr> <th colspan="2"><?php echo JText::_('COM_JINC_LOAD_CSVFILE'); ?> </th> </tr> <tr> <td width="120"> <label for="install_package"> <?php
</td> </tr> <?php } ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <?php $legend_array = array(); array_push($legend_array, array('text' => 'COM_JINC_LEGEND_PUBLIC', 'icon' => 'send_f2.png')); array_push($legend_array, array('text' => 'COM_JINC_LEGEND_PRIVATE', 'icon' => 'security_f2.png')); JINCHTMLHelper::legend($legend_array); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?> " /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?> " /> <?php echo JHtml::_('form.token'); ?> </form>
$link = 'index.php?option=com_jinc&view=messages'; echo JINCHTMLHelper::quickIconButton($link, 'icon-48-message.png', JText::_('COM_JINC_CPANEL_MESSAGES')); $link = 'index.php?option=com_jinc&view=templates'; echo JINCHTMLHelper::quickIconButton($link, 'icon-48-template.png', JText::_('COM_JINC_CPANEL_TEMPLATES')); $link = 'index.php?option=com_jinc&view=subscribers'; echo JINCHTMLHelper::quickIconButton($link, 'icon-48-subscribers.png', JText::_('COM_JINC_CPANEL_SUBSCRIBERS')); $link = 'index.php?option=com_jinc&task=newsletter.stats'; echo JINCHTMLHelper::quickIconButton($link, 'icon-48-stats.png', JText::_('COM_JINC_CPANEL_STATS')); $link = 'index.php?option=com_jinc&view=tools'; echo JINCHTMLHelper::quickIconButton($link, 'icon-48-tools.png', JText::_('COM_JINC_CPANEL_TOOLS')); $link = 'index.php?option=com_config&view=component&component=com_jinc&path=&tmpl=component'; echo JINCHTMLHelper::quickIconButton($link, 'icon-48-config.png', JText::_('COM_JINC_CPANEL_OPTIONS'), "class=\"modal\" rel=\"{handler: 'iframe', size: {x: 800, y: 350}}\""); $link = 'http://lhacky.altervista.org/jextensions/index.php/component/content/article/24-jinc/86-jinc-1-0-language-packs'; echo JINCHTMLHelper::quickIconButton($link, 'icon-48-lps.png', JText::_('COM_JINC_CPANEL_LPS')); $link = 'http://lhacky.altervista.org/jextensions/index.php/component/content/article?id=74:jinc&catid=19:generic'; echo JINCHTMLHelper::quickIconButton($link, 'icon-48-info.png', JText::_('COM_JINC_CPANEL_INFO'), "target=\"_blank\""); ?> <div style="clear:both"> </div> <div style="text-align:center;padding:0;margin:0;border:0"> <iframe style="padding:0;margin:0;border:0" src="http://lhacky.altervista.org/jextensions/version/jinc_adv.php?version=<?php echo $version; ?> " noresize="noresize" frameborder="0" border="0" cellspacing="0" scrolling="no" width="500" marginwidth="0" marginheight="0" height="125"> </iframe> </div> </div> </td> <td width="45%" valign="top">
document.getElementById('btnPlay').src = 'components/com_jinc/assets/images/icons/play.png'; } }, 'params':{'id': id, 'cache_id': cache_id} }); } function back() { pause(); window.location = "index.php?option=com_jinc&controller=message&view=messages"; } </script> <?php jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::hint('SENDING_PROCESS', 'SENDING_PROCESS_TITLE'); ?> <br> <div class="sending"> <center> <table align="center" width="35%" border=0 class="adminlist"> <thead> <tr> <td width="100%" colspan="4" align="center"> <strong><?php echo JText::_('COM_JINC_LAST_RESPONSE_TIME'); ?> </strong> </td> </tr> </thead>
* GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); isset($this->item) or die('Items not defined'); echo JHTML::_('behavior.modal'); echo JHTML::_('behavior.tooltip'); $item = $this->item; $id = $item->id; ?> <?php jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::hint('SENDING_PREVIEW', 'SENDING_PREVIEW_TITLE'); ?> <form action="<?php echo JRoute::_('index.php?option=com_jinc'); ?> " method="post" name="adminForm" id="preview-form" class="form-validate"> <div class="width-100 fltlft"> <fieldset class="adminform"> <legend><?php echo JText::_('COM_JINC_PREVIEW_TO'); ?> </legend> <ul class="adminformlist"> <li> <label id="to_yourself-lbl" for="to_yourself" class="hasTip" title="<?php
* it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * JINC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); isset($this->items) or die('Items not defined'); jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::hint('NOTICE_LIST', 'NOTICE_LIST_TITLE'); $listOrder = $this->state->get('list.ordering'); $listDirn = $this->state->get('list.direction'); ?> <form action="<?php echo JRoute::_('index.php?option=com_jinc&view=notices'); ?> " method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <div class="filter-search fltlft"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?> </label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search'));
* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * JINC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); isset($this->items) or die('Items not found'); $items = $this->items; jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::hint('TAGS_VIEWER', 'TAGS_VIEWER_TITLE'); JHTML::stylesheet('administrator/components/com_jinc/assets/css/jinc_admin.css'); ?> <div id="element-box"> <div class="t"> <div class="t"> <div class="t"></div> </div> </div> <div id="element-box"> <div class="t"> <div class="t"> <div class="t"></div> </div> </div>
* JINC is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * JINC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::hint('TOOLS', 'TOOLS_TITLE'); ?> <div id="editcell"> <table class="adminlist"> <tr class="<?php echo "row0"; ?> "> <td width="35%"> <a href="index.php?option=com_jinc&task=tools.loadSampleData"> <?php echo JText::_('COM_JINC_LOAD_SAMPLE'); ?> </a> </td>
* (at your option) any later version. * * JINC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); isset($this->info) or die('Info not defined'); $info = $this->info; JHTML::_('behavior.tooltip'); jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::hint('SUBSCRIBER_INFO', 'SUBSCRIBER_INFO_TITLE'); JHTML::stylesheet('administrator/components/com_jinc/assets/css/jinc_admin.css'); ?> <div id="element-box"> <div class="t"> <div class="t"> <div class="t"></div> </div> </div> <div class="m"> <div id="editcell"> <table class="adminlist" id="attrTable"> <thead> <tr> <th width="35%"> <?php
* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * JINC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); JHTML::_('behavior.tooltip'); JHtml::_('behavior.formvalidation'); jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::hint('ATTRIBUTE_MANAGER', 'ATTRIBUTE_MANAGER_TITLE'); $ajax_log_level = isset($this->ajax_log_level) ? $this->ajax_log_level == true : false; $debug_ajax = $ajax_log_level ? 'true' : 'false'; JHTML::stylesheet('administrator/components/com_jinc/assets/css/jinc_admin.css'); JHTML::script('administrator/components/com_jinc/assets/js/phplivex.js'); jincimport('utility.PHPLiveX'); ?> <link rel="stylesheet" type="text/css" href="templates/khepri/css/rounded.css" /> <script type="text/javascript"> function setError(errcode, errmsg) { if (typeof(errcode) != "undefined") { alert(errmsg); } }
* (at your option) any later version. * * JINC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); isset($this->items) or die('Items not defined'); JHtml::_('behavior.modal'); jincimport('utility.jinchtmlhelper'); jincimport('core.newsletter'); JINCHTMLHelper::hint('SUBSCRIBERS_LIST', 'SUBSCRIBERS_LIST_TITLE'); $listOrder = $this->state->get('list.ordering'); $listDirn = $this->state->get('list.direction'); ?> <form action="index.php" method="post" name="adminForm"> <fieldset id="filter-bar"> <div class="filter-search fltlft"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?> </label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?> " title="<?php echo JText::_('COM_JINC_FILTER_SEARCH_DESC');
* (at your option) any later version. * * JINC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JINC. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); echo JHTML::_('behavior.modal'); isset($this->report) or die('Report not defined'); $report = $this->report; jincimport('utility.jinchtmlhelper'); JINCHTMLHelper::hint('TAGS_REPORT', 'TAGS_REPORT_TITLE'); JHTML::stylesheet('administrator/components/com_jinc/assets/css/jinc_admin.css'); ?> <div id="element-box"> <div class="t"> <div class="t"> <div class="t"></div> </div> </div> <div id="element-box"> <div class="t"> <div class="t"> <div class="t"></div> </div> </div>