function html_home_collections() { extract(tep_ref('entries_array'), EXTR_OVERWRITE | EXTR_REFS); $cStrings =& $this->strings; $entries_array[] = array('id' => $this->key, 'title' => $cStrings->TEXT_INFO_VOTES, 'image' => tep_image($this->admin_web_path . 'votes.png', $cStrings->TEXT_INFO_VOTES), 'href' => tep_href_link(FILENAME_VOTES, 'selected_box=' . $this->box)); return true; }
function html_right() { extract(tep_load('defs')); extract(tep_ref('box_array'), EXTR_OVERWRITE | EXTR_REFS); $result = $this->display_solo_box(); if ($result) { $box_array = array(); return $result; } if ($cDefs->gtext_id && $this->options['text_pages']) { $cText = new gtext_front(); $zones_array = $cText->get_zone_entries($cDefs->gtext_id); if (count($zones_array)) { $result = $this->display_ingtext_box(); if ($result) { $box_array = array(); } return $result; } } if ($cDefs->abstract_id) { $cSuper = new super_front(); $zone_class = $cSuper->get_zone_class($cDefs->abstract_id); switch ($zone_class) { case 'image_zones': if ($this->options['image_collections'] == 1) { $zones_array = $cSuper->get_parent_zones($cDefs->abstract_id); if (count($zones_array)) { $this->display_filter_box(); $box_array = array(); return true; } } break; case 'generic_zones': if ($this->options['text_collections'] == 1) { $zones_array = $cSuper->get_parent_zones($cDefs->abstract_id); if (count($zones_array)) { $this->display_filter_box(); $box_array = array(); return true; } } break; default: break; } } return false; }
function html_right() { extract(tep_ref('box_array'), EXTR_OVERWRITE | EXTR_REFS); if ($this->options['display_col'] == 1) { return $this->display_common($box_array); } return false; }
function html_home_collections() { extract(tep_ref('entries_array'), EXTR_OVERWRITE | EXTR_REFS); $cStrings =& $this->strings; $entries_array[] = array('id' => $this->key, 'title' => $cStrings->TEXT_INFO_MESSAGE, 'image' => tep_image($this->admin_web_path . 'download.png', $cStrings->TEXT_INFO_MESSAGE), 'href' => tep_href_link($this->main_script, 'selected_box=abstract_box')); return true; }
function html_home_tools() { extract(tep_ref('entries_array'), EXTR_OVERWRITE | EXTR_REFS); $cStrings =& $this->strings; $entries_array[] = array('id' => $this->key, 'title' => $cStrings->TEXT_INFO_MESSAGE, 'image' => tep_image($this->admin_web_path . 'newsletter.png', $cStrings->TEXT_INFO_MESSAGE), 'href' => tep_href_link(FILENAME_NEWSLETTERS, 'selected_box=tools_box')); return true; }
function html_home_collections() { extract(tep_ref('entries_array'), EXTR_OVERWRITE | EXTR_REFS); return $this->common_home($entries_array); }
function html_right_end() { extract(tep_ref('box_array'), EXTR_OVERWRITE | EXTR_REFS); if (!$this->options['display_right']) { return false; } $banners_array = $this->get_location_banners(2); return $this->display_common($banners_array); }