Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
whitedot
2013-05-03 17:03:34 +09:00
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</div> </div>
</footer> </footer>
<a href="<?php echo $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?'?'.$_SERVER['QUERY_STRING'].'&amp;':'?').'device=pc'; ?>" id="device_change">PC 버전으로 보기</a> <a href="<?php echo $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?'?'.str_replace("&", "&amp;", $_SERVER['QUERY_STRING']).'&amp;':'?').'device=pc'; ?>" id="device_change">PC 버전으로 보기</a>
<?php <?php
include_once(G4_PATH."/tail.sub.php"); include_once(G4_PATH."/tail.sub.php");

View File

@ -32,8 +32,8 @@ if ($config['cf_include_tail']) {
</div> </div>
</footer> </footer>
<?php if(!G4_IS_MOBILE){ ?> <?php if(!G4_IS_MOBILE) { ?>
<a href="<?php echo $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?'?'.$_SERVER['QUERY_STRING'].'&amp;':'?').'device=mobile'; ?>" id="device_change">모바일 버전으로 보기</a> <a href="<?php echo $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?'?'.str_replace("&", "&amp;", $_SERVER['QUERY_STRING']).'&amp;':'?').'device=mobile'; ?>" id="device_change">모바일 버전으로 보기</a>
<?php } ?> <?php } ?>
<?php <?php