aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/toolbox.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-26 13:59:30 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-26 13:59:30 +0000
commit547a686381738fcb93a16894a331d96cdfba6f82 (patch)
tree15ebc109ac17a9f9d189945527b6ed3a3bbb42e1 /views/default/navigation/toolbox.php
parentabacefd475ad96223bf5733ac0ce4896814b2df0 (diff)
downloadelgg-547a686381738fcb93a16894a331d96cdfba6f82.tar.gz
elgg-547a686381738fcb93a16894a331d96cdfba6f82.tar.bz2
Closes #304: Thanks for the patch!
git-svn-id: https://code.elgg.org/elgg/trunk@2043 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/toolbox.php')
-rw-r--r--views/default/navigation/toolbox.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/views/default/navigation/toolbox.php b/views/default/navigation/toolbox.php
index 91a96d1fb..456db14fa 100644
--- a/views/default/navigation/toolbox.php
+++ b/views/default/navigation/toolbox.php
@@ -14,18 +14,18 @@
*
*/
- $menu = get_register('menu');
+ $menu = get_register('menu');
$contexts = $vars['config']->menucontexts;
if (is_array($menu) && sizeof($menu) > 0) {
?>
<div class="elggtoolbar">
-<div class="elggtoolbar_header"><h1>Your tools</h1></div>
+<div class="elggtoolbar_header"><h1><?php echo(elgg_echo('tools:yours')); ?></h1></div>
<ul class="drawers">
<?php
-
+
$key = 0;
foreach($menu as $item) {
@@ -51,7 +51,7 @@
?>
</li>
-<?php
+<?php
$key++;
}
@@ -64,21 +64,21 @@
<?php
}
-
- if (in_array(get_context(),$contexts)) {
+
+ if (in_array(get_context(),$contexts)) {
$key = array_search(get_context(),$contexts);
?>
-<script language="javascript">
- $(document).ready(function(){
- $('h2#nav_<?php echo $contexts[$key]; ?>').click();
- });
-</script>
-
-
-<?php
-
- }
-
+<script language="javascript">
+ $(document).ready(function(){
+ $('h2#nav_<?php echo $contexts[$key]; ?>').click();
+ });
+</script>
+
+
+<?php
+
+ }
+
?> \ No newline at end of file