diff --git a/plugins/box/themes/themes.plugin.php b/plugins/box/themes/themes.plugin.php index 1b647cb..b8b0b86 100644 --- a/plugins/box/themes/themes.plugin.php +++ b/plugins/box/themes/themes.plugin.php @@ -179,7 +179,7 @@ class Chunk if ( ! file_exists(MINIFY . DS . 'theme.' . $current_theme . '.minify.' . $name . '.chunk.php') or filemtime(THEMES_SITE . DS . $current_theme . DS . $name .'.chunk.php') > filemtime(MINIFY . DS . 'theme.' . $current_theme . '.minify.' . $name . '.chunk.php')) { file_put_contents(MINIFY . DS . 'theme.' . $current_theme . '.minify.' . $name . '.chunk.php', - Minify::html(file_get_contents(THEMES_SITE. DS . $current_theme . DS . $name .'.chunk.php'))); + MinifyHTML::process(file_get_contents(THEMES_SITE. DS . $current_theme . DS . $name .'.chunk.php'))); } // Include chunk diff --git a/plugins/box/users/users.plugin.php b/plugins/box/users/users.plugin.php index c389768..5a35e2b 100644 --- a/plugins/box/users/users.plugin.php +++ b/plugins/box/users/users.plugin.php @@ -303,7 +303,6 @@ class Users extends Frontend ->render()); $mail->Send(); - // Set notification Notification::set('success', __('New password has been sent', 'users')); diff --git a/plugins/box/users/views/emails/layout_email.view.php b/plugins/box/users/views/emails/layout_email.view.php index ac494d1..5ae14b3 100644 --- a/plugins/box/users/views/emails/layout_email.view.php +++ b/plugins/box/users/views/emails/layout_email.view.php @@ -48,7 +48,7 @@ Remember: Hotmail does not support "margin" nor the "margin-top" properties. Stick to "margin-bottom", "margin-left", "margin-right" in order to control spacing. It also wise to set the inline top-margin to "0" for consistancy in Gmail for every inline instance - of a paragraph tag. */ + of a paragraph tag. */ p {margin:0; padding:0; margin-bottom:0;} /* This CSS will overwrite Hotmails default CSS and make your headings appear consistant with Gmail. @@ -87,10 +87,9 @@ a[href^="tel"], a[href^="sms"] {text-decoration:none; color:#333333; pointer-events:none; cursor:default;} .mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {text-decoration:default; color:#6e5c4f !important; pointer-events:auto; cursor:default;} - /****** MEDIA QUERIES ********/ - /* You must use attribute selectors in your media queries to prevent Yahoo from rendering these styles. - We added a yahoo attribute in the body tag to complete this fix. + /* You must use attribute selectors in your media queries to prevent Yahoo from rendering these styles. + We added a yahoo attribute in the body tag to complete this fix. More info: http://www.emailonacid.com/blog/details/C13/stop_yahoo_mail_from_rendering_your_media_queries */ /* Target mobile devices. */ @@ -123,10 +122,8 @@ } - /*** END EDITABLE STYLES ***/ - /****** TEMPORARY - THESE SHOULD BE MOVED INLINE AT END OF YOUR DEVELOPMENT PROCESS ********/ h1 {font-size:26px; line-height:1.2; font-weight:normal; margin-top:0; margin-bottom:0;} @@ -141,10 +138,8 @@ /*** END TEMPORARY ***/ - -
- +