$this->writeIndex($numCSS);
$this->writeJs();
$this->writeTexts();
+ $this->writeExtras();
$this->writeCache();
}
}
}
+ protected function writeExtras(){
+ if($this->theme->parametres->afterSearch!=''){
+ copy($this->themeRoot . '/' . $this->theme->parametres->afterSearch, $this->vdir . '/data/images/' . $this->theme->parametres->afterSearch);
+ }
+ }
+
protected function writeLinks() {
global $core;
$daoDoc = new wsDAODocument($core->con);
$daoDoc->getLinksAndRulers($this->book_id, $links, $rulers);
-
+
$i = 0;
$pages = array();
$css = array();
$css[] = $link->getCSSContainer();
$i++;
}
+
+ $allpages=range(0,$this->book->parametres->pages+1);
+ $allpages[]='aftersearch';
$this->config->links = array();
- for ($i = 0; $i <= $this->book->parametres->pages + 1; $i++) {
+ foreach ($allpages as $i) {
$c = '';
if (isset($pages[$i])) {
$c = $pages[$i];