aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/canvas/layouts/widgets.php2
-rw-r--r--views/default/navigation/toolbox.php34
-rw-r--r--views/default/navigation/topbar_tools.php12
3 files changed, 24 insertions, 24 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php
index 016b9c12a..0ff2ce62c 100644
--- a/views/default/canvas/layouts/widgets.php
+++ b/views/default/canvas/layouts/widgets.php
@@ -263,7 +263,7 @@
if($_SESSION['user']->guid == page_owner()){
?>
<!-- customise page button -->
- <a href="javascript:void(0);" class="toggle_customise_edit_panel">Edit page</a>
+ <a href="javascript:void(0);" class="toggle_customise_edit_panel"><?php echo(elgg_echo('dashboard:configure')); ?></a>
<!-- <div style="clear:both;"></div> -->
<?php
}
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
diff --git a/views/default/navigation/topbar_tools.php b/views/default/navigation/topbar_tools.php
index 18320d1b7..7a39a0540 100644
--- a/views/default/navigation/topbar_tools.php
+++ b/views/default/navigation/topbar_tools.php
@@ -17,17 +17,17 @@
//var_export($menu);
- if (is_array($menu) && sizeof($menu) > 0) {
- $alphamenu = array();
- foreach($menu as $item) {
- $alphamenu[$item->name] = $item;
- }
+ if (is_array($menu) && sizeof($menu) > 0) {
+ $alphamenu = array();
+ foreach($menu as $item) {
+ $alphamenu[$item->name] = $item;
+ }
ksort($alphamenu);
?>
<ul id="topbardropdownmenu">
- <li class="drop"><a href="#">Tools<!--[if IE 7]><!--></a><!--<![endif]-->
+ <li class="drop"><a href="#"><?php echo(elgg_echo('tools')); ?><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<?php