openrat-cms

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

show.php (1541B)


      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(''.'name'.'')))); ?></span>
      6 			</td>
      7 		</tr>
      8 		<?php foreach($el as $list_key=>$list_value){ ?><?php extract($list_value) ?>
      9 			<tr class="data">
     10 				<td data-name="<?php echo $name ?>" data-action="group" data-id="<?php echo $id ?>" class="clickable clickable">
     11 					<a target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="group" data-method="show" data-id="<?php echo $id ?>" data-extra="[]" href="./#/group/<?php echo $id ?>">
     12 						<i class="image-icon image-icon--action-group"></i>
     13 						<span><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,30,'..',constant('STR_PAD_BOTH') )))); ?></span>
     14 					</a>
     15 				</td>
     16 			</tr>
     17 		<?php } ?>
     18 		<tr class="data">
     19 			<td colspan="2" class="clickable">
     20 				<a target="_self" date-name="<?php echo lang('menu_add') ?>" name="<?php echo lang('menu_add') ?>" data-type="dialog" data-action="" data-method="add" data-id="<?php echo OR_ID ?>" data-extra="{'dialogAction':null,'dialogMethod':'add'}" href="./#//">
     21 					<i class="image-icon image-icon--method-add"></i>
     22 					<span><?php echo nl2br(encodeHtml(htmlentities(lang('new')))); ?></span>
     23 				</a>
     24 			</td>
     25 		</tr>
     26 	</table></div></div>