[xoops-cvslog 4299] CVS update: xoops2jp/html/modules/base/kernel

Back to archive index

Tom Hayakawa tom_g3x****@users*****
2006年 8月 21日 (月) 22:28:48 JST


Index: xoops2jp/html/modules/base/kernel/Legacy_AdminRenderSystem.class.php
diff -u xoops2jp/html/modules/base/kernel/Legacy_AdminRenderSystem.class.php:1.1.2.10 xoops2jp/html/modules/base/kernel/Legacy_AdminRenderSystem.class.php:1.1.2.11
--- xoops2jp/html/modules/base/kernel/Legacy_AdminRenderSystem.class.php:1.1.2.10	Thu Aug 10 18:45:51 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_AdminRenderSystem.class.php	Mon Aug 21 22:28:48 2006
@@ -262,6 +262,8 @@
 		return;
 	}
 	
+	$media = (isset($params['media'])) ? $params['media'] : "all";
+
 	$infoArr = Legacy_get_ovveride_file($file, "stylesheets/");
 
 	// TEMP
@@ -274,7 +276,7 @@
 			}
 		}
 		$url = XOOPS_MODULE_URL . "/base/admin/css.php?" . implode("&", $request);
-		print '<link rel="stylesheet" type="text/css" media="all" href="' . $url . '" />';
+		print '<link rel="stylesheet" type="text/css" media="'. $media .'" href="' . $url . '" />';
 	}
 }
 


xoops-cvslog メーリングリストの案内
Back to archive index