[pLog-svn] r917 - plog/trunk/templates/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed Feb 2 07:46:52 GMT 2005


Author: oscar
Date: 2005-02-02 07:46:51 +0000 (Wed, 02 Feb 2005)
New Revision: 917

Modified:
   plog/trunk/templates/admin/editblog.template
Log:
the blog was always showing the template used by the current one instead of the template really used by the blog we were editing (issue 194 - http://bugs.plogworld.net/view.php?id=194)


Modified: plog/trunk/templates/admin/editblog.template
===================================================================
--- plog/trunk/templates/admin/editblog.template	2005-02-02 07:45:58 UTC (rev 916)
+++ plog/trunk/templates/admin/editblog.template	2005-02-02 07:46:51 UTC (rev 917)
@@ -61,7 +61,7 @@
      <label for="blogTemplate">{$locale->tr("template")}</label>
      <span class="required">*</span>
      <div class="formHelp">{$locale->tr("blog_template_help")}</div>
-    {assign var=blogTemplateSet value=$blog->getTemplateSet()}
+     {assign var=blogTemplateSet value=$editblog->getTemplateSet()}
      <select name="blogTemplate" id="blogTemplate">
        {foreach from=$templates item=template}
         <option value="{$template->getName()}"{if $template->getName() == $blogTemplateSet->getName()} selected="selected" {/if}>{$template->getName()}</option>




More information about the pLog-svn mailing list