wrap()->pushDefault('layout/default'); ?>
detail = $this->activity('detail', $_GET); ?> detail->entity) : ?> showAttachments = true; $this->entity = $this->detail->entity; ?> isSimpleLanguageAvailable([$this->entity], 'news_body_sk')) : ?>
Einfache Sprache
checked onchange="sk.off()" onchange="sk.on()" >
entity["news_view"] === "gallery") { echo $this->viewDefault('module/news/detail/gallery'); } elseif (($this->entity["news_view"] === "gridgallery")) { echo $this->viewDefault('module/news/detail/gridgallery'); } elseif (($this->entity["news_view"] === "grid")) { echo $this->viewDefault('module/news/detail/grid'); } elseif (($this->entity["news_view"] === "gridThumb")) { echo $this->viewDefault('module/news/detail/gridThumb'); } elseif (($this->entity["news_view"] === "text")) { echo $this->viewDefault('module/news/detail/text'); } else { echo $this->viewDefault('module/news/detail/default'); } ?> tree->current->getPath(); $parts = parse_url($_SERVER['REQUEST_URI']); $query = $parts['query']; if ($query) { $path .= '?' . $query; } f()->ensureCurrentUri($path); ?> paging = new f_paging(array('limit' => 9, 'param' => array('width' => 5, 'href' => $_GET['tree_path'] . '?page={page}'))); $this->box['entities'] = $this->content(array( 'treecurrent' => true, 'content_type' => 'news', 'content_published <=' => time(), 'paging' => $this->paging, 'contentRelated' => 'img:1', 'order' => 'news_lead DESC, content_published DESC, content_id DESC', )); $this->box['param'] = array('label' => true, 'more' => false, 'title' => $this->_c->c->tree->current->getTitle()); ?> box['entities'])) : ?>

Aktuelles

box['entities'] as $i => $a) : ?>
Bild
01.01.1970
Mehr lesen
box['param']['more']) :?>
mehr Nachrichten
paging) : ?> paging; $uri = $paging->uri(); // adres jako parametry dla helpera uri $uriParam = $paging->uriParam(); // parametry adresy okreslajacy strone $var = $paging->uriVar(); // zmienna do podstawienia strony w adresie stringowym $href = $paging->param('href'); $onclick = $paging->param('onclick'); $page = $paging->page(); // aktualna strona // default href if (!isset($href) && !isset($onclick)) { if (!$uri) { $uri = f::$c->uri->assembleRequest(array($uriParam => '___page___')); $uri = str_replace('___page___', $var, $uri); } if (is_array($uri)) { $uri[$uriParam] = $var; $uri = f::$c->uri($uri); // adres jako string z markerem {page} } $href = $uri; } $links = call_user_func(function() use ($paging) { $all = $paging->all(); // liczba wszystkich elementow $page = $paging->page(); // aktualna strona $first = $paging->firstPage(); // pierwsza strona, standardowo 1 $pages = $paging->pages(); // wszystkich stron $width = $paging->param('width'); // liczba linkow pomiedzy aktualna strona i spacja if (!($all > 0)) { return []; } if (!($pages > 1)) { return []; // nie ma wiecej strony niz 1 to nie generujemy stronicowania } /* table of pages np. 1 [ ] 3 4 5 [6] 7 8 9 [ ] 1234 */ /* df */ if ($pages<4) { $links = array($first, $first+1); if($pages==3) { $links[] = $first+2; } return $links; } // calculate if (!$width || $width<2) { $width = 3; } if ($width+2 >= $pages) { $width = $pages; } $start = $page - (int)($width/2); if ( $start < $first ) { $start = $first; } $end = $start + $width - 1; $last = $first + $pages - 1; if ( $end > $last ) { $end = $last; $start = $end - $width + 1; if ( $start < $first ) { $start = $first; } } // array if ( $start > $first ) { $links[] = $first; if ($start > $first+1) { $links[] = ' '; } } for ($i=$start; $i<=$end; $i++) { $links[] = $i; } if ( $end < $last ) { if ($end < $last-1) { $links[] = ' '; } elseif ($links[2]!=$page) { unset($links[2]); } $links[] = $last; } return $links; }); ?>
Es wurden keine passenden Daten gefunden