source: branches/1.1dev/templates/adm_record_version_view.ihtml

Last change on this file was 312, checked in by quinn, 16 years ago

Escaped HTML in versions view and diff.

File size: 746 bytes
Line 
1<div id="commandbox">              
2<?php if (!getFormData('current', false)) { ?>
3    <span class="nowrap commandtext"><a href="<?php echo ohref($_SERVER['PHP_SELF'] . '?op=restore', array('version_id', 'version_title')); ?>"><?php echo _("Restore this saved version"); ?></a></span>
4<?php } else { ?>
5    <span class="nowrap commandtext">&nbsp;</span>
6<?php } ?>
7</div>
8
9<?php if (is_array($data) && !empty($data)) { ?>
10<table class="list" border="0" cellspacing="0" cellpadding="4">
11<?php
12while ((list($k, $v_d) = each($data))) {
13    ?>
14    <tr>
15        <td class="padleft nowrap formlabel"<?php echo $style; ?>><?php echo oTxt($k); ?></td>
16        <td class="padleft"><?php echo oTxt($v_d); ?></td>
17    </tr>
18<?php } ?>
19</table>
20<?php } ?>
Note: See TracBrowser for help on using the repository browser.