PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo _('en') ?>"
lang="<?php echo _('en') ?>">
<head>
<div id="container">
<div id="logo">
-<h1><?php echo util_make_link ('/',_('Goto GForge')); ?></h1>
+<h1><?php echo util_make_link ('/',_('Home')); ?></h1>
</div>
-<div id="util"><?php if (session_loggedin()) {
- echo util_make_link ('/account/logout.php',_('Log Out')); ?><br />
-<?php echo util_make_link ('/account/',_('My Account')); ?><br />
- <?php
+<div id="util">
+<?php
+if (session_loggedin()) {
+ echo util_make_link ('/account/logout.php',_('Log Out'));
+ echo '<br />';
+ echo util_make_link ('/account/',_('My Account'));
+ echo '<br />';
} else {
- echo util_make_link ('/account/login.php',_('Log In')); ?><br />
-<?php echo util_make_link ('/account/register.php',_('New Account')); ?>
- <?php
+ echo util_make_link ('/account/login.php',_('Log In'));
+ echo '<br />';
+ if (!$GLOBALS['sys_user_reg_restricted']) {
+ echo util_make_link ('/account/register.php',_('New Account'));
+ echo '<br />';
+ }
}
-?></div>
+?>
+</div>
-<div id="content"><br />
+<div id="headercontent"><br />
<?php echo $this->searchBox();
?></div>
$this->footerEnd($params);
}
-function footerEnd($params) { ?> <!-- PLEASE LEAVE "Powered By GForge" on your site -->
-<div id="footer"><a href="http://gforge.org/"><img
- src="<?php echo util_make_url ('/images/pow-gforge.png'); ?>"
- alt="Powered By GForge Collaborative Development Environment"
- border="0" /></a></div>
+function footerEnd($params) { ?> <!-- PLEASE LEAVE "Powered By FusionForge" on your site -->
+<div id="footer"><a href="http://fusionforge.org/"><img
+ src="<?php echo util_make_url ('/images/pow-fusionforge.png'); ?>"
+ alt="Powered By FusionForge"
+ border="0" /></a>
+</div>
<?php
global $sys_show_source;
if ($sys_show_source) {
if ($selected==$i){
$this->selected_title = $TABS_TITLES[$i];
$this->selected_dir = $TABS_DIRS[$i];
- $this->selected_id = $TABS_IDS[$i];
+ //$this->selected_id = $TABS_IDS[$i];
$return .= util_make_link ($TABS_DIRS[$i],$TABS_TITLES[$i],array('id'=>'gforge-project-selected'));
}
else{
- if ($TABS_IDS[$i]==''){
+ if (!isset($TABS_IDS[$i]) || $TABS_IDS[$i]==''){
$return .= util_make_link ($TABS_DIRS[$i],$TABS_TITLES[$i],array('id'=>'gforge-project-std','title'=>$TABS_TITLES[$i]));
}
if (db_result($res,$i,'use_tracker')) {
$ret .= '
<option value="/tracker/?group_id='.db_result($res,$i,'group_id').'"> Tracker</option>';
- if (db_result($res,$i,'admin_flags') || db_result($res,$i,'tracker_flags')) {
+ if (db_result($res,$i,'admin_flags') || db_result($res,$i,'artifact_flags')) {
$ret .= '
<option value="/tracker/admin/?group_id='.db_result($res,$i,'group_id').'"> Admin</option>';
}