Location: PHPKode > projects > iF.SVNAdmin > svnadmin/templates/groupview.html
[{INCLUDE templates/header.html}]
[{IFDEF INFO}]<div class="infomsg">${INFOMSG}</div>[{/IFDEF}]
[{IFDEF WARNING}]<div class="warningmsg">${WARNINGMSG}</div>[{/IFDEF}]
[{IFDEF ERROR}]<div class="errormsg">${ERRORMSG}</div>[{/IFDEF}]

      <h1>TR{Group}}: ${GROUPNAME}</h1>
      <p class="hdesc">TR{On this page you can see all assigned users to this group.}}</p>

      [{IFDEF GROUP_VIEW_ACTIVE && ACL_groups_view}]
      <h2>TR{Users of group}}</h2>
      <form action="groupview.php?groupname=${GROUPNAME_ENCODED}" method="POST">
      <input type="hidden" name="selected_groups[]" value="${GROUPNAME}">
      
      <div class="datatablesearch">
        TR{Filter}}:
        <input type="text" class="filterbox" onkeyup="filterDataTable('groupuserlist',1,this.value);">
      </div>

	  <table id="groupuserlist" class="datatable">
      <thead>
      <tr>
        <th width="20">#</th>
        <th>TR{User}}</th>
      </tr>
      </thead>
      <tfoot>
      <tr>
        <td colspan="2">
          [{IFDEF GROUP_EDIT_ACTIVE}]
          <table class="datatableinline">
            <colgroup>
              <col width="50%">
              <col width="50%">
            </colgroup>
            <tr>
              <td>
                [{IFDEF ACL_groups_unassign}]
                <input type="submit" name="unassign" value="TR{Unassign}}" class="unbtn">
                [{/IFDEF}]
              </td>
              <td align="right">
                [{IFDEF ACL_groups_assign}]
                <select name="selected_users[]">
                  <option value="">--- TR{User}} ---</option>
                  [{LOOP allusers}]
                  <option value="${allusers}{name}">${allusers}{name}</option>
                  [{/LOOP}]
                </select>
                <input type="submit" name="assign_usergroup" value="TR{Assign}}" class="anbtn">
                [{/IFDEF}]
              </td>
            </tr>
          </table>
          [{/IFDEF}]
        </td>
      </tr>
      </tfoot>
      <tbody>
      [{LOOP users}]
      <tr>
        <td>[{IFDEF GROUP_EDIT_ACTIVE && ACL_groups_unassign}]<input type="checkbox" name="selected_users[]" value="${users}{name}">[{/IFDEF}]</td>
        <td><a href="userview.php?username=${users}{encodedName}">${users}{name}</a></td>
      </tr>
      [{/LOOP}]
      </tbody>
      </table><br>
      </form>
      [{/IFDEF}]

      [{IFDEF ACCESSPATH_VIEW_ACTIVE && ACL_accesspaths_view}]
      <h2>TR{Permissions of group}}</h2>
      <form action="groupview.php?groupname=${GROUPNAME_ENCODED}" method="POST">
      <input type="hidden" name="selected_groups[]" value="${GROUPNAME}">

      <div class="datatablesearch">
        TR{Filter}}:
        <input type="text" class="filterbox" onkeyup="filterDataTable('grouplist',1,this.value);">
      </div>

      <table id="grouplist" class="datatable">
      <thead>
      <tr>
        <th width="20">#</th>
        <th>TR{Access-Path}}</th>
        <th>TR{Permission}}</th>
      </tr>
      </thead>
      <tfoot>
      <tr>
        <td colspan="3">

          <table class="datatableinline">
            <colgroup>
              <col width="50%">
              <col width="50%">
            </colgroup>
            <tr>
              <td>
                [{IFDEF ACCESSPATH_EDIT_ACTIVE && ACL_accesspaths_unassign}]
                <input type="submit" name="unassign_permission" value="TR{Unassign}}" class="unbtn">
                [{/IFDEF}]
              </td>
              <td align="right">
              </td>
            </tr>
          </table>

        </td>
      </tr>
      </tfoot>
      <tbody>
      [{LOOP paths}]
      <tr>
        <td>[{IFDEF ACCESSPATH_EDIT_ACTIVE && ACL_accesspaths_unassign}]<input type="checkbox" name="selected_accesspaths[]" value="${paths}{path}">[{/IFDEF}]</td>
        <td><a href="accesspathview.php?accesspath=${paths}{encodedPath}">${paths}{path}</a></td>
        <td>${paths}{perm}</td>
      </tr>
      [{/LOOP}]
      </tbody>
      </table><br>
      </form>
      [{/IFDEF}]
[{INCLUDE templates/footer.html}]
Return current item: iF.SVNAdmin