rt 4.0.23
[freeside.git] / rt / share / html / Admin / CustomFields / index.html
index 2835b12..e8687ed 100644 (file)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
 %#
 %# END BPS TAGGED BLOCK }}}
 <& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/CustomFieldTabs,
-    current_tab => 'Admin/CustomFields/', 
-    Title => $title,
-&>
+<& /Elements/Tabs &>
 
 % my $tmp = RT::CustomField->new( $session{'CurrentUser'} );
 % if ( $Type ) {
@@ -84,6 +81,8 @@
 <&|/l&>Include disabled custom fields in listing.</&>
 <br />
 
+% $m->callback(CallbackName => 'BeforeSubmit');
+
 <input type="submit" value="<% loc('Go!') %>" />
 </form>
 
@@ -107,6 +106,8 @@ $CustomFields->UnLimit;
 $CustomFields->FindAllRows if $ShowDisabled;
 $CustomFields->LimitToLookupType( $Type ) if $Type;
 
+$m->callback(CallbackName => 'MassageCustomFields', CustomFields => $CustomFields);
+
 $Format ||= RT->Config->Get('AdminSearchResultFormat')->{'CustomFields'};
 
 </%INIT>