added: functions: chmod, chown
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@587 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
[# this template is for following functions: priv, chmod, chown]
|
||||
|
||||
|
||||
<h1>{priv_header}</h1>
|
||||
|
||||
|
||||
@@ -8,11 +11,14 @@
|
||||
|
||||
[is-no winix_function_param_is "r"]
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if-one item_is][item_url]/[end]priv">
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if-one item_is][item_url]/[end][winix_function]">
|
||||
<fieldset>
|
||||
<legend>{priv_form_legend}</legend>
|
||||
|
||||
<table class="withoutborder">
|
||||
|
||||
[if-one priv_show_form_chown]
|
||||
|
||||
<tr><th>{user}:</th><td>
|
||||
<select name="user" class="users">
|
||||
[for priv_user_tab]
|
||||
@@ -29,7 +35,12 @@
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
[end]
|
||||
|
||||
[if-one priv_show_form_chmod]
|
||||
<tr><th>{permissions}:</th><td><input class="privileges" type="text" name="privileges" value="[priv_privileges]"></td></tr>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
@@ -38,13 +49,15 @@
|
||||
|
||||
[else]
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir]priv/r">
|
||||
<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-one priv_show_form_chown]
|
||||
<tr><th>{user}:</th><td>
|
||||
<select name="userfile" class="users">
|
||||
[for priv_user_tab]
|
||||
@@ -60,13 +73,19 @@
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
[end]
|
||||
|
||||
[if-one 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-one priv_show_form_chown]
|
||||
<tr><th>{user}:</th><td>
|
||||
<select name="userdir" class="users">
|
||||
[for priv_user_tab]
|
||||
@@ -82,11 +101,17 @@
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
[end]
|
||||
|
||||
[if-one 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 type="checkbox" name="changecurrentdir">{priv_change_current_dir}: [dir_without_slash]</label>
|
||||
<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>
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
</fieldset>
|
||||
|
Reference in New Issue
Block a user