moved some stuff back to lib from plugins
[glcas.git] / lib / www.php
similarity index 90%
rename from lib/plugins/www.php
rename to lib/www.php
index 3d5b9d1..f356ca0 100644 (file)
@@ -41,7 +41,7 @@ function www_basePage($calls)
                www_header();
        }
        
-       echo "<table><tr><td>";
+       echo "<table><tr><td colspan=\"2\">";
        
        // top
        if(isset($calls["top_function"])) {
@@ -71,7 +71,7 @@ function www_basePage($calls)
                www_contentpane();
        }
        
-       echo "</td></tr><tr><td>";
+       echo "</td></tr><tr colspan=\"2\"><td>";
        
        // footer
        if(isset($calls["footer_function"])) {
@@ -95,7 +95,9 @@ function www_basePage($calls)
 
 function www_header()
 {
-       echo "<html><head></head><body>";
+       echo "<html><head>";
+       echo "<link rel=\"stylesheet\" href=\"".urlCreate("/css/content.css")."\" type=\"text/css\" media=\"screen, projection\" /> ";
+       echo "</head><body>";
 }
 
 function www_top()
@@ -115,7 +117,7 @@ function www_top()
        
        echo "</tr></table>";
        if(function_exists("msg_haveMessages")) if(msg_haveMessages()) {
-               echo "<table bgcolor=\"#ddddff\">";
+               echo "<table bgcolor=\"#eeeeff\">";
                $msgs = msg_getMessages();
                
                foreach($msgs as $msg) {