aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-03-28 03:34:25 +0000
committerCash Costello <cash.costello@gmail.com>2009-03-28 03:34:25 +0000
commit5107faa7e96efd940ce28da9f46508298759c189 (patch)
treef3b241177607f27e05a8c1cb00900066100af280 /views/default/tidypics
parente0eebd803e76bae0d7aa6456427667c90b4e2368 (diff)
downloadelgg-5107faa7e96efd940ce28da9f46508298759c189.tar.gz
elgg-5107faa7e96efd940ce28da9f46508298759c189.tar.bz2
Diffstat (limited to 'views/default/tidypics')
-rw-r--r--views/default/tidypics/css.php29
-rw-r--r--views/default/tidypics/groupprofile_albums.php10
2 files changed, 34 insertions, 5 deletions
diff --git a/views/default/tidypics/css.php b/views/default/tidypics/css.php
index c1957d5d9..3c935e8c5 100644
--- a/views/default/tidypics/css.php
+++ b/views/default/tidypics/css.php
@@ -27,6 +27,35 @@
margin:10px;
}
+#group_albums_widget {
+-webkit-border-radius: 8px;
+-moz-border-radius: 8px;
+background:white none repeat scroll 0 0;
+margin:0 0 20px;
+padding:0 0 5px;
+}
+
+.tidypics_download a {
+ font: 12px/100% Arial, Helvetica, sans-serif;
+ font-weight: bold;
+ color: white;
+ background:#4690d6;
+ border:none;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ width: auto;
+ height: 25px;
+ padding: 3px 6px 3px 6px;
+ margin:10px 0 10px 0;
+ cursor: pointer;
+}
+.tidypics_download a:hover {
+ background: black;
+ color:white;
+ text-decoration: none;
+}
+
+
/* independent album view only */
.album_images{
diff --git a/views/default/tidypics/groupprofile_albums.php b/views/default/tidypics/groupprofile_albums.php
index ff63a38d1..d975f5f99 100644
--- a/views/default/tidypics/groupprofile_albums.php
+++ b/views/default/tidypics/groupprofile_albums.php
@@ -11,7 +11,7 @@ if ($vars['entity']->photos_enable != 'no') {
$owner = page_owner_entity();
$owner_albums = get_entities("object", "album", page_owner(), "", $number, 0, false);
- echo '<div id="group_albums_widget">';
+ echo '<div id="group_albums_widget">';
echo '<h2>' . elgg_echo('albums') . '</h2>';
if ($owner_albums) {
@@ -50,11 +50,11 @@ if ($vars['entity']->photos_enable != 'no') {
echo "</div>";
} else {
- echo '<div id="no_album_found">';
- echo '<p class="pages_add_title">'.elgg_echo("album:none").'</p>';
+ //echo '<div id="no_album_found">';
+ //echo '<p class="pages_add_title">'.elgg_echo("album:none").'</p>';
if ($owner && ($owner->canWriteToContainer($_SESSION['user']))){
- echo '<a class="add_topic_button" href='.$CONFIG->url .'pg/photos/new/'.$owner->username.'>'.elgg_echo("album:add").'</a>';
- echo '</div>';
+ //echo '<a class="add_topic_button" href='.$CONFIG->url .'pg/photos/new/'.$owner->username.'>'.elgg_echo("album:add").'</a>';
+ //echo '</div>';
}
}