[xoops-cvslog 1551] CVS update: xoops2jp/html/modules/base/admin

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 1月 1日 (日) 21:18:17 JST


Index: xoops2jp/html/modules/base/admin/css.php
diff -u xoops2jp/html/modules/base/admin/css.php:1.1.2.1 xoops2jp/html/modules/base/admin/css.php:1.1.2.2
--- xoops2jp/html/modules/base/admin/css.php:1.1.2.1	Fri Dec 30 17:22:20 2005
+++ xoops2jp/html/modules/base/admin/css.php	Sun Jan  1 21:18:17 2006
@@ -1,34 +1,34 @@
-<?php
-
-require_once "../../../mainfile.php";
-require_once XOOPS_ROOT_PATH . "/header.php";
-
-
-$theme = isset($_GET['theme']) ? trim($_GET['theme']) : null;
-$file = trim($_GET['file']);
-
-if (strpos($file, "..") !== false) {
-	exit();
-}
-
-$smarty = new Legacy_AdminSmarty();
-
-if ($theme !=null && !file_exists(XOOPS_THEME_PATH . "/" . $theme . "/" . $file)) {
-	exit();
-}
-
-if($theme!=null) {
-	$path = XOOPS_THEME_PATH . "/" . $theme;
-}
-else {
-	$path = LEGACY_ADMIN_RENDER_FALLBACK_PATH;
-}
-
-$smarty->template_dir = $path;
-$smarty->setModulePrefix('_css_'.$theme);
-$result=$smarty->fetch("file:" . $file);
-
-header('Content-Type:text/css;');
-print $result;
-
+<?php
+
+require_once "../../../mainfile.php";
+require_once XOOPS_ROOT_PATH . "/header.php";
+
+
+$theme = isset($_GET['theme']) ? trim($_GET['theme']) : null;
+$file = trim($_GET['file']);
+
+if (strpos($file, "..") !== false) {
+	exit();
+}
+
+$smarty = new Legacy_AdminSmarty();
+
+if ($theme !=null && !file_exists(XOOPS_THEME_PATH . "/" . $theme . "/" . $file)) {
+	exit();
+}
+
+if($theme!=null) {
+	$path = XOOPS_THEME_PATH . "/" . $theme;
+}
+else {
+	$path = LEGACY_ADMIN_RENDER_FALLBACK_PATH;
+}
+
+$smarty->template_dir = $path;
+$smarty->setModulePrefix('_css_'.$theme);
+$result=$smarty->fetch("file:" . $file);
+
+header('Content-Type:text/css;');
+print $result;
+
 ?>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index