listing.php (1078B)
1 <?php if (!defined('OR_TITLE')) die('Forbidden'); ?> 2 <div class="or-table-wrapper"><div class="or-table-filter"><input type="search" name="filter" placeholder="<?php echo lang('SEARCH_FILTER') ?>" /></div><div class="or-table-area"><table width="100%"> 3 <tr class="headline"> 4 <td> 5 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> 6 </td> 7 </tr> 8 <?php foreach($templates as $list_key=>$list_value){ ?><?php extract($list_value) ?> 9 <tr class="data"> 10 <td> 11 <span><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> 12 </td> 13 </tr> 14 <?php } ?> 15 </table></div></div> 16 <?php $if4=(($templates)==FALSE); if($if4){?> 17 <span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NO_TEMPLATES_AVAILABLE_DESC')))); ?></span> 18 <?php } ?> 19 <a class="action" target="_self" data-action="template" data-method="add" data-id="<?php echo OR_ID ?>" data-extra="[]" href="./#/template/"> 20 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_template_add'.'')))); ?></span> 21 </a>