edit.php (1690B)
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 <th> 5 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'NAME'.'')))); ?></span> 6 </th> 7 <th> 8 <span><?php echo nl2br(encodeHtml(htmlentities(lang('DESCRIPTION')))); ?></span> 9 </th> 10 <th> 11 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'TYPE'.'')))); ?></span> 12 </th> 13 </tr> 14 <?php $if3=(($elements)==FALSE); if($if3){?> 15 <tr> 16 <td> 17 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'NOT_FOUND'.'')))); ?></span> 18 </td> 19 </tr> 20 <?php } ?> 21 <?php foreach($elements as $list_key=>$list_value){ ?><?php extract($list_value) ?> 22 <tr class="data clickable"> 23 <td> 24 <a title="<?php echo $desc ?>" target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="pageelement" data-method="edit" data-id="<?php echo $pageelementid ?>" data-extra="[]" href="./#/pageelement/<?php echo $pageelementid ?>"> 25 <i class="image-icon image-icon--action-pageelement"></i> 26 <span><?php echo nl2br(encodeHtml(htmlentities($label))); ?></span> 27 </a> 28 </td> 29 <td title="<?php echo $desc ?>"> 30 <span><?php echo nl2br(encodeHtml(htmlentities($desc))); ?></span> 31 </td> 32 <td> 33 <i class="image-icon image-icon--action-el_<?php echo $typename ?>"></i> 34 <span><?php echo nl2br(encodeHtml(htmlentities(lang('el_'.$typename.'')))); ?></span> 35 </td> 36 </tr> 37 <?php } ?> 38 </table></div></div>