[pLog-svn] r5704 - in plog/trunk: locale/admin styles templates/admin

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sat Jul 21 02:39:03 EDT 2007


Author: oscar
Date: 2007-07-21 02:39:03 -0400 (Sat, 21 Jul 2007)
New Revision: 5704

Modified:
   plog/trunk/locale/admin/locale_en_UK.php
   plog/trunk/styles/admin.css
   plog/trunk/templates/admin/customfields.template
   plog/trunk/templates/admin/editarticlecategories.template
   plog/trunk/templates/admin/editcomments.template
   plog/trunk/templates/admin/editlinkcategories.template
   plog/trunk/templates/admin/editlinks.template
   plog/trunk/templates/admin/editposts.template
   plog/trunk/templates/admin/resources.template
Log:
Moved the location of the "add xxx" links to the left side and increased their font size to make them stand out more. I've also renamed some "new xxx" to "add new xxx" per Elena's suggestion.


Modified: plog/trunk/locale/admin/locale_en_UK.php
===================================================================
--- plog/trunk/locale/admin/locale_en_UK.php	2007-07-20 22:30:31 UTC (rev 5703)
+++ plog/trunk/locale/admin/locale_en_UK.php	2007-07-21 06:39:03 UTC (rev 5704)
@@ -32,21 +32,16 @@
 $messages['managePosts'] = 'Manage Posts';
 $messages['editPosts'] = 'Posts';
 $messages['editArticleCategories'] = 'Categories';
-$messages['newArticleCategory'] = 'New Category';
 $messages['manageLinks'] = 'Manage Links';
 $messages['editLinks'] = 'Links';
-$messages['newLink'] = 'New Link';
 $messages['editLink'] = 'Edit Link';
 $messages['editLinkCategories'] = 'Link Categories';
-$messages['newLinkCategory'] = 'New Link Category';
+
 $messages['editLinkCategory'] = 'Edit Link Category';
 $messages['manageCustomFields'] = 'Manage Custom Fields';
 $messages['blogCustomFields'] = 'Custom Fields';
-$messages['newCustomField'] = 'New Custom Field';
+
 $messages['resourceCenter'] = 'Media';
-
-$messages['newResourceAlbum'] = 'New Album';
-$messages['newResource'] = 'New Resource';
 $messages['manageSettings'] = 'Settings';
 
 $messages['pluginCenter'] = 'Plugin Centre';
@@ -1271,4 +1266,11 @@
 $messages['showBlogUsers'] = 'Users';
 $messages['showBlogLocations'] = 'Locations';
 $messages['blogTemplates'] = 'Templates';
+$messages['newLink'] = 'Add New Link';
+$messages['newLinkCategory'] = 'Add New Link Category';
+$messages['newCustomField'] = 'Add New Custom Field';
+$messages['newArticleCategory'] = 'Add New Category';
+$messages['newResourceAlbum'] = 'Add New Album';
+$messages['newResource'] = 'Upload File';
+$messages['select_all'] = 'Select all';
 ?>
\ No newline at end of file

Modified: plog/trunk/styles/admin.css
===================================================================
--- plog/trunk/styles/admin.css	2007-07-20 22:30:31 UTC (rev 5703)
+++ plog/trunk/styles/admin.css	2007-07-21 06:39:03 UTC (rev 5704)
@@ -486,10 +486,53 @@
     float:left;
 }
 
+.extraFunctions .right
+{
+	text-align       : right;
+	float: right;
+}
+
+.extraFunctions {
+	padding-left:15px;
+	padding-right:15px;
+	font-size: 14px;	
+}
+
+.extraFunctions a
+{
+	text-decoration  : none; 
+	color            : #888888;
+	padding          : 2px;
+}
+
+.extraFunctions a:hover
+{
+	background-color : #888888;
+	color            : #FFFFFF;
+}
+
+.extraFunctions .left {
+	float:left;
+}
+
+.newButtonLink {
+	padding-left: 5px;
+	padding-right: 5px;
+	padding-top: 2px;
+	padding-bottom: 2px;
+	color            : #888888;	
+	background-color: #FFFFFF;
+	text-decoration  : none; 
+}
+
+/**
+ * This is the old style for the "show bulk edit options" block that
+ * was modified in 1.3. I'm leaving this here for compatibility reasons
+ */
 .optionIcon
 {
 	text-align       : right;
-	font-size        : 12px;
+	font-size        : 14px;
 }
 
 .optionIcon a
@@ -1008,6 +1051,8 @@
 #album a:visited {color: #b50394;}
 #album a:hover, #album a:active, #album a:focus {color: #004ca1;background:none;}
 
+
+
 .dialog
 {
     color            : #000000;

Modified: plog/trunk/templates/admin/customfields.template
===================================================================
--- plog/trunk/templates/admin/customfields.template	2007-07-20 22:30:31 UTC (rev 5703)
+++ plog/trunk/templates/admin/customfields.template	2007-07-21 06:39:03 UTC (rev 5704)
@@ -12,8 +12,11 @@
 {/literal}
 </script>
 
-<div class="optionIcon">		
+<div class="extraFunctions">
+ <div class="left">
   <a id="newCustomFieldButton" href="?op=newCustomField" rel="overlay">New Custom Field</a>
+ </div>
+ <br style="clear:both" />
 </div>
 
         <form id="customFields" action="admin.php" method="post">

Modified: plog/trunk/templates/admin/editarticlecategories.template
===================================================================
--- plog/trunk/templates/admin/editarticlecategories.template	2007-07-20 22:30:31 UTC (rev 5703)
+++ plog/trunk/templates/admin/editarticlecategories.template	2007-07-21 06:39:03 UTC (rev 5704)
@@ -35,9 +35,12 @@
  <br style="clear:both" />
  </div> 
 
-<div class="optionIcon">		
-  <a id="newArticleCategoryButton" href="?op=newArticleCategory" rel="overlay">New Article Category</a>
+<div class="extraFunctions">
+<div class="left">
+  <a id="newArticleCategoryButton" href="?op=newArticleCategory" rel="overlay">{$locale->tr("newArticleCategory")}</a>
 </div>
+<br style="clear:both" />
+</div>
 
  <form id="deleteCategories" action="admin.php" method="post">
  <div id="list">

Modified: plog/trunk/templates/admin/editcomments.template
===================================================================
--- plog/trunk/templates/admin/editcomments.template	2007-07-20 22:30:31 UTC (rev 5703)
+++ plog/trunk/templates/admin/editcomments.template	2007-07-21 06:39:03 UTC (rev 5704)
@@ -61,12 +61,16 @@
             <br style="clear:both;" />
         </div>
 		
-        <form id="postCommentsList" action="admin.php" method="post">
+		<div class="extraFunctions">		
 		{check_perms perm=update_comment}	
-        <div class="optionIcon">
+        <div class="right">
 			<a id="optionIconLink" href="#bulkEdit" title="{$locale->tr("show_massive_change_option")}" onclick="Lifetype.UI.Pages.Global.switchMassiveOption()">{$locale->tr("show_massive_change_option")}</a>
 		</div>
+		<br style="clear:both" />
+		</div>
 		{/check_perms}
+		
+        <form id="postCommentsList" action="admin.php" method="post">
         <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}

Modified: plog/trunk/templates/admin/editlinkcategories.template
===================================================================
--- plog/trunk/templates/admin/editlinkcategories.template	2007-07-20 22:30:31 UTC (rev 5703)
+++ plog/trunk/templates/admin/editlinkcategories.template	2007-07-21 06:39:03 UTC (rev 5704)
@@ -30,9 +30,12 @@
  </div>
  <br style="clear:both" />
  </div> 
-<div class="optionIcon">		
-  <a id="newLinkCategoryButton" href="?op=newLinkCategory" rel="overlay">New Link Category</a>
+<div class="extraFunctions">
+<div class="left">		
+  <a id="newLinkCategoryButton" href="?op=newLinkCategory" rel="overlay">{$locale->tr("newLinkCategory")}</a>
 </div>
+<br style="clear:both" />
+</div>
  <form id="linkCategories" action="admin.php" method="post">
  <div id="list"> 
   {include file="$admintemplatepath/successmessage.template"}

Modified: plog/trunk/templates/admin/editlinks.template
===================================================================
--- plog/trunk/templates/admin/editlinks.template	2007-07-20 22:30:31 UTC (rev 5703)
+++ plog/trunk/templates/admin/editlinks.template	2007-07-21 06:39:03 UTC (rev 5704)
@@ -12,6 +12,8 @@
 		var t = new Lifetype.UI.TableEffects( "list" );
 		t.stripe();
 		t.highlightRows();
+		
+		
 	});
 {/literal}
 </script>
@@ -48,13 +50,21 @@
  <br style="clear:both" />
  </div>
 
-<form id="links" action="admin.php" method="post">
+<div class="extraFunctions">
 {check_perms perm="update_link"}
- <div class="optionIcon">
-   <a id="newLinkButton" href="?op=newLink" rel="overlay">New Link</a> |
+<div class="left">	
+   <a id="newLinkButton" href="?op=newLink" rel="overlay">{$locale->tr("newLink")}</a>
+</div>
+{/check_perms}
+{check_perms perm="update_link"}
+ <div class="right">
    <a id="optionIconLink" href="#bulkEdit" title="{$locale->tr("show_massive_change_option")}"  onclick="Lifetype.UI.Pages.Global.switchMassiveOption()">{$locale->tr("show_massive_change_option")}</a>
  </div>
 {/check_perms}
+ <br style="clear:both" />
+</div>
+
+<form id="links" action="admin.php" method="post">
 <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
@@ -130,6 +140,5 @@
   </div>  
  </div>
 </form>
-
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
+{include file="$admintemplatepath/footer.template"}
\ No newline at end of file

Modified: plog/trunk/templates/admin/editposts.template
===================================================================
--- plog/trunk/templates/admin/editposts.template	2007-07-20 22:30:31 UTC (rev 5703)
+++ plog/trunk/templates/admin/editposts.template	2007-07-21 06:39:03 UTC (rev 5704)
@@ -102,12 +102,17 @@
             <br style="clear:both;" />
         </div>
 
-        <form id="postsList" action="admin.php" method="post">
+		<div class="extraFunctions">
 	    {check_perms perm=update_post}
-        <div class="optionIcon">
+        <div class="right">
 			<a id="optionIconLink" href="#bulkEdit" title="{$locale->tr("show_massive_change_option")}" onclick="Lifetype.UI.Pages.Global.switchMassiveOption()">{$locale->tr("show_massive_change_option")}</a>
 		</div>
 		{/check_perms}
+		 <br style="clear:both" />
+		</div>
+
+        <form id="postsList" action="admin.php" method="post">
+
         <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}

Modified: plog/trunk/templates/admin/resources.template
===================================================================
--- plog/trunk/templates/admin/resources.template	2007-07-20 22:30:31 UTC (rev 5703)
+++ plog/trunk/templates/admin/resources.template	2007-07-21 06:39:03 UTC (rev 5704)
@@ -1,5 +1,5 @@
 {include file="$admintemplatepath/header.template"}
-{include file="$admintemplatepath/navigation.template" showOpt=ResourcesGroup title=$locale->tr("resourceCenter")}
+{include file="$admintemplatepath/navigation.template" showOpt=resources title=$locale->tr("resources")}
 {js src="js/ui/pages/global.js"}
 {js src="js/ui/pages/resources.js"}
 {js src="js/ui/pages/newresourcealbum.js"}
@@ -61,13 +61,18 @@
  <br style="clear:both" />
  </div>
 
-<form id="Resources" method="post" action="admin.php">
-<div class="optionIcon">		
-  <a {if $album}href="?op=newResourceAlbum&parentId={$album->getId()}"{else}href="?op=newResourceAlbum"{/if} id="addAlbumButton" rel="overlay">Add Album</a> |	
-  <a {if $album}href="?op=newResource&albumId={$album->getId()}"{else}href="?op=newResource"{/if} id="addResourceButton" rel="overlay">Add Resource</a> |
+<div class="extraFunctions">		
+ <div class="left">
+  <a {if $album}href="?op=newResourceAlbum&parentId={$album->getId()}"{else}href="?op=newResourceAlbum"{/if} id="addAlbumButton" rel="overlay">{$locale->tr("newResourceAlbum")}</a> |
+  <a {if $album}href="?op=newResource&albumId={$album->getId()}"{else}href="?op=newResource"{/if} id="addResourceButton" rel="overlay">{$locale->tr("newResource")}</a>
+ </div>
+ <div class="right">
   <a href="#" id="selectAll" onClick="Lifetype.UI.Pages.Resources.selectAll('Resources')">{$locale->tr("select_all")}</a> |
   <a id="optionIconLink" href="#bulkEdit" title="{$locale->tr("show_massive_change_option")}" onclick="Lifetype.UI.Pages.Global.switchMassiveOption()">{$locale->tr("show_massive_change_option")}</a>
+ </div>
 </div>
+
+<form id="Resources" method="post" action="admin.php">
 <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}



More information about the pLog-svn mailing list