aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-08 19:00:33 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-08 19:00:33 +0000
commit54f6c1732cc2482bb3329629b23a7efc901a92f3 (patch)
tree064cde7c0dbba5f96edf1252333a8e2e5c0c7e8a /mod/embed/views/default
parent11303f9b08227999ac0f362eaea145989555fa95 (diff)
downloadelgg-54f6c1732cc2482bb3329629b23a7efc901a92f3.tar.gz
elgg-54f6c1732cc2482bb3329629b23a7efc901a92f3.tar.bz2
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
Diffstat (limited to 'mod/embed/views/default')
-rw-r--r--mod/embed/views/default/embed/css.php13
-rw-r--r--mod/embed/views/default/embed/embed.php3
2 files changed, 15 insertions, 1 deletions
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