File manager - Edit - /home/jardides/www/Jardi-design/old/administrator/components/com_templateck/views/fonts/tmpl/default.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'); $document = JFactory::getDocument(); $document->addStyleSheet('components/com_templateck/assets/css/templateck.css'); // load the fontface css $this->_callfonts(); ?> <form action="<?php echo JRoute::_('index.php'); ?>" method="post" name="adminForm" id="adminForm"> <div id="editcell"> <table class="table table-striped"> <thead> <tr> <th width="5"> <?php echo JText::_('CK_NUM'); ?> </th> <th width="20"> </th> <th> <?php echo JText::_('CK_FONTKIT'); ?> </th> <th> <?php echo JText::_('CK_FONTFAMILIES'); ?> </th> <th> <?php echo JText::_('CK_ADDITONAL_FONTS'); ?> </th> <th> <?php echo JText::_('CK_SUBSET'); ?> </th> <th width="1%" nowrap="nowrap"> <?php echo JText::_('CK_PUBLISHED'); ?> </th> <th width="1%" nowrap="nowrap"> <?php echo JText::_('ID'); ?> </th> </tr> </thead> <?php $k = 0; for ($i = 0, $n = count($this->fonts); $i < $n; $i++) { $font = &$this->fonts[$i]; $checked = JHTML::_('grid.id', $i, $font->id); ?> <tr class="<?php echo "row$k"; ?>"> <td> <?php echo $i + 1; ?> </td> <td> <?php echo $checked; ?> </td> <td> <?php echo $font->name; ?> </td> <td> <?php $fonts = explode(",", $font->fontfamilies); foreach ($fonts as $fontfamily) { echo " <span style=\"font-size:16px;font-family:'" . $fontfamily . "';\"> " . $fontfamily . " </span> "; } ?> </td> <td> <?php echo (isset($font->alternatives) ? $font->alternatives : '' ) ; ?> </td> <td> <?php echo (isset($font->subset) ? $font->subset : '' ) ; ?> </td> <td align="center"> <?php echo ($font->published ? '<span class="icon-publish"></span>' : '<span class="icon-unpublish"></span>'); ?> </td> <td align="center"> <?php echo $font->id; ?> </td> </tr> <?php $k = 1 - $k; } ?> </table> </div> <input type="hidden" name="option" value="com_templateck" /> <input type="hidden" name="view" value="fonts" /> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <?php echo JHtml::_('form.token'); ?> </form>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings