diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/constants.php | 6 | ||||
-rw-r--r-- | include/functions_mail.inc.php | 3 | ||||
-rw-r--r-- | include/page_tail.php | 3 |
3 files changed, 7 insertions, 5 deletions
diff --git a/include/constants.php b/include/constants.php index 32cac3031..657a866be 100644 --- a/include/constants.php +++ b/include/constants.php @@ -2,7 +2,7 @@ // +-----------------------------------------------------------------------+ // | PhpWebGallery - a PHP based picture gallery | // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | -// | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net | +// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ // | branch : BSF (Best So Far) // | file : $RCSfile$ @@ -27,8 +27,8 @@ // Default settings define('PHPWG_VERSION', 'Alligator'); -define('PHPWG_URL', 'http://www.phpwebgallery.net'); -define('PHPWG_FORUM_URL', 'http://forum.phpwebgallery.net'); +define('PHPWG_DOMAIN', 'phpwebgallery.net'); +define('PHPWG_URL', 'http://www.'.PHPWG_DOMAIN); define('PHPWG_DEFAULT_LANGUAGE', 'en_UK.iso-8859-1'); // Error codes diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php index 9850f9c6c..523bbd6fd 100644 --- a/include/functions_mail.inc.php +++ b/include/functions_mail.inc.php @@ -2,7 +2,7 @@ // +-----------------------------------------------------------------------+ // | PhpWebGallery - a PHP based picture gallery | // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | -// | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net | +// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | // | Copyright (C) 2006 Ruben ARNAUD - team@phpwebgallery.net | // +-----------------------------------------------------------------------+ // | branch : BSF (Best So Far) @@ -224,6 +224,7 @@ function pwg_mail($to, $from = '', $subject = 'PhpWebGallery', $infos = '', $for isset($page['gallery_title']) ?
$page['gallery_title'] : $conf['gallery_title'],
'VERSION' => $conf['show_version'] ? PHPWG_VERSION : '',
+ 'PHPWG_URL' => PHPWG_URL,
'TITLE_MAIL' => urlencode(l10n('title_send_mail')),
'MAIL' => get_webmaster_mail_address() diff --git a/include/page_tail.php b/include/page_tail.php index 0f78484ba..2a03cbd86 100644 --- a/include/page_tail.php +++ b/include/page_tail.php @@ -2,7 +2,7 @@ // +-----------------------------------------------------------------------+ // | PhpWebGallery - a PHP based picture gallery | // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | -// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net | +// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ // | branch : BSF (Best So Far) // | file : $RCSfile$ @@ -31,6 +31,7 @@ trigger_action('loc_begin_page_tail'); $template->assign_vars( array( 'VERSION' => $conf['show_version'] ? PHPWG_VERSION : '', + 'PHPWG_URL' => PHPWG_URL, 'L_TITLE_MAIL' => urlencode($lang['title_send_mail']), )); |