[pLog-svn] r1409 - templates/trunk/Boxed
jondaley at devel.plogworld.net
jondaley at devel.plogworld.net
Sat Mar 12 20:31:07 GMT 2005
Author: jondaley
Date: 2005-03-12 20:31:06 +0000 (Sat, 12 Mar 2005)
New Revision: 1409
Modified:
templates/trunk/Boxed/header.template
templates/trunk/Boxed/post.template
templates/trunk/Boxed/resource.template
Log:
resource template now includes header and footer. (apparently blogtemplate is not defined in the resource.template. fixed a smarty spacing issue. moved title below content-type
Modified: templates/trunk/Boxed/header.template
===================================================================
--- templates/trunk/Boxed/header.template 2005-03-12 19:58:28 UTC (rev 1408)
+++ templates/trunk/Boxed/header.template 2005-03-12 20:31:06 UTC (rev 1409)
@@ -2,10 +2,10 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>{$blog->getBlog()}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$locale->getCharset()}" />
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
-<style type="text/css" media="screen">@import "{$url->getTemplateFile("/style.css")}";</style>
+<style type="text/css" media="screen">@import "{$url->getTemplateFile("style.css")}";</style>
+<title>{$blog->getBlog()}</title>
</head>
<body>
Modified: templates/trunk/Boxed/post.template
===================================================================
--- templates/trunk/Boxed/post.template 2005-03-12 19:58:28 UTC (rev 1408)
+++ templates/trunk/Boxed/post.template 2005-03-12 20:31:06 UTC (rev 1409)
@@ -9,8 +9,7 @@
<a href="{$url->postUserLink($postOwner)}">{$postOwner->getUsername()}</a>
({foreach name=categories from=$post->getCategories() item=postCategory}
- <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>
- {if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach})
::
Modified: templates/trunk/Boxed/resource.template
===================================================================
--- templates/trunk/Boxed/resource.template 2005-03-12 19:58:28 UTC (rev 1408)
+++ templates/trunk/Boxed/resource.template 2005-03-12 20:31:06 UTC (rev 1409)
@@ -1,20 +1,6 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html>
-<head>
-
+{include file="Boxed/header.template}
<!-- This template has been designed by Martijn ten Napel, http://blogtemplates.noipo.org/ -->
-<title>{$blog->getBlog()}</title>
-<meta http-equiv="Content-Type" content="text/html; charset={$locale->getCharset()}" />
-<meta name="MSSmartTagsPreventParsing" content="TRUE" />
-<style type="text/css" media="screen">@import "{$url->getTemplateFile("/style.css")}";</style>
-</head>
-<body>
-<div id="content">
-<!-- start content -->
-<h1>{$blog->getBlog()}</h1>
{assign var=metadata value=$resource->getMetadataReader()}
{assign var=updated value=$resource->getTimestamp()}
<div id="container">
@@ -67,6 +53,5 @@
</p>
</div>
</div>
-</div>
-</body>
-</html>
+{include file="Boxed/footer.template}
+
More information about the pLog-svn
mailing list