Location: PHPKode > projects > iF.SVNAdmin > svnadmin/templates/permissionassign.html
[{INCLUDE templates/header.html}]
<script type="text/javascript">
$(document).ready(function(){
  $("#selectallusers").click(function(){
    selectAll(this, "selected_users[]");
  });
  $("#selectallgroups").click(function(){
    selectAll(this, "selected_groups[]");
  });
  $("#selectallpaths").click(function(){
    selectAll(this, "selected_accesspaths[]");
  });
});
</script>

[{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{Permissions}}</h1>
<p class="hdesc">TR{Manage the user and group permissions for the different access-paths on this site.}}</p>
      
      <form action="permissionassign.php" method="POST">
      <table width="100%">
        <tr>
          <td valign="top" width="50%">

            <div class="datatablesearch">
              TR{Filter}}:
              <input type="text" class="filterbox" onkeyup="filterDataTable('userlist',1,this.value);">
            </div>
            <table id="userlist" class="datatable">
              <thead>
              <tr>
                <th width="20"><input type="checkbox" id="selectallusers"></th>
                <th>TR{User}}</th>
              </tr>
              </thead>
              <tbody>
              [{LOOP users}]
              <tr>
                <td><input type="checkbox" name="selected_users[]" value="${users}{name}"></td>
                <td><a href="userview.php?username=${users}{encodedName}">${users}{name}</a></td>
              </tr>
              [{/LOOP}]
              </tbody>
            </table>

          </td>
          <td valign="top" width="50%">

            <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"><input type="checkbox" id="selectallgroups"></th>
                <th>TR{Group}}</th>
              </tr>
              </thead>
              <tbody>
              [{LOOP groups}]
              <tr>
                <td><input type="checkbox" name="selected_groups[]" value="${groups}{name}"></td>
                <td><a href="groupview.php?groupname=${groups}{encodedName}">${groups}{name}</a></td>
              </tr>
              [{/LOOP}]
              </tbody>
            </table>

          </td>
        </tr>
        <tr>
          <td colspan="2" class="asstoptobottom" height="30"></td>
        </tr>
        <tr>
          <td colspan="2">

    <table class="datatable">
      <thead>
        <tr>
          <th>TR{Select the permission for the selected user(s)/group(s)}}</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td><input type="radio" name="permission" value="${PERM_NONE}" checked> <b>TR{No permission}}:</b> TR{The user(s)/group(s) has no rights.}}</td>
        </tr>
        <tr>
          <td><input type="radio" name="permission" value="${PERM_READ}"> <b>TR{Read only}}:</b> TR{The user(s)/group(s) can see all files.}}</td>
        </tr>
        <tr>
          <td><input type="radio" name="permission" value="${PERM_READWRITE}"> <b>TR{Read &amp; Write}}:</b> TR{The user(s)/group(s) can see, create, modify and delete all files.}}</td>
        </tr>
      </tbody>
    </table>

          </td>
        </tr>
        <tr>
          <td colspan="2" class="asstoptobottom" height="30"></td>
        </tr>
        <tr>
          <td colspan="2">

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

      <thead>
        <tr>
          <th width="20"><input type="checkbox" id="selectallpaths"></th>
          <th colspan="2">TR{Access-Path}}</th>
        </tr>
      </thead>
      <tbody>
        [{LOOP paths}]
        <tr>
          <td><input type="checkbox" name="selected_accesspaths[]" value="${paths}{path}"></td>
          <td><a href="accesspathview.php?accesspath=${paths}{encodedPath}">${paths}{path}</a></td>
        </tr>
        [{/LOOP}]
      </tbody>
    </table>

          </td>
        </tr>
      </table>
      <div class="formsubmit">
        <input type="submit" name="assign" value="TR{Assign}}" class="anbtn">
      </div>
      </form>
[{INCLUDE templates/footer.html}]
Return current item: iF.SVNAdmin