]> git.mxchange.org Git - friendica.git/blob - view/theme/dispy/photo_edit.tpl
template engine rework
[friendica.git] / view / theme / dispy / photo_edit.tpl
1
2 <form action="photos/$nickname/$resource_id" method="post" id="photo_edit_form" >
3
4         <input type="hidden" name="item_id" value="$item_id" />
5
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" />
8
9         <div id="photo-edit-albumname-end"></div>
10
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" />
13
14         <div id="photo-edit-caption-end"></div>
15
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" />
18
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" />
23         </div>
24         <div id="photo-edit-rotate-end"></div>
25
26         <div id="photo-edit-perms" class="photo-edit-perms" >
27                 <a href="#photo-edit-perms-select"
28                         id="photo-edit-perms-menu"
29                         class="button"
30                         title="$permissions"/><span id="jot-perms-icon"
31                         class="icon $lockstate" ></span>$permissions</a>
32                 <div id="photo-edit-perms-menu-end"></div>
33
34                 <div style="display: none;">
35                         <div id="photo-edit-perms-select" >
36                                 $aclselect
37                         </div>
38                 </div>
39         </div>
40         <div id="photo-edit-perms-end"></div>
41
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()"; />
44
45         <div id="photo-edit-end"></div>
46 </form>
47
48 <script type="text/javascript">
49         $("a#photo-edit-perms-menu").colorbox({
50                 'inline' : true,
51                 'transition' : 'none'
52         }); 
53 </script>