summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 67253c8)
raw | patch | inline | side by side (parent: 67253c8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jan 2010 09:30:55 +0000 (09:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jan 2010 09:30:55 +0000 (09:30 +0000) |
-Show a message if only the first 200 entries were shown.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14995 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14995 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc | patch | blob | history | |
gosa-plugins/fai/admin/fai/faiPackageEntry.tpl | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc b/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc
index f86f89a96aff64eefcd72d3697101ef4e5c5789e..794a8d344da5148099c71665e89cd5e0d0150017 100644 (file)
"attach" => "style='border-right:0px;text-align:left;'")));
}
+ $smarty->assign("max_entries", (count($this->pkgs) >=200));
+
$smarty->assign("Section_boxes" , $Section_boxes);
$smarty->assign("searchStrPKG" , $this->searchStrPKG);
$smarty->assign("faihead" , "");
diff --git a/gosa-plugins/fai/admin/fai/faiPackageEntry.tpl b/gosa-plugins/fai/admin/fai/faiPackageEntry.tpl
index 44cbbf8010e735cee00c4a7194f6516e48ece575..f8958039a974e7ed093e1dfc22794ae07e99514d 100644 (file)
</div>
<div style='height:4px;'>
</div>
+ {if $max_entries}
+ <div class="contentboxb" style="border-top:1px solid #B0B0B0; padding: 10px;">
+ <font style='color:red; font-weight:bold;'>
+ {t}The search returned too many results, only the first 200 entries are shown.{/t}
+ </div>
+ {/if}
<div class="contentboxb" style="border-top:1px solid #B0B0B0;">{$failist}<input type="hidden" name="edit_helper">
</div>
</td>