Просмотр файла styles/bb3-mobi/template/ucp_groups_membership.html

Размер файла: 4.47Kb
<!-- INCLUDE ucp_header.html -->

<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>

<!-- DEFINE $SHOW_BUTTONS = 0 -->

<!-- IF .leader -->

<div class="row1"><span class="gensmall">{L_GROUP_LEADER}</span></div>

<!-- BEGIN leader -->

<!-- IF not leader.GROUP_SPECIAL -->

<!-- DEFINE $SHOW_BUTTONS = 1 -->

<!-- ENDIF -->

<div class="row<!-- IF leader.S_ROW_COUNT is even -->_hard<!-- ELSE -->_easy<!-- ENDIF -->">

<!-- IF S_CHANGE_DEFAULT --><input type="radio" name="default"<!-- IF leader.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{leader.GROUP_ID}" /><!-- ENDIF -->

<a href="{leader.U_VIEW_GROUP}"<!-- IF leader.GROUP_COLOUR --> style="color: #{leader.GROUP_COLOUR};"<!-- ENDIF -->>{leader.GROUP_NAME}</a>

<!-- IF leader.GROUP_DESC --><br /><span class="genmed">{leader.GROUP_DESC}</span><!-- ENDIF -->

<!-- IF not leader.GROUP_SPECIAL --><br /><span class="genmed">{leader.GROUP_STATUS}</span><!-- ENDIF -->

<!-- IF not leader.GROUP_SPECIAL --><input type="radio" name="selected" value="{leader.GROUP_ID}" /><!-- ENDIF -->

</div>

<!-- END leader -->

<!-- ENDIF -->

<!-- IF .member -->

<div class="row1"><span class="gensmall">{L_GROUP_MEMBER}</span></div>

<!-- BEGIN member -->

<!-- IF not member.GROUP_SPECIAL -->

<!-- DEFINE $SHOW_BUTTONS = 1 -->

<!-- ENDIF -->

<div class="row<!-- IF member.S_ROW_COUNT is even -->_hard<!-- ELSE -->_easy<!-- ENDIF -->">

<!-- IF S_CHANGE_DEFAULT -->

<input type="radio" name="default"<!-- IF member.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{member.GROUP_ID}" /><!-- ENDIF -->

<a href="{member.U_VIEW_GROUP}"<!-- IF member.GROUP_COLOUR --> style="color: #{member.GROUP_COLOUR};"<!-- ENDIF -->>{member.GROUP_NAME}</a>

<!-- IF member.GROUP_DESC --><br /><span class="genmed">{member.GROUP_DESC}</span><!-- ENDIF -->

<!-- IF not member.GROUP_SPECIAL --><br /><i class="gensmall">{member.GROUP_STATUS}</i><!-- ENDIF -->

<!-- IF not member.GROUP_SPECIAL --><input type="radio" name="selected" value="{member.GROUP_ID}" /><!-- ENDIF -->

</div>

<!-- END member -->

<!-- ENDIF -->

<!-- IF .pending -->

<div class="row1"><span class="gensmall">{L_GROUP_PENDING}</span></div>

<!-- BEGIN pending -->

<!-- IF not pending.GROUP_SPECIAL -->

<!-- DEFINE $SHOW_BUTTONS = 1 -->

<!-- ENDIF -->

<div class="row<!-- IF pending.S_ROW_COUNT is even -->_hard<!-- ELSE -->_easy<!-- ENDIF -->">

<a href="{pending.U_VIEW_GROUP}"<!-- IF pending.GROUP_COLOUR --> style="color: #{pending.GROUP_COLOUR};"<!-- ENDIF -->>{pending.GROUP_NAME}</a>

<!-- IF pending.GROUP_DESC --><br /><span class="genmed">{pending.GROUP_DESC}</span><!-- ENDIF -->

<!-- IF not pending.GROUP_SPECIAL --><br /><i class="gensmall">{pending.GROUP_STATUS}</i><!-- ENDIF -->

<!-- IF not pending.GROUP_SPECIAL --><input type="radio" name="selected" value="{pending.GROUP_ID}" /><!-- ENDIF --></div>

<!-- END pending -->

<!-- ENDIF -->

<!-- IF .nonmember -->

<div class="row1"><span class="gensmall">{L_GROUP_NONMEMBER}</span></div>

<!-- BEGIN nonmember -->

<!-- IF nonmember.S_CAN_JOIN -->

<!-- DEFINE $SHOW_BUTTONS = 1 -->

<!-- ENDIF -->

<div class="row<!-- IF nonmember.S_ROW_COUNT is even -->_hard<!-- ELSE -->_easy<!-- ENDIF -->">

<a href="{nonmember.U_VIEW_GROUP}"<!-- IF nonmember.GROUP_COLOUR --> style="color: #{nonmember.GROUP_COLOUR};"<!-- ENDIF -->>{nonmember.GROUP_NAME}</a>

<!-- IF nonmember.GROUP_DESC --><br /><span class="genmed">{nonmember.GROUP_DESC}</span><!-- ENDIF -->

<!-- IF not nonmember.GROUP_SPECIAL --><br /><i class="gensmall">{nonmember.GROUP_STATUS}</i><!-- ENDIF -->

<!-- IF nonmember.S_CAN_JOIN --><input type="radio" name="selected" value="{nonmember.GROUP_ID}" /><!-- ENDIF --></div>

<!-- END nonmember -->

<!-- ENDIF -->

<!-- IF S_CHANGE_DEFAULT or $SHOW_BUTTONS eq 1 -->

<!-- IF S_CHANGE_DEFAULT -->

<div class="submit"><input class="subbutton" type="submit" name="change_default" value="{L_CHANGE_DEFAULT_GROUP}" /></div><!-- ENDIF -->

<!-- IF $SHOW_BUTTONS eq 1 -->

<div class="row1">

<select name="action"><option value="join">{L_JOIN_SELECTED}</option>

<option value="resign">{L_RESIGN_SELECTED}</option>

<option value="demote">{L_DEMOTE_SELECTED}</option></select><br/>

<input class="subbutton" type="submit" name="submit" value="{L_SUBMIT}" />

</div>

<!-- ENDIF -->

<!-- ENDIF -->

<!-- INCLUDE ucp_footer.html -->