Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kurozumi-sub committed Jan 19, 2017
1 parent 7794523 commit 6c3c475
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PluginName.php
Expand Up @@ -169,15 +169,15 @@ public function prefilterTransform(&$source, LC_Page_Ex $objPage, $filename)
case DEVICE_TYPE_ADMIN:
default:
// 管理画面編集
$template_dir = $template_dir . "admin/";
$template_admin_dir = $template_dir . "admin/";
if (strpos($filename, "customer/subnavi.tpl") !== false) {
$template_path = 'customer/subnavi.tpl';
$objTransform->select('ul')->appendChild(
file_get_contents($template_dir . $template_path));
file_get_contents($template_admin_dir . $template_path));
}

// ブロック編集
$template_dir = $template_dir . "default/frontparts/";
$template_frontparts_dir = $template_dir . "default/frontparts/";
break;
}
$source = $objTransform->getHTML();
Expand Down

0 comments on commit 6c3c475

Please sign in to comment.