mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Fix unnecessary variables in links generated by default board skins
https://xetown.com/questions/1818810
This commit is contained in:
parent
602ee88d65
commit
f0b84faf03
12 changed files with 137 additions and 137 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<div class="hx h2">
|
||||
<h2><a href="{getUrl('','mid',$mid)}">{$module_info->browser_title}</a> <em>[{number_format($total_count)}]</em></h2>
|
||||
<!--@if($module_info->use_category == "Y")--><a href="{getUrl('page','','act','dispBoardCategory','')}" class="ca">{$lang->category}</a><!--@endif-->
|
||||
<a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="write">{$lang->cmd_write}</a>
|
||||
<a href="{getUrl('', 'mid', $mid, 'act', 'dispBoardWrite')}" class="write">{$lang->cmd_write}</a>
|
||||
</div>
|
||||
<ul class="lt">
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
|
|
|
|||
|
|
@ -1,48 +1,48 @@
|
|||
<ul id="cl" class="rp tgo open">
|
||||
{@ $_comment_list = $oDocument->getComments() }
|
||||
{@ $start = true }
|
||||
{@ $depth = 0 }
|
||||
<!--@foreach($_comment_list as $key => $comment)-->
|
||||
<!--@if(!$start && $comment->get('depth') == $depth)-->
|
||||
</li>
|
||||
<!--@end-->
|
||||
<!--@if($comment->get('depth') > $depth)-->
|
||||
<ul>
|
||||
<!--@else-->
|
||||
<!--@while($comment->get('depth') < $depth)-->
|
||||
</li>
|
||||
</ul>
|
||||
{@ $depth -= 1 }
|
||||
<!--@end-->
|
||||
<!--@endif-->
|
||||
<li>
|
||||
{$comment->getContent(false)}
|
||||
<span class="auth">
|
||||
<em>{$comment->getNickName()}</em>
|
||||
<span class="time">{$comment->getRegdate("Y.m.d")}</span>
|
||||
<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
|
||||
<a href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}" class="btn de">{$lang->cmd_delete}</a>
|
||||
<!--@endif-->
|
||||
<a href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}" class="btn re">{$lang->cmd_reply}</a>
|
||||
{@ $start = false }
|
||||
{@ $depth = $comment->get('depth') }
|
||||
</span>
|
||||
<!--@endforeach-->
|
||||
<!--@while($depth > 0)-->
|
||||
</li>
|
||||
</ul>
|
||||
{@ $depth -= 1}
|
||||
<!--@end-->
|
||||
</li>
|
||||
</ul>
|
||||
<!--@if($oDocument->comment_page_navigation)-->
|
||||
<div id="clpn" class="pn">
|
||||
<!--@if($oDocument->comment_page_navigation->cur_page != 1)-->
|
||||
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page-1}); return false;">‹ {$lang->cmd_prev}</a>
|
||||
<!--@endif-->
|
||||
<strong id="curpage">{$oDocument->comment_page_navigation->cur_page} / {$oDocument->comment_page_navigation->last_page}</strong>
|
||||
<!--@if($oDocument->comment_page_navigation->cur_page != $oDocument->comment_page_navigation->last_page)-->
|
||||
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page+1}); return false;">{$lang->cmd_next} ›</a>
|
||||
<!--@endif-->
|
||||
</div>
|
||||
<!--@endif-->
|
||||
<ul id="cl" class="rp tgo open">
|
||||
{@ $_comment_list = $oDocument->getComments() }
|
||||
{@ $start = true }
|
||||
{@ $depth = 0 }
|
||||
<!--@foreach($_comment_list as $key => $comment)-->
|
||||
<!--@if(!$start && $comment->get('depth') == $depth)-->
|
||||
</li>
|
||||
<!--@end-->
|
||||
<!--@if($comment->get('depth') > $depth)-->
|
||||
<ul>
|
||||
<!--@else-->
|
||||
<!--@while($comment->get('depth') < $depth)-->
|
||||
</li>
|
||||
</ul>
|
||||
{@ $depth -= 1 }
|
||||
<!--@end-->
|
||||
<!--@endif-->
|
||||
<li>
|
||||
{$comment->getContent(false)}
|
||||
<span class="auth">
|
||||
<em>{$comment->getNickName()}</em>
|
||||
<span class="time">{$comment->getRegdate("Y.m.d")}</span>
|
||||
<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
|
||||
<a href="{getUrl('', 'mid', $mid, 'act', 'dispBoardDeleteComment', 'comment_srl', $comment->comment_srl)}" class="btn de">{$lang->cmd_delete}</a>
|
||||
<!--@endif-->
|
||||
<a href="{getUrl('', 'mid', $mid, 'act', 'dispBoardReplyComment', 'comment_srl', $comment->comment_srl)}" class="btn re">{$lang->cmd_reply}</a>
|
||||
{@ $start = false }
|
||||
{@ $depth = $comment->get('depth') }
|
||||
</span>
|
||||
<!--@endforeach-->
|
||||
<!--@while($depth > 0)-->
|
||||
</li>
|
||||
</ul>
|
||||
{@ $depth -= 1}
|
||||
<!--@end-->
|
||||
</li>
|
||||
</ul>
|
||||
<!--@if($oDocument->comment_page_navigation)-->
|
||||
<div id="clpn" class="pn">
|
||||
<!--@if($oDocument->comment_page_navigation->cur_page != 1)-->
|
||||
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page-1}); return false;">‹ {$lang->cmd_prev}</a>
|
||||
<!--@endif-->
|
||||
<strong id="curpage">{$oDocument->comment_page_navigation->cur_page} / {$oDocument->comment_page_navigation->last_page}</strong>
|
||||
<!--@if($oDocument->comment_page_navigation->cur_page != $oDocument->comment_page_navigation->last_page)-->
|
||||
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page+1}); return false;">{$lang->cmd_next} ›</a>
|
||||
<!--@endif-->
|
||||
</div>
|
||||
<!--@endif-->
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@
|
|||
<load target="css/mboard.css" />
|
||||
|
||||
<div class="hx h2">
|
||||
<h2><a href="{getUrl('document_srl','','category','','page','')}">{$module_info->browser_title}</a>
|
||||
<h2><a href="{getUrl('', 'mid', $mid)}">{$module_info->browser_title}</a>
|
||||
<!--@if($module_info->use_category == "Y" && $oDocument->get('category_srl'))-->› <a href="{getUrl('document_srl','','category',$oDocument->get('category_srl'))}">{$category_list[$oDocument->get('category_srl')]->title}</a><!--@end--> › {$oDocument->getTitle()}</h2>
|
||||
<span class="ex">{$oDocument->getNickName()} | {$oDocument->getRegdate()} | <a href="#skip_co">{$lang->skip_to_content}</a></span>
|
||||
<a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="write">{$lang->cmd_write}</a>
|
||||
<a href="{getUrl('', 'mid', $mid, 'act', 'dispBoardWrite')}" class="write">{$lang->cmd_write}</a>
|
||||
</div>
|
||||
<div class="co">
|
||||
<!--@if(!$oDocument->isAccessible())-->
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
<!--@if($oDocument->hasUploadedFiles())-->
|
||||
{@ $uploaded_list = $oDocument->getUploadedFiles() }
|
||||
<div class="hx h3">
|
||||
<h3>{$lang->uploaded_file} <em>[{count($uploaded_list)}]</em></h3>
|
||||
<h3>{$lang->uploaded_file} <em>[{count($uploaded_list)}]</em></h3>
|
||||
<button type="button" class="tg" title="open/close"></button>
|
||||
</div>
|
||||
<ul class="file tgo open">
|
||||
|
|
@ -66,7 +66,7 @@
|
|||
<!--@endif-->
|
||||
<!--@if($oDocument->getCommentCount())-->
|
||||
<div class="hx h3">
|
||||
<h3 id="clb">{$lang->comment} <em>[{$oDocument->getCommentCount()}]</em></h3>
|
||||
<h3 id="clb">{$lang->comment} <em>[{$oDocument->getCommentCount()}]</em></h3>
|
||||
<button type="button" class="tg tgr" title="open/close"></button>
|
||||
</div>
|
||||
<!--@endif-->
|
||||
|
|
@ -114,7 +114,7 @@
|
|||
<span class="fl"><a href="{getUrl('document_srl','')}" class="bn white">{$lang->cmd_list}</a></span>
|
||||
<span class="fr">
|
||||
<!--@if($oDocument->isEditable())-->
|
||||
<a href="{getUrl('act','dispBoardDelete','document_srl',$oDocument->document_srl,'comment_srl','')}" class="bn white">{$lang->cmd_delete}</a>
|
||||
<a href="{getUrl('', 'mid', $mid, 'act', 'dispBoardDelete', 'document_srl', $oDocument->document_srl)}" class="bn white">{$lang->cmd_delete}</a>
|
||||
<!--@end-->
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<h2 class="h2"><a href="{getUrl('','vid',$vid,'mid',$mid)}">{$module_info->browser_title}</a> <em>{number_format($total_count)}</em> <!--@if($module_info->use_category == "Y")--><a href="{getUrl('page','','act','dispBoardCategory','')}" class="bn">{$lang->category}</a><!--@endif--></h2>
|
||||
<h2 class="h2"><a href="{getUrl('', 'mid', $mid)}">{$module_info->browser_title}</a> <em>{number_format($total_count)}</em> <!--@if($module_info->use_category == "Y")--><a href="{getUrl('page','','act','dispBoardCategory','')}" class="bn">{$lang->category}</a><!--@endif--></h2>
|
||||
<ul class="lt">
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<li>
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
</ul>
|
||||
<div class="pn">
|
||||
<!--@if($page != 1)-->
|
||||
<a href="{getUrl('page',$page-1,'document_srl','','division',$division,'last_division',$last_division,'entry','')}">‹ {$lang->cmd_prev}</a>
|
||||
<a href="{getUrl('page',$page-1,'document_srl','','division',$division,'last_division',$last_division,'entry','')}">‹ {$lang->cmd_prev}</a>
|
||||
<!--@endif-->
|
||||
<strong>{$page} / {$page_navigation->last_page}</strong>
|
||||
<!--@if($page != $page_navigation->last_page)-->
|
||||
|
|
@ -27,5 +27,5 @@
|
|||
<!--@endif-->
|
||||
</div>
|
||||
<div class="cm">
|
||||
<a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="bn">{$lang->cmd_write}</a>
|
||||
<a href="{getUrl('', 'mid', $mid, 'act', 'dispBoardWrite')}" class="bn">{$lang->cmd_write}</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,46 +1,46 @@
|
|||
<ul id="cl" class="rp tgo open">
|
||||
{@ $_comment_list = $oDocument->getComments() }
|
||||
{@ $start = true }
|
||||
{@ $depth = 0 }
|
||||
<!--@foreach($_comment_list as $key => $comment)-->
|
||||
<!--@if(!$start && $comment->get('depth') == $depth)-->
|
||||
</li>
|
||||
<!--@end-->
|
||||
<!--@if($comment->get('depth') > $depth)-->
|
||||
<ul>
|
||||
<!--@else-->
|
||||
<!--@while($comment->get('depth') < $depth)-->
|
||||
</li>
|
||||
</ul>
|
||||
{@ $depth -= 1 }
|
||||
<!--@end-->
|
||||
<!--@endif-->
|
||||
<li>
|
||||
{$comment->getContent(false)}
|
||||
<em>{$comment->getNickName()}</em>
|
||||
<span>{$comment->getRegdate("Y.m.d")}</span>
|
||||
<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
|
||||
<a href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}" class="md">{$lang->cmd_delete}</a>
|
||||
<!--@endif-->
|
||||
<a href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}" class="md">{$lang->cmd_reply}</a>
|
||||
{@ $start = false }
|
||||
{@ $depth = $comment->get('depth') }
|
||||
<!--@endforeach-->
|
||||
<!--@while($depth > 0)-->
|
||||
</li>
|
||||
</ul>
|
||||
{@ $depth -= 1}
|
||||
<!--@end-->
|
||||
</li>
|
||||
</ul>
|
||||
<!--@if($oDocument->comment_page_navigation)-->
|
||||
<div id="clpn" class="pn">
|
||||
<!--@if($oDocument->comment_page_navigation->cur_page != 1)-->
|
||||
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page-1}); return false;">‹ {$lang->cmd_prev}</a>
|
||||
<!--@endif-->
|
||||
<strong id="curpage">{$oDocument->comment_page_navigation->cur_page} / {$oDocument->comment_page_navigation->last_page}</strong>
|
||||
<!--@if($oDocument->comment_page_navigation->cur_page != $oDocument->comment_page_navigation->last_page)-->
|
||||
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page+1}); return false;">{$lang->cmd_next} ›</a>
|
||||
<!--@endif-->
|
||||
</div>
|
||||
<!--@endif-->
|
||||
<ul id="cl" class="rp tgo open">
|
||||
{@ $_comment_list = $oDocument->getComments() }
|
||||
{@ $start = true }
|
||||
{@ $depth = 0 }
|
||||
<!--@foreach($_comment_list as $key => $comment)-->
|
||||
<!--@if(!$start && $comment->get('depth') == $depth)-->
|
||||
</li>
|
||||
<!--@end-->
|
||||
<!--@if($comment->get('depth') > $depth)-->
|
||||
<ul>
|
||||
<!--@else-->
|
||||
<!--@while($comment->get('depth') < $depth)-->
|
||||
</li>
|
||||
</ul>
|
||||
{@ $depth -= 1 }
|
||||
<!--@end-->
|
||||
<!--@endif-->
|
||||
<li>
|
||||
{$comment->getContent(false)}
|
||||
<em>{$comment->getNickName()}</em>
|
||||
<span>{$comment->getRegdate("Y.m.d")}</span>
|
||||
<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
|
||||
<a href="{getUrl('', 'mid', $mid, 'act', 'dispBoardDeleteComment','comment_srl',$comment->comment_srl)}" class="md">{$lang->cmd_delete}</a>
|
||||
<!--@endif-->
|
||||
<a href="{getUrl('', 'mid', $mid, 'act', 'dispBoardReplyComment','comment_srl',$comment->comment_srl)}" class="md">{$lang->cmd_reply}</a>
|
||||
{@ $start = false }
|
||||
{@ $depth = $comment->get('depth') }
|
||||
<!--@endforeach-->
|
||||
<!--@while($depth > 0)-->
|
||||
</li>
|
||||
</ul>
|
||||
{@ $depth -= 1}
|
||||
<!--@end-->
|
||||
</li>
|
||||
</ul>
|
||||
<!--@if($oDocument->comment_page_navigation)-->
|
||||
<div id="clpn" class="pn">
|
||||
<!--@if($oDocument->comment_page_navigation->cur_page != 1)-->
|
||||
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page-1}); return false;">‹ {$lang->cmd_prev}</a>
|
||||
<!--@endif-->
|
||||
<strong id="curpage">{$oDocument->comment_page_navigation->cur_page} / {$oDocument->comment_page_navigation->last_page}</strong>
|
||||
<!--@if($oDocument->comment_page_navigation->cur_page != $oDocument->comment_page_navigation->last_page)-->
|
||||
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page+1}); return false;">{$lang->cmd_next} ›</a>
|
||||
<!--@endif-->
|
||||
</div>
|
||||
<!--@endif-->
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<div class="rd">
|
||||
<div class="hx">
|
||||
<h2><a href="{getUrl('document_srl','','category','','page','')}">{$module_info->browser_title}</a>
|
||||
<h2><a href="{getUrl('', 'mid', $mid)}">{$module_info->browser_title}</a>
|
||||
<!--@if($module_info->use_category == "Y" && $oDocument->get('category_srl'))-->› <a href="{getUrl('document_srl','','category',$oDocument->get('category_srl'))}">{$category_list[$oDocument->get('category_srl')]->title}</a><!--@end--> › {$oDocument->getTitle()}</h2>
|
||||
<em><a href="#">{$oDocument->getNickName()}</a></em>
|
||||
<span>{$oDocument->getRegdate()}</span>
|
||||
|
|
@ -103,9 +103,9 @@
|
|||
</div>
|
||||
<ul class="cm">
|
||||
<li class="fl"><a href="{getUrl('document_srl','')}" class="bn">{$lang->cmd_list}</a></li>
|
||||
<li class="fr"><a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="bn">{$lang->cmd_write}</a></li>
|
||||
<li class="fr"><a href="{getUrl('', 'mid', $mid, 'act', 'dispBoardWrite')}" class="bn">{$lang->cmd_write}</a></li>
|
||||
<!--@if($oDocument->isEditable())-->
|
||||
<li class="fr"><a href="{getUrl('act','dispBoardDelete','document_srl',$oDocument->document_srl,'comment_srl','')}" class="bn">{$lang->cmd_delete}</a></li>
|
||||
<li class="fr"><a href="{getUrl('', 'mid', $mid, 'act', 'dispBoardDelete', 'document_srl', $oDocument->document_srl)}" class="bn">{$lang->cmd_delete}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
<script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue