[pLog-svn] r5059 - plog/branches/lifetype-1.2/templates/LifeType

oscar at devel.lifetype.net oscar at devel.lifetype.net
Mon Mar 12 08:30:56 EDT 2007


Author: oscar
Date: 2007-03-12 08:30:56 -0400 (Mon, 12 Mar 2007)
New Revision: 5059

Modified:
   plog/branches/lifetype-1.2/templates/LifeType/panel.template
   plog/branches/lifetype-1.2/templates/LifeType/post.template
Log:
moved the location of the google ads in lifetype.net


Modified: plog/branches/lifetype-1.2/templates/LifeType/panel.template
===================================================================
--- plog/branches/lifetype-1.2/templates/LifeType/panel.template	2007-03-12 12:01:40 UTC (rev 5058)
+++ plog/branches/lifetype-1.2/templates/LifeType/panel.template	2007-03-12 12:30:56 UTC (rev 5059)
@@ -40,7 +40,7 @@
 	   	{/foreach}
    	    </ul>
 	</li>
-        <!-- ADS -->
+
 	<li><h2>{$locale->tr("archives")|capitalize}</h2>
             <ul>
 		{foreach from=$archives item=archivelink}

Modified: plog/branches/lifetype-1.2/templates/LifeType/post.template
===================================================================
--- plog/branches/lifetype-1.2/templates/LifeType/post.template	2007-03-12 12:01:40 UTC (rev 5058)
+++ plog/branches/lifetype-1.2/templates/LifeType/post.template	2007-03-12 12:30:56 UTC (rev 5059)
@@ -7,7 +7,11 @@
 <span class="postdate">{$locale->formatDate($postDate,"%j. %b. %Y")}</span>
 
 <div class="entry">
-{$post->getText()}
+{if $templatename=="postandcomments"}
+  {$post->getText("<br/><div style='margin-top:10px'><!-- ADS --></div>")}
+{else}
+  {$post->getText()}
+{/if}
 </div>
 <p class="postinfo">
 {foreach name=categories from=$post->getCategories() item=postcategory}
@@ -18,4 +22,4 @@
 
 </p>
 </div>
-</div>
\ No newline at end of file
+</div>



More information about the pLog-svn mailing list