]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-themes.php
Even more rewritten
[mailer.git] / inc / modules / member / what-themes.php
index 1cf59982ae7a76821d536551e06ad06a2197a95b..2e009be6e0f8d6c3ba9ac8da710bb7a22dd937b1 100644 (file)
@@ -38,7 +38,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL('modules.php?module=index');
@@ -105,7 +105,7 @@ array_pk_sort($THEMES, array("theme_name"));
 $OUT = ''; $SW = 2;
 foreach ($THEMES['theme_unix'] as $key => $unix) {
        $default = '';
-       if (get_session('mxchange_theme') == $unix) $default = " selected=\"selected\"";
+       if (get_session('mxchange_theme') == $unix) $default = ' selected="selected"';
 
        // Add row
        $OUT .= "<tr>