For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > February 2007 > cvs: phpweb / index.php /styles site.css









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpweb / index.php /styles site.css
Steph Fox

2007-02-20, 3:59 am

sfox Tue Feb 20 05:46:29 2007 UTC

Modified files:
/phpweb index.php
/phpweb/styles site.css
Log:
Let's try to get the colours right, eh?

http://cvs.php.net/viewvc.cgi/phpwe...0&diff_format=u
Index: phpweb/index.php
diff -u phpweb/index.php:1.869 phpweb/index.php:1.870
--- phpweb/index.php:1.869 Mon Feb 19 19:28:07 2007
+++ phpweb/index.php Tue Feb 20 05:46:29 2007
@@ -192,23 +192,26 @@
site_header("Hypertext Preprocessor", array('onload' => 'boldEvents();', 'headtags' => '<link rel="alternate" type="application/rss+xml" title="PHP: Hypertext Preprocessor" href="' . $MYSITE . 'news.rss" />'));

if (is_array($CONF_TEASER) && count($CONF_TEASER)) {
- $categories = array("conference" => "Conferences", "cfp" => "CfP");
+ $categories = array("conference" => "Conferences", "cfp" => "Calling for papers");
echo ' <div id="confTeaser">' . "\n";
+ echo " <table>\n";
foreach($CONF_TEASER as $k => $a) {
- echo ' <p>'.$categories[$k].':</p> <ul class="' .$k. '">' . "\n";
+ echo " <tr>\n <td valign='top'".$categories[$k].":</td>\n";
+ echo " <td valign='top'>\n";
+ echo ' <ul class="' .$k. '">' . "\n";
$count = 0;
+ $a = preg_replace("'([A-Za-z0-9])([\s\:\-\,]*?)call for(.*?)$'i", "$1", $a);
foreach($a as $url => $title) {
if ($count++ >= 4) {
break;
}
- echo ' <li><a href="' . $url. '">' . $title. '</a></li>' . "\n";
+ echo ' <li><a href="' . $url. '">' . $title. '</a></li>' . "\n";
}
- echo " </ul><br />\n";
+ echo " </ul>\n </td>\n </tr>\n";
}
- echo " </div><hr />\n";
+ echo " </table>\n </div>\n\n<br />\n";
}

-
// DO NOT REMOVE THIS COMMENT (the RSS parser is dependant on it)
?>

http://cvs.php.net/viewvc.cgi/phpwe...6&diff_format=u
Index: phpweb/styles/site.css
diff -u phpweb/styles/site.css:1.45 phpweb/styles/site.css:1.46
--- phpweb/styles/site.css:1.45 Mon Feb 19 23:51:48 2007
+++ phpweb/styles/site.css Tue Feb 20 05:46:29 2007
@@ -53,26 +53,28 @@

/* {{{ The "latest releases" box on the top right */
#releaseBox, #candidateBox {
- border : 1px dotted #000;
+ border : 1px dotted #999;
margin : 0 0 5px 0;
padding: 2px;
}
#releaseBox h4, #candidateBox h4 {
border: 1px solid #000;
- border-width: 0px 0px 1px 0px;
+ border-width: 0px 1px 1px 0px;
background-color: #d3d3d3;
margin : 0;
padding: 2px;
}
#releaseBox h4 {
- color: #080;
+/* color: #080; */
}
#candidateBox h4 {
- color: #C70;
+/* color: #C70; */
}
ol#releases, ol#candidates {
margin : 0;
- padding: 0;
+ padding: 0 1px 0 2px;
+ background-color: white;
+ border-bottom: 1px solid white;
}
ol#releases li, ol#candidates li{
list-style-type: none;
@@ -232,7 +234,7 @@

/* {{{ Latest conference announcements on the frontpage */
#confTeaser {
- border: 1px dotted #ddd;
+ border: 1px dotted #999;
padding: 10px 0;
margin: 0;
background-color: #eee;
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com