모바일 접속인 경우 하단에 PC화면, 모바일화면 링크 추가

This commit is contained in:
gnuboard
2013-03-05 15:03:54 +09:00
parent 1a713f72dd
commit 5d4b15f395
2 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</div>
</footer>
<a href="?device=pc">PC버전</a>
<?
include_once(G4_PATH."/tail.sub.php");
?>

View File

@ -29,6 +29,10 @@ if ($config['cf_include_tail']) {
</div>
</footer>
<?if(is_mobile()){?>
<a href="?device=mobile">모바일 버전으로 보기</a>
<?}?>
<?
include_once(G4_PATH."/tail.sub.php");
?>