/usr/share/gosa/plugins/personal/connectivity/squid/proxy.tpl is in gosa-plugin-squid 2.7.4+reloaded2-1+deb8u2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | <h3>
{if $multiple_support}
<input type="checkbox" name="use_proxy" value="1" onClick="changeState('proxy')" class="center"
{if $use_proxy} checked {/if}>
<input type="checkbox" id="proxy" name="proxy" value="B" {$proxyState} class="center"
{if !$use_proxy} disabled {/if}>
{else}
{render acl=$proxyAccountACL}
<input type="checkbox" id="proxy" name="proxy" value="B" {$proxyState}
class="center"
onClick="
{if $gosaProxyFlagF_W}
changeState('filterF');
{/if}
{if $gosaProxyFlagT_W}
changeState('filterT');
changeTripleSelectState('proxy', 'filterT', 'startHour');
changeTripleSelectState('proxy', 'filterT', 'startMinute');
changeTripleSelectState('proxy', 'filterT', 'stopMinute');
changeTripleSelectState('proxy', 'filterT', 'stopHour');
{/if}
{if $gosaProxyFlagB_W}
changeState('filterB');
changeTripleSelectState('proxy', 'filterB', 'quota_unit');
changeTripleSelectState('proxy', 'filterB', 'quota_size');
changeTripleSelectState('proxy', 'filterB', 'gosaProxyQuotaPeriod');
{/if}
">
{/render}
{/if}
{t}Proxy account{/t}</h3>
<table border=0 width="100%" cellpadding=0 summary="{t}Proxy configuration{/t}">
<tr>
<td colspan=2>
{render acl=$gosaProxyFlagFACL checkbox=$multiple_support checked=$use_filterF}
<input type="checkbox" name="filterF" id="filterF" value="F" {$filterF} {$pstate} class="center">
{/render}
{t}Filter unwanted content (i.e. pornographic or violence related){/t}
</td>
</tr>
<tr>
<td width="50%">
{render acl=$gosaProxyFlagTACL checkbox=$multiple_support checked=$use_filterT}
<input type="checkbox" name="filterT" id="filterT" value="T" {$filterT} {$pstate} onClick="javascript:
{$ProxyWorkingStateChange}" class="center">
{/render}
<LABEL for="startHour">{t}Limit proxy access to working time{/t}</LABEL>
<br>
<table style="margin-left:20px;" summary="{t}Worktime restrictions{/t}">
<tr>
<td>
{render acl=$gosaProxyFlagTACL}
<select size="1" id="startHour" name="startHour" {if $Tstate!=""} disabled {/if} >
{html_options values=$hours output=$hours selected=$starthour}
</select>
{/render}
:
{render acl=$gosaProxyFlagTACL}
<select size="1" id="startMinute" name="startMinute" {if $Tstate!=""} disabled {/if} >
{html_options values=$minutes output=$minutes selected=$startminute}
</select>
{/render}
-
{render acl=$gosaProxyFlagTACL}
<select size="1" id="stopHour" name="stopHour" {if $Tstate!=""} disabled {/if} >
{html_options values=$hours output=$hours selected=$stophour}
</select>
{/render}
:
{render acl=$gosaProxyFlagTACL}
<select size="1" id="stopMinute" name="stopMinute" {if $Tstate!=""} disabled {/if}>
{html_options values=$minutes output=$minutes selected=$stopminute}
</select>
{/render}
</td>
</tr>
</table>
</td>
<td>
{render acl=$gosaProxyFlagBACL checkbox=$multiple_support checked=$use_filterB}
<input type="checkbox" id="filterB" name="filterB" value="B" {$filterB} {if $pstate=="disabled"} disabled {/if} onClick="{$changeB}"
class="center"
>
{/render}
<LABEL for="quota_size">{t}Restrict proxy usage by quota{/t}</LABEL>
<br>
<table style="margin-left:20px;" summary="{t}Quota configuration{/t}">
<tr>
<td>
{render acl=$gosaProxyFlagBACL}
<input type='text' name="quota_size" id="quota_size" size=7 maxlength=10 value="{$quota_size}" {if $Bstate!=""} disabled {/if} >
{/render}
{render acl=$gosaProxyFlagBACL}
<select size="1" name="quota_unit" id="quota_unit" {if $Bstate!=""} disabled {/if} >
{html_options options=$quota_unit selected=$quota_u}
</select>
{/render}
<LABEL for="gosaProxyQuotaPeriod">{t}per{/t}</LABEL>
{render acl=$gosaProxyFlagBACL}
<select size="1" name="gosaProxyQuotaPeriod" id="gosaProxyQuotaPeriod" {if $Bstate!=""} disabled {/if} >
{html_options options=$quota_time selected=$gosaProxyQuotaPeriod}
</select>
{/render}
</td>
</tr>
</table>
</td>
</tr>
</table>
|