mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 21:53:43 +09:00
!!! IMPORTANT 2.0 version before upgrade please run full backup of your site !!!
- new code structure, optimized for next development; - created spl_autoloader for remove includes; - UM classes with namespaces; - deprecated global $ultimatemember; variable (use UM() instead); - new UM/WP roles logic; - new settings class and logic (deprecated Redux framework, deprecated some old options, added some new options); - new dependencies class for extensions; - WP native styles for backend fields; - new upgrades and license activations for extensions; - new logic form backend forms and fields; - created uninstall.php file for delete permanently all UM settings; - optimized registration/upgrade profile process; Deprecated Hooks: um_new_user_registration_plain um_user_registration_extra_hook um_add_user_frontend um_post_registration_global_hook um_admin_extend_directory_options_general (was action...will be filter)
This commit is contained in:
@@ -5,36 +5,6 @@ $photosize = str_replace('px','',$photosize);
|
||||
$photosize_up = ( $photosize / 2 ) + 10;
|
||||
$meta_padding = ( $photosize + 60 ) . 'px';
|
||||
|
||||
if ( $photocorner == 1 ) {
|
||||
print "
|
||||
.um-$form_id.um .um-profile-photo a.um-profile-photo-img,
|
||||
.um-$form_id.um .um-profile-photo img,
|
||||
.um-$form_id.um .um-profile-photo span.um-profile-photo-overlay
|
||||
{ -moz-border-radius: 999px !important; -webkit-border-radius: 999px !important; border-radius: 999px !important }";
|
||||
}
|
||||
|
||||
if ( $photocorner == 2 ) {
|
||||
print "
|
||||
.um-$form_id.um .um-profile-photo a.um-profile-photo-img,
|
||||
.um-$form_id.um .um-profile-photo img,
|
||||
.um-$form_id.um .um-profile-photo span.um-profile-photo-overlay
|
||||
{ -moz-border-radius: 4px !important; -webkit-border-radius: 4px !important; border-radius: 4px !important }";
|
||||
}
|
||||
|
||||
if ( $photocorner == 3 ) {
|
||||
print "
|
||||
.um-$form_id.um .um-profile-photo a.um-profile-photo-img,
|
||||
.um-$form_id.um .um-profile-photo img,
|
||||
.um-$form_id.um .um-profile-photo span.um-profile-photo-overlay
|
||||
{ -moz-border-radius: 0px !important; -webkit-border-radius: 0px !important; border-radius: 0px !important }";
|
||||
}
|
||||
|
||||
print "
|
||||
.um-$form_id.um .um-profile-photo {
|
||||
width: $meta_padding;
|
||||
}
|
||||
";
|
||||
|
||||
if ( $area_max_width ) {
|
||||
print "
|
||||
.um-$form_id.um .um-profile-body {
|
||||
@@ -61,65 +31,5 @@ print "
|
||||
padding-left: $meta_padding;
|
||||
}
|
||||
";
|
||||
|
||||
if ( $main_bg ) {
|
||||
print ".um-$form_id.um-profile {
|
||||
background-color: $main_bg;
|
||||
}";
|
||||
}
|
||||
|
||||
if ( $header_bg ) {
|
||||
print ".um-$form_id.um .um-header {
|
||||
background-color: $header_bg;
|
||||
}";
|
||||
}
|
||||
|
||||
if ( $header_text ) {
|
||||
print ".um-$form_id.um .um-profile-meta {
|
||||
color: $header_text;
|
||||
}";
|
||||
}
|
||||
|
||||
if ( $header_link_color ) {
|
||||
print "
|
||||
.um-$form_id.um .um-name a {
|
||||
color: $header_link_color;
|
||||
}
|
||||
";
|
||||
}
|
||||
|
||||
if ( $header_link_hcolor ) {
|
||||
print "
|
||||
.um-$form_id.um .um-name a:hover {
|
||||
color: $header_link_hcolor;
|
||||
}
|
||||
";
|
||||
}
|
||||
|
||||
if ( $header_icon_color ) {
|
||||
print "
|
||||
.um-$form_id.um .um-profile-headericon a {
|
||||
color: $header_icon_color;
|
||||
}
|
||||
";
|
||||
}
|
||||
|
||||
if ( $header_icon_hcolor ) {
|
||||
print "
|
||||
.um-$form_id.um .um-profile-headericon a:hover,
|
||||
.um-$form_id.um .um-profile-edit-a.active {
|
||||
color: $header_icon_hcolor;
|
||||
}
|
||||
";
|
||||
}
|
||||
|
||||
if( $main_text_color ){
|
||||
print "
|
||||
.um-$form_id.um .um-profile-body.main *{
|
||||
color: $main_text_color;
|
||||
}
|
||||
";
|
||||
}
|
||||
|
||||
?>
|
||||
</style>
|
||||
Reference in New Issue
Block a user