diff --git a/_sakura/changelog.json b/_sakura/changelog.json index e339904..b8366ba 100644 --- a/_sakura/changelog.json +++ b/_sakura/changelog.json @@ -1563,6 +1563,10 @@ { "type": "FIX", "change": "Fixed background colours on the search page looking slightly mentally challenged." + }, + { + "type": "ADD", + "change": "Added draft for posting page." } ] diff --git a/_sakura/components/Main.php b/_sakura/components/Main.php index 3f3c642..4388dd5 100644 --- a/_sakura/components/Main.php +++ b/_sakura/components/Main.php @@ -64,6 +64,13 @@ class Main { } + // Get bbcodes + public static function getBBcodes() { + + return Database::fetch('bbcodes'); + + } + // Parse bbcodes public static function bbParse($text) { @@ -88,6 +95,13 @@ class Main { } + // Get emoticons + public static function getEmotes() { + + return Database::fetch('emoticons'); + + } + // Parsing emoticons public static function parseEmotes($text) { diff --git a/_sakura/templates/yuuno/forum/forumEntry.tpl b/_sakura/templates/yuuno/forum/forumEntry.tpl index 4282691..fa9b931 100644 --- a/_sakura/templates/yuuno/forum/forumEntry.tpl +++ b/_sakura/templates/yuuno/forum/forumEntry.tpl @@ -29,7 +29,7 @@