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

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 11月 7日 (火) 17:04:31 JST


Index: xoops2jp/html/modules/base/admin/menu.php
diff -u xoops2jp/html/modules/base/admin/menu.php:1.1.2.12 xoops2jp/html/modules/base/admin/menu.php:removed
--- xoops2jp/html/modules/base/admin/menu.php:1.1.2.12	Wed Aug  2 18:36:13 2006
+++ xoops2jp/html/modules/base/admin/menu.php	Tue Nov  7 17:04:31 2006
@@ -1,46 +0,0 @@
-<?php
-/**
- * @version $Id: menu.php,v 1.1.2.12 2006/08/02 09:36:13 minahito Exp $
- */
-
-$adminmenu[1]['title']=_MI_BASE_MENU_ACTIONSEARCH;
-$adminmenu[1]['link']="admin/index.php?action=ActSearch";
-
-$adminmenu[2]['title']=_MI_BASE_MENU_PREFERENCE;
-$adminmenu[2]['link']="admin/index.php?action=PreferenceList";
-
-$adminmenu[3]['title']=_MI_BASE_MENU_MODULELIST;
-$adminmenu[3]['keywords']=_MI_BASE_KEYWORD_MODULELIST;
-$adminmenu[3]['link']="admin/index.php?action=ModuleList";
-
-$adminmenu[4]['title']=_MI_BASE_MENU_MODULEINSTALL;
-$adminmenu[4]['keywords']=_MI_BASE_KEYWORD_MODULEINSTALL;
-$adminmenu[4]['link']="admin/index.php?action=InstallList";
-
-$adminmenu[5]['title']=_MI_BASE_MENU_BLOCKLIST;
-$adminmenu[5]['keywords']=_MI_BASE_KEYWORD_BLOCKLIST;
-$adminmenu[5]['link']="admin/index.php?action=BlockList";
-
-$adminmenu[6]['title']=_MI_BASE_MENU_BLOCKINSTALL;
-$adminmenu[6]['keywords']=_MI_BASE_KEYWORD_BLOCKINSTALL;
-$adminmenu[6]['link']="admin/index.php?action=BlockInstallList";
-
-$adminmenu[7]['title']=_MI_BASE_MENU_CREATE_SMILES;
-$adminmenu[7]['link']="admin/index.php?action=SmilesEdit";
-$adminmenu[7]['keywords']=_MI_BASE_KEYWORD_CREATE_SMILES;
-$adminmenu[7]['show']=false;
-
-$adminmenu[8]['title']=_MI_BASE_MENU_SMILES_MANAGE;
-$adminmenu[8]['keywords']=_MI_BASE_KEYWORD_SMILES_MANAGE;
-$adminmenu[8]['link']="admin/index.php?action=SmilesList";
-
-$adminmenu[9]['title']=_MI_BASE_MENU_COMMENT_MANAGE;
-$adminmenu[9]['link']="admin/index.php?action=CommentList";
-
-$adminmenu[10]['title']=_MI_BASE_MENU_IMAGE_MANAGE;
-$adminmenu[10]['link']="admin/index.php?action=ImagecategoryList";
-
-$adminmenu[11]['title']=_MI_BASE_MENU_THEME_MANAGE;
-$adminmenu[11]['link']="admin/index.php?action=ThemeList";
-
-?>
Index: xoops2jp/html/modules/base/admin/index.php
diff -u xoops2jp/html/modules/base/admin/index.php:1.1.2.2.2.2 xoops2jp/html/modules/base/admin/index.php:removed
--- xoops2jp/html/modules/base/admin/index.php:1.1.2.2.2.2	Tue Oct 10 15:12:23 2006
+++ xoops2jp/html/modules/base/admin/index.php	Tue Nov  7 17:04:31 2006
@@ -1,20 +0,0 @@
-<?php
-
-require_once "../../../mainfile.php";
-require_once XOOPS_ROOT_PATH . "/header.php";
-require_once XOOPS_MODULE_PATH . "/base/class/ActionFrame.class.php";
-
-$root =& XCube_Root::getSingleton();
-
-$actionName = isset($_GET['action']) ? trim($_GET['action']) : "ModuleList";
-
-$moduleRunner =& new Legacy_ActionFrame(true);
-$moduleRunner->setActionName($actionName);
-
-$root->mController->mExecute->add(array(&$moduleRunner, 'execute'));
-
-$root->mController->execute();
-
-require_once XOOPS_ROOT_PATH . "/footer.php";
-
-?>
Index: xoops2jp/html/modules/base/admin/css.php
diff -u xoops2jp/html/modules/base/admin/css.php:1.1.2.8.2.2 xoops2jp/html/modules/base/admin/css.php:removed
--- xoops2jp/html/modules/base/admin/css.php:1.1.2.8.2.2	Sat Oct  7 16:28:36 2006
+++ xoops2jp/html/modules/base/admin/css.php	Tue Nov  7 17:04:31 2006
@@ -1,64 +0,0 @@
-<?php
-
-require_once "../../../mainfile.php";
-
-//
-// @todo Why does this file know Legacy_RenderSystem?
-//
-require_once XOOPS_ROOT_PATH . "/header.php";
-
-function Legacy_modifier_css_theme($string)
-{
-	$infoArr = Legacy_get_ovveride_file($string, null, true);
-	
-	if ($infoArr['theme'] != null && $infoArr['dirname'] != null) {
-		return XOOPS_THEME_URL . "/" . $infoArr['theme'] . "/modules/" . $infoArr['dirname'] . "/" . $string;
-	}
-	elseif ($infoArr['theme'] != null) {
-		return XOOPS_THEME_URL . "/" . $infoArr['theme'] . "/" . $string;
-	}
-	elseif ($infoArr['dirname'] != null) {
-		return XOOPS_MODULE_URL . "/" . $infoArr['dirname'] . "/admin/templates/" . $string;
-	}
-	
-	return LEGACY_ADMIN_RENDER_FALLBACK_URL . "/" . $string;
-}
-
-$theme = isset($_GET['theme']) ? trim($_GET['theme']) : null;
-$dirname = isset($_GET['dirname']) ? trim($_GET['dirname']) : null;
-$file = "stylesheets/" . trim($_GET['file']);
-
-if (strstr($theme, "..") !== false || strstr($dirname, "..") !== false || strstr($file, "..") !== false) {
-	exit();
-}
-
-$smarty =& new Legacy_AdminSmarty();
-$smarty->register_modifier("theme", "Legacy_modifier_css_theme");
-$smarty->register_function("stylesheet", "Legacy_function_stylesheet");
-
-//
-// TODO Emergency WORK AROUND for compile cache problem.
-//
-$smarty->force_compile = true;
-
-if ($theme != null && $dirname != null) {
-	$path = XOOPS_THEME_PATH . "/${theme}/modules/${dirname}";
-}
-elseif ($theme != null) {
-	$path = XOOPS_THEME_PATH . "/" .$theme;
-}
-elseif ($dirname != null) {
-	$path = XOOPS_MODULE_PATH . "/${dirname}/admin/templates";
-}
-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