Changeset 4632 for trunk/bp-core/bp-core-cssjs.php
- Timestamp:
- 07/09/2011 09:45:45 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-cssjs.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cssjs.php
r4602 r4632 73 73 global $bp; 74 74 75 $image = apply_filters( 'bp_inline_cropper_image', getimagesize( BP_AVATAR_UPLOAD_PATH. $bp->avatar_admin->image->dir ) );75 $image = apply_filters( 'bp_inline_cropper_image', getimagesize( bp_core_avatar_upload_path() . $bp->avatar_admin->image->dir ) ); 76 76 $aspect_ratio = 1; 77 77 78 $full_height = (int) constant( 'BP_AVATAR_FULL_HEIGHT');79 $full_width = (int) constant( 'BP_AVATAR_FULL_WIDTH');80 78 $full_height = bp_core_avatar_full_height(); 79 $full_width = bp_core_avatar_full_width(); 80 81 81 // Calculate Aspect Ratio 82 82 if ( $full_height && ( $full_width != $full_height ) ) … … 146 146 .custom .jcrop-vline, .custom .jcrop-hline { background: yellow; } 147 147 .custom .jcrop-handle { border-color: black; background-color: #C7BB00; -moz-border-radius: 3px; -webkit-border-radius: 3px; } 148 #avatar-crop-pane { width: <?php echo BP_AVATAR_FULL_WIDTH ?>px; height: <?php echo BP_AVATAR_FULL_HEIGHT?>px; overflow: hidden; }148 #avatar-crop-pane { width: <?php echo bp_core_avatar_full_width() ?>px; height: <?php echo bp_core_avatar_full_height() ?>px; overflow: hidden; } 149 149 #avatar-crop-submit { margin: 20px 0; } 150 150 #avatar-upload-form img, #create-group-form img, #group-settings-form img { border: none !important; }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)