Author: jfthomps Date: Wed Feb 3 17:35:25 2010 New Revision: 906146 URL: http://svn.apache.org/viewvc?rev=906146&view=rev Log: VCL-98
changed adding doxygen.css for $mode == viewdocs to a more general function that was added to utils.php - getExtraCSS to allow more flexibility for different modes being able to add in additional css files moved class=default from content section to be on the body tag Modified: incubator/vcl/trunk/web/themes/default/page.php Modified: incubator/vcl/trunk/web/themes/default/page.php URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/web/themes/default/page.php?rev=906146&r1=906145&r2=906146&view=diff ============================================================================== --- incubator/vcl/trunk/web/themes/default/page.php (original) +++ incubator/vcl/trunk/web/themes/default/page.php Wed Feb 3 17:35:25 2010 @@ -35,8 +35,6 @@ $rt .= "<title>VCL :: Virtual Computing Lab</title>\n"; $rt .= "<link rel=stylesheet type=\"text/css\" href=\"css/vcl.css\">\n"; $rt .= "<link rel=stylesheet type=\"text/css\" href=\"themes/default/css/vcl.css\">\n"; - if($mode == 'viewdocs') - $rt .= "<link rel=stylesheet type=\"text/css\" href=\"css/doxygen.css\" />\n"; $rt .= "<script src=\"js/code.js\" type=\"text/javascript\"></script>\n"; $rt .= "<script type=\"text/javascript\">\n"; $rt .= "var cookiedomain = '" . COOKIEDOMAIN . "';\n"; @@ -44,8 +42,11 @@ $rt .= getDojoHTML($refresh); if($refresh) $rt .= "<noscript><META HTTP-EQUIV=REFRESH CONTENT=20></noscript>\n"; + $extracss = getExtraCSS(); + foreach($extracss as $file) + $rt .= "<link rel=stylesheet type=\"text/css\" href=\"css/$file\">\n"; $rt .= "</head>\n\n"; - $rt .= "<body>\n\n"; + $rt .= "<body class=default>\n\n"; $rt .= "<a class=hidden href=\"#content\" accesskey=2>Skip to content</a>\n"; $rt .= "<table border=0 cellpadding=0 cellspacing=0 summary=\"\">\n"; $rt .= " <TR>\n"; @@ -83,7 +84,7 @@ $rt .= "</div>\n"; $rt .= " </TD>\n"; $rt .= " <TD width=\"100%\" style=\"align: left; background: #ffffff;\">\n"; - $rt .= "<div id=content class=default>\n"; + $rt .= "<div id=content>\n"; return $rt; }