2 <form action="photos/{{$nickname}}/{{$resource_id}}" method="post" id="photo_edit_form" >
4 <input type="hidden" name="item_id" value="{{$item_id}}" />
6 <label id="photo-edit-albumname-label" for="photo-edit-albumname">{{$newalbum}}</label>
7 <input id="photo-edit-albumname" type="text" name="albname" value="{{$album}}" />
9 <div id="photo-edit-albumname-end"></div>
11 <label id="photo-edit-caption-label" for="photo-edit-caption">{{$capt_label}}</label>
12 <input id="photo-edit-caption" type="text" name="desc" value="{{$caption}}" />
14 <div id="photo-edit-caption-end"></div>
16 <label id="photo-edit-tags-label" for="photo-edit-newtag" >{{$tag_label}}</label>
17 <input name="newtag" id="photo-edit-newtag" title="{{$help_tags}}" type="text" />
19 <div id="photo-edit-tags-end"></div>
20 <div id="photo-edit-rotate-wrapper">
21 <div id="photo-edit-rotate-label">{{$rotate}}</div>
22 <input type="checkbox" name="rotate" value="1" />
24 <div id="photo-edit-rotate-end"></div>
26 <div id="photo-edit-perms" class="photo-edit-perms" >
27 <a href="#photo-edit-perms-select"
28 id="photo-edit-perms-menu"
30 title="{{$permissions}}"/><span id="jot-perms-icon"
31 class="icon {{$lockstate}}" ></span>{{$permissions}}</a>
32 <div id="photo-edit-perms-menu-end"></div>
34 <div style="display: none;">
35 <div id="photo-edit-perms-select" >
40 <div id="photo-edit-perms-end"></div>
42 <input id="photo-edit-submit-button" type="submit" name="submit" value="{{$submit}}" />
43 <input id="photo-edit-delete-button" type="submit" name="delete" value="{{$delete}}" onclick="return confirmDelete()"; />
45 <div id="photo-edit-end"></div>
48 <script type="text/javascript">
49 $("a#photo-edit-perms-menu").fancybox({
50 'transitionIn' : 'none',
51 'transitionOut' : 'none'