Changeset 197 for trunk/lib/TemplateGlue.inc.php
- Timestamp:
- Jul 2, 2006 10:25:43 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/TemplateGlue.inc.php
r188 r197 450 450 { 451 451 if (is_array($submit_buttons) && !empty($submit_buttons)) { 452 foreach ($submit_buttons as $button_name => $button_text) { 453 ?><input type="submit" name="<?php echo oTxt($button_name) ?>" value="<?php echo oTxt($button_text); ?>" /><?php 452 foreach ($submit_buttons as $i => $b) { 453 if (is_array($b)) { 454 ?><input type="submit" name="<?php echo oTxt($b['name']) ?>" value="<?php echo oTxt($b['value']); ?>" accesskey="<?php echo oTxt($b['accesskey']); ?>" /><?php 455 } else { 456 // For backwards compatability. 457 ?><input type="submit" name="<?php echo oTxt($i) ?>" value="<?php echo oTxt($b); ?>" /><?php 458 } 454 459 } 455 460 }
Note: See TracChangeset
for help on using the changeset viewer.