From a01fcda61707a8dc8061d78b092074c449149c98 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 31 Jan 2005 04:16:36 +0000 Subject: [PATCH] Less buttons --- theme/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.39.5