edit.php (1416B)
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(''.'GLOBAL_TYPE'.'')))); ?></span> 6 <span><?php echo nl2br(' / '); ?></span> 7 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NAME'.'')))); ?></span> 8 </td> 9 </tr> 10 <?php $if3=(isset($up_url)); if($if3){?> 11 <tr class="data"> 12 <td> 13 <img src="./modules/cms-ui/themes/default/images/icon_folder_up.png" /> 14 <span><?php echo nl2br('..'); ?></span> 15 </td> 16 </tr> 17 <?php } ?> 18 <?php foreach($content as $list_key=>$list_value){ ?><?php extract($list_value) ?> 19 <tr class="data"> 20 <td class="clickable"> 21 <a target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="<?php echo $type ?>" data-method="edit" data-id="<?php echo $id ?>" data-extra="[]" href="./#/<?php echo $type ?>/<?php echo $id ?>"> 22 <i class="image-icon image-icon--action-<?php echo $type ?>"></i> 23 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.$name.'')))); ?></span> 24 <span><?php echo nl2br(' '); ?></span> 25 </a> 26 </td> 27 </tr> 28 <?php } ?> 29 </table></div></div>