continue;
}
-
$linkData['hidden'] = in_array($linkData['uid'], $hiddenLinks);
if ($linkData['type'] == 28) {
$this->addSEOArticle($linkData['page'], $linkData['to'], $linkData['extra'], $linkData['image']);
$linkPages[$link->page] = true;
}
-
$c = $link->getHTMLContainer();
$css[] = $link->getCSSContainer();
+
if (!isset($pages[$link->page])) {
$pages[$link->page] = '';
$cpages[$link->page] = '';
}
foreach ($allpages as $i) {
-
$c = '';
$cc = '';
if (isset($pages[$i])) {
public function getCSSContainer()
{
- if (!($this instanceof contentLink) && intval($this->page) % 2 == 1) {
+ if (!($this instanceof contentLink) && intval($this->page) % 2 == 1 && $this->compiler->book->parametres->mobileNavigationType != 'mobilefirst') {
$this->page--;
$this->left += $this->compiler->width;
}
public function getCSSContainer()
{
- if (!($this instanceof contentLink) && $this->page % 2 == 1) {
+ if (!($this instanceof contentLink) && $this->page % 2 == 1 && $this->compiler->book->parametres->mobileNavigationType != 'mobilefirst') {
$this->page--;
$this->left += $this->compiler->width;
}
public function getCSSContainer()
{
- if (!($this instanceof contentLink) && $this->page % 2 == 1) {
+ if (!($this instanceof contentLink) && $this->page % 2 == 1 && $this->compiler->book->parametres->mobileNavigationType != 'mobilefirst') {
$this->page--;
$this->left += $this->compiler->width;
}