aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-23 12:12:05 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-23 12:12:05 +0000
commit8ddab046c44e6f8f95a8b82fc492d7b0407389d1 (patch)
treea57463d83a73ab2e81f4182d1a5f46959e04ca71 /mod/ecml
parent37235af003b133fd84dded5cec886ce3d169521f (diff)
downloadelgg-8ddab046c44e6f8f95a8b82fc492d7b0407389d1.tar.gz
elgg-8ddab046c44e6f8f95a8b82fc492d7b0407389d1.tar.bz2
Updated longtext/tinymce area extra controls. Moved and updated ecml help link, 'edit/remove editor' link and 'add media' links both moved and improved. Redundant css removed.
git-svn-id: http://code.elgg.org/elgg/trunk@5860 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/ecml')
-rw-r--r--mod/ecml/start.php2
-rw-r--r--mod/ecml/views/default/ecml/admin/css.php6
-rw-r--r--mod/ecml/views/default/ecml/input_ext.php2
3 files changed, 8 insertions, 2 deletions
diff --git a/mod/ecml/start.php b/mod/ecml/start.php
index f1f282c84..f48aa2d25 100644
--- a/mod/ecml/start.php
+++ b/mod/ecml/start.php
@@ -39,7 +39,7 @@ function ecml_init() {
register_action('ecml/save_permissions', FALSE, dirname(__FILE__) . '/actions/save_permissions.php', TRUE);
// show ECML-enabled icon on free-text input areas
- elgg_extend_view('input/longtext', 'ecml/input_ext');
+ elgg_extend_view('input/longtext', 'ecml/input_ext', 0);
elgg_extend_view('input/plaintext', 'ecml/input_ext');
//elgg_extend_view('input/text', 'ecml/input_ext');
diff --git a/mod/ecml/views/default/ecml/admin/css.php b/mod/ecml/views/default/ecml/admin/css.php
index 1431074f0..e6cd7cfb2 100644
--- a/mod/ecml/views/default/ecml/admin/css.php
+++ b/mod/ecml/views/default/ecml/admin/css.php
@@ -1,3 +1,9 @@
+<?php
+/**
+* ECML CSS
+*/
+?>
+
.ecml_admin_table {
width:100%;
}
diff --git a/mod/ecml/views/default/ecml/input_ext.php b/mod/ecml/views/default/ecml/input_ext.php
index 03941fb08..5a68f2fa8 100644
--- a/mod/ecml/views/default/ecml/input_ext.php
+++ b/mod/ecml/views/default/ecml/input_ext.php
@@ -11,4 +11,4 @@
$docs_href = "{$vars['url']}pg/ecml";
?>
-<a href="<?php echo $docs_href; ?>" target="_new"><img src="<?php echo $vars['url']; ?>mod/ecml/graphics/ecml.png" width="50" height="15" alt="ECML" /></a> \ No newline at end of file
+<a href="<?php echo $docs_href; ?>" class="longtext_control" title="<?php echo elgg_echo('ecml:help'); ?>" target="_new"><img src="<?php echo $vars['url']; ?>mod/ecml/graphics/ecml.png" width="50" height="15" alt="ECML" /></a> \ No newline at end of file