openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit c9fda9413037fa332555b3b46ba5cb7d7a1432e8
parent 160cef5e7c72d7860388fa465ede00d9a9dd0358
Author: Jan Dankert <devnull@localhost>
Date:   Sat, 21 Jul 2012 01:37:54 +0200

Am Formularende automatisch Submit-Buttons erzeugen.

Diffstat:
Mthemes/default/include/html/form-end.inc.php | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/themes/default/include/html/form-end.inc.php b/themes/default/include/html/form-end.inc.php @@ -1,2 +1,9 @@ -</form> +<div class="bottom"> + <div class="command"> + <input type="button" class="submit" value="<?php echo lang('BUTTON_OK') ?>" onclick="$(this).closest('div.window').find('form').submit();" /> + <input type="button" class="submit" value="<?php echo lang('CANCEL') ?>" onclick="$('ul#history li.active').click();" /> + </div> +</div> + +</form>