Location: PHPKode > projects > iF.SVNAdmin > svnadmin/templates/accesspathview.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{Access-Path}}: ${ACCESSPATH}</h1>
      <p class="hdesc">TR{Assigned users and groups to this access-path.}}</p>
      
      <h2>TR{Assigned users}}</h2>
      <form action="accesspathview.php?accesspath=${ACCESSPATH_ENCODED}" method="POST">
      <input type="hidden" name="selected_accesspaths[]" value="${ACCESSPATH}">
      
      <div class="datatablesearch">
        TR{Filter}}:
        <input type="text" class="filterbox" onkeyup="filterDataTable('accesspathviewlist',1,this.value);">
      </div>

      <table id="accesspathviewlist" class="datatable">
      <thead>
      <tr>
        <th width="20">#</th>
        <th width="300">TR{User}}</th>
        <th>TR{Permission}}</th>
      </tr>
      </thead>
      [{IFDEF ACCESSPATH_EDIT_ACTIVE}]
      <tfoot>
      <tr>
        <td colspan="3">
          
          <table class="datatableinline">
            <colgroup>
              <col width="50%">
              <col width="50%">
            </colgroup>
            <tr>
              <td>
                [{IFDEF ACL_accesspaths_unassign}]
                <input type="submit" name="unassign" value="TR{Unassign}}" class="unbtn">
                [{/IFDEF}]
              </td>
              <td align="right">
                [{IFDEF ACL_accesspaths_assign}]
                <select name="selected_users[]">
                  <option>--- TR{User}} ---</option>
                  [{LOOP allusers}]
                  <option value="${allusers}{name}">${allusers}{name}</option>
                  [{/LOOP}]
                </select>
                <select name="permission">
                  <option value="${PERM_NONE}">TR{No permission}}</option>
                  <option value="${PERM_READ}">TR{Read only}}</option>
                  <option value="${PERM_READWRITE}">TR{Read &amp; Write}}</option>
                </select>
                <input type="submit" name="assign_permission" value="TR{Assign}}" class="anbtn">
                [{/IFDEF}]
              </td>
            </tr>
          </table>
          
        </td>
      </tr>
      </tfoot>
      [{/IFDEF}]
      <tbody>
      [{LOOP users}]
      <tr>
        <td>[{IFDEF ACCESSPATH_EDIT_ACTIVE && ACL_accesspaths_unassign}]<input type="checkbox" name="selected_users[]" value="${users}{name}">[{/IFDEF}]</td>
        <td><a href="userview.php?username=${users}{encodedName}">${users}{name}</a></td>
        <td>${users}{permission}</td>
      </tr>
      [{/LOOP}]
      </tbody>
      </table><br>
      </form>
      
      <h2>TR{Assigned groups}}</h2>
      <form action="accesspathview.php?accesspath=${ACCESSPATH_ENCODED}" method="POST">
      <input type="hidden" name="selected_accesspaths[]" value="${ACCESSPATH}">
      <div class="datatablesearch">
        TR{Filter}}:
        <input type="text" class="filterbox" onkeyup="filterDataTable('assignedgrouplist',1,this.value);">
      </div>
     
      <table id="assignedgrouplist" class="datatable">
      <thead>
      <tr>
        <th width="20">#</th>
        <th width="300">TR{Group}}</th>
        <th>TR{Permission}}</th>
      </tr>
      </thead>
      [{IFDEF ACCESSPATH_EDIT_ACTIVE}]
      <tfoot>
      <tr>
        <td colspan="3">
          
          <table class="datatableinline">
            <colgroup>
              <col width="50%">
              <col width="50%">
            </colgroup>
            <tr>
              <td>
                [{IFDEF ACL_accesspaths_unassign}]
                <input type="submit" name="unassign" value="TR{Unassign}}" class="unbtn">
                [{/IFDEF}]
              </td>
              <td align="right">
                [{IFDEF ACL_accesspaths_assign}]
                <select name="selected_groups[]">
                  <option value="">--- TR{Group}} ---</option>
                  [{LOOP allgroups}]
                  <option value="${allgroups}{name}">${allgroups}{name}</option>
                  [{/LOOP}]
                </select>
                <select name="permission">
                  <option value="${PERM_NONE}">TR{No permission}}</option>
                  <option value="${PERM_READ}">TR{Read only}}</option>
                  <option value="${PERM_READWRITE}">TR{Read &amp; Write}}</option>
                </select>
                <input type="submit" name="assign_permission" value="TR{Assign}}" class="anbtn">
                [{/IFDEF}]
              </td>
            </tr>
          </table>
          
        </td>
      </tr>
      </tfoot>
      [{/IFDEF}]
      <tbody>
      [{LOOP groups}]
      <tr>
        <td>[{IFDEF ACCESSPATH_EDIT_ACTIVE && ACL_accesspaths_unassign}]<input type="checkbox" name="selected_groups[]" value="${groups}{name}">[{/IFDEF}]</td>
        <td><a href="groupview.php?groupname=${groups}{encodedName}">${groups}{name}</a></td>
        <td>${groups}{permission}</td>
      </tr>
      [{/LOOP}]
      </tbody>
      </table><br>
      </form>
[{INCLUDE templates/footer.html}]
Return current item: iF.SVNAdmin