1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Tweaks and fleshing out some content.

This commit is contained in:
Jonathan.Wage 2007-09-11 22:00:52 +00:00
parent ca17b08ca1
commit 4c14fb62c2
9 changed files with 54 additions and 3 deletions

View File

@ -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 }

View File

@ -1,8 +1,10 @@
<?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>

View File

@ -1,9 +1,12 @@
<?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>

View File

@ -1,4 +1,7 @@
<?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>

View File

@ -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');
}
}

View File

@ -1,22 +1,50 @@
<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(); ?>

View File

@ -291,7 +291,7 @@ class manualActions extends sfActions
$this->renderer->setOptions(array(
'section' => $section,
'url_prefix' => 'manual/',
'url_prefix' => '?chapter=',
'title' => $title
));

View File

@ -1 +1 @@
<h1>Copyright Doctrine 2007</h1>
<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>

View File

@ -140,6 +140,12 @@ body
padding-top: 8px;
}
#wrapper #footer h1 a
{
text-decoration: underline;
color: white;
}
#right div
{
margin-bottom: 10px;