|
Lines 101-125
function CheckAttributeTypeForm(f) {
Link Here
|
| 101 |
value="[% description |html %]" /> |
101 |
value="[% description |html %]" /> |
| 102 |
</li> |
102 |
</li> |
| 103 |
<li><label for="repeatable">Repeatable: </label> |
103 |
<li><label for="repeatable">Repeatable: </label> |
| 104 |
<input type="checkbox" id="repeatable" name="repeatable" [% repeatable_checked %] [% repeatable_disabled %] /> |
104 |
[% IF ( repeatable_checked ) %] |
|
|
105 |
[% IF ( repeatable_disabled ) %] |
| 106 |
<input type="checkbox" id="repeatable" name="repeatable" checked="checked" disabled="disabled" /> |
| 107 |
[% ELSE %] |
| 108 |
<input type="checkbox" id="repeatable" name="repeatable" checked="checked" /> |
| 109 |
[% END %] |
| 110 |
[% ELSE %] |
| 111 |
[% IF ( repeatable_disabled ) %] |
| 112 |
<input type="checkbox" id="repeatable" name="repeatable" disabled="disabled" /> |
| 113 |
[% ELSE %] |
| 114 |
<input type="checkbox" id="repeatable" name="repeatable" /> |
| 115 |
[% END %] |
| 116 |
[% END %] |
| 105 |
<span>Check to let a patron record have multiple values of this attribute. |
117 |
<span>Check to let a patron record have multiple values of this attribute. |
| 106 |
This setting cannot be changed after an attribute is defined.</span> |
118 |
This setting cannot be changed after an attribute is defined.</span> |
| 107 |
</li> |
119 |
</li> |
| 108 |
<li><label for="unique_id">Unique identifier: </label> |
120 |
<li><label for="unique_id">Unique identifier: </label> |
| 109 |
<input type="checkbox" id="unique_id" name="unique_id" [% unique_id_checked %] [% unique_id_disabled %] /> |
121 |
[% IF ( unique_id_checked ) %] |
|
|
122 |
[% IF ( unique_id_disabled ) %] |
| 123 |
<input type="checkbox" id="unique_id" name="unique_id" checked="checked" disabled="disabled" /> |
| 124 |
[% ELSE %] |
| 125 |
<input type="checkbox" id="unique_id" name="unique_id" checked="checked" /> |
| 126 |
[% END %] |
| 127 |
[% ELSE %] |
| 128 |
[% IF ( unique_id_disabled ) %] |
| 129 |
<input type="checkbox" id="unique_id" name="unique_id" disabled="disabled" /> |
| 130 |
[% ELSE %] |
| 131 |
<input type="checkbox" id="unique_id" name="unique_id" /> |
| 132 |
[% END %] |
| 133 |
[% END %] |
| 110 |
<span>If checked, attribute will be a unique identifier — if a value is given to a patron record, the same value |
134 |
<span>If checked, attribute will be a unique identifier — if a value is given to a patron record, the same value |
| 111 |
cannot be given to a different record. This setting cannot be changed after an attribute is defined.</span> |
135 |
cannot be given to a different record. This setting cannot be changed after an attribute is defined.</span> |
| 112 |
</li> |
136 |
</li> |
| 113 |
<li><label for="password_allowed">Allow password: </label> |
137 |
<li><label for="password_allowed">Allow password: </label> |
| 114 |
<input type="checkbox" id="password_allowed" name="password_allowed" [% password_allowed_checked %] /> |
138 |
[% IF ( password_allowed_checked ) %] |
|
|
139 |
<input type="checkbox" id="password_allowed" name="password_allowed" checked="checked" /> |
| 140 |
[% ELSE %] |
| 141 |
<input type="checkbox" id="password_allowed" name="password_allowed" /> |
| 142 |
[% END %] |
| 115 |
<span>Check to make it possible to associate a password with this attribute.</span> |
143 |
<span>Check to make it possible to associate a password with this attribute.</span> |
| 116 |
</li> |
144 |
</li> |
| 117 |
<li><label for="opac_display">Display in OPAC: </label> |
145 |
<li><label for="opac_display">Display in OPAC: </label> |
| 118 |
<input type="checkbox" id="opac_display" name="opac_display" [% opac_display_checked %] /> |
146 |
[% IF ( opac_display_checked ) %] |
|
|
147 |
<input type="checkbox" id="opac_display" name="opac_display" checked="checked" /> |
| 148 |
[% ELSE %] |
| 149 |
<input type="checkbox" id="opac_display" name="opac_display" /> |
| 150 |
[% END %] |
| 119 |
<span>Check to display this attribute on a patron's details page in the OPAC.</span> |
151 |
<span>Check to display this attribute on a patron's details page in the OPAC.</span> |
| 120 |
</li> |
152 |
</li> |
| 121 |
<li><label for="staff_searchable">Searchable: </label> |
153 |
<li><label for="staff_searchable">Searchable: </label> |
| 122 |
<input type="checkbox" id="staff_searchable" name="staff_searchable" [% staff_searchable_checked %] /> |
154 |
[% IF ( staff_searchable_checked ) %] |
|
|
155 |
<input type="checkbox" id="staff_searchable" name="staff_searchable" checked="checked" /> |
| 156 |
[% ELSE %] |
| 157 |
<input type="checkbox" id="staff_searchable" name="staff_searchable" /> |
| 158 |
[% END %] |
| 123 |
<span>Check to make this attribute staff_searchable in the staff patron search.</span> |
159 |
<span>Check to make this attribute staff_searchable in the staff patron search.</span> |
| 124 |
</li> |
160 |
</li> |
| 125 |
<li><label for="authorised_value_category">Authorized value category: </label> |
161 |
<li><label for="authorised_value_category">Authorized value category: </label> |
| 126 |
- |
|
|