Fix #1873 support mobile header/footer text in default mobile board skins

This commit is contained in:
Kijin Sung 2022-02-06 21:40:18 +09:00
parent 7a838f7588
commit c04fa73156
4 changed files with 28 additions and 4 deletions

View file

@ -1,9 +1,15 @@
<load target="css/mboard.css" />
<div class="bd">
<!--@if(isset($module_info->mobile_header_text) && $module_info->mobile_header_text)-->
<div class="bd_header_text">{$module_info->mobile_header_text}</div>
<!--@endif-->
<!--@if($oDocument->isExists())-->
<include target="read.html" />
<!--@else-->
<include target="_list.html" />
<!--@end-->
<!--@if(isset($module_info->mobile_footer_text) && $module_info->mobile_footer_text)-->
<div class="bd_footer_text">{$module_info->mobile_footer_text}</div>
<!--@endif-->
</div>

View file

@ -2,6 +2,9 @@
<load target="css/mboard.css" />
<div class="bd">
<!--@if(isset($module_info->mobile_header_text) && $module_info->mobile_header_text)-->
<div class="bd_header_text">{$module_info->mobile_header_text}</div>
<!--@endif-->
<div class="hx h2">
<h2><a href="{getUrl('','vid',$vid,'mid',$mid)}">{$module_info->browser_title}</a></h2>
</div>
@ -86,5 +89,8 @@
<div class="bna">
<button type="submit" class="bn dark">{$lang->cmd_registration}</button>
</div>
</form>
</form>
<!--@if(isset($module_info->mobile_footer_text) && $module_info->mobile_footer_text)-->
<div class="bd_footer_text">{$module_info->mobile_footer_text}</div>
<!--@endif-->
</div>

View file

@ -1,9 +1,15 @@
<load target="css/mboard.css" />
<div class="bd">
<!--@if(isset($module_info->mobile_header_text) && $module_info->mobile_header_text)-->
<div class="bd_header_text">{$module_info->mobile_header_text}</div>
<!--@endif-->
<!--@if($oDocument->isExists())-->
<!--#include("read.html")-->
<include target="read.html" />
<!--@else-->
<!--#include("_list.html")-->
<include target="_list.html" />
<!--@end-->
<!--@if(isset($module_info->mobile_footer_text) && $module_info->mobile_footer_text)-->
<div class="bd_footer_text">{$module_info->mobile_footer_text}</div>
<!--@endif-->
</div>

View file

@ -2,7 +2,10 @@
<load target="css/mboard.css" />
<div class="bd">
<h2 class="h2"><a href="{getUrl('','vid',$vid,'mid',$mid)}">{$module_info->browser_title}</a> &rsaquo; {$lang->cmd_write}</h2>
<!--@if(isset($module_info->mobile_header_text) && $module_info->mobile_header_text)-->
<div class="bd_header_text">{$module_info->mobile_header_text}</div>
<!--@endif-->
<h2 class="h2"><a href="{getUrl('','vid',$vid,'mid',$mid)}">{$module_info->browser_title}</a> &rsaquo; {$lang->cmd_write}</h2>
<form action="./" method="POST" onsubmit="return procFilter(this, insert)">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$document_srl}" />
@ -81,4 +84,7 @@
<button type="submit" class="bn">{$lang->cmd_registration}</button>
</div>
</form>
<!--@if(isset($module_info->mobile_footer_text) && $module_info->mobile_footer_text)-->
<div class="bd_footer_text">{$module_info->mobile_footer_text}</div>
<!--@endif-->
</div>