File size: 7.89Kb
<!-- INCLUDE ucp_header.html -->
<!-- IF S_EDIT -->
<!-- IF S_ERROR --><div class="row1"><span class="genmed">{L_WARNING}<br />{ERROR_MSG}</span></div><!-- ENDIF -->
<div class="tab"><span class="gensmall">{L_USERGROUPS}</span></div>
<div class="row1"><span class="genmed">{L_GROUPS_EXPLAIN}</span></div>
<div class="tab"><span class="gensmall">{L_GROUP_DETAILS}</span></div>
<div class="row1"><span class="gensmall">{L_GROUP_NAME}:</span>
<!-- IF S_SPECIAL_GROUP --><span<!-- IF GROUP_COLOUR --> style="color: #{GROUP_COLOUR};"<!-- ENDIF -->>{GROUP_NAME}</span><!-- 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"><span class="gensmall">{L_GROUP_DESC}:</span><br />
<textarea id="group_desc" name="group_desc" rows="4" cols="20">{GROUP_DESC}</textarea></div>
<!-- IF not S_SPECIAL_GROUP -->
<div class="row1"><span class="gensmall">{L_GROUP_TYPE}:</span><br /><span class="genmed">{L_GROUP_TYPE_EXPLAIN}</span><br />
<input name="group_type" type="radio" id="group_type" value="{GROUP_TYPE_FREE}"{GROUP_FREE} /> {L_GROUP_OPEN}<br />
<input name="group_type" type="radio" value="{GROUP_TYPE_OPEN}"{GROUP_OPEN} /> {L_GROUP_REQUEST}<br />
<input name="group_type" type="radio" value="{GROUP_TYPE_CLOSED}"{GROUP_CLOSED} /> {L_GROUP_CLOSED}<br />
<input name="group_type" type="radio" value="{GROUP_TYPE_HIDDEN}"{GROUP_HIDDEN} /> {L_GROUP_HIDDEN}</div>
<!-- ELSE -->
<input name="group_type" type="hidden" value="{GROUP_TYPE_SPECIAL}" />
<!-- ENDIF -->
<div class="tab"><span class="gensmall">{L_GROUP_SETTINGS_SAVE}</span></div>
<div class="row1"><span class="gensmall">{L_GROUP_COLOR}:</span><br />
<span class="genmed">{L_GROUP_COLOR_EXPLAIN}</span><br />
<input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" maxlength="6" /></div>
<div class="row1"><span class="gensmall">{L_GROUP_RANK}:</span><br />
<select name="group_rank" id="group_rank">{S_RANK_OPTIONS}</select></div>
<div class="tab"><span class="gensmall">{L_GROUP_AVATAR}</span></div>
<div class="row1"><span class="gensmall">{L_CURRENT_IMAGE}:</span><br /><span class="genmed">{L_AVATAR_EXPLAIN}</span><br />
<!-- IF AVATAR -->{AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF --><br />
<input type="checkbox" name="delete" id="delete"/> {L_DELETE_AVATAR}</div>
<!-- IF not S_AVATARS_ENABLED --><div class="row1">{L_AVATAR_FEATURES_DISABLED}</div><!-- ENDIF -->
<!-- IF ERROR --><span style="color:red;">{ERROR}</span><!-- ENDIF -->
<!-- IF S_UPLOAD_AVATAR_FILE -->
<div class="row1"><span class="gensmall">{L_UPLOAD_AVATAR_FILE}:</span><br />
<input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_SIZE}" /><input type="file" id="uploadfile" name="uploadfile" class="subbutton"/></div>
<!-- ENDIF -->
<!-- IF S_UPLOAD_AVATAR_URL -->
<div class="row1"><span class="gensmall">{L_UPLOAD_AVATAR_URL}:</span><br /><span class="genmed">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span><br />
<input name="uploadurl" type="text" id="uploadurl" value="{AVATAR_URL}" /></div>
<!-- ENDIF -->
<!-- IF S_LINK_AVATAR -->
<div class="row1"><span class="gensmall">{L_LINK_REMOTE_AVATAR}:</span><br /><span class="genmed">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span><br />
<input name="remotelink" type="text" id="remotelink" value="" /></div>
<div class="row1"><span class="gensmall">{L_LINK_REMOTE_SIZE}:</span><br /><span class="genmed">{L_LINK_REMOTE_SIZE_EXPLAIN}</span><br />
<input name="width" type="text" id="width" size="3" value="{AVATAR_WIDTH}" />{L_PIXEL} ×
<input type="text" name="height" size="3" value="{AVATAR_HEIGHT}" />{L_PIXEL}</div>
<!-- ENDIF -->
<!-- IF S_IN_AVATAR_GALLERY -->
<div class="tab"><span class="gensmall">{L_AVATAR_GALLERY}</span></div>
<div class="row1"><span class="gensmall">{L_AVATAR_CATEGORY}:</span><br />
<select name="category" id="category">{S_CAT_OPTIONS}</select><input class="subbutton" type="submit" value="{L_GO}" name="display_gallery" />
</div>
<div class="row1">
<table>
<!-- BEGIN avatar_row -->
<tr><td>
<!-- BEGIN avatar_column -->
<div style="height:102px;"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="{avatar_row.avatar_column.AVATAR_NAME}" /></div>
<!-- END avatar_column -->
</td><td>
<!-- BEGIN avatar_option_column -->
<div style="height:102px;"><br /><br /><br /><input type="radio" name="avatar_select" value="{avatar_row.avatar_option_column.S_OPTIONS_AVATAR}" /></div>
<!-- END avatar_option_column -->
</td></tr>
<!-- END avatar_row -->
</table>
</div>
<!-- ENDIF -->
<!-- IF S_DISPLAY_GALLERY -->
<div class="row1"><input type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" class="subbutton" /></div><!-- ENDIF -->
<!-- IF S_IN_AVATAR_GALLERY --><input type="submit" name="cancel" value="{L_CANCEL}" class="subbutton" /> <!-- ENDIF -->
<input type="submit" id="submit" name="update" value="{L_SUBMIT}" class="subbutton" />
<!-- ELSEIF S_LIST -->
<!-- IF .leader -->
<div class="tab"><span class="gensmall">{L_GROUP_MEMBERS}</span></div>
<div class="row1">{L_GROUP_MEMBERS_EXPLAIN}</div>
<div class="tab"><span class="gensmall">{L_GROUP_LEAD}</span></div>
<!-- BEGIN leader -->
<div class="row<!-- IF leader.S_ROW_COUNT is even -->_hard<!-- ELSE -->_easy<!-- ENDIF -->">
<span class="gensmall">{leader.USERNAME_FULL}</span>[{leader.USER_POSTS}]<br />{leader.JOINED}<br />
{L_GROUP_DEFAULT} <!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></div>
<!-- END leader -->
<!-- ENDIF -->
<!-- BEGIN member -->
<!-- IF member.S_PENDING -->
<div class="tab"><span class="gensmall">{L_GROUP_PENDING}</span></div>
<!-- ELSEIF member.S_APPROVED -->
<div class="tab"><span class="gensmall">{L_GROUP_APPROVED}</span></div>
<!-- ELSE -->
<div class="row<!-- IF member.S_ROW_COUNT is even -->_hard<!-- ELSE -->_easy<!-- ENDIF -->">
<span class="gensmall">{member.USERNAME_FULL}</span>[{member.USER_POSTS}]<br />{member.JOINED}<br />
{L_GROUP_DEFAULT} <!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --><br />
{L_MARK} <input type="checkbox" name="mark[]" value="{member.USER_ID}" /></div>
<!-- ENDIF -->
<!-- BEGINELSE -->
<div class="row1">{L_GROUPS_NO_MEMBERS}</div>
<!-- END member -->
<div class="row1"><select name="action"><option class="sep" value="">{L_SELECT_OPTION}</option>{S_ACTION_OPTIONS}</select></div>
<input class="subbutton" type="submit" name="update" value="{L_SUBMIT}" /><br />
<!-- IF PAGINATION -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->{S_ON_PAGE}<!-- ENDIF -->
<div class="tab"><span class="gensmall">{L_ADD_USERS}</span></div>
<div class="row1">{L_ADD_USERS_EXPLAIN}</div>
<div class="row1"><span class="gensmall">{L_USER_GROUP_DEFAULT}:</span><br /><span class="genmed">{L_USER_GROUP_DEFAULT_EXPLAIN}</span><br />
<input name="default" type="radio" value="1" />{L_YES}
<input name="default" type="radio" id="default" value="0" checked="checked" /> {L_NO}</div>
<div class="row1"><span class="gensmall">{L_USERNAME}:</span><br /><span class="genmed">{L_USERNAMES_EXPLAIN}</span><br />
<textarea id="usernames" name="usernames" cols="15" rows="3"></textarea></div>
<input class="subbutton" type="submit" name="addusers" value="{L_SUBMIT}" />
<!-- ELSE -->
<div class="tab"><span class="gensmall">{L_USERGROUPS}</span></div>
<div class="row1"><span class="genmed">{L_GROUPS_EXPLAIN}</span></div>
<div class="tab"><span class="gensmall">{L_GROUP_DETAILS}</span></div>{L_GROUP_LEADER}
<!-- BEGIN leader -->
<div class="row<!-- IF leader.S_ROW_COUNT is odd -->_hard<!-- ELSE -->_easy<!-- ENDIF -->">
<span class="gensmall"<!-- 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}" class="buttom">{L_EDIT}</a><br />
<a href="{leader.U_LIST}" class="buttom">{L_GROUP_LIST}</a></div>
<!-- BEGINELSE -->
<div class="row1"><span class="genmed">{L_NO_LEADERS}</span></div>
<!-- END leader -->
<!-- ENDIF -->
<!-- INCLUDE ucp_footer.html -->