tag for each stylesheet defined in the config * * @param string $prefered_stylesheet Prefered stylesheet, which will be given the type "stylesheet" instead of "alternate stylesheet". Defaults to KU_DEFAULTSTYLE. * @return string HTML formatted stylesheet tags */ function printStylesheets($prefered_stylesheet = KU_DEFAULTSTYLE) { global $tc_db; $output_stylesheets = ''; $styles = explode(':', KU_STYLES); if (!in_array($prefered_stylesheet, $styles)) { $prefered_stylesheet = KU_DEFAULTSTYLE; } foreach ($styles as $stylesheet) { $output_stylesheets .= '' . "\n"; } return $output_stylesheets; } function printStylesheetsTXT($prefered_stylesheet = KU_DEFAULTTXTSTYLE) { global $tc_db; $output_stylesheets = ''; $styles = explode(':', KU_TXTSTYLES); if (!in_array($prefered_stylesheet, $styles)) { $prefered_stylesheet = KU_DEFAULTTXTSTYLE; } foreach ($styles as $stylesheet) { $output_stylesheets .= '' . "\n"; } return $output_stylesheets; } function printStylesheetsSite($prefered_stylesheet = KU_DEFAULTMENUSTYLE, $menu = false) { global $tc_db; $output_stylesheets = ''; $styles = explode(':', KU_MENUSTYLES); if (!in_array($prefered_stylesheet, $styles)) { $prefered_stylesheet = KU_DEFAULTMENUSTYLE; } foreach ($styles as $stylesheet) { $output_stylesheets .= '' . "\n"; if ($menu) { $output_stylesheets .= '' . "\n"; } } $output_stylesheets .= '' . "\n" . '' . "\n"; return $output_stylesheets; } /** * Generate the form for post deletion * * @param string $board Board directory * @return string Generated Form tag and board element */ function deletionForm($board) { return '
' . "\n"; return $output; } /** * Create the javascript which fills the password boxe for the delete post form * * @return string Javascript */ function setDelPassJavascript() { return '' . "\n"; } ?>