|
Lines 261-281
function CheckAttributeTypeForm(f) {
Link Here
|
| 261 |
|
261 |
|
| 262 |
[% IF ( display_list ) %] |
262 |
[% IF ( display_list ) %] |
| 263 |
|
263 |
|
| 264 |
<div id="toolbar"> |
264 |
<div id="toolbar" class="btn-toolbar"> |
| 265 |
<script type="text/javascript"> |
265 |
<a class="btn btn-small" id="newrule" href="[% script_name %]?op=add_attribute_type"><i class="icon-plus"></i> New patron attribute type</a> |
| 266 |
//<![CDATA[ |
266 |
</div> |
| 267 |
// prepare DOM for YUI Toolbar |
|
|
| 268 |
$(document).ready(function() { |
| 269 |
yuiToolbar(); |
| 270 |
}); |
| 271 |
// YUI Toolbar Functions |
| 272 |
function yuiToolbar() { |
| 273 |
new YAHOO.widget.Button("newrule"); |
| 274 |
} //]]> |
| 275 |
</script> |
| 276 |
<ul class="toolbar"> |
| 277 |
<li><a id="newrule" href="[% script_name %]?op=add_attribute_type">New patron attribute type</a></li> |
| 278 |
</ul></div> |
| 279 |
|
267 |
|
| 280 |
<h2>Patron attribute types</h2> |
268 |
<h2>Patron attribute types</h2> |
| 281 |
[% IF ( added_attribute_type ) %] |
269 |
[% IF ( added_attribute_type ) %] |
| 282 |
- |
|
|