File size: 8.64Kb
<!-- INCLUDE ucp_header.html -->
<!-- IF S_EDIT -->
<!-- IF S_ERROR -->
<center><span class="genmed"><b>{L_WARNING}</b><br/>
{ERROR_MSG}</span></center>
<!-- ENDIF -->
<center>{L_USERGROUPS}</center>
<div class="row1"><span class="genmed">{L_GROUPS_EXPLAIN}</span><br/>
{L_GROUP_DETAILS}</div>
<div class="row1">
<label<!-- IF not S_SPECIAL_GROUP --> for="group_name"<!-- ENDIF -->>{L_GROUP_NAME}:</label><br>
<!-- IF S_SPECIAL_GROUP -->
<b<!-- IF GROUP_COLOUR --> style="color: #{GROUP_COLOUR};"<!-- ENDIF -->>{GROUP_NAME}</b>
<!-- ENDIF -->
<input name="group_name" type="<!-- IF S_SPECIAL_GROUP -->hidden<!-- ELSE -->text<!-- ENDIF -->" id="group_name" value="{GROUP_INTERNAL_NAME}" />
</div>
<div class="row1">
<label for="group_desc">{L_GROUP_DESC}:</label><br/>
<textarea id="group_desc" name="group_desc" rows="5" cols="45">{GROUP_DESC}</textarea><br />
<input type="checkbox" class="radio" name="desc_parse_bbcode"<!-- IF S_DESC_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> />
{L_PARSE_BBCODE}<br/>
<input type="checkbox" class="radio" name="desc_parse_smilies"<!-- IF S_DESC_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> />
{L_PARSE_SMILIES}<br/>
<input type="checkbox" class="radio" name="desc_parse_urls"<!-- IF S_DESC_URLS_CHECKED --> checked="checked"<!-- ENDIF --> />
{L_PARSE_URLS}
</div>
<!-- IF not S_SPECIAL_GROUP -->
<div class="row1">
<label for="group_type">{L_GROUP_TYPE}:</label><br />
<span>{L_GROUP_TYPE_EXPLAIN}</span><br/>
<input name="group_type" type="radio" class="radio" id="group_type" value="{GROUP_TYPE_FREE}"{GROUP_FREE} /> {L_GROUP_OPEN}<br/>
<input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_OPEN}"{GROUP_OPEN} /> {L_GROUP_REQUEST}<br/>
<input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_CLOSED}"{GROUP_CLOSED} /> {L_GROUP_CLOSED}<br/>
<input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_HIDDEN}"{GROUP_HIDDEN} /> {L_GROUP_HIDDEN}
</div>
<!-- ELSE -->
<center><input name="group_type" type="hidden" value="{GROUP_TYPE_SPECIAL}" /></center>
<!-- ENDIF -->
<center>{L_GROUP_SETTINGS_SAVE}</center>
<div class="row1">
<label for="group_colour">{L_GROUP_COLOR}:</label><br/>
<span>{L_GROUP_COLOR_EXPLAIN}</span><br/>
<input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" size="6" maxlength="6" />
<span>[<a href="{U_SWATCH}" onclick="popup(this.href, 636, 150, '_swatch'); return false;">{L_COLOUR_SWATCH}</a>]</span>
</div>
<div class="row1">
<label for="group_rank">{L_GROUP_RANK}:</label><br/>
<select name="group_rank" id="group_rank">{S_RANK_OPTIONS}</select>
</div>
<center>{L_GROUP_AVATAR}</center>
<div class="row1">
<label>{L_CURRENT_IMAGE}:</label><br />
<span>{L_AVATAR_EXPLAIN}</span><br/>
{AVATAR_IMAGE}<br />
<input type="checkbox" class="radio" name="delete" />
<span>{L_DELETE_AVATAR}</span></div>
<!-- IF not S_IN_AVATAR_GALLERY -->
<!-- IF S_CAN_UPLOAD -->
<div class="row1">
<label for="uploadfile">{L_UPLOAD_AVATAR_FILE}:</label><br/>
<input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_MAX_FILESIZE}" />
<input type="file" id="uploadfile" name="uploadfile" /></div>
<div class="row1">
<label for="uploadurl">{L_UPLOAD_AVATAR_URL}:</label><br />
<span>{L_UPLOAD_AVATAR_URL_EXPLAIN}</span><br/>
<input name="uploadurl" type="text" id="uploadurl" value="" /></div>
<!-- ENDIF -->
<div class="row1">
<label for="remotelink">{L_LINK_REMOTE_AVATAR}:</label><br />
<span>{L_LINK_REMOTE_AVATAR_EXPLAIN}</span><br/>
<input name="remotelink" type="text" id="remotelink" value="" /></div>
<div class="row1">
<label for="width">{L_LINK_REMOTE_SIZE}:</label><br />
<span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span><br/>
<input name="width" type="text" id="width" size="3" value="{AVATAR_WIDTH}" /><span>px X </span>
<input type="text" name="height" size="3" value="{AVATAR_HEIGHT}" /><span>px</span></div>
<!-- IF S_DISPLAY_GALLERY -->
<div class="row1">
<label>{L_AVATAR_GALLERY}:</label><br/>
<input class="btnmain" type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" /></div>
<!-- ENDIF -->
<!-- ELSE -->
<center>{L_AVATAR_GALLERY}</center>
<div class="row1">
<label for="category">{L_AVATAR_CATEGORY}:</label><br/>
<select name="category" id="category">{S_CAT_OPTIONS}</select>
<input class="btnmain" type="submit" value="{L_GO}" name="display_gallery" /></div>
<div class="row1">
<!-- BEGIN avatar_row -->
<!-- BEGIN avatar_column -->
<div class="row1"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt=""/></div>
<!-- END avatar_column -->
<!-- BEGIN avatar_option_column -->
<div class="row1" >
<input type="radio" class="radio" name="avatar_select" value="{avatar_row.avatar_option_column.S_OPTIONS_AVATAR}" /></div>
<!-- END avatar_option_column -->
<!-- END avatar_row -->
<div class="row1"><input class="btnmain" type="submit" name="cancel" value="{L_CANCEL}" /></div>
<!-- ENDIF -->
<div class="top"><input class="btnlite" type="submit" id="submit" name="update" value="{L_SUBMIT}" />
<input class="btnmain" type="reset" id="reset" name="reset" value="{L_RESET}" /></div>
<!-- ELSEIF S_LIST -->
<center>{L_GROUP_MEMBERS}</center>
<div class="row_easy">{L_GROUP_MEMBERS_EXPLAIN}</div>
<div class="row1"><b>{L_GROUP_LEAD}</b></div>
<!-- BEGIN leader -->
<!-- IF leader.S_ROW_COUNT is even --><div class="row_hard"><!-- ELSE --><div class="row_easy"><!-- ENDIF -->
<u>{leader.USERNAME_FULL}<u><br/>
<b>{L_GROUP_DEFAULT}</b><br/>
<!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --><br/>
<b>{L_JOINED}</b><br/>
{leader.JOINED}<br/>
<b>{L_POSTS}</b><br/>
{leader.USER_POSTS}
</div>
<!-- END leader -->
<div class="row_easy"><b>{L_GROUP_APPROVED}</b></div>
<!-- BEGIN member -->
<!-- IF member.S_PENDING -->
<div class="row_easy"><b>{L_GROUP_PENDING}</b></div>
<!-- ELSE -->
<!-- IF member.S_ROW_COUNT is even --><div class="row_hard"><!-- ELSE --><div class="row_easy"><!-- ENDIF -->
<u>{member.USERNAME_FULL}</u><br/>
<b>{L_GROUP_DEFAULT}</b><br/>
<!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --><br/>
<b>{L_JOINED}</b><br/>
{member.JOINED}<br/>
<b>{L_POSTS}</b><br/>
{member.USER_POSTS}<br/>
<b>{L_MARK}</b><br/>
<input type="checkbox" class="radio" name="mark[]" value="{member.USER_ID}" /></div>
<!-- ENDIF -->
<!-- BEGINELSE -->
<div class="row1">{L_GROUPS_NO_MEMBERS}</div>
<!-- END member -->
<div class="top"><span class="genmed"><a href="#" onclick="marklist('ucp', 'mark', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('ucp', 'mark', false); return false;">{L_UNMARK_ALL}</a></span></div>
<div class="row1"><select name="action"><option class="sep" value="">{L_SELECT_OPTION}</option>{S_ACTION_OPTIONS}</select>
<input class="btnmain" type="submit" name="update" value="{L_SUBMIT}" /></div>
<!-- IF PAGINATION -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
{S_ON_PAGE}
<!-- ENDIF -->
<br />
<center>{L_ADD_USERS}</center>
<div class="row_easy">{L_ADD_USERS_EXPLAIN}</div>
<div class="row_hard">
<label for="default"><b>{L_USER_GROUP_DEFAULT}:</b></label><br />
<span>{L_USER_GROUP_DEFAULT_EXPLAIN}</span><br/>
<input name="default" type="radio" class="radio" value="1" />{L_YES}
<input name="default" type="radio" class="radio" id="default" value="0" checked="checked" /> {L_NO}</div>
<div class="row1">
<label for="usernames"><b>{L_USERNAME}:</b></label><br />
<span>{L_USERNAMES_EXPLAIN}</span><br/>
<textarea id="usernames" name="usernames" cols="40" rows="5"></textarea><br />
[<a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a>]</div>
<div class="top"><input class="btnmain" type="submit" name="addusers" value="{L_SUBMIT}" /></div>
<!-- ELSE -->
<center>{L_USERGROUPS}</center>
<div class="row1"><span class="genmed">{L_GROUPS_EXPLAIN}</span></div>
<center>{L_GROUP_DETAILS}</center>
<div class="row_easy"><span class="genmed">{L_GROUP_LEADER}</b></div>
<!-- BEGIN leader -->
<!-- IF leader.S_ROW_COUNT is odd --><div class="row_hard"><!-- ELSE --><div class="row_easy"><!-- ENDIF -->
<span class="genmed"<!-- IF leader.GROUP_COLOUR --> style="color: #{leader.GROUP_COLOUR};"<!-- ENDIF -->>{leader.GROUP_NAME}</span><!-- IF leader.GROUP_DESC -->{leader.GROUP_DESC}<!-- ENDIF --><br/>
<a href="{leader.U_EDIT}">{L_EDIT}</a><br/>
<a href="{leader.U_LIST}">{L_GROUP_LIST}</a></div>
<!-- BEGINELSE -->
<div class="row_hard"><span class="genmed">{L_NO_LEADERS}</span></div>
<!-- END leader -->
<!-- ENDIF -->
<!-- INCLUDE ucp_footer.html -->