aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/photo_edit.tpl
diff options
context:
space:
mode:
authorSimon <simon@kisikew.org>2012-05-23 15:08:43 -0700
committerSimon <simon@kisikew.org>2012-05-23 15:08:43 -0700
commit8cec510b73d8e6c4064931076244253f7a2ca581 (patch)
tree34f45a209e93f6d7d6b3b70a71d778d52d49fdd2 /view/theme/dispy/photo_edit.tpl
parentda672694680df9cd9447da4c65b9492150d41c23 (diff)
parent5198260e3af96591b93f52dab064e72610302648 (diff)
downloadvolse-hubzilla-8cec510b73d8e6c4064931076244253f7a2ca581.tar.gz
volse-hubzilla-8cec510b73d8e6c4064931076244253f7a2ca581.tar.bz2
volse-hubzilla-8cec510b73d8e6c4064931076244253f7a2ca581.zip
Merge pull request #311 from simonlnu/master
clean up and fixing things
Diffstat (limited to 'view/theme/dispy/photo_edit.tpl')
-rw-r--r--view/theme/dispy/photo_edit.tpl53
1 files changed, 53 insertions, 0 deletions
diff --git a/view/theme/dispy/photo_edit.tpl b/view/theme/dispy/photo_edit.tpl
new file mode 100644
index 000000000..9e623ba61
--- /dev/null
+++ b/view/theme/dispy/photo_edit.tpl
@@ -0,0 +1,53 @@
+
+<form action="photos/$nickname/$resource_id" method="post" id="photo_edit_form" >
+
+ <input type="hidden" name="item_id" value="$item_id" />
+
+ <label id="photo-edit-albumname-label" for="photo-edit-albumname">$newalbum</label>
+ <input id="photo-edit-albumname" type="text" name="albname" value="$album" />
+
+ <div id="photo-edit-albumname-end"></div>
+
+ <label id="photo-edit-caption-label" for="photo-edit-caption">$capt_label</label>
+ <input id="photo-edit-caption" type="text" name="desc" value="$caption" />
+
+ <div id="photo-edit-caption-end"></div>
+
+ <label id="photo-edit-tags-label" for="photo-edit-newtag" >$tag_label</label>
+ <input name="newtag" id="photo-edit-newtag" title="$help_tags" type="text" />
+
+ <div id="photo-edit-tags-end"></div>
+ <div id="photo-edit-rotate-wrapper">
+ <div id="photo-edit-rotate-label">$rotate</div>
+ <input type="checkbox" name="rotate" value="1" />
+ </div>
+ <div id="photo-edit-rotate-end"></div>
+
+ <div id="photo-edit-perms" class="photo-edit-perms" >
+ <a href="#photo-edit-perms-select"
+ id="photo-edit-perms-menu"
+ class="button"
+ title="$permissions"/><span id="jot-perms-icon"
+ class="icon $lockstate" ></span>$permissions</a>
+ <div id="photo-edit-perms-menu-end"></div>
+
+ <div style="display: none;">
+ <div id="photo-edit-perms-select" >
+ $aclselect
+ </div>
+ </div>
+ </div>
+ <div id="photo-edit-perms-end"></div>
+
+ <input id="photo-edit-submit-button" type="submit" name="submit" value="$submit" />
+ <input id="photo-edit-delete-button" type="submit" name="delete" value="$delete" onclick="return confirmDelete()"; />
+
+ <div id="photo-edit-end"></div>
+</form>
+
+<script type="text/javascript">
+ $("a#photo-edit-perms-menu").fancybox({
+ 'transitionIn' : 'none',
+ 'transitionOut' : 'none'
+ });
+</script>