[pLog-svn] r3720 - plog/trunk/templates/summary

mark at devel.lifetype.net mark at devel.lifetype.net
Tue Jul 11 23:29:30 GMT 2006


Author: mark
Date: 2006-07-11 23:29:29 +0000 (Tue, 11 Jul 2006)
New Revision: 3720

Modified:
   plog/trunk/templates/summary/blogslist.template
Log:
Change the file from utf-8 to ascii.

Modified: plog/trunk/templates/summary/blogslist.template
===================================================================
--- plog/trunk/templates/summary/blogslist.template	2006-07-10 19:36:23 UTC (rev 3719)
+++ plog/trunk/templates/summary/blogslist.template	2006-07-11 23:29:29 UTC (rev 3720)
@@ -1,67 +1,67 @@
-{include file="summary/header.template" section=$locale->tr("blogs")}
-<div id="onecolumn">
-    <div id="intro">
-	<h4>{$locale->tr("blog_categories")}</h4>
-	<span class="tag">
-	{if $blogCategoryId != 0}
-	<a href="?op=BlogList&amp;globalArticleCategoryId=0">{$locale->tr("all")}</a>
-	{else}
-	{$locale->tr("all")}	
-	{/if}
-	</span>	
-	{foreach from=$blogCategories item=blogCategory}
-		{math assign=fontSize equation="(int)((x-y)/step)+12" x=$blogCategory->getNumActiveBlogs() y=$min step=$step}
-		<span class="tag">
-		{if $blogCategory->getId() != $blogCategoryId}
-		<a style="font-size: {$fontSize}px" href="?op=BlogList&amp;blogCategoryId={$blogCategory->getId()}">{$blogCategory->getName()}</a>
-		{else}
-		<span style="font-size: {$fontSize}px">{$blogCategory->getName()}</span>
-		{/if}		
-		</span>
-	{/foreach}
-    </div>
-    {if empty($currentBlogCategory)}
-      <h4>{$locale->tr("all")}
-		{if $blogs}
-		  <a href="{$url->getRssUrl()}?summary=1&amp;type=blogslist">
-			<img src="{$url->getUrl("/imgs/rss_logo_small.gif")}" alt="RSS" />
-		  </a>
-		{/if}
-      </h4>
-    {else}
-      <h4>{$currentBlogCategory->getName()} ({$currentBlogCategory->getNumBlogs()})
-		{if $blogs}
-	      <a href="{$url->getRssUrl()}?summary=1&amp;type=blogslist&amp;blogCategoryId={$currentBlogCategory->getId()}">
-		    <img src="{$url->getUrl("/imgs/rss_logo_small.gif")}" alt="RSS" />
-		  </a>
-		{/if}
-      </h4>
-    {/if}
-    {foreach from=$blogs item=blog}
-        {assign var="updateDate" value=$blog->getUpdateDateObject()}
-        {assign var="owner" value=$blog->getOwnerInfo()}
-		{assign var="url" value=$blog->getBlogRequestGenerator()}
-		{assign var=category value=$blog->getBlogCategory()}
-
-        <h3>
-		 <a href="{$url->blogLink()}">{$blog->getBlog()|strip_tags}</a>
-		 <a href="?op=BlogProfile&amp;blogId={$blog->getId()}"> ? </a>
-		</h3>
-        <div class="subtitle">
-		    {if $category}{$locale->tr("category")}: {$category->getName()}{/if}<br/>
-            {$locale->tr("updated")} {$locale->formatDate($updateDate,"%e %B %Y")}
-        </div>
-        <p>
-            {$blog->getAbout()|strip_tags}
-        </p>
-        <div class="bloginfo">
-            {$locale->tr("users")} 
-			{assign var=blogUsers value=$blog->getUsersInfo()}
-			<a href="?op=UserProfile&amp;userId={$owner->getId()}">{$owner->getUsername()|strip_tags}</a>{foreach from=$blogUsers item=blogUser name=blogUsersLoop}{if $owner->getId() != $blogUser->getId()}, <a href="?op=UserProfile&amp;userId={$blogUser->getId()}">{$blogUser->getUsername()|strip_tags}</a>{/if}{/foreach}
-        </div>
-    {/foreach}
-	<div class="pager">
-	  {include file="summary/pager.template" style=list}
-	</div>  
-</div>
-{include file="summary/footer.template"}
+{include file="summary/header.template" section=$locale->tr("blogs")}
+<div id="onecolumn">
+    <div id="intro">
+	<h4>{$locale->tr("blog_categories")}</h4>
+	<span class="tag">
+	{if $blogCategoryId != 0}
+	<a href="?op=BlogList&amp;globalArticleCategoryId=0">{$locale->tr("all")}</a>
+	{else}
+	{$locale->tr("all")}	
+	{/if}
+	</span>	
+	{foreach from=$blogCategories item=blogCategory}
+		{math assign=fontSize equation="(int)((x-y)/step)+12" x=$blogCategory->getNumActiveBlogs() y=$min step=$step}
+		<span class="tag">
+		{if $blogCategory->getId() != $blogCategoryId}
+		<a style="font-size: {$fontSize}px" href="?op=BlogList&amp;blogCategoryId={$blogCategory->getId()}">{$blogCategory->getName()}</a>
+		{else}
+		<span style="font-size: {$fontSize}px">{$blogCategory->getName()}</span>
+		{/if}		
+		</span>
+	{/foreach}
+    </div>
+    {if empty($currentBlogCategory)}
+      <h4>{$locale->tr("all")}
+		{if $blogs}
+		  <a href="{$url->getRssUrl()}?summary=1&amp;type=blogslist">
+			<img src="{$url->getUrl("/imgs/rss_logo_small.gif")}" alt="RSS" />
+		  </a>
+		{/if}
+      </h4>
+    {else}
+      <h4>{$currentBlogCategory->getName()} ({$currentBlogCategory->getNumBlogs()})
+		{if $blogs}
+	      <a href="{$url->getRssUrl()}?summary=1&amp;type=blogslist&amp;blogCategoryId={$currentBlogCategory->getId()}">
+		    <img src="{$url->getUrl("/imgs/rss_logo_small.gif")}" alt="RSS" />
+		  </a>
+		{/if}
+      </h4>
+    {/if}
+    {foreach from=$blogs item=blog}
+        {assign var="updateDate" value=$blog->getUpdateDateObject()}
+        {assign var="owner" value=$blog->getOwnerInfo()}
+		{assign var="url" value=$blog->getBlogRequestGenerator()}
+		{assign var=category value=$blog->getBlogCategory()}
+
+        <h3>
+		 <a href="{$url->blogLink()}">{$blog->getBlog()|strip_tags}</a>
+		 <a href="?op=BlogProfile&amp;blogId={$blog->getId()}"> ? </a>
+		</h3>
+        <div class="subtitle">
+		    {if $category}{$locale->tr("category")}: {$category->getName()}{/if}<br/>
+            {$locale->tr("updated")} {$locale->formatDate($updateDate,"%e %B %Y")}
+        </div>
+        <p>
+            {$blog->getAbout()|strip_tags}
+        </p>
+        <div class="bloginfo">
+            {$locale->tr("users")} 
+			{assign var=blogUsers value=$blog->getUsersInfo()}
+			<a href="?op=UserProfile&amp;userId={$owner->getId()}">{$owner->getUsername()|strip_tags}</a>{foreach from=$blogUsers item=blogUser name=blogUsersLoop}{if $owner->getId() != $blogUser->getId()}, <a href="?op=UserProfile&amp;userId={$blogUser->getId()}">{$blogUser->getUsername()|strip_tags}</a>{/if}{/foreach}
+        </div>
+    {/foreach}
+	<div class="pager">
+	  {include file="summary/pager.template" style=list}
+	</div>  
+</div>
+{include file="summary/footer.template"}



More information about the pLog-svn mailing list