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" . '' . "\n"; } /** * Generate the un-hide thread span * * @param integer $id Thread ID * @param string $board Board directory * @return string Generated span */ function unHideThreadSpan($id, $board) { return '' . "\n"; } /** * Marked for deletion message * * @return string Marked for deletion (old). */ function markedForDeletionMessage() { return '' . "\n" . ' ' . _gettext('Marked for deletion (old).') . "\n" . '' . "\n" . '
' . "\n"; } /** * Create the javascript which will check if the user has the thread hidden, and if so, hide the thread and show the un-hide thread span * * @param integer $id Thread ID * @param string $board Board directory * @return string Javascript */ function autoHideThreadJavascript($id, $board) { return '' . "\n"; } /** * Create the delete post box, displayed at the bottom left of pages in non text boards, or inside the thread in text boards * * @param integer $boardtype Board type * @param boolean $enablereporting Whether enable reporting is enabled * @return string Delete post box */ function deletePostBox($boardtype, $enablereporting) { $output = '' . "\n" . '' . "\n" . '' . "\n" . '' . "\n" . '' . "\n" . '' . "\n" . '
' . "\n" . ucwords(_gettext('Delete post')); if ($boardtype == 1) { $output .= ':'; } if ($boardtype != 1) { $output .= ' []
' . _gettext('Password'); } $output .= '  ' . "\n"; if ($enablereporting == 1) { $output .= '' . "\n"; } $output .= '
' . "\n" . '
' . "\n"; return $output; } /** * Create the javascript which fills the password boxe for the delete post form * * @return string Javascript */ function setDelPassJavascript() { return '' . "\n"; } ?>