openrat-cms

# OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

preview.php (2048B)


      1 
      2 	
      3 		<div class="table-wrapper"><div class="table-filter"><input type="search" name="filter" placeholder="<?php echo lang('SEARCH_FILTER') ?>" /></div><table width="100%"></div>
      4 			<tr class="headline">
      5 				<td class="help">
      6 					<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_TYPE'.'')))); ?></span>
      7 					
      8 					<span><?php echo nl2br('&nbsp;/&nbsp;'); ?></span>
      9 					
     10 					<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NAME'.'')))); ?></span>
     11 					
     12 				</td>
     13 				<td class="help">
     14 					<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_LASTCHANGE'.'')))); ?></span>
     15 					
     16 				</td>
     17 			</tr>
     18 			<?php $if3=(isset($up_url)); if($if3){?>
     19 				<tr class="data">
     20 					<td>
     21 						<img src="./modules/cms-ui/themes/default/images/icon_folder_up.png" />
     22 						
     23 						<span><?php echo nl2br('..'); ?></span>
     24 						
     25 					</td>
     26 					<td>
     27 						<span><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span>
     28 						
     29 					</td>
     30 				</tr>
     31 			<?php } ?>
     32 			<?php foreach($object as $list_key=>$list_value){ ?><?php extract($list_value) ?>
     33 				<tr class="data">
     34 					<td class="clickable">
     35 						<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="preview" data-id="<?php echo $id ?>" data-extra="[]" href="<?php echo Html::url($type,'',$id,array()) ?>">
     36 							<i class="image-icon image-icon--action-<?php echo $icon ?>"></i>
     37 							
     38 							<span><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span>
     39 							
     40 							<span><?php echo nl2br('&nbsp;'); ?></span>
     41 							
     42 						</a>
     43 
     44 					</td>
     45 					<td>
     46 						<?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($date) ?>
     47 						
     48 					</td>
     49 				</tr>
     50 			<?php } ?>
     51 			<?php $if3=(($object)==FALSE); if($if3){?>
     52 				<tr>
     53 					<td colspan="2">
     54 						<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span>
     55 						
     56 					</td>
     57 				</tr>
     58 			<?php } ?>
     59 		</table>
     60