[pLog-svn] r3976 - plog/branches/lifetype-1.1.1/templates/admin

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sat Sep 16 16:34:02 GMT 2006


Author: oscar
Date: 2006-09-16 16:34:01 +0000 (Sat, 16 Sep 2006)
New Revision: 3976

Modified:
   plog/branches/lifetype-1.1.1/templates/admin/editpost.template
Log:
Fixed the global category drop-down list in editpost.template, thanks Elena.

Modified: plog/branches/lifetype-1.1.1/templates/admin/editpost.template
===================================================================
--- plog/branches/lifetype-1.1.1/templates/admin/editpost.template	2006-09-16 16:12:43 UTC (rev 3975)
+++ plog/branches/lifetype-1.1.1/templates/admin/editpost.template	2006-09-16 16:34:01 UTC (rev 3976)
@@ -123,7 +123,7 @@
 		 <span class="required">*</span>
 		 <div class="formHelp">{$locale->tr("global_article_category_help")}</div>
 	    <select name="globalArticleCategoryId" id="globalArticleCategoryId" size="1" style="width:100%">
-	       <option value="0">{$locale->tr("none")}</option>
+	       <option value="0" {if 0 == $globalArticleCategoryId} selected="selected" {/if}>{$locale->tr("none")}</option>
            {foreach from=$globalcategories item=globalcategory}
            <option value="{$globalcategory->getId()}" {if $globalcategory->getId() == $globalArticleCategoryId} selected="selected" {/if}>{$globalcategory->getName()}</option>
            {/foreach}



More information about the pLog-svn mailing list