moved winix directories to winixdsubdirectory
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1028 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
131
winixd/html/fun_priv.html
Normal file
131
winixd/html/fun_priv.html
Normal file
@@ -0,0 +1,131 @@
|
||||
<div class="winix">
|
||||
|
||||
[# this template is for following functions: priv, chmod, chown]
|
||||
|
||||
|
||||
<h1>{priv_header}</h1>
|
||||
|
||||
|
||||
|
||||
[if not [winix_function_param_is "r"]]
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end][winix_function]">
|
||||
<fieldset>
|
||||
<legend>{priv_form_legend}</legend>
|
||||
|
||||
<table class="withoutborder">
|
||||
|
||||
[if priv_show_form_chown]
|
||||
|
||||
<tr><th>{user}:</th><td>
|
||||
<select name="user" class="users">
|
||||
[for priv_user_tab]
|
||||
<option[if priv_user_tab_isdefault] selected[end]>[priv_user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
<tr><th>{group}: </th><td>
|
||||
<select name="group" class="groups">
|
||||
[for priv_group_tab]
|
||||
<option[if priv_group_tab_isdefault] selected[end]>[priv_group_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
[end]
|
||||
|
||||
[if priv_show_form_chmod]
|
||||
<tr><th>{permissions}:</th><td><input class="privileges" type="text" name="privileges" value="[priv_privileges]"></td></tr>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
[else]
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][winix_function]/r">
|
||||
<fieldset>
|
||||
<legend>{priv_form_legend}</legend>
|
||||
<p class="withnext">{priv_change_in_dir}: [dir]</p>
|
||||
|
||||
<h2>{priv_for_all_files}:</h2>
|
||||
<table class="withoutborder">
|
||||
|
||||
[if priv_show_form_chown]
|
||||
<tr><th>{user}:</th><td>
|
||||
<select name="userfile" class="users">
|
||||
[for priv_user_tab]
|
||||
<option[if priv_user_tab_isdefault] selected[end]>[priv_user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
<tr><th>{group}: </th><td>
|
||||
<select name="groupfile" class="groups">
|
||||
[for priv_group_tab]
|
||||
<option[if priv_group_tab_isdefault] selected[end]>[priv_group_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
[end]
|
||||
|
||||
[if priv_show_form_chmod]
|
||||
<tr><th>{permissions}:</th><td><input class="privileges" type="text" name="privilegesfile" value="[priv_privileges_for_files]"></td></tr>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<h2>{priv_for_all_dirs}:</h2>
|
||||
<table class="withoutborder">
|
||||
|
||||
[if priv_show_form_chown]
|
||||
<tr><th>{user}:</th><td>
|
||||
<select name="userdir" class="users">
|
||||
[for priv_user_tab]
|
||||
<option[if priv_user_tab_isdefault] selected[end]>[priv_user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
<tr><th>{group}: </th><td>
|
||||
<select name="groupdir" class="groups">
|
||||
[for priv_group_tab]
|
||||
<option[if priv_group_tab_isdefault] selected[end]>[priv_group_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
[end]
|
||||
|
||||
[if priv_show_form_chmod]
|
||||
<tr><th>{permissions}:</th><td><input class="privileges" type="text" name="privilegesdir" value="[priv_privileges_for_dirs]"></td></tr>
|
||||
[end]
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
<label><input class="check" type="checkbox" name="changesubdirs">{priv_change_all}</label>
|
||||
<label><input class="check" type="checkbox" name="changecurrentdir">{priv_change_current_dir}: [dir_without_slash]</label>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user