-
- <div id="toolbar">
- <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
- <script type="text/javascript">
- //<![CDATA[
- // prepare DOM for YUI Toolbar
- $(document).ready(function() {
- yuiToolbar();
- [% IF ( loop ) %]$("#sysprefst").tablesorter({
- sortList: [[0,0]],
- headers: { 1: {sorter:false},2: { sorter: false },3: { sorter: false },4: { sorter: false }}
- });[% END %]
- });
- // YUI Toolbar Functions
- function yuiToolbar() {
- new YAHOO.widget.Button("newstopword");
- } //]]>
- </script>
- <ul class="toolbar">
- <li><a id="newstopword" href="[% script_name %]?op=add_form">New Preference</a></li>
- </ul></div>
-
- <h1>System preferences admin</h1>
- <h2>[% tab %] preferences</h2>
- [% searchfield %]
- <table width="80%" id="sysprefst">
- <thead><tr>
+
+ <div id="toolbar" class="btn-toolbar">
+ <a class="btn btn-small" id="newstopword" href="[% script_name %]?op=add_form"><i class="icon-plus"></i> New preference</a>
+ </div>
+
+ [% IF ( tab != 'local_use' ) %]
+ <p>Please click on one of the tabs at the left side of this form.</p>
+ <table>
+ [% ELSE %]
+ <h1>Local use preferences</h1>
+ <table width="80%" id="sysprefst">
+ <thead><tr>