diff --git a/common.inc.php b/common.inc.php
index 78847f5..dbdf119 100644
--- a/common.inc.php
+++ b/common.inc.php
@@ -461,12 +461,34 @@ if(substr(getcwd(),-6)=="/admin" || substr(getcwd(),-7)=="/config")
?>
- $q=mysql_query("SELECT * FROM conferences WHERE status='running' ORDER BY name");
- if(mysql_num_rows($q)) {
- echo "
";
- while($r=mysql_fetch_object($q)) {
- if($_SESSION['conferenceid']==$r->id)
- $cl="class=\"selected\"";
- else
- $cl="";
- echo "- id\">$r->name
\n";
- }
- echo "
\n";
- echo "
";
- }
if(is_array($nav)) {
$navkeys=array_keys($nav);
@@ -614,19 +657,6 @@ else if($_SESSION['registration_number'] && $_SESSION['registration_id']) {
?>
-if(count($config['languages'])>1) {
- echo "
";
- echo "";
-}
-
?>
diff --git a/theme/default/sfiab.css b/theme/default/sfiab.css
index e8691de..3c0fef1 100644
--- a/theme/default/sfiab.css
+++ b/theme/default/sfiab.css
@@ -27,11 +27,46 @@ table tr.odd {
background: #E0E0F8;
}
+#topnav {
+ margin: 0px;
+ font-size: 0.95em;
+ background-color: white;
+ text-align: right;
+}
+
#header {
height: 50px;
text-align: center;
background: #E0E0FF;
- padding: 10px;
+ padding: 5px;
+ border-bottom: 2px solid grey;
+ margin-bottom: 5px;
+ height: 70px;
+}
+
+#header_logo {
+ position: absolute;
+ width: 180px;
+}
+
+#header_title {
+ position: absolute;
+ left: 200px;
+ margin-right: 380px;
+}
+
+#header_conferences {
+ position: absolute;
+ right: 210px;
+}
+
+#header_login {
+ border: 1px solid #777777;
+ background-color: #DDDDDD;
+ position: absolute;
+ right: 5px;
+ height: 70px;
+ width: 200px;
}
#footer {
@@ -472,9 +507,9 @@ ul.conferencenav li {
ul.conferencenav li a {
display : block;
margin : 0;
- padding : 6px;
+ padding : 3px;
background-color : #5C6F90;
- font : bold 0.9em/1.5em Arial, sans-serif;
+ font : bold 0.9em/1.2em Arial, sans-serif;
color : #fff;
text-decoration : none;
}
@@ -482,9 +517,9 @@ ul.conferencenav li a {
ul.conferencenav li a.selected {
display : block;
margin : 0;
- padding : 6px;
+ padding : 3px;
background-color : #1F6DFF;
- font : bold 0.9em/1.5em Arial, sans-serif;
+ font : bold 0.9em/1.2em Arial, sans-serif;
color : #fff;
text-decoration : none;
}
diff --git a/user_login.php b/user_login.php
index aa19ebb..dfb01b0 100644
--- a/user_login.php
+++ b/user_login.php
@@ -26,8 +26,7 @@
require_once("common.inc.php");
require_once("user.inc.php");
- function try_login($user, $pass)
- {
+ function try_login($user, $pass) {
/* Ensure sanity of inputs, user should be an email address, but it's stored
* in the username field */
/* FIXME: this should be user_valid_email, but can't be yet, because