Files
Testing/templates/group_album_add.tpl
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

78 lines
2.3 KiB
Smarty

{include file='header.tpl'}
{* $Id: user_album_add.tpl 2 2009-01-10 20:53:09Z john $ *}
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td valign='top'>
<!--<img src='./images/icons/album_image48.gif' border='0' class='icon_big'>-->
<div class='page_header'><span style="font-size:20pt; font-weight:bold; text-transform:uppercase;">Create New Group Photo Album</span></div>
</td>
<td valign='top' align='right'>
<table cellpadding='0' cellspacing='0' width='130'>
<tr><td class='button' nowrap='nowrap'><a href='user_album.php'><!--<img src='./images/icons/back16.gif' border='0' class='button'>-->{lang_print id=1000097}</a></td></tr>
</table>
</td>
</tr>
</table>
<br>
{* SHOW ERROR MESSAGE *}
{if $is_error != 0}
<div class='error'><img src='./images/error.gif' class='icon' border='0'> {lang_print id=$is_error}</div><br>
{/if}
{* SHOW ERROR IF MAX ALBUMS REACHED *}
{if $total_albums >= $user->level_info.level_album_maxnum}
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='result'>
<img src='./images/error.gif' class='icon' border='0'> {lang_sprintf id=1000075 1=$user->level_info.level_album_maxnum}
</td></tr></table>
<br>
<form action='user_album.php' method='get'>
<input type='submit' class='button' value='{lang_print id=1000076}'>
</form>
{* DISPLAY ALBUM CREATION PAGE *}
{else}
<form action='group_album_add.php' method='POST'>
<b>{lang_print id=1000077}</b><br>
<input name='album_title' type='text' class='form-control' maxlength='50' size='30' value='{$album_title}'>
<input name='group_id' type='hidden' class='form-control' maxlength='50' size='30' value='{$group->group_info.group_id}'>
<br><br>
<b>{lang_print id=1000078}</b><br>
<textarea name='album_desc' rows='6' cols='50' class='form-control'>{$album_desc}</textarea>
<br>
{* SHOW SEARCH PRIVACY OPTIONS IF ALLOWED BY ADMIN *}
<br>
<table cellpadding='0' cellspacing='0'>
<tr>
<td>
<input type='submit' class='button' value='{lang_print id=1000084}'>&nbsp;
<input type='hidden' name='task' value='doadd'>
</form>
</td>
<td>
<form action='user_album.php' method='GET'>
<input type='submit' class='button' value='{lang_print id=39}'>
</form>
</td>
</tr>
</table>
{/if}
{include file='footer.tpl'}