openrat-cms

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

userprojecttimeline.php (1834B)


      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 			<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 			<?php $if4=($typeid=='1'); if($if4){?>
     16 				<?php $type= 'folder'; ?>
     17 			<?php } ?>
     18 			<?php $if4=($typeid=='2'); if($if4){?>
     19 				<?php $type= 'file'; ?>
     20 			<?php } ?>
     21 			<?php $if4=($typeid=='4'); if($if4){?>
     22 				<?php $type= 'link'; ?>
     23 			<?php } ?>
     24 			<?php $if4=($typeid=='3'); if($if4){?>
     25 				<?php $type= 'page'; ?>
     26 			<?php } ?>
     27 			<tr class="data">
     28 				<td class="clickable">
     29 					<a target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="<?php echo $type ?>" data-method="userprojecttimeline" data-id="<?php echo $objectid ?>" data-extra="[]" href="./#/<?php echo $type ?>/<?php echo $objectid ?>">
     30 						<span><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,30,'..',constant('STR_PAD_BOTH') )))); ?></span>
     31 					</a>
     32 				</td>
     33 				<td>
     34 					<span><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $filename,30,'..',constant('STR_PAD_BOTH') )))); ?></span>
     35 				</td>
     36 				<td>
     37 					<?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?>
     38 				</td>
     39 			</tr>
     40 		<?php } ?>
     41 	</table></div></div>