forked from science-ation/science-ation
add support to link to fair website
This commit is contained in:
parent
4cba8caa3c
commit
7b90784828
@ -591,7 +591,16 @@ if(is_array($nav)) {
|
||||
?>
|
||||
<ul class="mainnav">
|
||||
<?
|
||||
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/index.php\">".i18n("Home").'</a></li>';
|
||||
if ($config['website']) {
|
||||
if ($config['website_name']) {
|
||||
echo "<li><a href=\"{$config['website']}\">{$config['website_name']}</a></li>";
|
||||
} else {
|
||||
echo "<li><a href=\"{$config['website']}\">".i18n("Fair Home").'</a></li>';
|
||||
}
|
||||
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/index.php\">".i18n("Registration Home").'</a></li>';
|
||||
} else {
|
||||
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/index.php\">".i18n("Home").'</a></li>';
|
||||
}
|
||||
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/important_dates.php\">".i18n("Important Dates").'</a></li>';
|
||||
echo $registrationconfirmationlink;
|
||||
/*
|
||||
|
@ -1 +1 @@
|
||||
195
|
||||
196
|
||||
|
1
db/db.update.196.sql
Normal file
1
db/db.update.196.sql
Normal file
@ -0,0 +1 @@
|
||||
INSERT INTO `config` ( `var` , `val` , `category` , `type` , `type_values` , `ord` , `description` , `section`, `conferencetypes`, `conferences_id`, `year`) VALUES ( 'website', '', 'Global', 'text', '', '800', 'Your organization\'s website', 'conference', 'sciencefair,scienceolympics', '-1', '-1'), ( 'website_name', '', 'Global', 'text', '', '801', 'The name for your organization\'s website. This is only used if a website is entered.', 'conference', 'sciencefair,scienceolympics', '-1', '-1');
|
Loading…
Reference in New Issue
Block a user