Location: PHPKode > projects > iF.SVNAdmin > svnadmin/templates/setadmin.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{Define administrator}}</h1>

[{IFDEF SHOW_NO_USER_EDIT_ACTIVE}]
<p>
  TR{You have not defined an "UserEditProviderType", but the system also could not find any user from the configured user view provider.}}<br>
  TR{You should now create a new user in your configured backend (e.g.: LDAP/Active Directory).}}
</p>
<p>TR{If you think your configuration is incorrect, <a href="settings.php?firststart=1">click here.</a>}}</p>
[{/IFDEF}]

[{IFDEF DEFAULT_USER_CREATED}]
<div class="hintmsg">
  TR{Could not find existing users with your configuration. Created default Administrator account.}}
  <p>
    TR{User}}: <b>admin</b><br>
    TR{Password}}: <b>admin</b>
  </p>
</div>
<p>
  TR{You can <a href="login.php"><b>login now.</b></a>}}
</p>
[{/IFDEF}]

[{IFDEF !DEFAULT_USER_CREATED && SHOW_USER_SELECTION}]
<div class="hintmsg">
  TR{No administrator defined! Select the user for the administator privileges, please.}}
</div>

<form method="post" action="settings.php">
  <table class="datatable settings">
    <tbody>
      <tr>
        <td>TR{User}}</td>
        <td>
          <select name="selected_users[]">
            [{LOOP users}]
            <option value="${users}{encodedName}">${users}{name}</option>
            [{/LOOP}]
          </select>
        </td>
      </tr>
    </tbody>
  </table>
  <br>
  <input type="hidden" name="setadmin" value="1">
  <input type="submit" name="saveadmin" value="TR{Save}}">
</form>
[{/IFDEF}]

[{INCLUDE templates/footer.html}]
Return current item: iF.SVNAdmin