Commit 4c14fb62 authored by Jonathan.Wage's avatar Jonathan.Wage

Tweaks and fleshing out some content.

parent ca17b08c
......@@ -3,6 +3,10 @@ homepage:
url: /
param: { module: main, action: index }
trac_register:
url: /trac/register
param: { module: main, action: trac_register }
blog:
url: /blog
param: { module: blog, action: index }
......
<?php use_helper('Date'); ?>
<div id="latest_blog_posts">
<h3>Latest Blog Posts</h3>
<ul>
<?php foreach($latestBlogPosts AS $blogPost): ?>
<li><?php echo link_to($blogPost->getName(), '@blog_post?slug='.$blogPost->getSlug()); ?></li>
<li><?php echo link_to($blogPost->getName(), '@blog_post?slug='.$blogPost->getSlug()); ?> - <?php echo distance_of_time_in_words(strtotime($blogPost->getCreatedAt())); ?> ago.</li>
<?php endforeach; ?>
</ul>
</div>
\ No newline at end of file
<?php use_helper('Date'); ?>
<div class="content" id="blog">
<h1>Doctrine Blog</h2>
<?php foreach($latestBlogPosts AS $blogPost): ?>
<div class="blog_post">
<h2><?php echo link_to($blogPost->getName(), '@blog_post?slug='.$blogPost->getSlug()); ?></h2>
<h3>Posted <?php echo distance_of_time_in_words(strtotime($blogPost->getCreatedAt())); ?> ago.</h3>
<p><?php echo $blogPost->getBody(); ?></p>
</div>
......
<?php use_helper('Date'); ?>
<h1><?php echo $blogPost->getName(); ?></h1>
<h3>Posted <?php echo distance_of_time_in_words(strtotime($blogPost->getCreatedAt())); ?> ago.</h3>
<p><?php echo $blogPost->getBody(); ?></p>
......
......@@ -32,4 +32,9 @@ class mainActions extends sfActions
{
$this->redirect('http://phpdoctrine.net/trac');
}
public function executeTrac_register()
{
$this->redirect('http://phpdoctrine.net/trac/register');
}
}
<div class="content" id="about">
<h1>About Doctrine</h1>
<a name="what"></a>
<div id="what_is">
<h2>What is Doctrine?</h2>
<?php echo get_partial('main/about_paragraph'); ?>
</div>
<a name="who"></a>
<div id="who">
<h2>Who is behind Doctrine?</h2>
<p>Here is a list of the people mainly responsible for Doctrine. Many other people not on this list contribute, they can be found
<?php echo link_to('here', 'http://phpdoctrine.net/trac/wiki/developers'); ?>.</p>
<ul>
<li><strong>Konsta Vesterinen(zYne-)</strong> - Konsta is the project founder and lead developer of Doctrine.</li>
<li><strong>Roman S. Borschel(romanb)</strong> - Assists in the development of Doctrine through suggestions and small code contributions.</li>
<li><strong>Ian P. Christian(pookey)</strong> - Hosts trac and SVN. Helps with testing and occasionally writes a line of code.</li>
<li><strong>Janne Vanhala(jepso)</strong> - The lead developer of the official Doctrine subproject Sensei. Creator of the documentation tool Doctrine uses.</li>
<li><strong><?php echo mail_to('jonwage@gmail.com', 'Jonathan H. Wage'); ?></strong>(jwage) - Website, Documentation, Packaging Releases, Bug Fixes, etc</li>
</ul>
</div>
<a name="involved"></a>
<div id="get_involved">
<h2>Want to get involved?</h2>
You can contribute to the Doctrine development in many different ways. First start by <?php echo link_to('registering for trac', '@trac_register'); ?>
access. Once you done that you can begin submitting tickets for issues/bugs you discover while working with Doctrine. If you wish to contribute directly to the code,
you must request svn commit access in IRC from either pookey or <?php echo mail_to('jonwage@gmail.com', 'jwage'); ?>.
</div>
</div>
<?php slot('right'); ?>
<h3>Quickjump</h3>
<ul>
<li><?php echo link_to('What?', '@about#what'); ?></li>
<li><?php echo link_to('Who?', '@about#who'); ?></li>
<li><?php echo link_to('Get Involved!', '@about#involved'); ?></li>
</ul>
<br/>
<h3>Key Features</h3>
<?php echo get_partial('main/key_features_list'); ?>
<?php end_slot(); ?>
\ No newline at end of file
......@@ -291,7 +291,7 @@ class manualActions extends sfActions
$this->renderer->setOptions(array(
'section' => $section,
'url_prefix' => 'manual/',
'url_prefix' => '?chapter=',
'title' => $title
));
......
<h1>Copyright Doctrine 2007</h1>
\ No newline at end of file
<h1>Copyright Doctrine 2006-2007 - Powered by <?php echo link_to('symfony', 'http://www.symfony-project.com', 'target=_BLANK'); ?> and sponsored by <?php echo link_to('CentreSource', 'http://www.centresource.com', 'target=_BLANK'); ?></h1>
\ No newline at end of file
......@@ -140,6 +140,12 @@ body
padding-top: 8px;
}
#wrapper #footer h1 a
{
text-decoration: underline;
color: white;
}
#right div
{
margin-bottom: 10px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment