From: Gabriel Dunne Date: Wed, 7 Jul 2010 02:58:20 +0000 (-0700) Subject: updated templates, working on entries.html.tpl X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=4f3bc897b3c6d772c262e45a9032bd25392a5138;p=plog_bk.git updated templates, working on entries.html.tpl --- diff --git a/lib/data.php b/lib/data.php index bd8d3d3..629f488 100644 --- a/lib/data.php +++ b/lib/data.php @@ -44,7 +44,7 @@ function get_data( $sources = array(), $params = array()) continue; $config['url'] = WEB_ROOT . DIRECTORY_SEPARATOR . $dir . DIRECTORY_SEPARATOR . basename($f); - $config['timestamp'] = $config['date'] ? mktime($config['date']) : mktime(filemtime($f)); + $config['timestamp'] = $config['date'] ? date('U', strtotime($config['date'])) : date('U', strtotime(filemtime($f))); $config['category'] = $dir; $config['content'] = $content; $config['tags'] = explode(' ', $config['tags']); diff --git a/templates/about.html.tpl b/templates/about.html.tpl index 341913c..c212426 100644 --- a/templates/about.html.tpl +++ b/templates/about.html.tpl @@ -18,12 +18,12 @@

- quilime is a codification of exploration, resources, and creativity. + ‘quilime’ is a codification of exploration, resources, and creativity.

- author: gabriel dunne (email, www) + author: gabriel dunne (email, www)
- elsewhere: + elsewhere: flickr, delicious, vimeo, diff --git a/templates/entries.html.tpl b/templates/entries.html.tpl new file mode 100644 index 0000000..02ebf5f --- /dev/null +++ b/templates/entries.html.tpl @@ -0,0 +1,103 @@ + + + + + include_template('head-inc.html.tpl') ?> + + + <?=SITE_TITLE; ?> + <? if ($single): ?> + - log: <?= $data['title']; ?> + [<?=date("Y M d", strtotime($data['date']));?>] + <? else: ?> + - log + <? endif; ?> + + + + + + + include_template('nav.html'); ?> + +

+ + + + include_template('entry.html.tpl', array('entry' => $item)); ?> + +

+ + + [] +

+ +
+ +
+ + + + + + + + + + + + + +
+ + +
+ + + + + +
+ +
+
+ +
+ + view inline + + + + + + + + + +
+ view archive + + + + +
+ + + + \ No newline at end of file diff --git a/templates/nav.html b/templates/nav.html index 3bb026a..aa86c46 100644 --- a/templates/nav.html +++ b/templates/nav.html @@ -1,10 +1,13 @@