Lines 126-131
$(document).ready(function() {
Link Here
|
126 |
[% FOREACH imageset IN imagesets %] |
126 |
[% FOREACH imageset IN imagesets %] |
127 |
[% IF ( imageset.imagesetactive ) %]<li class="ui-tabs-active">[% ELSE %]<li>[% END %]<a href="#[% imageset.imagesetname %]">[% imageset.imagesetname %]</a></li> |
127 |
[% IF ( imageset.imagesetactive ) %]<li class="ui-tabs-active">[% ELSE %]<li>[% END %]<a href="#[% imageset.imagesetname %]">[% imageset.imagesetname %]</a></li> |
128 |
[% END %] |
128 |
[% END %] |
|
|
129 |
[% IF itemtype.image_location('intranet').match('^http') %]<li class="ui-tabs-active">[% ELSE %]<li>[% END %]<a href="#remote">Remote image</a></li> |
129 |
</ul> |
130 |
</ul> |
130 |
<div id="none"><ul> |
131 |
<div id="none"><ul> |
131 |
<li><label for="noimage">No image: </label><input type="radio" name="imageurl" id="noimage" value="removeImage" /></li> |
132 |
<li><label for="noimage">No image: </label><input type="radio" name="imageurl" id="noimage" value="removeImage" /></li> |
Lines 152-158
$(document).ready(function() {
Link Here
|
152 |
<br class="clear" /> |
153 |
<br class="clear" /> |
153 |
</div> |
154 |
</div> |
154 |
[% END %] |
155 |
[% END %] |
155 |
</div> |
156 |
|
|
|
157 |
<div id="remote"> |
158 |
<ul> |
159 |
<li> |
160 |
<label for="remote_image_check"> Remote image:</label> |
161 |
[% IF remote_image %] |
162 |
<input type="radio" id="remote_image_check" name="image" value="remoteImage" checked="checked" /> |
163 |
[% ELSE %] |
164 |
<input type="radio" id="remote_image_check" name="image" value="remoteImage" /> |
165 |
[% END %] |
166 |
<input type="text" name="remoteImage" size="48" maxlength="200" value="[% remote_image %]" onmousedown="document.getElementById('remote_image_check').checked = true;" /> |
167 |
[% IF ( remote_image ) %] |
168 |
<img src="[% remote_image %]" alt="" /> |
169 |
[% END %] |
170 |
</li> |
171 |
</ul> |
172 |
<br class="clear" /> |
173 |
</div> |
174 |
</div> |
175 |
|
156 |
[% END %] |
176 |
[% END %] |
157 |
</fieldset> |
177 |
</fieldset> |
158 |
<fieldset class="action"> <input type="hidden" name="id" value="[% id %]" /> |
178 |
<fieldset class="action"> <input type="hidden" name="id" value="[% id %]" /> |
159 |
- |
|
|