File manager - Edit - /home/jardides/www/Jardi-design/old/administrator/components/com_templateck/views/template/tmpl/ajaxwidgetsmanager.php
Back
<?php /** * @name Template Creator CK 3 * @package com_templateck * @copyright Copyright (C) 2013. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Cedric Keiflin - http://www.template-creator.com - http://www.joomlack.fr */ // No direct access to this file defined('_JEXEC') or die('Restricted access'); require_once(JPATH_SITE . '/administrator/components/com_templateck/helpers/ckwidgets.php'); $app = JFactory::getApplication(); // get the list of widgets $widgets = CKWidgets::loadWidgets(); ?> <div class="ckpopupoverlay"></div> <div class="ckpopupheader"> <div class="ckpopuplogo"></div> <div class="ckpopuptitle"><?php echo JText::_('CK_WIDGETSMANAGER'); ?></div> <div style="float:right;"> <div class="ckclose ckcancel" onclick="$ck('#popup_editionck').empty().hide();"><?php echo JText::_('CK_CLOSE'); ?></div> </div> <div class="clr"></div> </div> <table> <tr> <td style="vertical-align:top;"> <div class="layoutinfos"> <div class="layoutinfostitle"><?php echo JText::_('CK_WIDGETSMANAGER_INFOS'); ?></div> <div class="layoutinfosdesc"><?php echo JText::_('CK_WIDGETSMANAGER_DESC'); ?></div> </div> </td> <td style="vertical-align:top;"> <div id="elementscontainer" style="margin-top: 8px;"> <div id="widgetsmanager"> <?php foreach ($widgets as $widget) { switch($widget->type) { case 'widget' : default : $label = 'info'; break; case 'plugin' : $label = 'warning'; break; } ?> <div class="widgetrow clearfix" data-installed="<?php echo $widget->installed ?>" data-name="<?php echo $widget->name ?>" data-url="<?php echo $widget->url ?>" data-type="<?php echo $widget->type ?>" data-enabled=""> <span class="widgettitledesc"> <div class="widgettitle"><?php echo $widget->title; ?> <span class="label label-<?php echo $label ?>"><?php echo $widget->type ?></span></div> <div class="widgetdescription"><?php echo $widget->description; ?></div> </span> <span class="widgetactions"> <span class="widgetinstall ckbutton" onclick="ckInstallWidget(this)"><span class="fa fa-download"></span> <?php echo JText::_('CK_INSTALL'); ?></span> <span class="widgetupdate ckbutton" onclick="ckInstallWidget(this, true)"><span class="fa fa-refresh"></span> <?php echo JText::_('CK_UPDATE'); ?></span> <span class="widgetenable ckbutton" onclick="ckEnableWidget(this)"><span class="fa fa-check"></span> <?php echo JText::_('CK_ENABLE'); ?></span> <span class="widgetdisable ckbutton" onclick="ckDisableWidget(this)"><span class="fa fa-ban"></span> <?php echo JText::_('CK_DISABLE'); ?></span> <?php if ($widget->edition) { ?> <span class="widgetedit ckbutton" onclick="ckEditWidget(this)"><span class="fa fa-edit"></span> <?php echo JText::_('CK_EDIT'); ?></span> <?php } ?> </span> </div> <?php } ?> <div class="clr"></div> <div id="widgetsdownload"> <p></p> <hr /> <div class="cktitle"><?php echo JText::_('CK_WIDGET_MANUAL_DOWNLOAD'); ?></div> <div><?php echo JText::_('CK_WIDGET_MANUAL_DOWNLOAD_DESC'); ?></div> <?php foreach ($widgets as $widget) { ?> <a class="ckbutton" href="<?php echo $widget->url ?>" target="_blank"><span class="fa fa-download"></span> <?php echo $widget->title ?></a> <?php }?> <p></p> <div> <input type="file" id="tck_file_upload" /> <div class="ckbutton" id="ckInstallWidgetManualButton"><?php echo JText::_('CK_INSTALL'); ?></div> </div> </div> </div> <div id="widgetedition"> </div> <div class="clr"></div> </div> </td> </tr> </table> <script language="javascript" type="text/javascript"> var cktoken = '<?php echo JSession::getFormToken() ?>'; $ck('#ckInstallWidgetManualButton').click(function() { ckInstallWidgetManually(); }); </script>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings