index 49a1ad89b6e4d0f7330091c2af3401d99bb86f01..c344e537e7961cbeda8c7fc44c8fcf49ce63d75f 100644 (file)
$divlist = new divlist($this->string_Title);
$divlist->SetSummary($this->string_Summary);
- $divlist->SetEntriesPerPage(0); // 0 for scrollable list
+ $divlist->SetEntriesPerPage(0); // 0 for scrollable list
+
+ /* Display list footer with summary of all listed entries */
+ if(isset($this->config->data['MAIN']['LIST_SUMMARY']) && preg_match("/true/i",$this->config->data['MAIN']['LIST_SUMMARY'])){
+ $divlist->SetFooter($this->get_List_Bottom_Info());
+ }
if($this->DivHeight != ""){
$divlist->SetHeight($this->DivHeight);
$smarty->assign("Summary" , $this->string_Summary);
$smarty->assign("Title" , $this->string_Title);
$smarty->assign("Information" , $this->string_Information);
- $smarty->assign("List_Bottom_Info", $this->get_List_Bottom_Info());
/* Check for exeeded sizelimit */
$smarty->assign("hint" , print_sizelimit_warning());