[Rt-commit] r16011 - in rt/branches/3.999-DANGEROUS: . share/html share/html/Admin/Queues share/html/Approvals share/html/Dashboards share/html/Helpers share/html/NoAuth share/html/Prefs share/html/Search share/html/SelfService share/html/Ticket share/html/Tools share/html/Tools/Reports share/html/User share/html/User/Groups

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Sep 17 11:52:22 EDT 2008


Author: sunnavy
Date: Wed Sep 17 11:52:21 2008
New Revision: 16011

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/share/html/Admin/Queues/People.html
   rt/branches/3.999-DANGEROUS/share/html/Approvals/Display.html
   rt/branches/3.999-DANGEROUS/share/html/Approvals/index.html
   rt/branches/3.999-DANGEROUS/share/html/CalPopup.html
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/Render.html
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/Subscription.html
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/index.html
   rt/branches/3.999-DANGEROUS/share/html/Helpers/CalPopup.html
   rt/branches/3.999-DANGEROUS/share/html/NoAuth/Reminder.html
   rt/branches/3.999-DANGEROUS/share/html/Prefs/MyRT.html
   rt/branches/3.999-DANGEROUS/share/html/Prefs/Other.html
   rt/branches/3.999-DANGEROUS/share/html/Prefs/Quicksearch.html
   rt/branches/3.999-DANGEROUS/share/html/Prefs/Search.html
   rt/branches/3.999-DANGEROUS/share/html/Prefs/SearchOptions.html
   rt/branches/3.999-DANGEROUS/share/html/Search/Build.html
   rt/branches/3.999-DANGEROUS/share/html/Search/Bulk.html
   rt/branches/3.999-DANGEROUS/share/html/Search/Chart.html
   rt/branches/3.999-DANGEROUS/share/html/Search/Edit.html
   rt/branches/3.999-DANGEROUS/share/html/SelfService/Create.html
   rt/branches/3.999-DANGEROUS/share/html/SelfService/CreateTicketInQueue.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Forward.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/GnuPG.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/index.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/History.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Modify.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyAll.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyDates.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyLinks.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyPeople.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Reminders.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Update.html
   rt/branches/3.999-DANGEROUS/share/html/Tools/MyDay.html
   rt/branches/3.999-DANGEROUS/share/html/Tools/Offline.html
   rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/CreatedByDates.html
   rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/ResolvedByDates.html
   rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/ResolvedByOwner.html
   rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/index.html
   rt/branches/3.999-DANGEROUS/share/html/Tools/index.html
   rt/branches/3.999-DANGEROUS/share/html/User/Delegation.html
   rt/branches/3.999-DANGEROUS/share/html/User/Groups/Members.html
   rt/branches/3.999-DANGEROUS/share/html/User/Groups/Modify.html
   rt/branches/3.999-DANGEROUS/share/html/User/Groups/index.html
   rt/branches/3.999-DANGEROUS/share/html/User/Prefs.html
   rt/branches/3.999-DANGEROUS/share/html/index.html

Log:
 r16759 at sunnavys-mb:  sunnavy | 2008-09-17 23:51:25 +0800
 convert all pages including Header directly to use wrapper


Modified: rt/branches/3.999-DANGEROUS/share/html/Admin/Queues/People.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Admin/Queues/People.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Admin/Queues/People.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _('Modify people related to queue %1', $queue_obj->name) &>
+<&| /_elements/wrapper, title => _('Modify people related to queue %1', $queue_obj->name) &>
 <& /Admin/Elements/QueueTabs, id => $id, 
     queue_obj => $queue_obj,                                                      
     current_tab => $current_tab, 
@@ -130,6 +130,7 @@
 <& /Elements/Submit, label => _('Save Changes'), caption => _("If you've updated anything above, be sure to"), reset => 1 &>
 </form>
 
+</&>
 <%INIT>
 
 my $current_tab;

Modified: rt/branches/3.999-DANGEROUS/share/html/Approvals/Display.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Approvals/Display.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Approvals/Display.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title =>  $title &>
+<&| /_elements/wrapper, title =>  $title &>
 
 <& Elements/Tabs, 
     current_tab => "Approvals/Display.html", 
@@ -61,6 +61,7 @@
 </form>
 <& Elements/ShowDependency, ticket => $Ticket &>
 
+</&>
 <%init>
 my $Ticket = load_ticket($id);
 

Modified: rt/branches/3.999-DANGEROUS/share/html/Approvals/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Approvals/index.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Approvals/index.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _("My approvals") &>
+<&| /_elements/wrapper, title => _("My approvals") &>
 <& /Approvals/Elements/Tabs, title => _("My approvals") &>
 
 <& /Elements/ListActions, actions => \@actions &>
@@ -53,6 +53,7 @@
 <& Elements/PendingMyApproval, %ARGS &>
 <& /Elements/Submit, label => _('Go!') &>
 </form>
+</&>
 <%init>
 
 my (@actions);

Modified: rt/branches/3.999-DANGEROUS/share/html/CalPopup.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/CalPopup.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/CalPopup.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header &>
+<&| /_elements/wrapper &>
 <script>
 function updateParent(strItem) {
     window.opener.document.getElementById('<%$field%>').value = strItem;
@@ -83,6 +83,7 @@
 </div>
 </div>
 
+</&>
 <%init>
 use Calendar::Simple;
 my @today = localtime(time());

Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Dashboards/Elements/Tabs,
     current_subtab => $current_subtab,
     title => $title,
@@ -77,6 +77,7 @@
 <& /Elements/Submit, name => 'delete', label => _('Delete') &>
 % }
 </form>
+</&>
 <%INIT>
 
 my $current_subtab;

Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Dashboards/Elements/Tabs,
     current_subtab => $current_subtab,
     title => $title,
@@ -74,6 +74,7 @@
 
 </form>
 
+</&>
 <%INIT>
 
 my $current_subtab = 'Dashboards/Queries.html?id=' . $id;

Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Render.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Render.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Render.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title, java_script => $preview, show_bar => $preview  &>
+<&| /_elements/wrapper, title => $title, java_script => $preview, show_bar => $preview  &>
 
 % if ($preview) {
 <& /Dashboards/Elements/Tabs,
@@ -73,6 +73,7 @@
 </tr>
 </table>
 
+</&>
 <%INIT>
 
 my $current_subtab = 'Dashboards/Render.html?id=' . $id;

Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Subscription.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Subscription.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Subscription.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Dashboards/Elements/Tabs,
     current_subtab => $current_subtab,
     title => $title,
@@ -165,6 +165,7 @@
 % }
 </form>
 
+</&>
 <%INIT>
 
 my $current_subtab = 'Dashboards/Subscription.html?dashboard_id=' . $dashboard_id;

Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/index.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/index.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Dashboards/Elements/Tabs,
     current_subtab => 'Dashboards/index.html',
     title => $title &>
@@ -69,6 +69,7 @@
     &>
 % }
 
+</&>
 <%INIT>
 my $title = _("Dashboards");
 use RT::Dashboard;

Modified: rt/branches/3.999-DANGEROUS/share/html/Helpers/CalPopup.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Helpers/CalPopup.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Helpers/CalPopup.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, show_bar => 0 &>
+<&| /_elements/wrapper, show_bar => 0 &>
 %# From /Elements/Header
 </div>
 <div id="body" class="calpopup">
@@ -85,6 +85,7 @@
 </html>
 % $m->abort();
 
+</&>
 <%init>
 use Calendar::Simple;
 my @today = localtime(time());

Modified: rt/branches/3.999-DANGEROUS/share/html/NoAuth/Reminder.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/NoAuth/Reminder.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/NoAuth/Reminder.html	Wed Sep 17 11:52:21 2008
@@ -45,6 +45,8 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _('password Reminder') &>
+<&| /_elements/wrapper, title => _('password Reminder') &>
 
 <&|/l&>Not yet implemented.</&>
+
+</&>

Modified: rt/branches/3.999-DANGEROUS/share/html/Prefs/MyRT.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Prefs/MyRT.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Prefs/MyRT.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Prefs/Elements/Tabs,
     current_tab => 'Prefs/MyRT.html',
     title => $title,
@@ -77,6 +77,7 @@
 </form>
 </&>
 
+</&>
 <%INIT>
 my @results;
 my $title = _("Customize").' '._("RT at a glance");

Modified: rt/branches/3.999-DANGEROUS/share/html/Prefs/Other.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Prefs/Other.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Prefs/Other.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /User/Elements/Tabs, 
     current_tab => 'Prefs/Other.html',
     title => $title,
@@ -77,6 +77,7 @@
 
 <& /Elements/Submit, name => 'update', label => _('Save Changes') &>
 </form>
+</&>
 <%INIT>
 my @results;
 my $title = _("Settings");

Modified: rt/branches/3.999-DANGEROUS/share/html/Prefs/Quicksearch.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Prefs/Quicksearch.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Prefs/Quicksearch.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Prefs/Elements/Tabs,
     current_tab => 'Prefs/MyRT.html',
     current_subtab => 'Prefs/Quicksearch.html',
@@ -67,6 +67,7 @@
 
 </form>
 
+</&>
 <%INIT>
 my @actions;
 my $title = _("Customize").' '._("Quick search");

Modified: rt/branches/3.999-DANGEROUS/share/html/Prefs/Search.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Prefs/Search.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Prefs/Search.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Prefs/Elements/Tabs,
     current_tab => 'Prefs/MyRT.html',
 #    current_subtab => 'Prefs/Search.html?name='.$m->comp('/Elements/QueryString', name => $ARGS{name}),
@@ -72,6 +72,7 @@
 
 </form>
 
+</&>
 <%INIT>
 my @actions;
 my $title = _("Customize").' ';

Modified: rt/branches/3.999-DANGEROUS/share/html/Prefs/SearchOptions.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Prefs/SearchOptions.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Prefs/SearchOptions.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _("Search Preferences") &>
+<&| /_elements/wrapper, title => _("Search Preferences") &>
 <& /User/Elements/Tabs, 
     current_tab => "Prefs/SearchOptions.html",
     title => _("Search Preferences")
@@ -64,6 +64,7 @@
 
 <& /Elements/Submit, name => 'save_preferences', label => _('Save Changes') &>
 </form>
+</&>
 <%INIT>
 my @actions;
 

Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Build.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Build.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Build.html	Wed Sep 17 11:52:21 2008
@@ -65,10 +65,10 @@
 %#   to things like parse_query correctly not quoting numbers in numerical fields, while the "add"
 %#   action does quote it (this breaks SQLite).
 %#
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => _("Query Builder") &>
 <& /Ticket/Elements/Tabs, 
     current_tab => "Search/Build.html?".$query_string, 
-    title => $title,
+    title => _("Query Builder"),
     %query,
     saved_search_id => $saved_search{'id'},
 &>
@@ -115,11 +115,10 @@
 
 </form>
 
+</&>
 <%INIT>
 use RT::Interface::Web::QueryBuilder::Tree;
 
-my $title = _("Query Builder");
-
 my %query;
 for( qw(query format order_by order rows_per_page) ) {
     $query{$_} = $ARGS{$_};

Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Bulk.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Bulk.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Bulk.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Ticket/Elements/Tabs, 
     current_tab => "Search/Bulk.html",
     title => $title,
@@ -206,6 +206,7 @@
 </form>
 
 
+</&>
 <%INIT>
 $rows = $rows_per_page unless (defined $rows);
 my $title = _("Update multiple tickets");

Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Chart.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Chart.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Chart.html	Wed Sep 17 11:52:21 2008
@@ -64,10 +64,11 @@
 my @actions = $m->comp( '/Widgets/SavedSearch:process', args => \%ARGS, self => $saved_search );
 
 </%init>
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Ticket/Elements/Tabs, title => $title &>
 <& /Elements/ListActions, actions => \@actions &>
 <& /Search/Elements/Chart, %ARGS &>
 
 
 <& /Widgets/SavedSearch:show, %ARGS, action => 'Chart.html', self => $saved_search, title => 'Saved charts' &>
+</&>

Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Edit.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Edit.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Edit.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title&>
+<&| /_elements/wrapper, title => $title&>
 <& /Ticket/Elements/Tabs, 
     current_tab => "Search/Edit.html?".$query_string, 
     title   => $title,
@@ -70,6 +70,7 @@
 <& /Elements/Submit, label => _("Apply"), reset => 1, caption => _("Apply your changes")&>
 </form>
 
+</&>
 <%INIT>
 my $title = _("Edit Query");
 $format = $m->comp('/Elements/ScrubHTML', content => $format);

Modified: rt/branches/3.999-DANGEROUS/share/html/SelfService/Create.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/SelfService/Create.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/SelfService/Create.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& Elements/Header, title => _("Create a ticket") &>
+<&| _elements/wrapper, title => _("Create a ticket") &>
 
 <form action="Display.html" method="post" enctype="multipart/form-data">
 <input type="hidden" class="hidden" name="id" value="new" />
@@ -110,6 +110,7 @@
 
 
 </form>
+</&>
 <%args>
 $queue => undef
 </%args>

Modified: rt/branches/3.999-DANGEROUS/share/html/SelfService/CreateTicketInQueue.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/SelfService/CreateTicketInQueue.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/SelfService/CreateTicketInQueue.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& Elements/Header, title => _("Create a ticket") &>
+<&| _elements/wrapper, title => _("Create a ticket") &>
 
 <h1><&|/l&>Select a queue for your new ticket</&></h1>
 
@@ -57,6 +57,7 @@
 <dd><%$queue->description%></dd>
 % }
 </dl>
+</&>
 <%init>
 my $queues = RT::Model::QueueCollection->new();
 $queues->find_all_rows;

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Forward.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Forward.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Forward.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $Title &>
+<&| /_elements/wrapper, title => $Title &>
 <& /Ticket/Elements/Tabs, 
     ticket => $ticket_obj, 
     title  => $Title,
@@ -78,6 +78,7 @@
 <& /Elements/Submit, label => _('Forward Message and Return'), name => 'forward_and_return' &>
 <& /Elements/Submit, label => _('Forward Message'), name => 'forward' &>
 </form>
+</&>
 <%INIT>
 my $ticket_obj = load_ticket($id);
 $id = $ARGS{'id'} = $ticket_obj->id;

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/GnuPG.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/GnuPG.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/GnuPG.html	Wed Sep 17 11:52:21 2008
@@ -46,7 +46,7 @@
 %# 
 %# END BPS TAGGED BLOCK }}}
 
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Ticket/Elements/Tabs,
     ticket => $txn->ticket_obj,
     current_tab => 'Ticket/Encrypt.html?id='. $id,
@@ -64,6 +64,7 @@
     name  => ($encrypted? 'Decrypt': 'encrypt'),
 &>
 </form>
+</&>
 <%ARGS>
 $id => undef
 $encrypt => 0

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/index.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/index.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Ticket/Elements/Tabs,
     ticket => $ticket,
     title => $title,
@@ -72,6 +72,7 @@
 &>
 </form>
 
+</&>
 <%ARGS>
 </%ARGS>
 <%INIT>

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/History.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/History.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/History.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _("Ticket History # %1 %2", $Ticket->id, $Ticket->subject) &>
+<&| /_elements/wrapper, title => _("Ticket History # %1 %2", $Ticket->id, $Ticket->subject) &>
 <& /Ticket/Elements/Tabs, 
     ticket => $Ticket, current_tab => 'Ticket/History.html?id='.$Ticket->id, 
     title => _("Ticket History # %1 %2", $Ticket->id, $Ticket->subject) &>
@@ -65,6 +65,7 @@
 
 % $m->callback( %ARGS, Callbackname => 'after_show_history', ticket => $Ticket, current_tab => 'Ticket/History.html?id=' . $Ticket->id );
 
+</&>
 <%ARGS>
 $id => undef
 </%ARGS>

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Modify.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Modify.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Modify.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _('Modify ticket #%1', $ticket_obj->id) &>
+<&| /_elements/wrapper, title => _('Modify ticket #%1', $ticket_obj->id) &>
 <& /Ticket/Elements/Tabs, 
     ticket => $ticket_obj, current_subtab => "Ticket/Modify.html?id=".$ticket_obj->id, 
     title => _('Modify ticket #%1', $ticket_obj->id) &>
@@ -64,6 +64,7 @@
 
 <& /Elements/Submit, label => _('Save Changes'), caption => _("If you've updated anything above, be sure to"), color => "#993333" &>
 </form>
+</&>
 <%INIT>
   
 my $ticket_obj = load_ticket($id);

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyAll.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyAll.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyAll.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _("Ticket #%1 Jumbo update: %2", $Ticket->id, $Ticket->subject) &>
+<&| /_elements/wrapper, title => _("Ticket #%1 Jumbo update: %2", $Ticket->id, $Ticket->subject) &>
 <& /Ticket/Elements/Tabs, 
     ticket => $Ticket, 
     current_tab => "Ticket/ModifyAll.html?id=".$Ticket->id, 
@@ -131,6 +131,7 @@
     caption => _("If you've updated anything above, be sure to"), color => "#333399" &>
 </form>
 
+</&>
 <%INIT>
 
 use Data::Dumper;

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyDates.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyDates.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyDates.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _('Modify dates for #%1', $ticket_obj->id) &>
+<&| /_elements/wrapper, title => _('Modify dates for #%1', $ticket_obj->id) &>
 <& /Ticket/Elements/Tabs, 
     ticket => $ticket_obj, 
     current_tab => "Ticket/ModifyDates.html?id=".$ticket_obj->id, 
@@ -64,6 +64,7 @@
 </form>
 
 
+</&>
 <%INIT>
 
 my $ticket_obj = load_ticket($id);

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyLinks.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyLinks.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyLinks.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _("Link ticket #%1", $Ticket->id) &>
+<&| /_elements/wrapper, title => _("Link ticket #%1", $Ticket->id) &>
 <& /Ticket/Elements/Tabs, 
     ticket => $Ticket, 
     current_tab => "Ticket/ModifyLinks.html?id=".$Ticket->id, 
@@ -68,6 +68,7 @@
 
 
 
+</&>
 <%INIT>
 
 my $Ticket = load_ticket($id);

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyPeople.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyPeople.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyPeople.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _('Modify people related to ticket #%1', $Ticket->id) &>
+<&| /_elements/wrapper, title => _('Modify people related to ticket #%1', $Ticket->id) &>
 <& /Ticket/Elements/Tabs, 
     ticket => $Ticket, 
     current_tab => "Ticket/ModifyPeople.html?id=".$Ticket->id, 
@@ -63,6 +63,7 @@
 <& /Elements/Submit, label => _('Save Changes'), caption => _("If you've updated anything above, be sure to"), color => "#333399" &>
 </form>
 
+</&>
 <%INIT>
 
 my (@results, @wresults);

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Reminders.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Reminders.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Reminders.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _("Reminder ticket #%1", $Ticket->id) &>
+<&| /_elements/wrapper, title => _("Reminder ticket #%1", $Ticket->id) &>
 <& /Ticket/Elements/Tabs, 
     ticket => $Ticket, 
     current_tab => "Ticket/Reminders.html?id=".$Ticket->id, 
@@ -64,6 +64,7 @@
 </form>
 
 
+</&>
 <%INIT>
   
 my $Ticket = load_ticket($id);

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Update.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Update.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Update.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Ticket/Elements/Tabs, 
     ticket => $ticket_obj, 
     title=> $title &>
@@ -157,6 +157,7 @@
 
 % }
 </form>
+</&>
 <%INIT>
 my $CanRespond = 0;
 my $Cancomment = 0;

Modified: rt/branches/3.999-DANGEROUS/share/html/Tools/MyDay.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Tools/MyDay.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Tools/MyDay.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Tools/Elements/Tabs, current_tab => "Tools/MyDay.html", title => $title &>
 
 <& /Elements/ListActions, actions => \@results &>
@@ -73,6 +73,7 @@
 <& /Elements/Submit, label => _('Record all updates') ,  reset => 1, reset_label => _('Clear')&>
 </form>
 </html>
+</&>
 <%INIT>
 my $title = _("What I did today");
 

Modified: rt/branches/3.999-DANGEROUS/share/html/Tools/Offline.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Tools/Offline.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Tools/Offline.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _("Offline upload") &>
+<&| /_elements/wrapper, title => _("Offline upload") &>
 <& Elements/Tabs, 
     current_tab => "Tools/Offline.html", 
     title => _("Offline edits") &>
@@ -94,6 +94,7 @@
 <& /Elements/Submit, name => 'update_tickets', label => _('Upload'), caption => _("Upload your changes"), color => "#993333" &>
 
 </form>
+</&>
 <%args>
 $requestoraddress => ''
 $qname => undef

Modified: rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/CreatedByDates.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/CreatedByDates.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/CreatedByDates.html	Wed Sep 17 11:52:21 2008
@@ -70,7 +70,7 @@
 
 $q->load_by_cols(name => $queue);
 </%init>
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Tools/Reports/Elements/Tabs, current_tab => 'Tools/Reports/CreatedByDates.html', title => $title &>
 <form method="post" action="CreatedByDates.html">
 % if ($queue|| $created_before ||$created_after) {
@@ -92,3 +92,4 @@
 
 <& /Elements/Submit&>
 </form>
+</&>

Modified: rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/ResolvedByDates.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/ResolvedByDates.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/ResolvedByDates.html	Wed Sep 17 11:52:21 2008
@@ -70,7 +70,7 @@
 
 $q->load_by_cols(name => $queue);
 </%init>
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Tools/Reports/Elements/Tabs, current_tab => 'Tools/Reports/ResolvedByDates.html', title => $title &>
 <form method="post" action="ResolvedByDates.html">
 % if ($queue|| $resolved_before ||$resolved_after) {
@@ -93,3 +93,4 @@
 
 <& /Elements/Submit&>
 </form>
+</&>

Modified: rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/ResolvedByOwner.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/ResolvedByOwner.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/ResolvedByOwner.html	Wed Sep 17 11:52:21 2008
@@ -53,7 +53,7 @@
 my $q = RT::Model::Queue->new();
 $q->load_by_cols(name => $queue);
 </%init>
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /Tools/Reports/Elements/Tabs, current_tab => '/Tools/Reports/ResolvedByOwner.html', title => $title &>
 <form method="post" action="ResolvedByOwner.html">
 % if ($queue) {
@@ -68,3 +68,4 @@
 <&|/l&>Queue</&>: <& /Elements/SelectQueue, name => 'queue', named_values => 1, default => $q->id &>
 <& /Elements/Submit&>
 </form>
+</&>

Modified: rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/index.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Tools/Reports/index.html	Wed Sep 17 11:52:21 2008
@@ -45,12 +45,13 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _('Reports') &>
+<&| /_elements/wrapper, title => _('Reports') &>
 <& /Tools/Reports/Elements/Tabs, title => _('Reports') &>
 <& /Elements/ListMenu, items => $tabs &>
 
 % $m->callback;
 
+</&>
 <%init>
 
 my $tabs = {

Modified: rt/branches/3.999-DANGEROUS/share/html/Tools/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Tools/index.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Tools/index.html	Wed Sep 17 11:52:21 2008
@@ -45,12 +45,13 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _("Tools") &>
+<&| /_elements/wrapper, title => _("Tools") &>
 <& Elements/Tabs, 
     current_tab => "Tools/index.html", 
     title => _("Tools") &>
 <& /Elements/ListMenu, items => $tabs &>
 
+</&>
 <%init>
 
 my $tabs = {

Modified: rt/branches/3.999-DANGEROUS/share/html/User/Delegation.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/User/Delegation.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/User/Delegation.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => _("Delegate rights") &>
+<&| /_elements/wrapper, title => _("Delegate rights") &>
 <& /User/Elements/Tabs, 
     current_tab => 'User/Delegation.html', 
     title => _("Delegate rights") &>
@@ -59,6 +59,7 @@
 
 <& /Elements/Submit, label => _('Modify rights') &>
 </form>
+</&>
 <%INIT>
 
 my (@results, $arg);

Modified: rt/branches/3.999-DANGEROUS/share/html/User/Groups/Members.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/User/Groups/Members.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/User/Groups/Members.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /User/Elements/GroupTabs, 
     group_obj => $Group, 
     current_subtab => "User/Groups/Members.html?id=".$Group->id, 
@@ -104,6 +104,7 @@
 </form>
 
 
+</&>
 <%INIT>
 
 my $Group = RT::Model::Group->new();

Modified: rt/branches/3.999-DANGEROUS/share/html/User/Groups/Modify.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/User/Groups/Modify.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/User/Groups/Modify.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 
 <& /User/Elements/GroupTabs, 
     group_obj => $Group, 
@@ -78,6 +78,7 @@
 </table>
 <& /Elements/Submit, label => _('Save Changes'), reset => 1 &>
 </form>
+</&>
 <%INIT>
 
 my $current_tab;

Modified: rt/branches/3.999-DANGEROUS/share/html/User/Groups/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/User/Groups/index.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/User/Groups/index.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => $title &>
+<&| /_elements/wrapper, title => $title &>
 <& /User/Elements/GroupTabs, 
     current_subtab => 'User/Groups/index.html', 
     title => $title &>
@@ -57,6 +57,7 @@
 %}
 </ul>
 
+</&>
 <%INIT>
 my $Groups = RT::Model::GroupCollection->new();
 $Groups->limit_to_personal_groups_for(Jifty->web->current_user->id);

Modified: rt/branches/3.999-DANGEROUS/share/html/User/Prefs.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/User/Prefs.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/User/Prefs.html	Wed Sep 17 11:52:21 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title=>_("Preferences") &>
+<&| /_elements/wrapper, title=>_("Preferences") &>
 <& /User/Elements/Tabs, 
     current_tab => 'User/Prefs.html', 
     title=>_("Preferences") &>
@@ -193,6 +193,7 @@
 </form>
 
 
+</&>
 <%INIT>
 
 my $user_object = RT::Model::User->new();

Modified: rt/branches/3.999-DANGEROUS/share/html/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/index.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/index.html	Wed Sep 17 11:52:21 2008
@@ -3,7 +3,6 @@
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <!--
 % $m->out('--'.'>');
-% $m->comp('/Elements/Header', title=>_("RT at a glance"), refresh => $session{'home_refresh_interval'});
 % if (0) {
 %# -->
 <html><head>
@@ -75,6 +74,8 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
+
+<&| /_elements/wrapper, title=>_("RT at a glance"), refresh => $session{'home_refresh_interval'} &>
 <& /Elements/Tabs, 
     current_toptab => '', 
     title=>_("RT at a glance"),
@@ -82,6 +83,7 @@
     &>
 <& /Elements/ListActions, actions => \@results &>    
 <& /Elements/MyRT &>
+</&>
 <%init>
 
 my @results;


More information about the Rt-commit mailing list