openrat-cms

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

history.php (5788B)


      1 <?php if (!defined('OR_TITLE')) die('Forbidden'); ?>
      2 	<form name="" target="_self" data-target="view" action="./" data-method="diff" data-action="pageelement" data-id="<?php echo OR_ID ?>" method="get" enctype="application/x-www-form-urlencoded" class="or-form pageelement" data-async="false" data-autosave="false"><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="pageelement" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="diff" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" />
      3 		<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%">
      4 			<tr class="headline">
      5 				<td class="help">
      6 					<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NR')))); ?></span>
      7 				</td>
      8 				<td colspan="2" class="help">
      9 					<?php $if6=(isset($compareid)); if($if6){?>
     10 						<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_COMPARE')))); ?></span>
     11 					<?php } ?>
     12 					<?php if(!$if6){?>
     13 						<span><?php echo nl2br('&nbsp;'); ?></span>
     14 					<?php } ?>
     15 				</td>
     16 				<td class="help">
     17 					<span><?php echo nl2br(encodeHtml(htmlentities(lang('DATE')))); ?></span>
     18 				</td>
     19 				<td class="help">
     20 					<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_USER')))); ?></span>
     21 				</td>
     22 				<td class="help">
     23 					<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_VALUE')))); ?></span>
     24 				</td>
     25 				<td class="help">
     26 					<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_STATE')))); ?></span>
     27 				</td>
     28 				<td class="help">
     29 					<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_ACTION')))); ?></span>
     30 				</td>
     31 			</tr>
     32 			<?php $if4=(($el)==FALSE); if($if4){?>
     33 				<tr>
     34 					<td colspan="8">
     35 						<span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span>
     36 					</td>
     37 				</tr>
     38 			<?php } ?>
     39 			<?php foreach($el as $list_key=>$list_value){ ?><?php extract($list_value) ?>
     40 				<tr class="data">
     41 					<td>
     42 						<span><?php echo nl2br(encodeHtml(htmlentities($lfd_nr))); ?></span>
     43 					</td>
     44 					<td>
     45 						<?php $if7=(isset($compareid)); if($if7){?>
     46 							<input  class="" type="radio" id="<?php echo REQUEST_ID ?>_compareid_<?php echo $id ?>" name="<?php if ('') echo ''.'_' ?>compareid<?php if (false) echo '_disabled' ?>" value="<?php echo $id ?>"<?php if($id==@$compareid)echo ' checked="checked"' ?> />
     47 						<?php } ?>
     48 						<?php if(!$if7){?>
     49 							<span><?php echo nl2br('&nbsp;'); ?></span>
     50 						<?php } ?>
     51 					</td>
     52 					<td>
     53 						<?php $if7=(isset($compareid)); if($if7){?>
     54 							<input  class="" type="radio" id="<?php echo REQUEST_ID ?>_withid_<?php echo $id ?>" name="<?php if ('') echo ''.'_' ?>withid<?php if (false) echo '_disabled' ?>" value="<?php echo $id ?>"<?php if($id==@$withid)echo ' checked="checked"' ?> />
     55 						<?php } ?>
     56 						<?php if(!$if7){?>
     57 							<span><?php echo nl2br('&nbsp;'); ?></span>
     58 						<?php } ?>
     59 					</td>
     60 					<td>
     61 						<?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($date) ?>
     62 					</td>
     63 					<td>
     64 						<span><?php echo nl2br(encodeHtml(htmlentities($user))); ?></span>
     65 					</td>
     66 					<td>
     67 						<span><?php echo nl2br(encodeHtml(htmlentities($value))); ?></span>
     68 					</td>
     69 					<?php $if6=($public); if($if6){?>
     70 						<td>
     71 							<strong><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_PUBLIC'.'')))); ?></strong>
     72 						</td>
     73 					<?php } ?>
     74 					<?php if(!$if6){?>
     75 						<?php $if7=(isset($releaseUrl)); if($if7){?>
     76 							<td class="clickable">
     77 								<a title="<?php echo lang('GLOBAL_RELEASE_DESC') ?>" target="_self" data-type="post" data-action="" data-method="release" data-id="<?php echo $objectid ?>" data-extra="{'valueid':'<?php echo $valueid ?>'}" data-data="{&quot;action&quot;:&quot;pageelement&quot;,&quot;subaction&quot;:&quot;release&quot;,&quot;id&quot;:&quot;<?php echo $objectid ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;valueid&quot;:&quot;<?php echo $valueid ?>&quot;,&quot;none&quot;:&quot;0&quot;}">
     78 									<strong><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_RELEASE'.'')))); ?></strong>
     79 								</a>
     80 							</td>
     81 						<?php } ?>
     82 						<?php if(!$if7){?>
     83 							<td>
     84 								<em><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_INACTIVE'.'')))); ?></em>
     85 							</td>
     86 						<?php } ?>
     87 					<?php } ?>
     88 					<?php $if6=($active); if($if6){?>
     89 						<td>
     90 							<em><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_ACTIVE'.'')))); ?></em>
     91 						</td>
     92 					<?php } ?>
     93 					<?php if(!$if6){?>
     94 						<?php $if7=(isset($useUrl)); if($if7){?>
     95 							<td class="clickable">
     96 								<a title="<?php echo lang('GLOBAL_USE_DESC') ?>" target="_self" data-type="post" data-action="" data-method="use" data-id="<?php echo $objectid ?>" data-extra="{'valueid':'<?php echo $valueid ?>'}" data-data="{&quot;action&quot;:&quot;pageelement&quot;,&quot;subaction&quot;:&quot;use&quot;,&quot;id&quot;:&quot;<?php echo $objectid ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;valueid&quot;:&quot;<?php echo $valueid ?>&quot;,&quot;none&quot;:&quot;0&quot;}">
     97 									<span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_USE'.'')))); ?></span>
     98 								</a>
     99 							</td>
    100 						<?php } ?>
    101 						<?php if(!$if7){?>
    102 							<td>
    103 							</td>
    104 						<?php } ?>
    105 					<?php } ?>
    106 				</tr>
    107 			<?php } ?>
    108 		</table></div></div>
    109 	<div class="or-form-actionbar"><input type="submit" class="or-form-btn or-form-btn--primary or-form-btn--save" value="<?php echo lang('compare') ?>" /></div></form>