Last change
on this file since 632 was
312,
checked in by quinn, 17 years ago
|
Escaped HTML in versions view and diff.
|
File size:
746 bytes
|
Rev | Line | |
---|
[1] | 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"> </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 |
---|
| 12 | while ((list($k, $v_d) = each($data))) { |
---|
| 13 | ?> |
---|
| 14 | <tr> |
---|
[312] | 15 | <td class="padleft nowrap formlabel"<?php echo $style; ?>><?php echo oTxt($k); ?></td> |
---|
| 16 | <td class="padleft"><?php echo oTxt($v_d); ?></td> |
---|
[1] | 17 | </tr> |
---|
| 18 | <?php } ?> |
---|
| 19 | </table> |
---|
| 20 | <?php } ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.