/** * Get the CSS stylesheet for the ID registration * * @return mixed */ public static function get_registration_css($registration_builder_id) { // if no id is set return if (!isset($registration_builder_id)) { return; } $registration_css = PROFILEPRESS_sql::get_a_builder_css('registration', $registration_builder_id); return "<style type=\"text/css\">\r\n {$registration_css} \r\n</style>"; }
/** * Get the CSS stylesheet for the ID password reset * * @return mixed */ public static function get_password_reset_css($password_reset_builder_id) { // if no id is set return if (!isset($password_reset_builder_id)) { return; } $password_reset_css = PROFILEPRESS_sql::get_a_builder_css('password_reset', $password_reset_builder_id); return "<style type=\"text/css\">\r\n {$password_reset_css} \r\n</style>"; }
/** * Get the CSS stylesheet for the ID login * * @return mixed */ public static function get_login_css($login_builder_id) { // if no id is set return if (!isset($login_builder_id)) { return; } $login_css = PROFILEPRESS_sql::get_a_builder_css('login', $login_builder_id); // added a break-line to the style tag to keep it in a new line - viewed when viewing site source code return "\r\n <style type=\"text/css\">\r\n" . $login_css . "\r\n</style>\r\n\r\n"; }