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:
15db275
)
listplug_table_skinlist()とlistplug_table_adminskinlist()のスペシャルスキンパーツ分岐の条件を変更
author
sakamocchi
<o-takashi@sakamocchi.jp>
Mon, 9 Apr 2012 16:13:16 +0000
(
01:13
+0900)
committer
sakamocchi
<o-takashi@sakamocchi.jp>
Mon, 9 Apr 2012 16:13:16 +0000
(
01:13
+0900)
より妥当な条件に変更した
nucleus/libs/showlist.php
patch
|
blob
|
history
diff --git
a/nucleus/libs/showlist.php
b/nucleus/libs/showlist.php
index
a4484fe
..
8aa41f9
100644
(file)
--- a/
nucleus/libs/showlist.php
+++ b/
nucleus/libs/showlist.php
@@
-1561,7
+1561,7
@@
function listplug_table_skinlist($vars, $type, $templateName = '')
for ( $i = 0; $i < sizeof($types); $i++ )
\r
{
\r
$type = $types[$i];
\r
- if (
$i != strtolower($type
) )
\r
+ if (
!array_key_exists($type, $template['friendly_names']) || $type == strtolower($template['friendly_names'][$type]
) )
\r
{
\r
$article = 'skinpartspecial';
\r
}
\r