mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Support mobile header and footer text for boards
This commit is contained in:
parent
2d833e5668
commit
0326971615
7 changed files with 46 additions and 11 deletions
|
|
@ -1,2 +1,6 @@
|
|||
{$module_info->footer_text}
|
||||
<!--@if($m && $module_info->mobile_footer_text)-->
|
||||
{$module_info->mobile_footer_text}
|
||||
<!--@else-->
|
||||
{$module_info->footer_text}
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,11 @@
|
|||
<!--@end-->
|
||||
<!--@end-->
|
||||
<div class="board">
|
||||
{$module_info->header_text}
|
||||
<!--@if($m && $module_info->mobile_header_text)-->
|
||||
{$module_info->mobile_header_text}
|
||||
<!--@else-->
|
||||
{$module_info->header_text}
|
||||
<!--@end-->
|
||||
<div class="board_header" cond="$module_info->title_image || $grant->manager">
|
||||
<h2 cond="$module_info->title_image"><a href="{getUrl('','mid',$mid)}"><img src="{$module_info->title_image}" alt="{$module_info->title_alt}" /></a></h2>
|
||||
<a cond="$grant->manager" class="setup" href="{getUrl('act','dispBoardAdminBoardInfo')}" title="{$lang->cmd_setup}">{$lang->cmd_setup}</a>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,6 @@
|
|||
{$module_info->footer_text}
|
||||
<!--@if($m && $module_info->mobile_footer_text)-->
|
||||
{$module_info->mobile_footer_text}
|
||||
<!--@else-->
|
||||
{$module_info->footer_text}
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -21,5 +21,8 @@
|
|||
<!--@end-->
|
||||
<!--@end-->
|
||||
<div class="board">
|
||||
{$module_info->header_text}
|
||||
|
||||
<!--@if($m && $module_info->mobile_header_text)-->
|
||||
{$module_info->mobile_header_text}
|
||||
<!--@else-->
|
||||
{$module_info->header_text}
|
||||
<!--@end-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue