index 53dbf039f256669c869d27375ddeed9d24e29606..c344e537e7961cbeda8c7fc44c8fcf49ce63d75f 100644 (file)
var $is_headpage = false; // if true the design changes
var $filterName = "Liste";
var $DepartmentsAdded = false;
+ var $Added_Departments = array();
var $selectedBase = "";
var $DivHeight = "";
var $HideFilterPart = false;
-
+ var $List_Bottom_Info = "";
var $SaveAdditionalVars = array(); // Additional Post vars to store
function ClearElementsList()
$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);
</label>
</td>
<td width=\"99%\">
- <input type='text' style='width:99%' name='".$regex['name']."' maxlength='20'
+ <input id='".$regex['name']."' type='text' style='width:99%' name='".$regex['name']."' maxlength='20'
value='".$regex['value']."' title=\"".$regex['string']."\">
</td>
</tr>
function AddDepartments($base = false,$numtabs = 3)
{
$this->DepartmentsAdded = true;
+ $this->Added_Departments = array();
/* check for a valid base */
if(!$base){
}
$this->AddElement($row);
+ $this->Added_Departments[] = $row;
}
}
+
+ function set_List_Bottom_Info($str)
+ {
+ $this->List_Bottom_Info = $str;
+ }
+
+ function get_List_Bottom_Info()
+ {
+ return($this->List_Bottom_Info);
+ }
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>