[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/styles/prosilver/template/ -> ucp_groups_manage.html (source)

   1  <!-- INCLUDE ucp_header.html -->
   2  
   3  <h2<!-- IF GROUP_COLOR --> style="color:#{GROUP_COLOR};"<!-- ENDIF -->>{L_USERGROUPS}<!-- IF GROUP_NAME --> :: {GROUP_NAME}<!-- ENDIF --></h2>
   4  
   5  <form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
   6  
   7  <div class="panel">
   8      <div class="inner"><span class="corners-top"><span></span></span>
   9  
  10      <!-- IF S_ERROR -->
  11      <fieldset>
  12          <p class="error">{ERROR_MSG}</p>
  13      </fieldset>
  14      <!-- ENDIF -->
  15  
  16      <p>{L_GROUPS_EXPLAIN}</p>
  17  
  18      <!-- IF S_EDIT -->
  19          <h3>{L_GROUP_DETAILS}</h3>
  20  
  21          <fieldset>
  22          <dl>
  23              <dt><label for="group_name">{L_GROUP_NAME}:</label></dt>
  24              <dd><!-- IF S_SPECIAL_GROUP --><strong<!-- IF GROUP_COLOUR --> style="color: #{GROUP_COLOUR};"<!-- ENDIF -->>{GROUP_NAME}</strong> <input name="group_name" type="hidden" value="{GROUP_INTERNAL_NAME}" />
  25                  <!-- ELSE --><input name="group_name" type="text" id="group_name" value="{GROUP_INTERNAL_NAME}" class="inputbox" /><!-- ENDIF --></dd>
  26          </dl>
  27          <dl>
  28              <dt><label for="group_desc">{L_GROUP_DESC}:</label></dt>
  29              <dd><textarea id="group_desc" name="group_desc" rows="5" cols="45" class="inputbox">{GROUP_DESC}</textarea></dd>
  30              <dd><label for="desc_parse_bbcode"><input type="checkbox" class="radio" name="desc_parse_bbcode" id="desc_parse_bbcode"<!-- IF S_DESC_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE}</label>&nbsp;<label for="desc_parse_smilies"><input type="checkbox" class="radio" name="desc_parse_smilies" id="desc_parse_smilies"<!-- IF S_DESC_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES}</label>&nbsp;<label for="desc_parse_urls"><input type="checkbox" class="radio" name="desc_parse_urls" id="desc_parse_urls"<!-- IF S_DESC_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS}</label></dd>
  31          </dl>
  32          <!-- IF not S_SPECIAL_GROUP -->
  33          <dl>
  34              <dt><label for="group_type1">{L_GROUP_TYPE}:</label><br /><span>{L_GROUP_TYPE_EXPLAIN}</span></dt>
  35              <dd>
  36                  <label for="group_type1"><input type="radio" class="radio" name="group_type" id="group_type1" value="{GROUP_TYPE_FREE}"{GROUP_FREE} /> {L_GROUP_OPEN}</label> 
  37                  <label for="group_type2"><input type="radio" class="radio" name="group_type" id="group_type2" value="{GROUP_TYPE_OPEN}"{GROUP_OPEN} /> {L_GROUP_REQUEST}</label> 
  38                  <label for="group_type3"><input type="radio" class="radio" name="group_type" id="group_type3" value="{GROUP_TYPE_CLOSED}"{GROUP_CLOSED} /> {L_GROUP_CLOSED}</label> 
  39                  <label for="group_type4"><input type="radio" class="radio" name="group_type" id="group_type4" value="{GROUP_TYPE_HIDDEN}"{GROUP_HIDDEN} /> {L_GROUP_HIDDEN}</label>
  40              </dd>
  41          </dl>
  42          <!-- ELSE -->
  43              <input name="group_type" type="hidden" value="{GROUP_TYPE_SPECIAL}" />
  44          <!-- ENDIF -->
  45          </fieldset>
  46  
  47      <span class="corners-bottom"><span></span></span></div>
  48  </div>
  49  
  50  <div class="panel">
  51      <div class="inner"><span class="corners-top"><span></span></span>
  52      <h3>{L_GROUP_SETTINGS_SAVE}</h3>
  53  
  54      <fieldset>
  55      <dl>
  56          <dt><label for="group_colour">{L_GROUP_COLOR}:</label><br /><span>{L_GROUP_COLOR_EXPLAIN}</span></dt>
  57          <dd><input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" size="6" maxlength="6" class="inputbox narrow" /> <span style="background-color: {GROUP_COLOUR};">&nbsp;&nbsp;&nbsp;</span> [ <a href="{U_SWATCH}" onclick="popup(this.href, 636, 150, '_swatch'); return false;">{L_COLOUR_SWATCH}</a> ]</dd>
  58      </dl>
  59      <dl>
  60          <dt><label for="group_rank">{L_GROUP_RANK}:</label></dt>
  61          <dd><select name="group_rank" id="group_rank">{S_RANK_OPTIONS}</select></dd>
  62      </dl>
  63      </fieldset>
  64  
  65      <span class="corners-bottom"><span></span></span></div>
  66  </div>
  67  
  68  <!-- INCLUDE ucp_avatar_options.html -->
  69  
  70  <fieldset class="submit-buttons">
  71      {S_HIDDEN_FIELDS}
  72      <!-- IF S_DISPLAY_GALLERY --><input type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" class="button2" />&nbsp; <!-- ENDIF -->
  73      <!-- IF S_IN_AVATAR_GALLERY --><input type="submit" name="cancel" value="{L_CANCEL}" class="button2" />&nbsp; <!-- ELSE -->
  74      <input type="reset" value="{L_RESET}" name="reset" class="button2" />&nbsp; <!-- ENDIF -->
  75      <input type="submit" name="update" value="{L_SUBMIT}" class="button1" />
  76      {S_FORM_TOKEN}
  77  </fieldset>
  78  
  79  <!-- ELSEIF S_LIST -->
  80  
  81      <!-- IF .leader -->
  82      <table class="table1" cellspacing="1">
  83      <thead>
  84      <tr>
  85          <th class="name">{L_GROUP_LEAD}</th>
  86          <th class="info">{L_GROUP_DEFAULT}</th>
  87          <th class="posts">{L_POSTS}</th>
  88          <th class="joined">{L_JOINED}</th>
  89          <th class="mark">{L_MARK}</th>
  90      </tr>
  91      </thead>
  92      <tbody>
  93      <!-- BEGIN leader -->
  94          <tr class="<!-- IF leader.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
  95              <td class="name">{leader.USERNAME_FULL}</td>
  96              <td><!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
  97              <td class="posts">{leader.USER_POSTS}</td>
  98              <td class="joined">{leader.JOINED}</td>
  99              <td class="mark">&nbsp;</td>
 100          </tr>
 101      <!-- END leader -->
 102      </tbody>
 103      </table>
 104      <!-- ENDIF -->
 105  
 106      <!-- BEGIN member -->
 107          <!-- IF member.S_PENDING -->
 108              <table class="table1" cellspacing="1">
 109              <thead>
 110              <tr>
 111                  <th class="name">{L_GROUP_PENDING}</th>
 112                  <th class="info">{L_GROUP_DEFAULT}</th>
 113                  <th class="posts">{L_POSTS}</th>
 114                  <th class="joined">{L_JOINED}</th>
 115                  <th class="mark">{L_MARK}</th>
 116              </tr>
 117              </thead>
 118              <tbody>
 119          <!-- ELSEIF member.S_APPROVED -->
 120              <!-- IF S_PENDING_SET -->
 121                  </tbody>
 122                  </table>
 123              <!-- ENDIF -->
 124              <table class="table1" cellspacing="1">
 125              <thead>
 126              <tr>
 127                  <th class="name">{L_GROUP_APPROVED}</th>
 128                  <th class="info">{L_GROUP_DEFAULT}</th>
 129                  <th class="posts">{L_POSTS}</th>
 130                  <th class="joined">{L_JOINED}</th>
 131                  <th class="mark">{L_MARK}</th>
 132              </tr>
 133              </thead>
 134              <tbody>
 135          <!-- ELSE -->
 136              <tr class="<!-- IF member.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
 137                  <td class="name">{member.USERNAME_FULL}</td>
 138                  <td><!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
 139                  <td class="posts">{member.USER_POSTS}</td>
 140                  <td class="joined">{member.JOINED}</td>
 141                  <td class="mark"><input type="checkbox" name="mark[]" value="{member.USER_ID}" /></td>
 142              </tr>
 143          <!-- ENDIF -->
 144      <!-- BEGINELSE -->
 145          <table class="table1" cellspacing="1">
 146          <thead>
 147          <tr>
 148              <th class="name">{L_MEMBERS}</th>
 149          </tr>
 150          </thead>
 151          <tbody>
 152          <tr>
 153              <td class="bg1">{L_GROUPS_NO_MEMBERS}</td>
 154          </tr>
 155      <!-- END member -->
 156      </tbody>
 157      </table>
 158  
 159      <ul class="linklist">
 160          <li class="leftside pagination">
 161              <!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span><!-- ELSE -->{S_ON_PAGE}<!-- ENDIF -->
 162          </li>
 163      </ul>
 164  
 165      <span class="corners-bottom"><span></span></span></div>
 166  </div>
 167  
 168  <fieldset class="display-actions">    
 169      <select name="action"><option value="">{L_SELECT_OPTION}</option>{S_ACTION_OPTIONS}</select>
 170      <input class="button2" type="submit" name="update" value="{L_SUBMIT}" />
 171      <div><a href="#" onclick="marklist('ucp', 'mark', true); return false;">{L_MARK_ALL}</a> &bull; <a href="#" onclick="marklist('ucp', 'mark', false); return false;">{L_UNMARK_ALL}</a></div>
 172  </fieldset>
 173  
 174  <div class="panel">
 175      <div class="inner"><span class="corners-top"><span></span></span>
 176  
 177      <h3>{L_ADD_USERS}</h3>
 178  
 179      <p>{L_ADD_USERS_UCP_EXPLAIN}</p>
 180  
 181      <fieldset>
 182      <dl>
 183          <dt><label for="default0">{L_USER_GROUP_DEFAULT}:</label><br /><span>{L_USER_GROUP_DEFAULT_EXPLAIN}</span></dt>
 184          <dd>
 185              <label for="default1"><input type="radio" name="default" id="default1" value="1" /> {L_YES}</label> 
 186              <label for="default0"><input type="radio" name="default" id="default0" value="0" checked="checked" /> {L_NO}</label>
 187          </dd>
 188      </dl>
 189      <dl>
 190          <dt><label for="usernames">{L_USERNAME}:</label><br /><span>{L_USERNAMES_EXPLAIN}</span></dt>
 191          <dd><textarea name="usernames" id="usernames" rows="3" cols="30" class="inputbox"></textarea></dd>
 192          <dd><strong><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></strong></dd>
 193      </dl>
 194      </fieldset>
 195  
 196      <span class="corners-bottom"><span></span></span></div>
 197  </div>
 198  
 199  <fieldset class="submit-buttons">
 200      <input class="button1" type="submit" name="addusers" value="{L_SUBMIT}" />
 201      {S_FORM_TOKEN}
 202  </fieldset>
 203  
 204  <!-- ELSE -->
 205  
 206      <!-- IF .leader -->
 207          <ul class="topiclist">
 208              <li class="header">
 209                  <dl>
 210                      <dt>{L_GROUP_LEADER}</dt>
 211                      <dd class="info"><span>{L_OPTIONS}</span></dd>
 212                  </dl>
 213              </li>
 214          </ul>
 215          <ul class="topiclist cplist">
 216  
 217          <!-- BEGIN leader -->
 218          <li class="row<!-- IF attachrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
 219              <dl>
 220                  <dt><a href="{leader.U_EDIT}" class="topictitle"<!-- IF leader.GROUP_COLOUR --> style="color: #{leader.GROUP_COLOUR};"<!-- ENDIF -->>{leader.GROUP_NAME}</a>
 221                      <!-- IF leader.GROUP_DESC --><br />{leader.GROUP_DESC}<!-- ENDIF --></dt>
 222                  <dd class="option"><span><a href="{leader.U_EDIT}" >{L_EDIT}</a></span></dd>
 223                  <dd class="option"><span><a href="{leader.U_LIST}">{L_GROUP_LIST}</a></span></dd>
 224              </dl>
 225          </li>
 226          <!-- END leader -->
 227          </ul>
 228      <!-- ELSE -->
 229          <p><strong>{L_NO_LEADERS}</strong></p>
 230      <!-- ENDIF -->
 231  
 232      <span class="corners-bottom"><span></span></span></div>
 233  </div>
 234  
 235  <!-- ENDIF -->
 236  </form>
 237  
 238  <!-- INCLUDE ucp_footer.html -->


Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1