diff --git a/include/config_default.inc.php b/include/config_default.inc.php index edf2e1276..a56e9fee7 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -286,6 +286,10 @@ $conf['update_notify_check_period'] = 24*60*60; // we send it again? 0 to disable. $conf['update_notify_reminder_period'] = 7*24*60*60; +// should the album description be displayed on all pages (value=true) or +// only the first page (value=false) +$conf['album_description_on_all_pages'] = false; + // +-----------------------------------------------------------------------+ // | email | // +-----------------------------------------------------------------------+ diff --git a/index.php b/index.php index cd5f40028..51cce11e6 100644 --- a/index.php +++ b/index.php @@ -297,7 +297,7 @@ if ( empty($page['is_external']) ) } // category comment - if ($page['start']==0 and !isset($page['chronology_field']) and !empty($page['comment']) ) + if (($page['start']==0 or $conf['album_description_on_all_pages']) and !isset($page['chronology_field']) and !empty($page['comment']) ) { $template->assign('CONTENT_DESCRIPTION', $page['comment'] ); }