Lines 46-52
my ( $theme, $news_lang, $availablethemes ) = C4::Templates::themelanguage(
Link Here
|
46 |
# List all pages, if id is set generate parent page list and data. |
46 |
# List all pages, if id is set generate parent page list and data. |
47 |
my ( $page_list, $parent_list, $page_data ) = Koha::CmsPages->list( $id ); |
47 |
my ( $page_list, $parent_list, $page_data ) = Koha::CmsPages->list( $id ); |
48 |
|
48 |
|
49 |
my $links = Koha::CmsPages->search( {}, { order_by => 'sortorder' } ); |
49 |
my $links = Koha::CmsPages->search( { publish => 1 }, { order_by => 'sortorder' } ); |
50 |
my $cms_data = Koha::CmsPages->find( $id ); |
50 |
my $cms_data = Koha::CmsPages->find( $id ); |
51 |
$template->param( |
51 |
$template->param( |
52 |
links => $links, |
52 |
links => $links, |