Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/01/2009 09:35:03 AM (17 years ago)
Author:
johnjamesjacoby
Message:

Group avatar upload adjustments. Fix empty avatar src by checking for uploaded avatar first, and show gravatar (or no_grav) if no upload exists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-cssjs.php

    r2025 r2069  
    147147?>
    148148        <style type="text/css">
    149                 .jcrop-holder { text-align: left; }
     149                .jcrop-holder { float: left; margin: 0 20px 20px 0; text-align: left; }
    150150                .jcrop-vline, .jcrop-hline { font-size: 0; position: absolute; background: white top left repeat url( <?php echo BP_PLUGIN_URL ?>/bp-core/images/Jcrop.gif ); }
    151151                .jcrop-vline { height: 100%; width: 1px !important; }
    … …  
    157157                #avatar-crop-pane { width: <?php echo BP_AVATAR_FULL_WIDTH ?>px; height: <?php echo BP_AVATAR_FULL_HEIGHT ?>px; overflow: hidden; }
    158158                #avatar-crop-submit { margin: 20px 0; }
    159                 #avatar-upload-form img { border: none !important; }
     159                #avatar-upload-form img, #create-group-form img, #group-settings-form img { border: none !important; }
    160160        </style>
    161161<?php
Note: See TracChangeset for help on using the changeset viewer.