OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-next.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
301dbda
)
FIX:ページアクション「adminskinedit」の画面、デフォルトスキンタイプのリストの中にスペシャルスキンタイプが混ざるバグを修正
author
shizuki
<shizuki@kinezumi.net>
Tue, 22 May 2012 05:11:32 +0000
(14:11 +0900)
committer
shizuki
<shizuki@kinezumi.net>
Tue, 22 May 2012 05:11:32 +0000
(14:11 +0900)
nucleus/libs/AdminActions.php
patch
|
blob
|
history
diff --git
a/nucleus/libs/AdminActions.php
b/nucleus/libs/AdminActions.php
index
edb6d79
..
660d4c3
100644
(file)
--- a/
nucleus/libs/AdminActions.php
+++ b/
nucleus/libs/AdminActions.php
@@
-1330,7
+1330,10
@@
class AdminActions extends BaseActions
}
$nType = $this->parser->skin->getDefaultTypes();
}
$nType = $this->parser->skin->getDefaultTypes();
- $nType = array_keys($nType);
+ $types = self::$default_skin_types;
+ unset($types['memberedit']);
+ unset($types['login']);
+ $nType = array_keys($types);
$skinid = intRequestVar('skinid');
$query = "SELECT stype FROM %s WHERE stype NOT IN (%s) AND sdesc=%d;";
$skinid = intRequestVar('skinid');
$query = "SELECT stype FROM %s WHERE stype NOT IN (%s) AND sdesc=%d;";
@@
-2242,7
+2245,9
@@
class AdminActions extends BaseActions
$templates =& $manager->getTemplate($templateName);
}
$templates =& $manager->getTemplate($templateName);
}
- $types = $this->parser->skin->getAvailableTypes();
+ $types = self::$default_skin_types;
+ unset($types['memberedit']);
+ unset($types['login']);
ksort($types);
/* NOTE: set templates for HEAD/BODY/FOOT */
ksort($types);
/* NOTE: set templates for HEAD/BODY/FOOT */