From 5107faa7e96efd940ce28da9f46508298759c189 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 28 Mar 2009 03:34:25 +0000 Subject: --- views/default/object/album.php | 17 --------------- views/default/object/image.php | 13 +----------- views/default/tidypics/css.php | 29 ++++++++++++++++++++++++++ views/default/tidypics/groupprofile_albums.php | 10 ++++----- 4 files changed, 35 insertions(+), 34 deletions(-) (limited to 'views/default') diff --git a/views/default/object/album.php b/views/default/object/album.php index a1b238812..a94f12590 100644 --- a/views/default/object/album.php +++ b/views/default/object/album.php @@ -63,23 +63,6 @@ '.autop($desc).''; - if ($file->canEdit()) { // add controls - -?> -
- "> -   - - $vars['url'] . "action/tidypics/delete?file=" . $file->getGUID(), - 'text' => elgg_echo("album:delete"), - 'confirm' => elgg_echo("album:delete:confirm"), - )); - ?> -
-'; ?>
-   -canEdit()) { // add edit controls -?> -   - $vars['url'] . "action/tidypics/delete?file=" . $file->getGUID(), - 'text' => elgg_echo("image:delete"), - 'confirm' => elgg_echo("image:delete:confirm"), - )); - } - ?> +

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 '
'; + echo '
'; echo '

' . elgg_echo('albums') . '

'; if ($owner_albums) { @@ -50,11 +50,11 @@ if ($vars['entity']->photos_enable != 'no') { echo "
"; } else { - echo '
'; - echo '

'.elgg_echo("album:none").'

'; + //echo '
'; + //echo '

'.elgg_echo("album:none").'

'; if ($owner && ($owner->canWriteToContainer($_SESSION['user']))){ - echo 'username.'>'.elgg_echo("album:add").''; - echo '
'; + //echo 'username.'>'.elgg_echo("album:add").''; + //echo '
'; } } -- cgit v1.2.3