]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Added a link to 'return to network' from admin area.
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 20 May 2010 11:35:19 +0000 (11:35 +0000)
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 20 May 2010 11:35:19 +0000 (11:35 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6106 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/canvas/layouts/administration.php

index 802b9070f8951fb2a21411ec6365cfc56d47f6fd..f4071c4a2b7d146b93cde673ef9ad675fb24920f 100644 (file)
@@ -43,6 +43,13 @@ body { background-color: #444444; }
        color:white;
        text-decoration: underline;
 }
+#admin_header .network_title h2 a.return_to_network {
+       font-size:12px;
+       font-weight: normal;
+       color:#666666;
+       float:right;
+       margin-right:40px;
+}
 #elgg_content.admin_area {
        margin:20px;
        min-height:400px;
@@ -286,7 +293,9 @@ form.admin_plugins_simpleview .submit_button {
 <div id="admin_header">
        <span class="network_title"><h2>
        <a href="<?php echo $vars['url']; ?>">
-       <?php echo $vars['config']->sitename; echo " ".elgg_echo('admin'); ?></a></h2></span>
+       <?php echo $vars['config']->sitename; echo " ".elgg_echo('admin'); ?></a>
+       <a class="return_to_network" href="<?php echo $vars['url']; ?>">&lt;&lt; Return to network</a>
+       </h2></span>
 </div>
 
 <div id="elgg_content" class="clearfloat admin_area">