edit.php (2537B)
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(''.'TYPE'.'')))); ?></span> 6 </th> 7 <th> 8 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'NAME'.'')))); ?></span> 9 </th> 10 <th> 11 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'LASTCHANGE'.'')))); ?></span> 12 </th> 13 </tr> 14 <?php $if3=(isset($up_url)); if($if3){?> 15 <tr class="data clickable"> 16 <td> 17 <a target="_self" date-name="" name="" data-type="open" data-action="folder" data-method="edit" data-id="<?php echo $parentid ?>" data-extra="[]" href="./#/folder/<?php echo $parentid ?>"> 18 <i class="image-icon image-icon--action-folder"></i> 19 <span><?php echo nl2br(encodeHtml(htmlentities('..'))); ?></span> 20 </a> 21 </td> 22 <td> 23 <span><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span> 24 </td> 25 </tr> 26 <?php } ?> 27 <?php foreach($object as $list_key=>$list_value){ ?><?php extract($list_value) ?> 28 <tr class="data clickable"> 29 <td> 30 <i class="image-icon image-icon--action-<?php echo $icon ?>"></i> 31 </td> 32 <td> 33 <a title="<?php echo $desc ?>" 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 ?>"> 34 <span><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> 35 <span><?php echo nl2br(' '); ?></span> 36 </a> 37 </td> 38 <td> 39 <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($date) ?> 40 </td> 41 </tr> 42 <?php } ?> 43 <?php $if3=(($object)==FALSE); if($if3){?> 44 <tr> 45 <td colspan="2"> 46 <span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span> 47 </td> 48 </tr> 49 <?php } ?> 50 </table></div></div> 51 <div class="clickable"> 52 <a class="or-link-btn" target="_self" data-type="dialog" data-action="folder" data-method="create" data-id="<?php echo OR_ID ?>" data-extra="{'dialogAction':'folder','dialogMethod':'create'}" href="./#/folder/"> 53 <i class="image-icon image-icon--action-new"></i> 54 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'new'.'')))); ?></span> 55 </a> 56 </div>