From 54f6c1732cc2482bb3329629b23a7efc901a92f3 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 8 Jul 2010 19:00:33 +0000 Subject: Sorting tabs and upload sections correctly by name instead of id. Passing internal_name to all views related to embedding to allow correct calls to elggEmbedInsertContent() in overrided layouts. git-svn-id: http://code.elgg.org/elgg/trunk@6666 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/embed/views/default/embed/css.php | 13 +++++++++++++ mod/embed/views/default/embed/embed.php | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'mod/embed/views/default') diff --git a/mod/embed/views/default/embed/css.php b/mod/embed/views/default/embed/css.php index 4bc57ea23..548781dac 100644 --- a/mod/embed/views/default/embed/css.php +++ b/mod/embed/views/default/embed/css.php @@ -147,4 +147,17 @@ background-color:#666666; border:1px solid #666666; color:white; +} + +/* embed web services */ +.embed_disabled { + background-color: red; +} + +.embed_warning { + background-color: yellow; +} + +.embed_good { + background-color: green; } \ No newline at end of file diff --git a/mod/embed/views/default/embed/embed.php b/mod/embed/views/default/embed/embed.php index b57c3b289..3eff5d429 100644 --- a/mod/embed/views/default/embed/embed.php +++ b/mod/embed/views/default/embed/embed.php @@ -65,7 +65,8 @@ if (!$sections) { 'offset' => $offset, 'limit' => $limit, 'section' => $active_section, - 'upload_sections' => $upload_sections + 'upload_sections' => $upload_sections, + 'internal_name' => $internal_name ); // allow full override for this section -- cgit v1.2.3