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
(parent:
178f988
)
FIX: admintemplateoverview/admntemplateoverviewの変換をAdmin::action()において行う
author
sakamocchi
<o-takashi@sakamocchi.jp>
Fri, 11 May 2012 22:20:31 +0000
(07:20 +0900)
committer
sakamocchi
<o-takashi@sakamocchi.jp>
Fri, 11 May 2012 22:20:31 +0000
(07:20 +0900)
Nucleus
CMSのスキン名は最大20文字のため、全長21文字となるadmintemplateoverviewはそのままでは使うことができない。この問題はコミット「
272e98e6d6a1ee35e7d3a826b3f4121769935b4e
」で指摘されており、即急に最検討する必要あり。
nucleus/libs/ADMIN.php
patch
|
blob
|
history
diff --git
a/nucleus/libs/ADMIN.php
b/nucleus/libs/ADMIN.php
index
3c8dfce
..
52ca623
100644
(file)
--- a/
nucleus/libs/ADMIN.php
+++ b/
nucleus/libs/ADMIN.php
@@
-202,7
+202,8
@@
class Admin
{
\r
$alias = array(
\r
'login' => 'overview',
\r
- '' => 'overview'
\r
+ '' => 'overview',
\r
+ 'admntemplateoverview' => 'admintemplateoverview'
\r
);
\r
}
\r
if ( array_key_exists($action, $alias) && isset($alias[$action]) )
\r
@@
-3305,7
+3306,7
@@
class Admin
*/
\r
static private function action_admintemplateoverview()
\r
{
\r
- global $member
, $manager
;
\r
+ global $member;
\r
$member->isAdmin() or self::disallow();
\r
self::$skin->parse('admntemplateoverview');
\r
return;
\r