bug 255: parameter values in #config limited to 255 chars (value becomes text)

feature 303: page banner moved from combination of gallery_title, 
gallery_description and template to database (simplifies user customization)


git-svn-id: http://piwigo.org/svn/trunk@1071 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2006-03-09 01:57:13 +00:00
commit 316d89a90b
14 changed files with 129 additions and 52 deletions

View file

@ -45,7 +45,8 @@ define('PHPWG_ROOT_PATH','./');
include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
$page['body_id'] = 'thePopuphelpPage';
$page['gallery_title'] = $title = l10n('PhpWebGallery Help');
$title = l10n('PhpWebGallery Help');
$page['page_banner'] = '<h1>'.$title.'</h1>';
include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->set_filenames(array('search_rules' => 'search_rules.tpl'));
@ -194,7 +195,7 @@ foreach (array('date_available', 'date_creation') as $datefield)
array(
'CONTENT' => sprintf(
l10n($lang_items['period']),
format_date($search['fields'][ $keys['after'] ]['date']),
inc_exc_str($search['fields'][ $keys['after'] ]['inc']),
@ -211,7 +212,7 @@ foreach (array('date_available', 'date_creation') as $datefield)
array(
'CONTENT' => sprintf(
l10n($lang_items['before']),
format_date($search['fields'][ $keys['before'] ]['date']),
inc_exc_str($search['fields'][ $keys['before'] ]['inc'])
),
@ -225,7 +226,7 @@ foreach (array('date_available', 'date_creation') as $datefield)
array(
'CONTENT' => sprintf(
l10n($lang_items['after']),
format_date($search['fields'][ $keys['after'] ]['date']),
inc_exc_str($search['fields'][ $keys['after'] ]['inc'])
)