Location: PHPKode > projects > iF.SVNAdmin > svnadmin/templates/usergroupassign.html
[{INCLUDE templates/header.html}]
<script type="text/javascript">
$(document).ready(function(){
  $("#selectallusers").click(function(){
    selectAll(this, "selusers[]");
  });
  $("#selectallgroups").click(function(){
    selectAll(this, "selgroups[]");
  });
});
</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{User &lt;&gt; Group assignment}}</h1>
<p class="hdesc">TR{Here you can assign users to groups.}}</p>

<form action="usergroupassign.php" method="POST">
  <table width="100%">
    [{IFDEF GROUP_EDIT_ACTIVE}]
    <tfoot>
      <tr>
        <td colspan="2"><input type="submit" name="assign" value="TR{Assign}}" class="anbtn"></td>
      </tr>
    </tfoot>
    [{/IFDEF}]
    <tbody>
      <tr>
        <td valign="top" width="48%">
          <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="selusers[]" value="${users}{name}"></td>
              <td><a href="userview.php?username=${users}{encodedName}">${users}{name}</a></td>
            </tr>
            [{/LOOP}]
            </tbody>
          </table>
        </td>
        <td width="30" class="asslefttoright">
        </td>
        <td valign="top" width="48%">
          <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="selgroups[]" value="${groups}{name}"></td>
              <td><a href="groupview.php?groupname=${groups}{encodedName}">${groups}{name}</a></td>
            </tr>
            [{/LOOP}]
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>
</form>
[{INCLUDE templates/footer.html}]
Return current item: iF.SVNAdmin