prop.php (5106B)
1 <?php if (!defined('OR_TITLE')) die('Forbidden'); ?> 2 <form name="" target="_self" data-target="view" action="./" data-method="prop" data-action="pageelement" data-id="<?php echo OR_ID ?>" method="POST" 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="prop" /><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> 5 <td> 6 <span><?php echo nl2br(encodeHtml(htmlentities(lang('name')))); ?></span> 7 </td> 8 <td class="name"> 9 <span><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> 10 </td> 11 </tr> 12 <tr> 13 <td> 14 <span><?php echo nl2br(encodeHtml(htmlentities(lang('description')))); ?></span> 15 </td> 16 <td> 17 <span><?php echo nl2br(encodeHtml(htmlentities($description))); ?></span> 18 </td> 19 </tr> 20 <tr> 21 <td> 22 <span><?php echo nl2br(encodeHtml(htmlentities(lang('type')))); ?></span> 23 </td> 24 <td class="filename"> 25 <i class="image-icon image-icon--action-el_<?php echo $element_type ?>"></i> 26 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'el_'.$element_type.''.'')))); ?></span> 27 </td> 28 </tr> 29 <tr> 30 <td colspan="2"> 31 <fieldset class="toggle-open-close<?php echo true?" open":" closed" ?><?php echo true?" show":"" ?>"><legend class="on-click-open-close"><div class="arrow arrow-right on-closed"></div><div class="arrow arrow-down on-open"></div><?php echo lang('additional_info') ?></legend><div class="closable"> 32 </div></fieldset> 33 </td> 34 </tr> 35 <tr> 36 <td> 37 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'template'.'')))); ?></span> 38 </td> 39 <td> 40 <?php $if6=(isset($template_url)); if($if6){?> 41 <a target="_self" data-url="<?php echo $template_url ?>" data-action="" data-method="prop" data-id="<?php echo OR_ID ?>" data-extra="[]" href="./#//"> 42 <img src="./modules/cms-ui/themes/default/images/icon/icon_template.png" /> 43 <span><?php echo nl2br(encodeHtml(htmlentities($template_name))); ?></span> 44 </a> 45 <?php } ?> 46 <?php $if6=(($template_url)==FALSE); if($if6){?> 47 <img src="./modules/cms-ui/themes/default/images/icon/icon_template.png" /> 48 <span><?php echo nl2br(encodeHtml(htmlentities($template_name))); ?></span> 49 <?php } ?> 50 </td> 51 </tr> 52 <tr> 53 <td> 54 <span><?php echo nl2br(encodeHtml(htmlentities(lang(''.'element'.'')))); ?></span> 55 </td> 56 <td> 57 <?php $if6=(isset($element_url)); if($if6){?> 58 <a target="_self" data-url="<?php echo $element_url ?>" data-action="" data-method="prop" data-id="<?php echo OR_ID ?>" data-extra="[]" href="./#//"> 59 <i class="image-icon image-icon--action-el_<?php echo $element_type ?>"></i> 60 <span><?php echo nl2br(encodeHtml(htmlentities($element_name))); ?></span> 61 </a> 62 <?php } ?> 63 <?php $if6=(($element_url)==FALSE); if($if6){?> 64 <img src="./modules/cms-ui/themes/default/images/icon/element.png" /> 65 <span><?php echo nl2br(encodeHtml(htmlentities($element_name))); ?></span> 66 <?php } ?> 67 </td> 68 </tr> 69 <tr> 70 <td colspan="2"> 71 <fieldset class="toggle-open-close<?php echo true?" open":" closed" ?><?php echo true?" show":"" ?>"><legend class="on-click-open-close"><div class="arrow arrow-right on-closed"></div><div class="arrow arrow-down on-open"></div><?php echo lang('prop_userinfo') ?></legend><div class="closable"> 72 </div></fieldset> 73 </td> 74 </tr> 75 <tr> 76 <td> 77 <span><?php echo nl2br(encodeHtml(htmlentities(lang('lastchange')))); ?></span> 78 </td> 79 <td> 80 <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%"> 81 <tr> 82 <td> 83 <img src="./modules/cms-ui/themes/default/images/icon/el_date.png" /> 84 <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> 85 </td> 86 <td> 87 <img src="./modules/cms-ui/themes/default/images/icon/user.png" /> 88 <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($lastchange_user) ?> 89 </td> 90 </tr> 91 </table></div></div> 92 </td> 93 </tr> 94 </table></div></div> 95 <div class="or-form-actionbar"><input type="button" class="or-form-btn or-form-btn--secondary or-form-btn--cancel" value="<?php echo lang("CANCEL") ?>" /><input type="submit" class="or-form-btn or-form-btn--primary or-form-btn--save" value="<?php echo lang('BUTTON_OK') ?>" /></div></form>