openrat-cms

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

info.php (3246B)


      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="data">
      4 			<td>
      5 				<span><?php echo nl2br(encodeHtml(htmlentities(lang('name')))); ?></span>
      6 			</td>
      7 			<td class="name">
      8 				<span><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span>
      9 			</td>
     10 		</tr>
     11 		<tr class="data">
     12 			<td>
     13 				<span><?php echo nl2br(encodeHtml(htmlentities(lang('description')))); ?></span>
     14 			</td>
     15 			<td>
     16 				<span><?php echo nl2br(encodeHtml(htmlentities($description))); ?></span>
     17 			</td>
     18 		</tr>
     19 		<tr class="data">
     20 			<td>
     21 				<span><?php echo nl2br(encodeHtml(htmlentities(lang('type')))); ?></span>
     22 			</td>
     23 			<td class="filename">
     24 				<i class="image-icon image-icon--action-el_<?php echo $element_type ?>"></i>
     25 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'el_'.$element_type.''.'')))); ?></span>
     26 			</td>
     27 		</tr>
     28 		<tr class="data">
     29 			<td>
     30 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'template'.'')))); ?></span>
     31 			</td>
     32 			<td class="clickable">
     33 				<a target="_self" data-type="open" data-action="template" data-method="info" data-id="<?php echo $template_id ?>" data-extra="[]" href="./#/template/<?php echo $template_id ?>">
     34 					<i class="image-icon image-icon--action-template"></i>
     35 					<span><?php echo nl2br(encodeHtml(htmlentities($template_name))); ?></span>
     36 				</a>
     37 			</td>
     38 		</tr>
     39 		<tr class="data">
     40 			<td>
     41 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'element'.'')))); ?></span>
     42 			</td>
     43 			<td class="clickable">
     44 				<a target="_self" date-name="<?php echo $element_name ?>" name="<?php echo $element_name ?>" data-action="element" data-method="info" data-id="<?php echo $element_id ?>" data-extra="[]" href="./#/element/<?php echo $element_id ?>">
     45 					<i class="image-icon image-icon--action-el_<?php echo $element_type ?>"></i>
     46 					<span><?php echo nl2br(encodeHtml(htmlentities($element_name))); ?></span>
     47 				</a>
     48 			</td>
     49 		</tr>
     50 		<tr class="data">
     51 			<td>
     52 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'format'.'')))); ?></span>
     53 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'element'.'')))); ?></span>
     54 			</td>
     55 			<td>
     56 				<span><?php echo nl2br(encodeHtml(htmlentities($element_format))); ?></span>
     57 			</td>
     58 		</tr>
     59 		<tr class="data">
     60 			<td>
     61 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'format'.'')))); ?></span>
     62 			</td>
     63 			<td>
     64 				<span><?php echo nl2br(encodeHtml(htmlentities($format))); ?></span>
     65 			</td>
     66 		</tr>
     67 		<tr class="data">
     68 			<td>
     69 				<span><?php echo nl2br(encodeHtml(htmlentities(lang('lastchange')))); ?></span>
     70 			</td>
     71 			<td>
     72 				<i class="image-icon image-icon--action-el_date"></i>
     73 				<?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?>
     74 				<span><?php echo nl2br(', '); ?></span>
     75 				<i class="image-icon image-icon--action-user"></i>
     76 				<?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($lastchange_user) ?>
     77 			</td>
     78 		</tr>
     79 	</table></div></div>