--- birthdaysNew/birthdays.css 2010-03-14 13:29:53.242181058 +0100
+++ birthdays/birthdays.css 2009-02-03 10:33:27.000000000 +0100
@@ -12,11 +12,3 @@
.birthdays-container label {
display: block;
}
-
-.birthdays-starsign {
- margin-right: 1em;
-}
-
-.birthdays-age {
- margin-left: 1em;
-}
--- birthdaysNew/birthdays.module 2010-03-14 13:29:20.647179182 +0100
+++ birthdays/birthdays.module 2009-02-03 10:33:27.000000000 +0100
@@ -703,21 +703,17 @@ function birthdays_profile_alter(&$accou
// If the field existed, and is amongst the profile fields to be shown, it is save to continue
if (isset( $_birthdays_field ) && array_key_exists($_birthdays_field->category, $account->content) && array_key_exists($_birthdays_field->name, $account->content[$_birthdays_field->category])) {
- // add css file
- drupal_add_css(drupal_get_path('module', 'birthdays') .'/birthdays.css');
-
+
// Do you have access to see birthdays?
if (user_access('access birthdays')) {
// Show starsign (will be hidden when needed)
- if(variable_get('birthdays_show_starsign', BIRTHDAYS_STARSIGN_OFF)) {
- $starsign = '';
- $starsign .= birthdays_get_starsign_image($account->birthdays_starsign, variable_get('birthdays_show_starsign', BIRTHDAYS_STARSIGN_OFF));
- $starsign .= '';
- }
+ $starsign = ''.
+ birthdays_get_starsign_image($account->birthdays_starsign, variable_get('birthdays_show_starsign', BIRTHDAYS_STARSIGN_OFF)) .
+ ' ';
// Show age (when allowed by user and administrator)
if (variable_get('birthdays_hide_year', BIRTHDAYS_HIDE_YEAR_NO) == BIRTHDAYS_HIDE_YEAR_NO || (variable_get('birthdays_hide_year', BIRTHDAYS_HIDE_YEAR_NO) == BIRTHDAYS_HIDE_YEAR_USER && $account->birthdays_user_hide_year != BIRTHDAYS_HIDE_YEAR_USER_YES)) {
- $age = '('. $account->age .')';
+ $age = ' ('. $account->age .')';
}
// Alter the profile field setup by profile.module. Show medium format in stead of short format
@@ -870,7 +866,7 @@ function _birthdays_get_starsign($day, $
break;
}
- return $starsign. '[xyu]';
+ return $starsign;
}