From 9bc3a4f6794b88944f983c1b44b2a1cbd89f2c98 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 9 Jul 2010 19:32:29 +0000 Subject: Web services tab now default embed tab if ecml is enabled. git-svn-id: http://code.elgg.org/elgg/trunk@6681 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/embed/views/default/embed/link.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'mod/embed/views') diff --git a/mod/embed/views/default/embed/link.php b/mod/embed/views/default/embed/link.php index 6740b8e1a..5b69ffdcc 100644 --- a/mod/embed/views/default/embed/link.php +++ b/mod/embed/views/default/embed/link.php @@ -2,5 +2,13 @@ /** * Displays an "Embed media" link in longtext inputs. */ + +// yeah this is naughty. embed and ecml might want to merge. +if (is_plugin_enabled('ecml')) { + $active_section = 'active_section=web_services&'; +} else { + $active_section = ''; +} + ?> - + -- cgit v1.2.3