summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3c4db15)
raw | patch | inline | side by side (parent: 3c4db15)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 23 Oct 2008 11:42:43 +0000 (11:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 23 Oct 2008 11:42:43 +0000 (11:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12769 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/ihtml/themes/default/acl.tpl | patch | blob | history |
index 0c66f6ff4a503f22fb0172bb436d7d8b5c31572b..de2a2482342e46f2936d1ff936cd866d794be0c0 100644 (file)
-{if $dialogState eq 'head'}
-<h1>{t}Assigned ACL for current entry{/t}</h1>
-{$aclList}
+{if !$acl_readable}
+ <h2>{msgPool type=permView}</h2>
-{if $acl_createable}
-<input type="submit" name="new_acl" value="{t}New ACL{/t}" >
-{/if}
-{/if}
+{else}
+ {if $dialogState eq 'head'}
+ <h1>{t}Assigned ACL for current entry{/t}</h1>
+ {$aclList}
-{if $dialogState eq 'create'}
-<h1>{t}ACL type{/t}
- {if !$acl_writeable}
- <select size="1" name="dummy_t" title="{t}Select an acl type{/t}" disabled>
- {html_options options=$aclTypes selected=$aclType}
- <option disabled> </option>
- </select>
- {else}
- <select size="1" name="aclType" title="{t}Select an acl type{/t}" onChange="document.mainform.submit()">
- {html_options options=$aclTypes selected=$aclType}
- <option disabled> </option>
- </select>
- {if $javascript eq 'false'}
- <input type="submit" value="{t}Apply{/t}" name="refresh">
- {/if}
+
+ {if $acl_createable}
+ <input type="submit" name="new_acl" value="{t}New ACL{/t}" >
{/if}
-</h1>
-
-<p class="seperator"> </p>
-<div style='padding:3px;'>
-{t}Additional filter options{/t}
- {if !$acl_writeable}
- <input type='text' value='{$aclFilter}' disabled name='dummy_f' style='width:600px;'>
- {else}
- <input type='text' value='{$aclFilter}' name='aclFilter' style='width:600px;'>
{/if}
-</div>
-
-<table style="width:100%">
- <tr>
- <td style="width:48%; vertical-align:top;">
- {t}Use members from{/t}
- <select name="target" onChange="document.mainform.submit()">
- {html_options options=$targets selected=$target}
- <option disabled> </option>
- </select>
- {if $javascript eq 'false'}<input type="submit" value="{t}Apply{/t}" name="refresh">{/if}<br><br>
- </td>
- <td>
- </td>
- <td>
- </td>
- </tr>
- <tr>
- <td style="width:48%">
- {t}Available members{/t}<br>
- {if !$acl_writeable}
- <select style="width:100%;height:180px;" disabled name="dummy_s[]" size="20" multiple title="{t}List message possible targets{/t}">
- {html_options options=$sources}
- <option disabled> </option>
- </select>
- {else}
- <select style="width:100%;height:180px;" name="source[]" size="20" multiple title="{t}List message possible targets{/t}">
- {html_options options=$sources}
- <option disabled> </option>
- </select>
+
+ {if $dialogState eq 'create'}
+ <h1>{t}ACL type{/t}
+ {if !$acl_writeable}
+ <select size="1" name="dummy_t" title="{t}Select an acl type{/t}" disabled>
+ {html_options options=$aclTypes selected=$aclType}
+ <option disabled> </option>
+ </select>
+ {else}
+ <select size="1" name="aclType" title="{t}Select an acl type{/t}" onChange="document.mainform.submit()">
+ {html_options options=$aclTypes selected=$aclType}
+ <option disabled> </option>
+ </select>
+ {if $javascript eq 'false'}
+ <input type="submit" value="{t}Apply{/t}" name="refresh">
+ {/if}
+ {/if}
+ </h1>
+
+ <p class="seperator"> </p>
+ <div style='padding:3px;'>
+ {t}Additional filter options{/t}
+ {if !$acl_writeable}
+ <input type='text' value='{$aclFilter}' disabled name='dummy_f' style='width:600px;'>
+ {else}
+ <input type='text' value='{$aclFilter}' name='aclFilter' style='width:600px;'>
+ {/if}
+ </div>
+
+ <table style="width:100%">
+ <tr>
+ <td style="width:48%; vertical-align:top;">
+ {t}Use members from{/t}
+ <select name="target" onChange="document.mainform.submit()">
+ {html_options options=$targets selected=$target}
+ <option disabled> </option>
+ </select>
+ {if $javascript eq 'false'}<input type="submit" value="{t}Apply{/t}" name="refresh">{/if}<br><br>
+ </td>
+ <td>
+ </td>
+ <td>
+ </td>
+ </tr>
+ <tr>
+ <td style="width:48%">
+ {t}Available members{/t}<br>
+ {if !$acl_writeable}
+ <select style="width:100%;height:180px;" disabled name="dummy_s[]" size="20" multiple title="{t}List message possible targets{/t}">
+ {html_options options=$sources}
+ <option disabled> </option>
+ </select>
+ {else}
+ <select style="width:100%;height:180px;" name="source[]" size="20" multiple title="{t}List message possible targets{/t}">
+ {html_options options=$sources}
+ <option disabled> </option>
+ </select>
+ {/if}
+ </td>
+ <td style="vertical-align:center; text-align:center">
+ {if $acl_writeable}
+ <input type="submit" value=">" name="add">
+ <br><br>
+ <input type="submit" value="<" name="del">
+ {/if}
+ </td>
+ <td style="width:48%; vertical-align:top;">
+ {t}Members{/t}<br>
+ {if !$acl_writeable}
+ <select style="width:100%;height:180px;" disabled name="dummy_r[]" size="20" multiple title="{t}List message recipients{/t}">
+ {html_options options=$recipients}
+ <option disabled> </option>
+ </select>
+
+ {else}
+ <select style="width:100%;height:180px;" name="recipient[]" size="20" multiple title="{t}List message recipients{/t}">
+ {html_options options=$recipients}
+ <option disabled> </option>
+ </select>
+ {/if}
+ </td>
+ </tr>
+ </table>
+
+ {if $aclType ne 'reset'}
+ {if $aclType ne 'role'}
+ {if $aclType ne 'base'}
+ <p class="seperator"> </p>
+
+ <h1>{t}List of available ACL categories{/t}</h1>
+ {$aclList}
{/if}
- </td>
- <td style="vertical-align:center; text-align:center">
- {if $acl_writeable}
- <input type="submit" value=">" name="add">
- <br><br>
- <input type="submit" value="<" name="del">
{/if}
- </td>
- <td style="width:48%; vertical-align:top;">
- {t}Members{/t}<br>
- {if !$acl_writeable}
- <select style="width:100%;height:180px;" disabled name="dummy_r[]" size="20" multiple title="{t}List message recipients{/t}">
- {html_options options=$recipients}
- <option disabled> </option>
- </select>
-
- {else}
- <select style="width:100%;height:180px;" name="recipient[]" size="20" multiple title="{t}List message recipients{/t}">
- {html_options options=$recipients}
- <option disabled> </option>
- </select>
{/if}
- </td>
- </tr>
-</table>
-
-{if $aclType ne 'reset'}
-{if $aclType ne 'role'}
-{if $aclType ne 'base'}
-<p class="seperator"> </p>
-
-<h1>{t}List of available ACL categories{/t}</h1>
-{$aclList}
-{/if}
-{/if}
-{/if}
-{if $aclType eq 'base'}
-<p class="seperator"> </p>
-<h1>{t}ACL for this object{/t}</h1>
-{$aclSelector}
-{/if}
+ {if $aclType eq 'base'}
+ <p class="seperator"> </p>
+ <h1>{t}ACL for this object{/t}</h1>
+ {$aclSelector}
+ {/if}
-{if $aclType eq 'role'}
-<p class="seperator"> </p>
-<h1>{t}Available roles{/t}</h1>
-{$roleSelector}
-{/if}
+ {if $aclType eq 'role'}
+ <p class="seperator"> </p>
+ <h1>{t}Available roles{/t}</h1>
+ {$roleSelector}
+ {/if}
-<p class="seperator"> </p>
-<div style='text-align:right;margin-top:5px'>
- {if $acl_writeable}
- <input type="submit" name="submit_new_acl" value="{t}Apply{/t}">
-
+ <p class="seperator"> </p>
+ <div style='text-align:right;margin-top:5px'>
+ {if $acl_writeable}
+ <input type="submit" name="submit_new_acl" value="{t}Apply{/t}">
+
+ {/if}
+ <input type="submit" name="cancel_new_acl" value="{t}Cancel{/t}">
+ </div>
{/if}
- <input type="submit" name="cancel_new_acl" value="{t}Cancel{/t}">
-</div>
-{/if}
-{if $dialogState eq 'edit'}
+ {if $dialogState eq 'edit'}
-<h1>{$headline}</h1>
+ <h1>{$headline}</h1>
-{$aclSelector}
+ {$aclSelector}
-<p class="seperator"> </p>
-<div style='text-align:right;margin-top:5px'>
- <input type="submit" name="submit_edit_acl" value="{t}Apply{/t}">
-
- <input type="submit" name="cancel_edit_acl" value="{t}Cancel{/t}">
-</div>
+ <p class="seperator"> </p>
+ <div style='text-align:right;margin-top:5px'>
+ <input type="submit" name="submit_edit_acl" value="{t}Apply{/t}">
+
+ <input type="submit" name="cancel_edit_acl" value="{t}Cancel{/t}">
+ </div>
+ {/if}
{/if}