From: urs_hunkler Date: Wed, 9 May 2007 14:33:42 +0000 (+0000) Subject: library to add the surrounding divs for custom corners and borders. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d94f58029410530d144466f40435de3581eb995f;p=moodle.git library to add the surrounding divs for custom corners and borders. --- diff --git a/lib/custom_corners_lib.php b/lib/custom_corners_lib.php new file mode 100755 index 0000000000..382e096a21 --- /dev/null +++ b/lib/custom_corners_lib.php @@ -0,0 +1,49 @@ +
'; + $output .= "\n"; + $output .= '
'; + $output .= (!empty($clearfix)) ? '
' : '
'; + + if ($return) { + return $output; + } else { + echo $output; + } +} + + +/** + * Ending part of the surrounding divs for custom corners + * + * @param boolean $return, return as string or just print it + */ +function print_custom_corners_end($return=false) { + $output = '
'; + $output .= "\n"; + $output .= '
'; + + if ($return) { + return $output; + } else { + echo $output; + } +} + +?> \ No newline at end of file