diff options
author | Kevin Chabowski <kevin@kch42.de> | 2011-12-03 13:57:48 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2011-12-03 13:57:48 +0100 |
commit | 914a64b120059b8dc330a6ae2ebca8300dac16eb (patch) | |
tree | b8ad88e825e37d92e9157a497cb96ca2854b8bf9 /ratatoeskr/templates/src/systemtemplates/user.html | |
parent | d834b944748cc1dab8dc1234592dfb9206c9610d (diff) | |
download | ratatoeskr-cms-914a64b120059b8dc330a6ae2ebca8300dac16eb.tar.gz ratatoeskr-cms-914a64b120059b8dc330a6ae2ebca8300dac16eb.tar.bz2 ratatoeskr-cms-914a64b120059b8dc330a6ae2ebca8300dac16eb.zip |
User management added to backend.
Diffstat (limited to 'ratatoeskr/templates/src/systemtemplates/user.html')
-rw-r--r-- | ratatoeskr/templates/src/systemtemplates/user.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/user.html b/ratatoeskr/templates/src/systemtemplates/user.html new file mode 100644 index 0000000..8bdce8b --- /dev/null +++ b/ratatoeskr/templates/src/systemtemplates/user.html @@ -0,0 +1,41 @@ +<ste:comment>This template looks very boring/ugly, too much empty space, should be fixed some day...</ste:comment> +<ste:load name="master.html" /> +<ste:block name="content"> + <ste:if>$error + <ste:then> + <div class="error"><ste:escape>$error</ste:escape></div> + </ste:then> + </ste:if> + <ste:if>$success + <ste:then> + <div class="success"><ste:escape>$success</ste:escape></div> + </ste:then> + </ste:if> + + <form action="$rel_path_to_root/backend/admin/users/u/$u[id]" method="POST" accept-charset="UTF-8"> + <p> + <strong><ste:get_translation for="fullname" />:</strong><br /> + <input type="text" name="fullname" value="<ste:escape>$u[fullname]</ste:escape>" /> + </p> + <p> + <strong><ste:get_translation for="mail_address" />:</strong><br /> + <input type="text" name="mail" value="$u[mail]" /> + </p> + <p><strong><ste:get_translation for="member_of_groups" />:</strong></p> + <ul class="bulletfree"> + <ste:foreach array="groups" value="group"> + <li> + <input type="checkbox" name="groups_multiselect[]" value="$group[id]" ?{$group[member]|checked="checked" |}/> <ste:escape>$group[name]</ste:escape> + </li> + </ste:foreach> + </ul> + <p><input type="submit" name="change_data" /></p> + + <h2><ste:get_translation for="new_password" /></h2> + <p> + <strong><ste:get_translation for="password" />:</strong><br /> + <input type="password" name="password" /> + </p> + <p><input type="submit" name="new_password" /></p> + </form> +</ste:block> |