From 70737b6e2f378efe76978c214e71463fbcbd2bdc Mon Sep 17 00:00:00 2001 From: wreis Date: Tue, 27 May 2008 19:16:03 +0000 Subject: action template --- share/skin/default/layout/action.tt | 52 ++----------------------------------- 1 file changed, 2 insertions(+), 50 deletions(-) (limited to 'share/skin/default') diff --git a/share/skin/default/layout/action.tt b/share/skin/default/layout/action.tt index 67d6c37..ba76fb5 100644 --- a/share/skin/default/layout/action.tt +++ b/share/skin/default/layout/action.tt @@ -1,63 +1,15 @@ -=for layout widget - -
- [% header %] - [% field_list %] - [% buttons %] - [% footer %] -
+=extends NEXT =for layout header - - -=for layout field_list - -

[% call_next %]

- =for layout field [% call_next %]
=for layout message_layout - [% message %]
- -=for layout buttons - [% message %] - [% ok_button_fragment %] - [% apply_button_fragment %] - [% cancel_button_fragment %] - -=for layout standard_button - - - -=for layout ok_button - -[% standard_button %] - -=for layout apply_button - -[% standard_button %] - -=for layout cancel_button - -[% standard_button %] - -=for layout whut - - [% IF (viewport.ordered_fields.size != 0) && allowed_events.grep('^apply$').size; %] - - [% END; %] - - [% IF allowed_events.grep('^close$').size; %] - - [% END; %] -
+[% call_next %]
=for layout footer - - =cut -- cgit v1.2.3-54-g00ecf