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

Mark Wu markplace at gmail.com
Mon Jun 19 02:12:35 GMT 2006


Sure ... :) 

> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net 
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of 
> Oscar Renalias
> Sent: Monday, June 19, 2006 1:56 AM
> To: plog-svn at devel.lifetype.net
> Subject: Re: [pLog-svn] r3611 - plog/trunk/templates/admin
> 
> I personally like it more :-)
> 
> If we all like this one more, remember to change the name of 
> the anchor from "massiveOption" to something like "bulkEdit", 
> or similar.  
> I just don't think "massiveOption" means what you think it means :-))
> 
> On 18 Jun 2006, at 20:49, Mark Wu wrote:
> 
> > Hi Oscar:
> >
> > Can you try this? Is it looks better? I use the html anchor to 
> > positioning the  massive option block.
> >
> > Mark
> >
> >> -----Original Message-----
> >> From: plog-svn-bounces at devel.lifetype.net
> >> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of 
> >> mark at devel.lifetype.net
> >> Sent: Monday, June 19, 2006 1:16 AM
> >> To: plog-svn at devel.lifetype.net
> >> Subject: [pLog-svn] r3611 - plog/trunk/templates/admin
> >>
> >> Author: mark
> >> Date: 2006-06-18 17:16:17 +0000 (Sun, 18 Jun 2006) New 
> Revision: 3611
> >>
> >> Modified:
> >>    plog/trunk/templates/admin/editposts.template
> >> Log:
> >> Experiment of scroll to massive option.
> >>
> >> Modified: plog/trunk/templates/admin/editposts.template
> >> ===================================================================
> >> --- plog/trunk/templates/admin/editposts.template	
> >> 2006-06-18 15:15:43 UTC (rev 3610)
> >> +++ plog/trunk/templates/admin/editposts.template	
> >> 2006-06-18 17:16:17 UTC (rev 3611)
> >> @@ -75,30 +75,8 @@
> >>
> >>          <form id="postsList" action="admin.php" method="post">
> >>          <div class="optionIcon">
> >> -			<a id="optionIconLink" href="#"
> >> title="{$locale->tr("show_massive_change_option")}"
> >> onclick="switchMassiveOption()">{$locale->tr("show_massive_cha
> >> nge_option")}</a>
> >> +			<a id="optionIconLink" href="#massiveOption"
> >> +title="{$locale->tr("show_massive_change_option")}"
> >> +onclick="switchMassiveOption()">{$locale->tr("show_massive_ch
> >> ange_optio
> >> +n")}</a>
> >>  		</div>
> >> -		<div id="list_action_bar">
> >> -            <div id="massiveChangeOption" style="display:
> >> none; text-align: left;">
> >> -                <fieldset>
> >> -
> >> <legend>{$locale->tr("massive_change_option")}</legend>
> >> -		            <label
> >> for="postStatus">{$locale->tr("status")}</label>
> >> -		            <select name="postStatus" id="postStatus">
> >> -		              <option
> >> value="-1">-{$locale->tr("select")}-</option>
> >> -		              {foreach
> >> from=$poststatusWithoutAll key=name item=status}
> >> -		                <option
> >> value="{$status}">{$locale->tr($name)}</option>
> >> -		              {/foreach}
> >> -		            </select>
> >> -		            <input type="button"
> >> name="changePostsStatus"
> >> value="{$locale->tr("change_status")}" class="submit"
> >> onClick="javascript:submitPostsList('changePostsStatus');" />
> >> -		            <label
> >> for="postCategories[]">{$locale->tr("categories")}</label>
> >> -		            <select name="postCategories[]"
> >> id="postCategories" size="5" multiple="multiple">
> >> -		              {foreach name=categories
> >> from=$categories item=category}
> >> -		                <option
> >> value="{$category->getId()}" {if
> >> $smarty.foreach.categories.first} selected="selected"
> >> {/if}>{$category->getName()}</option>
> >> -		              {/foreach}
> >> -		            </select>
> >> -		            <input type="button"
> >> name="changePostsCategory"
> >> value="{$locale->tr("change_category")}" class="submit"
> >> onClick="javascript:submitPostsList('changePostsCategory');" />
> >> -		        </fieldset>
> >> -			</div>
> >> -		</div>
> >>          <div id="list">
> >>    {include file="$admintemplatepath/successmessage.template"}
> >>    {include file="$admintemplatepath/errormessage.template"}
> >> @@ -186,10 +164,31 @@
> >>                  </tbody>
> >>              </table>
> >>          </div>
> >> +        <a name="massiveOption"></a>
> >>          <div id="list_action_bar">
> >>              {include
> >> file="$admintemplatepath/adminpager.template" style=list}
> >>              <input type="button" name="delete"
> >> value="{$locale->tr("delete")}" class="submit"
> >> onClick="javascript:submitPostsList('deletePosts');" />
> >>              <input type="hidden" name="op" value="" />
> >> +            <div id="massiveChangeOption" style="display:
> >> none; text-align: left;">
> >> +                <fieldset>
> >> +
> >> <legend>{$locale->tr("massive_change_option")}</legend>
> >> +		            <label
> >> for="postStatus">{$locale->tr("status")}</label>
> >> +		            <select name="postStatus" id="postStatus">
> >> +		              <option
> >> value="-1">-{$locale->tr("select")}-</option>
> >> +		              {foreach
> >> from=$poststatusWithoutAll key=name item=status}
> >> +		                <option
> >> value="{$status}">{$locale->tr($name)}</option>
> >> +		              {/foreach}
> >> +		            </select>
> >> +		            <input type="button"
> >> name="changePostsStatus"
> >> value="{$locale->tr("change_status")}" class="submit"
> >> onClick="javascript:submitPostsList('changePostsStatus');" />
> >> +		            <label
> >> for="postCategories[]">{$locale->tr("categories")}</label>
> >> +		            <select name="postCategories[]"
> >> id="postCategories" size="5" multiple="multiple">
> >> +		              {foreach name=categories
> >> from=$categories item=category}
> >> +		                <option
> >> value="{$category->getId()}" {if
> >> $smarty.foreach.categories.first} selected="selected"
> >> {/if}>{$category->getName()}</option>
> >> +		              {/foreach}
> >> +		            </select>
> >> +		            <input type="button"
> >> name="changePostsCategory"
> >> value="{$locale->tr("change_category")}" class="submit"
> >> onClick="javascript:submitPostsList('changePostsCategory');" />
> >> +		        </fieldset>
> >> +			</div>
> >>          </div>
> >>
> >>          </form>
> >>
> >> _______________________________________________
> >> pLog-svn mailing list
> >> pLog-svn at devel.lifetype.net
> >> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://devel.lifetype.net/mailman/listinfo/plog-svn
> >
> 
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list