Enlightenment CVS committal
Author : dj2
Project : web
Module : www
Dir : web/www/p/news
Modified Files:
class.news.php en-body en-title latestnews.php
Log Message:
- new structure and text for website
===================================================================
RCS file: /cvs/e/web/www/p/news/class.news.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- class.news.php 3 Aug 2007 21:17:54 -0000 1.4
+++ class.news.php 8 Nov 2007 06:47:44 -0000 1.5
@@ -129,7 +129,7 @@
}
private function _get_localtime($timestamp) {
- return strftime('%a %e %b %G %I:%M %p', $timestamp);
+ return strftime('%b %e, %G at %I:%M %p', $timestamp);
}
}
===================================================================
RCS file: /cvs/e/web/www/p/news/en-body,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- en-body 27 May 2007 12:54:51 -0000 1.4
+++ en-body 8 Nov 2007 06:47:44 -0000 1.5
@@ -1,4 +1,4 @@
-<h1>News</h1>
+<h1>Enlightenment News</h1>
<?php
require_once 'class.news.php';
@@ -12,17 +12,16 @@
if (($new = $news->read_content($new)) !== NULL)
{
echo "<div class='post'>\n";
- echo "<p class='news-date'>".$new['date']."</p>\n";
echo "<p class='news-title'><a
href='p.php?p=news/show&l=".$_GET['l']."&news_id=$new[id]'>".$new['title']."</a></p>";
echo "<p class='tiny'><a
href='mailto:".$new['email']."'>".$new['author']."</a> - ".$new['date']."</p>";
- echo "<p class='news-content'>".$new['content']."</p>\n";
+ echo "<div class='news-content'>".$new['content']."</div>\n";
echo "</div>\n";
}
}
if ($news->has_archives() == true)
{
- echo "<p align='right'>more in the <a
href='p.php?p=news/archives&l=".$_GET['l']."' title='Read
archives'>archive</a></p>";
+ echo "<p><a href='p.php?p=news/archives&l=".$_GET['l']."' title='Read
archives'>News archives</a></p>";
}
?>
===================================================================
RCS file: /cvs/e/web/www/p/news/en-title,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- en-title 24 Mar 2007 15:45:52 -0000 1.1
+++ en-title 8 Nov 2007 06:47:44 -0000 1.2
@@ -1 +1 @@
-News
+Enlightenment - News
===================================================================
RCS file: /cvs/e/web/www/p/news/latestnews.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- latestnews.php 31 May 2007 00:03:25 -0000 1.4
+++ latestnews.php 8 Nov 2007 06:47:44 -0000 1.5
@@ -9,13 +9,11 @@
{
if (($new = $news->read_content($new)) !== NULL)
{
- echo "<p><a
href='p.php?p=news/show&l=".$news->lang."&news_id=$new[id]'>".$new['title']."</a>
- <em>".$new['date']."</em></p>";
- echo "<p>".$new['content']."</p>\n";
+ echo "<p class='news-latest-title'><a
href='p.php?p=news/show&l=".$news->lang."&news_id=$new[id]'>".$new['title']."</a><br
/>";
+ echo "<em class='news-latest-date'>" . $new['date'] . "</em></p>";
+ echo "<p class='news-latest-body'>".$new['content']."</p>\n";
}
-
-
-
}
-echo "<p align='right'><a href='p.php?p=news&l=".$news->lang."'
title='News'>More news ... </a></p>";
+echo "<p align='right'><a href='p.php?p=news&l=".$news->lang."'
title='News'>more ... </a></p>";
?>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs