aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 03:10:57 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 03:10:57 +0000
commit4d80bc33b8924038bd1ca57d548828afe661bb42 (patch)
tree600b8a2d46ea899d35582667ed00049a0a4367cc /mod/embed/views/default
parent89ded32abebd0f2100e0014249df54bde7a44258 (diff)
downloadelgg-4d80bc33b8924038bd1ca57d548828afe661bb42.tar.gz
elgg-4d80bc33b8924038bd1ca57d548828afe661bb42.tar.bz2
Refs #2700 replaced most underscores with hyphens - there may be broken display code due to extent of this change
git-svn-id: http://code.elgg.org/elgg/trunk@7493 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/embed/views/default')
-rw-r--r--mod/embed/views/default/embed/css.php48
-rw-r--r--mod/embed/views/default/embed/embed.php6
-rw-r--r--mod/embed/views/default/embed/item/list.php4
-rw-r--r--mod/embed/views/default/embed/js.php2
-rw-r--r--mod/embed/views/default/object/file/embedlist.php10
5 files changed, 35 insertions, 35 deletions
diff --git a/mod/embed/views/default/embed/css.php b/mod/embed/views/default/embed/css.php
index 559cd456d..e87584205 100644
--- a/mod/embed/views/default/embed/css.php
+++ b/mod/embed/views/default/embed/css.php
@@ -79,37 +79,37 @@
}
/* entity listings */
-.embed_data .entity_listing_icon img {
+.embed_data .entity-listing-icon img {
cursor: pointer;
}
-.embed_data .entity_listing {
+.embed_data .entity-listing {
border-bottom:none;
}
.embed_data:last-child {
border-bottom:1px dotted #CCCCCC;
}
-.embed_modal_videolist .entity_listing_icon img {
+.embed_modal_videolist .entity-listing-icon img {
width:75px;
height:auto;
}
-.embed_modal_document .embed_data .entity_listing_info {
+.embed_modal_document .embed_data .entity-listing-info {
margin-top:0;
margin-left:7px;
}
-.embed_modal_tidypics .embed_data .entity_listing_info {
+.embed_modal_tidypics .embed_data .entity-listing-info {
margin-top:11px;
}
-.embed_modal_file .embed_data .entity_listing_info {
+.embed_modal_file .embed_data .entity-listing-info {
margin-top:0px;
margin-left:9px;
}
-.embed_data .entity_listing_info {
+.embed_data .entity-listing-info {
width:auto;
margin-top:15px;
margin-left:15px;
float:left;
}
-.embed_data .entity_listing {
+.embed_data .entity-listing {
cursor:pointer;
}
@@ -139,10 +139,10 @@
#facebox .content p {
color:#333333;
}
-#facebox .content p.entity_title {
+#facebox .content p.entity-title {
color:#666666;
}
-#facebox .content .entity_listing:hover {
+#facebox .content .entity-listing:hover {
background-color: #eeeeee;
}
#facebox .content label {
@@ -153,19 +153,19 @@
/* ***************************************
ELGG TABBED PAGE NAVIGATION
*************************************** */
-#facebox .body .elgg_horizontal_tabbed_nav {
+#facebox .body .elgg-horizontal-tabbed-nav {
margin-bottom:5px;
padding: 0;
border-bottom: 2px solid #cccccc;
display:table;
width:100%;
}
-#facebox .body .elgg_horizontal_tabbed_nav ul {
+#facebox .body .elgg-horizontal-tabbed-nav ul {
list-style: none;
padding: 0;
margin: 0;
}
-#facebox .body .elgg_horizontal_tabbed_nav li {
+#facebox .body .elgg-horizontal-tabbed-nav li {
float: left;
border: 2px solid #cccccc;
border-bottom-width: 0;
@@ -176,7 +176,7 @@
-webkit-border-top-left-radius:5px;
-webkit-border-top-right-radius:5px;
}
-#facebox .body .elgg_horizontal_tabbed_nav a {
+#facebox .body .elgg-horizontal-tabbed-nav a {
text-decoration: none;
display: block;
padding:3px 10px 0 10px;
@@ -184,15 +184,15 @@
height:21px;
color:#999999;
}
-#facebox .body .elgg_horizontal_tabbed_nav a:hover {
+#facebox .body .elgg-horizontal-tabbed-nav a:hover {
background: #dedede;
color:#666666;
}
-#facebox .body .elgg_horizontal_tabbed_nav .selected {
+#facebox .body .elgg-horizontal-tabbed-nav .selected {
border-color: #cccccc;
background: white;
}
-#facebox .body .elgg_horizontal_tabbed_nav .selected a {
+#facebox .body .elgg-horizontal-tabbed-nav .selected a {
position: relative;
top: 2px;
background: white;
@@ -204,25 +204,25 @@
#facebox .body .pagination {
float:right;
}
-#facebox .body .pagination .pagination_number {
+#facebox .body .pagination .pagination-number {
border:1px solid #999999;
color:#666666;
}
-#facebox .body .pagination .pagination_number:hover {
+#facebox .body .pagination .pagination-number:hover {
background-color:#aaaaaa;
color:black;
}
-#facebox .body .pagination .pagination_previous,
-#facebox .body .pagination .pagination_next {
+#facebox .body .pagination .pagination-previous,
+#facebox .body .pagination .pagination-next {
border:1px solid #999999;
color:#666666;
}
-#facebox .body .pagination .pagination_previous:hover,
-#facebox .body .pagination .pagination_next:hover {
+#facebox .body .pagination .pagination-previous:hover,
+#facebox .body .pagination .pagination-next:hover {
background-color:#aaaaaa;
color:black;
}
-#facebox .body .pagination .pagination_currentpage {
+#facebox .body .pagination .pagination-currentpage {
background-color:#666666;
border:1px solid #666666;
color:white;
diff --git a/mod/embed/views/default/embed/embed.php b/mod/embed/views/default/embed/embed.php
index 2855a5576..21b296db4 100644
--- a/mod/embed/views/default/embed/embed.php
+++ b/mod/embed/views/default/embed/embed.php
@@ -149,9 +149,9 @@ $(document).ready(function() {
return false;
}
- $('.pagination_number').click(elggPaginationClick);
- $('.pagination_next').click(elggPaginationClick);
- $('.pagination_previous').click(elggPaginationClick);
+ $('.pagination-number').click(elggPaginationClick);
+ $('.pagination-next').click(elggPaginationClick);
+ $('.pagination-previous').click(elggPaginationClick);
});
</script>
diff --git a/mod/embed/views/default/embed/item/list.php b/mod/embed/views/default/embed/item/list.php
index 8cc60753c..fc5545df0 100644
--- a/mod/embed/views/default/embed/item/list.php
+++ b/mod/embed/views/default/embed/item/list.php
@@ -41,8 +41,8 @@ if ($ecml_keyword) {
}
$icon = "<img src=\"{$item->getIcon($icon_size)}\" />";
-$info = "<p class='entity_title'>" . htmlentities($title, ENT_QUOTES, 'UTF-8') . "</p>";
-$info .= "<p class='entity_subtext'>" . elgg_view_friendly_time($vars['item']->time_created) . "</p>";
+$info = "<p class='entity-title'>" . htmlentities($title, ENT_QUOTES, 'UTF-8') . "</p>";
+$info .= "<p class='entity-subtext'>" . elgg_view_friendly_time($vars['item']->time_created) . "</p>";
// @todo is this approach better than inline js?
echo "<div class=\"embed_data\" id=\"embed_{$item->getGUID()}\">" . elgg_view_listing($icon, $info) . '</div>';
diff --git a/mod/embed/views/default/embed/js.php b/mod/embed/views/default/embed/js.php
index fbc6a0340..4f4663f40 100644
--- a/mod/embed/views/default/embed/js.php
+++ b/mod/embed/views/default/embed/js.php
@@ -112,7 +112,7 @@ $.extend($.facebox, {
settings: {
opacity : 0.7,
overlay : true,
- loadingImage : '<?php echo elgg_get_site_url(); ?>_graphics/ajax_loader_bw.gif',
+ loadingImage : '<?php echo elgg_get_site_url(); ?>_graphics/ajax-loader_bw.gif',
closeImage : '<?php echo elgg_get_site_url(); ?>_graphics/spacer.gif',
imageTypes : [ 'png', 'jpg', 'jpeg', 'gif' ],
faceboxHtml : '\
diff --git a/mod/embed/views/default/object/file/embedlist.php b/mod/embed/views/default/object/file/embedlist.php
index bf306b4e7..c6595ab36 100644
--- a/mod/embed/views/default/object/file/embedlist.php
+++ b/mod/embed/views/default/object/file/embedlist.php
@@ -2,16 +2,16 @@
$file = $vars['entity'];
$friendlytime = elgg_view_friendly_time($vars['entity']->time_created);
- $info = "<p class='entity_title'> <a href=\"{$file->getURL()}\">{$file->title}</a></p>";
- $info .= "<p class='entity_subtext'>{$friendlytime}";
+ $info = "<p class='entity-title'> <a href=\"{$file->getURL()}\">{$file->title}</a></p>";
+ $info .= "<p class='entity-subtext'>{$friendlytime}";
$icon = "<a href=\"{$file->getURL()}\">" . elgg_view("file/icon", array("mimetype" => $file->mimetype, 'thumbnail' => $file->thumbnail, 'file_guid' => $file->guid, 'size' => 'small')) . "</a>";
?>
<div id="embed_entity_<?php echo $file->guid; ?>">
- <div class="entity_listing clearfix">
- <div class="entity_listing_icon">
+ <div class="entity-listing clearfix">
+ <div class="entity-listing-icon">
<?php echo $icon; ?>
</div>
- <div class="entity_listing_info">
+ <div class="entity-listing-info">
<?php echo $info; ?>
</div>
</div>