[pLog-svn] r5606 - plog/branches/lifetype-1.2/templates/admin
Mark Wu
markplace at gmail.com
Tue Jul 3 01:42:06 EDT 2007
Hee hee, I think the code works in editPost.templates, but not tfor
newPost.template. ^_^
I just know this bug because user report it in Chinese forum.
Mark
-----Original Message-----
From: plog-svn-bounces at devel.lifetype.net
[mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
Sent: Tuesday, July 03, 2007 1:38 PM
To: LifeType Developer List
Subject: Re: [pLog-svn] r5606 - plog/branches/lifetype-1.2/templates/admin
That's funny - I think this has been working. Maybe my wife changes
it every time - I'd have thought she would have told me, that would be
annoying.
On Mon, 2 Jul 2007, mark at devel.lifetype.net wrote:
> Author: mark
> Date: 2007-07-02 23:57:02 -0400 (Mon, 02 Jul 2007) New Revision: 5606
>
> Modified:
> plog/branches/lifetype-1.2/templates/admin/newpost.template
> Log:
> $postUser does not exist in newpost.template, we should use $user to
replace $postUser to get the postUser combobox pre-select correctly.
>
> Modified: plog/branches/lifetype-1.2/templates/admin/newpost.template
> ===================================================================
> --- plog/branches/lifetype-1.2/templates/admin/newpost.template
2007-07-02 19:19:57 UTC (rev 5605)
> +++ plog/branches/lifetype-1.2/templates/admin/newpost.template
2007-07-03 03:57:02 UTC (rev 5606)
> @@ -145,7 +145,7 @@
> <div class="formHelp">{$locale->tr("posted_by_help")}</div>
> <select name="postUser" id="postUser">
> {foreach from=$blog->getUsersInfo() item=bloguser}
> - <option value="{$bloguser->getId()}" {if
$postUser==$bloguser->getId()}selected="selected"{/if}>{$bloguser->getUserNa
me()}</option>
> + <option value="{$bloguser->getId()}" {if
> +$user==$bloguser->getId()}selected="selected"{/if}>{$bloguser->getUse
> +rName()}</option>
> {/foreach}
> </select>
> </div>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
--
Jon Daley
http://jon.limedaley.com/
Our most basic problem is not that we want too much. On the contrary, it is
that we are content with too little.
-- Randy Alcorn, 50 Days of Heaven
_______________________________________________
pLog-svn mailing list
pLog-svn at devel.lifetype.net
http://limedaley.com/mailman/listinfo/plog-svn
More information about the pLog-svn
mailing list