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

Mark Wu markplace at gmail.com
Mon Nov 19 00:00:20 EST 2007


Hi Oscar:

I know you want to simplified the menu bar ..

But, I just change the "logout" button to the original place in menu bar. It
looks more straight forward ....

If you think it is not a propreiate change, I can change it back.

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, November 19, 2007 12:54 PM
> To: plog-svn at devel.lifetype.net
> Subject: [pLog-svn] r6054 - plog/trunk/templates/admin
> 
> Author: mark
> Date: 2007-11-18 23:53:40 -0500 (Sun, 18 Nov 2007) New Revision: 6054
> 
> Modified:
>    plog/trunk/templates/admin/header.template
>    plog/trunk/templates/admin/menus.xml
> Log:
> Change the logout button back to the menu bar.
> 
> Modified: plog/trunk/templates/admin/header.template
> ===================================================================
> --- plog/trunk/templates/admin/header.template	
> 2007-11-19 04:40:53 UTC (rev 6053)
> +++ plog/trunk/templates/admin/header.template	
> 2007-11-19 04:53:40 UTC (rev 6054)
> @@ -7,7 +7,7 @@
>  <meta name="generator" content="{$version}" />  
> <title>LifeType Admin</title>  {assign 
> var=blogEnablePullDownMenu 
> value=$blogsettings->getValue("pull_down_menu_enabled")}
> -<link rel="stylesheet" type="text/css" 
> href="js/yui/container/assets/container.css" /> 
> +<link rel="stylesheet" type="text/css" 
> +href="js/yui/container/assets/container.css" />
>  {if $locale->getDirection()=="rtl"}
>  <link rel="stylesheet" href="styles/admin-rtl.css" 
> type="text/css" media="screen" />  {else} @@ -18,8 +18,8 @@  
> <link rel="stylesheet" href="styles/admin-ie.css" 
> type="text/css" media="screen" />  <![endif] -->
>  <!-- Yahoo UI Library -->
> -{js src="js/yui/yahoo/yahoo-min.js"}
> -{js src="js/yui/dom/dom-min.js"} 
> +{js src="js/yui/yahoo/yahoo-min.js"}
> +{js src="js/yui/dom/dom-min.js"}
>  {js src="js/yui/event/event-min.js"}
>  {js src="js/yui/connection/connection-min.js"}
>  {js src="js/yui/animation/animation-min.js"}
> @@ -77,7 +77,7 @@
>      </div>
>  
>     	<div style="text-align: right; padding-right: 5px;">
> -		<a 
> href="?op=userSettings">{$user->getUsername()}</a> (<a 
> href="?op=Logout">{$locale->tr("Logout")}</a>)
> +		<a href="?op=userSettings">{$user->getUsername()}</a>
>     		<select name="userBlog" id="userBlog" 
> onchange="Lifetype.UI.Menu.MM_jumpMenu('parent',this,0)">
>       	{foreach from=$userBlogs item=userBlog}
>       		<option 
> value="admin.php?op=blogSelect&amp;blogId={$userBlog->getId()}
> " {if $userBlog->getId() == 
> $blog->getId()}selected="selected"{/if}>{$userBlog->getBlog()}
> </option>
> 
> Modified: plog/trunk/templates/admin/menus.xml
> ===================================================================
> --- plog/trunk/templates/admin/menus.xml	2007-11-19 
> 04:40:53 UTC (rev 6053)
> +++ plog/trunk/templates/admin/menus.xml	2007-11-19 
> 04:53:40 UTC (rev 6054)
> @@ -1,12 +1,12 @@
> -<menu url="?op=Dashboard" localeId="dashboard"> 
> +<menu url="?op=Dashboard" localeId="dashboard">
>  	<Content url="?op=editPosts">
>  	    <managePosts ignoreBreadCrumbs="1" 
> orPerms="add_post,view_posts,add_category,view_categories,view
> _comments,view_trackbacks">
> -	       <newPost url="?op=newPost" andPerms="add_post" />	
> +	       <newPost url="?op=newPost" andPerms="add_post" />
>  	       <editPosts url="?op=editPosts" andPerms="view_posts" />
>  	       <editArticleCategories 
> url="?op=editArticleCategories" andPerms="view_categories" />
>  	       <editComments url="?op=editComments" 
> andPerms="view_comments" />
>  	       <editLinks url="?op=editLinks" andPerms="view_links" />
> -		   <editLinkCategories 
> url="?op=editLinkCategories" andPerms="view_link_categories" />	
> +		   <editLinkCategories url="?op=editLinkCategories" 
> +andPerms="view_link_categories" />
>  		   <blogCustomFields url="?op=blogCustomFields" 
> andPerms="view_custom_fields" />
>   		</managePosts>
>  	</Content>
> @@ -20,7 +20,7 @@
>  	  </manageFriends>
>  	</friendManagement>
>  	<controlCenter url="?op=controlCenter">
> -  		  <blogSettings url="?op=blogSettings" 
> andPerms="update_blog" />	
> +  		  <blogSettings url="?op=blogSettings" 
> andPerms="update_blog" />
>  		  <userSettings url="?op=userSettings" />
>  		  <Stats url="?op=Stats" andPerms="view_blog_stats" />
>  		  <showBlogUsers url="?op=showBlogUsers" 
> orPerms="add_blog_user,view_blog_users" /> @@ -32,11 +32,11 @@
>  			<editSiteUsers url="?op=editSiteUsers" 
> andPerms="view_users" admin="1"/>
>  			<permissionsList 
> url="?op=permissionsList" andPerms="view_permissions" admin="1" />
>  			<editSiteBlogs url="?op=editSiteBlogs" 
> admin="1" andPerms="view_site_blogs"/>
> -			<editBlogCategories 
> url="?op=editBlogCategories"  admin="1" 
> andPerms="view_blog_categories"/>			
> - 		    <editGlobalArticleCategories 
> url="?op=editGlobalArticleCategories" 
> andPerms="view_global_categories" />			
> +			<editBlogCategories 
> url="?op=editBlogCategories"  admin="1" 
> andPerms="view_blog_categories"/>
> + 		    <editGlobalArticleCategories 
> +url="?op=editGlobalArticleCategories" 
> andPerms="view_global_categories" 
> +/>
>  			<siteLocales url="?op=siteLocales" 
> admin="1" andPerms="view_locales"/>
> -			<siteTemplates url="?op=siteTemplates" 
> andPerms="view_templates"/>			
> -		</siteContent>		
> +			<siteTemplates url="?op=siteTemplates" 
> andPerms="view_templates"/>
> +		</siteContent>
>  		<GlobalSettings ignoreBreadCrumbs="1" 
> andPerms="view_global_settings"  admin="1">
>  			<editSiteSettings 
> url="?op=editSiteSettings&amp;show=general" 
> andPerms="view_global_settings"  admin="1"/>
>  			<summarySettings 
> url="?op=editSiteSettings&amp;show=summary" 
> andPerms="view_global_settings"  admin="1"/> @@ -50,15 +50,16 @@
>  			<bayesianSettings 
> url="?op=editSiteSettings&amp;show=bayesian" 
> andPerms="view_global_settings"  admin="1"/>
>  			<resourcesSettings 
> url="?op=editSiteSettings&amp;show=resources" 
> andPerms="view_global_settings"  admin="1"/>
>  			<searchSettings 
> url="?op=editSiteSettings&amp;show=search" 
> andPerms="view_global_settings"  admin="1"/>
> -			<locationSettings 
> url="?op=editSiteSettings&amp;show=location" 
> andPerms="view_global_settings"  admin="1"/>			
> +			<locationSettings 
> url="?op=editSiteSettings&amp;show=location" 
> +andPerms="view_global_settings"  admin="1"/>
>  		</GlobalSettings>
>  		<Plugins ignoreBreadCrumbs="1" admin="1" 
> orPerms="view_plugins,update_plugin_settings">
>  		  <pluginCenter url="?op=pluginCenter" 
> admin="1" andPerms="view_plugins"/>
> -		  <pluginSettings url="?op=pluginSettings" 
> admin="1" andPerms="update_plugin_settings"/>		
> +		  <pluginSettings url="?op=pluginSettings" admin="1" 
> +andPerms="update_plugin_settings"/>
>  		</Plugins>
>  		<Miscellaneous ignoreBreadCrums="1" admin="1" 
> orPerms="purge_data,view_global_settings">
>  			<cleanUp url="?op=cleanUp" admin="1" 
> andPerms="purge_data"/>
>  			<Versions url="?op=Versions" admin="1" 
> andPerms="view_global_settings" />
>  		</Miscellaneous>
>  	</adminSettings>
> +	<Logout url="?op=Logout" />
>  </menu>
> \ No newline at end of file
> 
> _______________________________________________
> 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