summaryrefslogtreecommitdiff
path: root/modules/dashboard
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-14 04:04:30 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-14 04:04:30 +0000
commit9513dd016fff172ddb584fbf75eae0018c0412e1 (patch)
tree1d39c04a79564a25c8ff28daf50b9a63ce5b34ec /modules/dashboard
parent40638ae8df4625e39b2943b778fd693d1bd67bd9 (diff)
downloadbrdo-9513dd016fff172ddb584fbf75eae0018c0412e1.tar.gz
brdo-9513dd016fff172ddb584fbf75eae0018c0412e1.tar.bz2
#677534 by jhodgdon, andrewmacpherson, Bojhan, yoroy, et al: Fixed Customize still being used in place of Edit.
Diffstat (limited to 'modules/dashboard')
-rw-r--r--modules/dashboard/dashboard.js2
-rw-r--r--modules/dashboard/dashboard.module6
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/dashboard/dashboard.js b/modules/dashboard/dashboard.js
index fab91852e..db9c695f4 100644
--- a/modules/dashboard/dashboard.js
+++ b/modules/dashboard/dashboard.js
@@ -6,7 +6,7 @@
*/
Drupal.behaviors.dashboard = {
attach: function () {
- $('#dashboard').prepend('<div class="customize"><ul class="action-links"><a href="#">' + Drupal.t('Customize') + '</a></ul><div class="canvas"></div></div>');
+ $('#dashboard').prepend('<div class="customize"><ul class="action-links"><a href="#">' + Drupal.t('Customize dashboard') + '</a></ul><div class="canvas"></div></div>');
$('#dashboard .customize .action-links a').click(Drupal.behaviors.dashboard.enterCustomizeMode);
if ($('#dashboard .region .block').length == 0) {
Drupal.settings.dashboard.launchCustomize = true;
diff --git a/modules/dashboard/dashboard.module b/modules/dashboard/dashboard.module
index 86f14e034..c61598cc1 100644
--- a/modules/dashboard/dashboard.module
+++ b/modules/dashboard/dashboard.module
@@ -9,7 +9,7 @@ function dashboard_help($path, $arg) {
case 'admin/help#dashboard':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
- $output .= '<p>' . t('The Dashboard module provides a <a href="@dashboard">Dashboard page</a> in the administrative interface for organizing administrative tasks and navigation, and tracking information within your site. The Dashboard page contains blocks, which you can add to and arrange using the drag and drop interface that appears when you click on the <em>Customize</em> link. For more information, see the online handbook entry for <a href="@handbook">Dashboard module</a>.', array('@handbook' => 'http://drupal.org/handbook/modules/dashboard', '@dashboard' => url('admin/dashboard'))) . '</p>';
+ $output .= '<p>' . t('The Dashboard module provides a <a href="@dashboard">Dashboard page</a> in the administrative interface for organizing administrative tasks and navigation, and tracking information within your site. The Dashboard page contains blocks, which you can add to and arrange using the drag and drop interface that appears when you click on the <em>Customize dashboard</em> link. For more information, see the online handbook entry for <a href="@handbook">Dashboard module</a>.', array('@handbook' => 'http://drupal.org/handbook/modules/dashboard', '@dashboard' => url('admin/dashboard'))) . '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Tracking user activity') . '</dt>';
@@ -207,13 +207,13 @@ function dashboard_admin($launch_customize = FALSE) {
'launchCustomize' => $launch_customize,
'dashboard' => url('admin/dashboard'),
'emptyBlockText' => t('(empty)'),
- 'emptyRegionTextInactive' => t('This dashboard region is empty. Click <em>Customize</em> to add blocks to it.'),
+ 'emptyRegionTextInactive' => t('This dashboard region is empty. Click <em>Customize dashboard</em> to add blocks to it.'),
'emptyRegionTextActive' => t('DRAG HERE'),
),
);
$build = array(
'#theme' => 'dashboard_admin',
- '#message' => t('To customize the dashboard page, move blocks to the dashboard regions on !block-admin, or enable JavaScript on this page to use the drag-and-drop interface.', array('!block-admin' => l('the block administration page', 'admin/structure/block'))),
+ '#message' => t('To customize the dashboard page, move blocks to the dashboard regions on the <a href="@blocks">Blocks administration page</a>, or enable JavaScript on this page to use the drag-and-drop interface.', array('!blocks' => url('admin/structure/block'))),
'#access' => user_access('administer blocks'),
'#attached' => array(
'js' => array(