Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
쇼핑몰 테마에서 커뮤니티 사용 안할시 메뉴 html코드 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Mar 16, 2021
1 parent 01e5d1f commit c92824d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion skin/shop/basic/boxevent.skin.php
Expand Up @@ -52,8 +52,8 @@
echo '<span class="ev_prd_price">'.display_price(get_price($row2), $row2['it_tel_inq']).'</span></div>'.PHP_EOL;
echo '</li>'.PHP_EOL;
}
echo '<li><a href="'.$href.'" class="sev_more">더보기</a></li>'.PHP_EOL;
if($k > 1) {
echo '<li><a href="'.$href.'" class="sev_more">더보기</a></li>'.PHP_EOL;
echo '</ul>'.PHP_EOL;
}

Expand Down
2 changes: 1 addition & 1 deletion theme/basic/shop/index.php
Expand Up @@ -6,7 +6,7 @@
return;
}

define("_INDEX_", TRUE);
if(! defined('_INDEX_')) define('_INDEX_', TRUE);

include_once(G5_THEME_SHOP_PATH.'/shop.head.php');
?>
Expand Down
2 changes: 2 additions & 0 deletions theme/basic/shop/shop.head.php
Expand Up @@ -31,10 +31,12 @@

<div id="tnb">
<div class="inner">
<?php if(defined('G5_COMMUNITY_USE') && G5_COMMUNITY_USE) { ?>
<ul id="hd_define">
<li><a href="<?php echo G5_URL ?>/">커뮤니티</a></li>
<li class="active"><a href="<?php echo G5_SHOP_URL ?>/">쇼핑몰</a></li>
</ul>
<?php } ?>
<ul id="hd_qnb">
<li><a href="<?php echo G5_BBS_URL ?>/faq.php">FAQ</a></li>
<li><a href="<?php echo G5_BBS_URL ?>/qalist.php">1:1문의</a></li>
Expand Down
2 changes: 1 addition & 1 deletion theme/basic/skin/shop/basic/boxevent.skin.php
Expand Up @@ -52,8 +52,8 @@
echo '<span class="ev_prd_price">'.display_price(get_price($row2), $row2['it_tel_inq']).'</span></div>'.PHP_EOL;
echo '</li>'.PHP_EOL;
}
echo '<li><a href="'.$href.'" class="sev_more">더보기</a></li>'.PHP_EOL;
if($k > 1) {
echo '<li><a href="'.$href.'" class="sev_more">더보기</a></li>'.PHP_EOL;
echo '</ul>'.PHP_EOL;
}

Expand Down

0 comments on commit c92824d

Please sign in to comment.