summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Stjerneman2010-03-04 22:22:13 +0000
committerEmil Stjerneman2010-03-04 22:22:13 +0000
commitdf1e42c85e257d89857c5d7241b7dc5c00457d54 (patch)
treed9abcbc3072baf391ca2f35d8395124087f4bf68
parent874908e27920777ebe40987dd8384988660aee63 (diff)
*** empty log message ***6.x-1.0
-rw-r--r--editors/linkit.inc2
-rw-r--r--editors/linkit_tinymce/linkit_tinymce_dialog.js2
-rw-r--r--linkit.module6
3 files changed, 4 insertions, 6 deletions
diff --git a/editors/linkit.inc b/editors/linkit.inc
index c620c7b..96bfdc0 100644
--- a/editors/linkit.inc
+++ b/editors/linkit.inc
@@ -17,7 +17,7 @@ function linkit_linkit_plugin() {
'icon title' => t('Insert a link with the linkitmodule.'),
'settings' => array(
'dialog' => array(
- 'title' => t('Test'),
+ 'title' => '',
'url' => url('admin/linkit/dashboard'),
'width' => 640,
'height' => 480,
diff --git a/editors/linkit_tinymce/linkit_tinymce_dialog.js b/editors/linkit_tinymce/linkit_tinymce_dialog.js
index a16e859..c1888e7 100644
--- a/editors/linkit_tinymce/linkit_tinymce_dialog.js
+++ b/editors/linkit_tinymce/linkit_tinymce_dialog.js
@@ -29,7 +29,7 @@ Drupal.behaviors.linkit_tinymce_dialog = function (context) {
$('#edit-insert').click(function() {
if($('#edit-link', context).val() == "") {
- alert('Link to: is empty');
+ alert(Drupal.t('Link to: is empty'));
return false;
}
diff --git a/linkit.module b/linkit.module
index 04df149..37d64a7 100644
--- a/linkit.module
+++ b/linkit.module
@@ -160,7 +160,7 @@ function _linkit_form() {
$form['link']['link'] = array(
'#type' => 'textfield',
'#title' => t('Link to'),
- '#description' => t('Search for the your internal content <b>OR</b> type the URL (http://www.example.com)'),
+ '#description' => t('Search for your internal content <b>OR</b> type the URL (http://www.example.com)'),
'#maxlength' => 255,
'#size' => 80,
'#autocomplete_path' => 'admin/linkit/autocomplete',
@@ -226,8 +226,6 @@ function _linkit_form() {
'#value' => t('Insert'),
'#weight' => 11,
);
-
-
-
+
return $form;
} \ No newline at end of file