Skip to content

Commit

Permalink
Merge pull request #131 from liomj/master
Browse files Browse the repository at this point in the history
Update suico_album.tpl
  • Loading branch information
liomj committed May 1, 2020
2 parents 696f772 + b7ce96b commit a22052d
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion templates/suico_album.tpl
Expand Up @@ -67,7 +67,34 @@
<small><{$pics_array[i].date_updated|date_format}></small>
<{/if}>
</p>

<{if (($isOwner==1))}>
<form action="delpicture.php" method="post" id="deleteform" class="suico-album-formquick">
<input type="hidden" value="<{$pics_array[i].image_id}>" name="image_id">
<{$token}>
<input name="submit" type="image" alt="<{$lang_delete}>" title="<{$lang_delete}>" src="<{xoModuleIcons16 delete.png}>">
</form>
<form action="editpicture.php" method="post" id="editform" class="suico-album-formquick">
<input type="hidden" value="<{$pics_array[i].image_id}>" name="image_id">
<{$token}>
<input name="submit" type="image" alt="<{$lang_editpicture}>" title="<{$lang_editpicture}>" src="<{xoModuleIcons16 edit.png}>">
</form>
<form action="avatar.php" method="post" id="setavatar" class="suico-album-formquick">
<input type="hidden" value="<{$pics_array[i].image_id}>" name="image_id">
<{$token}>
<input name="submit" type="image" alt="<{$lang_avatarchange}>" title="<{$lang_avatarchange}>" src="assets/images/avatar.gif">
</form>
<form action="private.php" method="post" id="setprivate" class="suico-album-formquick">
<input type="hidden" value="<{$pics_array[i].image_id}>" name="image_id">
<{$token}>
<{if $pics_array[i].private == 1}>
<input type="hidden" value="0" name="private">
<input name="submit" type="image" alt="<{$lang_unsetprivate}>" title="<{$lang_unsetprivate}>" src="assets/images/unlock.gif">
<{else}>
<input type="hidden" value="1" name="private">
<input name="submit" type="image" alt="<{$lang_setprivate}>" title="<{$lang_setprivate}>" src="assets/images/lock.gif">
<{/if}>
</form>
<{/if}>
</div>
</div>
</div>
Expand Down

0 comments on commit a22052d

Please sign in to comment.