Commit 97e4d9b5 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(simpleManagement) Adapt templates so that non-migrated management looks alright

issue #5912
Showing with 12 additions and 7 deletions
+12 -7
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
<div class="contentboxb"> <div class="contentboxb">
{if isset($objectFilters)} {if isset($objectFilters)}
{foreach from=$objectFilters item="ofilter"} {foreach from=$objectFilters item="ofilter"}
{${$ofilter.id}}<label for="{$ofilter.id}">&nbsp;{$ofilter.label}</label><br/> <label for="{$ofilter.id}">
{${$ofilter.id}}&nbsp;{$ofilter.label}
</label>
{/foreach} {/foreach}
{/if} {/if}
...@@ -13,7 +15,10 @@ ...@@ -13,7 +15,10 @@
{$SCOPE} {$SCOPE}
<hr/> <hr/>
<label for="NAME" title="{$NAMEDESC}"><img src="geticon.php?context=actions&amp;icon=system-search&amp;size=16" alt="Search"/></label>{$NAME} <label for="NAME" title="{$NAMEDESC}">
<img src="geticon.php?context=actions&amp;icon=system-search&amp;size=16" alt="Search"/>
{$NAME}
</label>
<div> <div>
{$APPLY} {$APPLY}
......
...@@ -326,7 +326,7 @@ class filter ...@@ -326,7 +326,7 @@ class filter
function renderScope() function renderScope()
{ {
$checked = ($this->scope == 'sub' ? ' checked' : ''); $checked = ($this->scope == 'sub' ? ' checked' : '');
return "<input type='checkbox' id='SCOPE' name='SCOPE' value='1' onClick='document.mainform.submit();'$checked>&nbsp;<LABEL for='SCOPE'>"._("Search in subtrees")."</LABEL>"; return "<LABEL for='SCOPE'><input type='checkbox' id='SCOPE' name='SCOPE' value='1' onClick='document.mainform.submit();'$checked>&nbsp;"._("Search in subtrees")."</LABEL>";
} }
/*! /*!
......
...@@ -3,15 +3,15 @@ ...@@ -3,15 +3,15 @@
</div> </div>
<div class="contentboxb"> <div class="contentboxb">
{$PRIMARY}&nbsp;<label for="PRIMARY">{t}Show primary groups{/t}</label><br/> <label for="PRIMARY">{$PRIMARY}&nbsp;{t}Show primary groups{/t}</label><br/>
{$SAMBA}&nbsp;<label for="SAMBA">{t}Show samba groups{/t}</label><br/> <label for="SAMBA">{$SAMBA}&nbsp;{t}Show samba groups{/t}</label><br/>
{$MAIL}&nbsp;<label for="MAIL">{t}Show mail groups{/t}</label><br/> <label for="MAIL">{$MAIL}&nbsp;{t}Show mail groups{/t}</label><br/>
<hr/> <hr/>
{$SCOPE} {$SCOPE}
<hr/> <hr/>
<label for="NAME"><img src="geticon.php?context=actions&amp;icon=system-search&amp;size=16"/></label>{$NAME} <label for="NAME"><img src="geticon.php?context=actions&amp;icon=system-search&amp;size=16"/>{$NAME}</label>
<div> <div>
{$APPLY} {$APPLY}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment