Changeset 838 in ExiteCMS for trunk/includes/Smarty-2.6.18/custom-plugins/function.buttonlink.php
- Timestamp:
- 09/25/07 22:15:58 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Smarty-2.6.18/custom-plugins/function.buttonlink.php
r835 r838 57 57 } 58 58 59 return "<input type='button' class='button' value='$name' ".($title?"title='$title' ":"")."onClick='".($script ? $link: ($new ? "window.open(\"$link\");'" : "window.location=\"$link\";'"))." />";59 return "<input type='button' class='button' value='$name' ".($title?"title='$title' ":"")."onClick='".($script ? ($link."'") : ($new ? "window.open(\"$link\");'" : "window.location=\"$link\";'"))." />"; 60 60 } 61 61
Note: See TracChangeset
for help on using the changeset viewer.
