From: moodler Date: Mon, 31 Jan 2005 04:16:36 +0000 (+0000) Subject: Less buttons X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a01fcda61707a8dc8061d78b092074c449149c98;p=moodle.git Less buttons --- diff --git a/theme/index.php b/theme/index.php index e81c9fda1b..c1b3102ff6 100644 --- a/theme/index.php +++ b/theme/index.php @@ -82,11 +82,12 @@ echo ''; } echo "

$theme

"; - echo "

$strpreview

"; if (file_exists("$theme/README.html")) { + echo "

$strpreview

"; link_to_popup_window('/theme/'.$theme.'/README.html', $theme, $strinfo); } else if (file_exists("$theme/README.txt")) { + echo "

$strpreview

"; link_to_popup_window('/theme/'.$theme.'/README.txt', $theme, $strinfo); } if ($CFG->theme != $theme) {