openrat-cms

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

history.php (1624B)


      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(''.'project'.'')))); ?></span>
      6 			</td>
      7 			<td>
      8 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'filename'.'')))); ?></span>
      9 			</td>
     10 			<td>
     11 				<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'lastchange'.'')))); ?></span>
     12 			</td>
     13 		</tr>
     14 		<?php foreach($timeline as $list_key=>$list_value){ ?><?php extract($list_value) ?>
     15 			<tr class="data">
     16 				<td class="clickable">
     17 					<a target="_self" data-type="open" data-action="project" data-method="history" data-id="<?php echo $projectid ?>" data-extra="[]" href="./#/project/<?php echo $projectid ?>">
     18 						<span><?php echo nl2br(encodeHtml(htmlentities($projectname))); ?></span>
     19 					</a>
     20 				</td>
     21 				<td title="<?php echo $filename ?>" class="clickable">
     22 					<a target="_self" data-type="open" data-action="<?php echo $type ?>" data-method="history" data-id="<?php echo $objectid ?>" data-extra="[]" href="./#/<?php echo $type ?>/<?php echo $objectid ?>">
     23 						<span><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $filename,30,'..',constant('STR_PAD_BOTH') )))); ?></span>
     24 					</a>
     25 				</td>
     26 				<td>
     27 					<?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?>
     28 				</td>
     29 			</tr>
     30 		<?php } ?>
     31 	</table></div></div>