steffen: server/kolab-webadmin/kolab-webadmin/php/admin/templates userlisterror.tpl, NONE, 1.1 userlistall.tpl, 1.1, 1.2
cvs at kolab.org
cvs at kolab.org
Mon Jul 31 04:03:13 CEST 2006
Author: steffen
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates
In directory doto:/tmp/cvs-serv28072/kolab-webadmin/php/admin/templates
Modified Files:
userlistall.tpl
Added Files:
userlisterror.tpl
Log Message:
guard against large number of users
--- NEW FILE: userlisterror.tpl ---
{* Smarty Template *}
{*
Local variables:
buffer-file-coding-system: utf-8
End:
*}
<h3>{tr msg="Email Users"}</h3>
<div align="center">
<a {if $alphagroup==""}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup="> {tr msg="[ ALL ]"} </a>
<a {if $alphagroup=="a"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=a"> [ A-F ] </a>
<a {if $alphagroup=="g"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=g"> [ G-L ] </a>
<a {if $alphagroup=="m"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=m"> [ M-R ] </a>
<a {if $alphagroup=="s"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=s"> [ S-Z ] </a>
<a {if $alphagroup=="other"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=other"> {tr msg="[ OTHER ]"} </a>
</div>
<div class="contentform">
<form name="filterform" method="post">
{tr msg="Filter:"} <select name="filterattr">
{foreach key=value item=name from=$filterattrs}
{if $value eq $filterattr}
<option value="{$value}" selected>{$name|escape:"html"}</option>
{else}
<option value="{$value}">{$name|escape:"html"}</option>
{/if}
{/foreach}
</select>
<select name="filtertype">
{foreach key=value item=name from=$filtertypes}
{if $value eq $filtertype}
<option value="{$value}" selected>{$name|escape:"html"}</option>
{else}
<option value="{$value}">{$name|escape:"html"}</option>
{/if}
{/foreach}
</select>
<input type="text" name="filtervalue" value="{$filtervalue|escape:"html"}" />
<input type="submit" name="filtersubmit" value="{tr msg="Filter"}" /></form>
</div>
<div align="center">
<h1>Too many users, please narrow down the search.</h1>
</div>
Index: userlistall.tpl
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates/userlistall.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- userlistall.tpl 11 Mar 2005 09:59:05 -0000 1.1
+++ userlistall.tpl 31 Jul 2006 02:03:10 -0000 1.2
@@ -6,12 +6,12 @@
*}
<h3>{tr msg="Email Users"}</h3>
<div align="center">
-<a href="{$self_url}?alphalimit="> {tr msg="[ ALL ]"} </a>
-<a href="{$self_url}?alphalimit=a"> [ A-F ] </a>
-<a href="{$self_url}?alphalimit=g"> [ G-L ] </a>
-<a href="{$self_url}?alphalimit=m"> [ M-R ] </a>
-<a href="{$self_url}?alphalimit=s"> [ S-Z ] </a>
-<a href="{$self_url}?alphalimit=other"> {tr msg="[ OTHER ]"} </a>
+<a {if $alphagroup==""}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup="> {tr msg="[ ALL ]"} </a>
+<a {if $alphagroup=="a"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=a"> [ A-F ] </a>
+<a {if $alphagroup=="g"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=g"> [ G-L ] </a>
+<a {if $alphagroup=="m"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=m"> [ M-R ] </a>
+<a {if $alphagroup=="s"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=s"> [ S-Z ] </a>
+<a {if $alphagroup=="other"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=other"> {tr msg="[ OTHER ]"} </a>
</div>
<div class="contentform">
<form name="filterform" method="post">
More information about the commits
mailing list