diff --git a/checkin_notes b/checkin_notes
index 08180c5ceb..49941ba14d 100755
--- a/checkin_notes
+++ b/checkin_notes
@@ -23,3 +23,21 @@ Charlie 2 Jan 2007
mac_build/
boinc.xcodeproj/
project.pbxproj
+
+Rytis 3 Jan 2007
+ - User web:
+ - Add optional 3rd element to project news file (title)
+ - Certificate now shows DEFINEd project name
+ - Front page now styled with CSS
+
+ html/
+ user/
+ cert.php
+ sample_index.php
+ sample_rss_main.php
+ white.css
+ inc/
+ news.inc
+ util.inc
+ project.sample/
+ project_news.inc
diff --git a/html/inc/news.inc b/html/inc/news.inc
index 167725f8e5..887bccb267 100644
--- a/html/inc/news.inc
+++ b/html/inc/news.inc
@@ -1,11 +1,9 @@
$date
-
- $text
-
- ";
+function news_item($date, $text, $title) {
+ echo '
'.$text.'
+ '; } function show_news($items, $n) { @@ -13,7 +11,7 @@ function show_news($items, $n) { $n = count($items); } for ($i=0; $i<$n; $i++) { - news_item($items[$i][0], $items[$i][1]); + news_item($items[$i][0], $items[$i][1], $items[$i][2]); } } diff --git a/html/inc/util.inc b/html/inc/util.inc index b55331aba9..5bc98074b9 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -107,15 +107,17 @@ function page_head($title, $java_onload=null, $title_plain=null, $prefix="") { header("Content-type: text/html; charset=".tr(CHARSET)); } +// echo ''; + if (!$title_plain) { echo "
-has participated in PROJECT_NAME since $join,
+has participated in ".PROJECT." since $join,
and has contributed $credit
-to PROJECT_NAME.
+to ".PROJECT.".
-';
+ ".PROJECT."+
|