From ed332334b30f8d8c2121fb64b16fae91efe42515 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 24 Sep 2005 19:56:23 +0000 Subject: [PATCH] r445: - added trackerurl setting - changed registration tokens to use options, not hard-coded text --- includes/settings.php | 1 + register.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/settings.php b/includes/settings.php index b923f8d..87ac42e 100755 --- a/includes/settings.php +++ b/includes/settings.php @@ -36,6 +36,7 @@ $config['moderatenewusers'] = array('general', 'moderatenewusers', 'yesno', 0, $config['sendwelcomemail'] = array('general', 'sendwelcomemail', 'yesno', 1, false, $lang->string('Send New Use Welcome Email'), $lang->string('Setting this option to yes will send all new users, after they\'ve been verified, a welcoming email.')); $config['webmasteremail'] = array('general', 'webmasteremail', 'textbox', '', false, $lang->string('Webmaster Email Address'), $lang->string('The email address from which emails will be sent out.')); $config['trackertitle'] = array('general', 'trackertitle', 'textbox', '', false, $lang->string('Tracker Title'), $lang->string('The global name of the bug tracker. Example: Iris Studios Bug Tracker')); +$config['trackerurl'] = array('general', 'trackerurl', 'textbox', '', false, $lang->string('Tracker Base URL'), $lang->string('The base URL of the tracker. This is used when creating external links to the tracker. Be sure that this does not end in a trailing slash ("/").
Example: http://www.iris-studios.com/bugs')); $config['dateformat'] = array('general', 'dateformat', 'textbox', 'F j, Y h:i:s A', false, $lang->string('Date Format'), $lang->string('Set the date format used for bug report and comment information. This is based on PHP\'s date() function.')); // ################################################################### diff --git a/register.php b/register.php index c5de8b1..40932fc 100755 --- a/register.php +++ b/register.php @@ -144,8 +144,8 @@ Welcome to the %2$s tracker. Before you can begin posting bug reports, you\'ll n %3$s/register.php?do=activate&userid=%4$s&activator=%5$s'), $bugsys->in['displayname'], - 'Avalon Development', // #*# change - 'http://devbox/bugtrack', // #*# change + $bugsys->options['trackertitle'], + $bugsys->options['trackerurl'], $userid, $activationid ); -- 2.43.5