aboutsummaryrefslogtreecommitdiff
path: root/mod/file/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/file/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/file/views/default')
-rw-r--r--mod/file/views/default/file/css.php4
-rw-r--r--mod/file/views/default/file/groupprofile_files.php12
-rw-r--r--mod/file/views/default/file/upload.php2
-rw-r--r--mod/file/views/default/object/file.php4
-rw-r--r--mod/file/views/default/widgets/filerepo/content.php4
5 files changed, 13 insertions, 13 deletions
diff --git a/mod/file/views/default/file/css.php b/mod/file/views/default/file/css.php
index 46913dea7..7fff98c97 100644
--- a/mod/file/views/default/file/css.php
+++ b/mod/file/views/default/file/css.php
@@ -5,10 +5,10 @@
* @package Elgg File Repository
*/
?>
-.files .entity_listing .entity_listing_info {
+.files .entity-listing .entity-listing-info {
width:453px;
}
-.files .entity_listing:hover {
+.files .entity-listing:hover {
background-color: white;
}
diff --git a/mod/file/views/default/file/groupprofile_files.php b/mod/file/views/default/file/groupprofile_files.php
index 745c5f053..4c7321e48 100644
--- a/mod/file/views/default/file/groupprofile_files.php
+++ b/mod/file/views/default/file/groupprofile_files.php
@@ -30,11 +30,11 @@
foreach($files as $f){
$mime = $f->mimetype;
- echo "<div class='entity_listing clearfix'>";
- echo "<div class='entity_listing_icon'><a href=\"{$f->getURL()}\">" . elgg_view("file/icon", array("mimetype" => $mime, 'thumbnail' => $f->thumbnail, 'file_guid' => $f->guid)) . "</a></div>";
- echo "<div class='entity_listing_info'>";
- echo "<p class='entity_title'>" . $f->title . "</p>";
- echo "<p class='entity_subtext'>" . elgg_view_friendly_time($f->time_created) . "</p>";
+ echo "<div class='entity-listing clearfix'>";
+ echo "<div class='entity-listing-icon'><a href=\"{$f->getURL()}\">" . elgg_view("file/icon", array("mimetype" => $mime, 'thumbnail' => $f->thumbnail, 'file_guid' => $f->guid)) . "</a></div>";
+ echo "<div class='entity-listing-info'>";
+ echo "<p class='entity-title'>" . $f->title . "</p>";
+ echo "<p class='entity-subtext'>" . elgg_view_friendly_time($f->time_created) . "</p>";
echo "</div></div>";
}
@@ -47,7 +47,7 @@
} else {
- echo "<p class='margin_top'>" . elgg_echo("file:none") . "</p>";
+ echo "<p class='margin-top'>" . elgg_echo("file:none") . "</p>";
}
diff --git a/mod/file/views/default/file/upload.php b/mod/file/views/default/file/upload.php
index b7b99e3b3..0ef99348c 100644
--- a/mod/file/views/default/file/upload.php
+++ b/mod/file/views/default/file/upload.php
@@ -38,7 +38,7 @@
?>
-<form action="<?php echo elgg_get_site_url(); ?>action/<?php echo $action; ?>" enctype="multipart/form-data" method="post" class="margin_top">
+<form action="<?php echo elgg_get_site_url(); ?>action/<?php echo $action; ?>" enctype="multipart/form-data" method="post" class="margin-top">
<p>
<label>
<?php
diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php
index 3b9731ed6..37019c1aa 100644
--- a/mod/file/views/default/object/file.php
+++ b/mod/file/views/default/object/file.php
@@ -67,8 +67,8 @@
} else {
- $info = "<p class='entity_title'> <a href=\"{$file->getURL()}\">{$title}</a></p>";
- $info .= "<p class='entity_subtext'><a href=\"".elgg_get_site_url()."pg/file/{$owner->username}\">{$owner->name}</a> {$friendlytime}";
+ $info = "<p class='entity-title'> <a href=\"{$file->getURL()}\">{$title}</a></p>";
+ $info .= "<p class='entity-subtext'><a href=\"".elgg_get_site_url()."pg/file/{$owner->username}\">{$owner->name}</a> {$friendlytime}";
$numcomments = elgg_count_comments($file);
if ($numcomments)
$info .= ", <a href=\"{$file->getURL()}\">" . elgg_echo("comments") . " (" . $numcomments . ")</a>";
diff --git a/mod/file/views/default/widgets/filerepo/content.php b/mod/file/views/default/widgets/filerepo/content.php
index 41a968dce..ee7bbe3cc 100644
--- a/mod/file/views/default/widgets/filerepo/content.php
+++ b/mod/file/views/default/widgets/filerepo/content.php
@@ -51,7 +51,7 @@ if ($files) {
$mime = $f->mimetype;
echo "<div class='filerepo_widget_singleitem clearfix'>";
echo "<div class='filerepo_listview_icon'><a href=\"{$f->getURL()}\">" . elgg_view("file/icon", array("mimetype" => $mime, 'thumbnail' => $f->thumbnail, 'file_guid' => $f->guid)) . "</a></div>";
- echo "<div class='filerepo_widget_content'>";
+ echo "<div class='filerepo_widget-content'>";
echo "<div class='filerepo_listview_title'><p class='filerepo_title'>" . $f->title . "</p></div>";
echo "<div class='filerepo_listview_date'><p class='filerepo_timestamp'><small>" . elgg_view_friendly_time($f->time_created) . "</small></p></div>";
echo "</div></div>";
@@ -66,6 +66,6 @@ if ($files) {
echo "</div>";
} else {
- echo "<p class='margin_top'>" . elgg_echo("file:none") . "</p>";
+ echo "<p class='margin-top'>" . elgg_echo("file:none") . "</p>";
}
?> \ No newline at end of file