Changeset 502 for trunk/services/templates/versions_diff.ihtml
- Timestamp:
- Dec 30, 2014 10:24:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/services/templates/versions_diff.ihtml
r497 r502 45 45 $action_links = array(); 46 46 if (!getFormData('current', false)) { 47 $action_links[] = array('href' => $app->oHREF( $_SERVER['PHP_SELF'] .'?op=restore', array('version_id', 'version_title')), 'value' => _("Restore this saved version"), 'class' => 'small button alert', 'accesskey' => 'r');47 $action_links[] = array('href' => $app->oHREF('?op=restore', array('version_id', 'version_title')), 'value' => _("Restore this saved version"), 'class' => 'small button alert', 'accesskey' => 'r'); 48 48 } 49 $action_links[] = array('href' => $app->ohref( oTxt($_SERVER['PHP_SELF'])), 'value' => _("Cancel"), 'class' => 'small button secondary', 'accesskey' => 'b');49 $action_links[] = array('href' => $app->ohref('?op=cancel'), 'value' => _("Cancel"), 'class' => 'small button secondary', 'accesskey' => 'c'); 50 50 HTML::printButtons($action_links); 51 51 ?>
Note: See TracChangeset
for help on using the changeset viewer.