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

  $("#showrolelistlink").click(function(event){
    event.preventDefault();
    if ($("#rolelist").length == 0)
    {
      $.get("rolelist.php", function(data){
        $("body").append(data);
        $("#rolelist").dialog({width:750, height:450});
      });
    }
    else
    {
      $("#rolelist").dialog();
    }
  });
});
</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 management}}</h1>
      <p class="hdesc">TR{Here you can see a list of all users which can be authenticated by your subversion server.}}</p>

      <div class="datatablesearch">
        TR{Filter}}:
        <input type="text" class="filterbox" onkeyup="filterDataTable('userlist',1,this.value);">
      </div>
      
      <form action="userlist.php" method="POST">
      <table id="userlist" class="datatable">
      <thead>
      <tr>
        <th width="20">[{IFDEF ACL_users_delete || ACL_roles_assign}]<input type="checkbox" id="selectall">[{/IFDEF}]</th>
        <th>TR{User}}</th>
      </tr>
      </thead>
      <tfoot>
      <tr>
        <td colspan="2">

          <table class="datatableinline">
            <colgroup>
              <col width="50%">
              <col width="50%">
            </colgroup>
            <tr>
              <td>
                [{IFDEF USER_EDIT_ACTIVE && ACL_users_delete}]
                <input type="submit" name="delete" value="TR{Delete}}" class="delbtn" onclick="return deletionPrompt('TR{Are you sure?}}');">
                [{/IFDEF}]
              </td>
              <td align="right">
                [{IFDEF AUTHENTICATION_ACTIVE && ACL_roles_assign}]
                <small>(<a id="showrolelistlink" href="#">TR{Show roles}}</a>)</small>
                <select name="selected_assign_role_name">
                  <option value="">--- TR{Role}} ---</option>
                  [{LOOP allroles}]
                  <option value="${allroles}{name}">${allroles}{translatedName}</option>
                  [{/LOOP}]
                </select>
                <input type="submit" name="assign_role" value="TR{Assign}}" class="anbtn">
                [{/IFDEF}]
              </td>
            </tr>
          </table>

        </td>
      </tr>
      </tfoot>
      <tbody>
      [{LOOP users}]
      <tr>
        <td>[{IFDEF ACL_users_delete || ACL_roles_assign}]<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>
      </form>
[{INCLUDE templates/footer.html}]
Return current item: iF.SVNAdmin