diff --git a/etc/config.php b/etc/config.php index 2d8e6a5..5bdd9ca 100644 --- a/etc/config.php +++ b/etc/config.php @@ -14,7 +14,7 @@ $settings = array( // if you lost your password). Capped to 50 characters. "web_address" => 'http://change.me', // the address of your page "RSS_message" => 'my RSS feed', // the message that is displayed in the rss feed - "default_css" => '6', // 1 = Skull, 2 = Kali, 3/4 = Santa Muerte, 5 = Dirt-path, 6 = Forest, 9 = unstyled, 10 = Flowers + "default_css" => '6', // 1 = Skull, 2 = Kali, 3/4 = Santa Muerte, 5 = Dirt-path, 6 = Forest, 9 = unstyled, 10 = Flowers, 11 = Trip "enable_admin_panel" => TRUE, // set to true to enable access to the admin panel. Set to false if you are paranoid. "enable_mod_panel" => TRUE, // set to true to enable access to the moderators panel. Set to false if you are really paranoid // (but than you cannot moderate the board). diff --git a/opt/base.php b/opt/base.php index af9d951..4e3401c 100644 --- a/opt/base.php +++ b/opt/base.php @@ -615,7 +615,7 @@ function set_css($mode, $settings) // we will not have more than 99 styles, so two digits } - if ( (empty($css)) || ($css < 1) || ($css > 11) ) { + if ( (empty($css)) || ($css < 1) || ($css > 12) ) { // if no css is given, or the value is out of range, $css = $settings['default_css']; // resort to the default style @@ -628,7 +628,9 @@ function set_css($mode, $settings) function set_css_file($css) { - if ($css == 11) { + if ($css == 12) { + $css_file = '/css/flowers.css'; + } elseif ($css == 11) { $css_file = '/css/trip_mono.css'; } elseif ($css == 10) { $css_file = '/css/flowers_mono.css'; diff --git a/opt/display.php b/opt/display.php index 532b152..d7e62fd 100644 --- a/opt/display.php +++ b/opt/display.php @@ -79,7 +79,7 @@ function bbcode_to_html($text, $settings, $sub) '$2', '
  • $2
  • ', '$2', - 's/$1/$2', + ' s/$1/$2', ">$1$2
    ", '>>$1$2
    ' ); diff --git a/opt/show.php b/opt/show.php index 56b578c..c2196cb 100644 --- a/opt/show.php +++ b/opt/show.php @@ -245,7 +245,7 @@ function show_post_form($db, $msg, $sub, $settings, $org_id, $css, $quote, $ip) . "timestamp"; } - $html_string .= "
    "; + $html_string .= "
    "; $html_string .= '
    '; $statement = $db->prepare("INSERT OR IGNORE