Fix all remaining skins making unnecessary use of window.open()

This commit is contained in:
Kijin Sung 2017-09-11 21:10:40 +09:00
parent fdc4610bfb
commit d182a2c26c
11 changed files with 12 additions and 12 deletions

View file

@ -3,7 +3,7 @@
<h2 class="hx h2">{$member_title = $lang->cmd_view_own_comment}</h2>
<ul class="lt">
<li loop="$comment_list => $no,$comment">
<a href="{getUrl('','document_srl',$comment->document_srl)}#comment_{$comment->comment_srl}" onclick="window.open(this.href);return false;">
<a href="{getUrl('','document_srl',$comment->document_srl)}#comment_{$comment->comment_srl}" target="_blank">
{$comment->getSummary() ?: $lang->msg_no_text_comment}
<span class="memberInfo">{$comment->getRegdate("Y-m-d")}</span>
</a>

View file

@ -3,7 +3,7 @@
<h2 class="hx h2">{$member_title = $lang->cmd_view_own_document}</h2>
<ul class="lt">
<li loop="$document_list => $no,$oDocument">
<a href="{getUrl('','document_srl',$oDocument->document_srl)}" onclick="window.open(this.href);return false;">
<a href="{getUrl('','document_srl',$oDocument->document_srl)}" target="_blank">
{$oDocument->getTitleText()}
<span class="memberInfo">{$oDocument->getRegdate("Y-m-d")}</span>
</a>

View file

@ -3,7 +3,7 @@
<h2 class="hx h2">{$member_title = $lang->cmd_view_saved_document}</h2>
<ul class="lt">
<li loop="$document_list=>$no,$val">
<a href="{getUrl('','document_srl',$val->document_srl)}" onclick="window.open(this.href);return false;">
<a href="{getUrl('','document_srl',$val->document_srl)}" target="_blank">
{$val->getTitle()}
<span class="memberInfo">{$val->getRegdate("Y-m-d")}</span>
</a>

View file

@ -3,7 +3,7 @@
<h2 class="hx h2">{$member_title = $lang->cmd_view_scrapped_document}</h2>
<ul class="lt">
<li loop="$document_list=>$no,$val">
<a href="{getUrl('','document_srl',$val->document_srl)}" onclick="window.open(this.href);return false;">
<a href="{getUrl('','document_srl',$val->document_srl)}" target="_blank">
{htmlspecialchars($val->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}
<span class="memberInfo">{$val->nick_name} ({zdate($val->regdate,"Y-m-d")})</span>
</a>

View file

@ -15,7 +15,7 @@
<tr loop="$comment_list => $no,$comment">
<td>{$no}</td>
<td>
<a href="{getUrl('','document_srl',$comment->document_srl)}#comment_{$comment->comment_srl}" onclick="window.open(this.href);return false;">{$comment->getSummary() ?: $lang->msg_no_text_comment}</a>
<a href="{getUrl('','document_srl',$comment->document_srl)}#comment_{$comment->comment_srl}" target="_blank">{$comment->getSummary() ?: $lang->msg_no_text_comment}</a>
</td>
<td>{$comment->getRegdate("Y-m-d")}</td>
</tr>

View file

@ -7,7 +7,7 @@
<div>
<ul class="rx_sw_list">
<li loop="$comment_list => $key, $item">
<a href="{getUrl('','document_srl',$item->document_srl)}#comment_{$item->comment_srl}" class="cont_a no_delete" onclick="window.open(this.href);return false;">
<a href="{getUrl('','document_srl',$item->document_srl)}#comment_{$item->comment_srl}" class="cont_a no_delete" target="_blank">
<span class="content_basic">
<span class="content_title">
{$item->getSummary() ?: lang('comment.msg_no_text_comment')}

View file

@ -7,7 +7,7 @@
<div>
<ul class="rx_sw_list">
<li loop="$document_list => $key, $item">
<a href="{getUrl('','document_srl',$item->document_srl)}" class="cont_a no_delete" onclick="window.open(this.href);return false;">
<a href="{getUrl('','document_srl',$item->document_srl)}" class="cont_a no_delete" target="_blank">
<span class="content_basic">
<span class="content_title">
{escape($item->getTitle())}

View file

@ -5,7 +5,7 @@
<div>
<ul class="rx_sw_list">
<li loop="$document_list => $key, $item">
<a href="{getUrl('','document_srl',$item->document_srl)}" class="cont_a" onclick="window.open(this.href);return false;">
<a href="{getUrl('','document_srl',$item->document_srl)}" class="cont_a" target="_blank">
<span class="content_basic">
<span class="content_title">
{escape($item->getTitle())}

View file

@ -5,7 +5,7 @@
<div>
<ul class="rx_sw_list">
<li loop="$document_list => $key, $item">
<a href="{getUrl('','document_srl',$item->document_srl)}" class="cont_a" onclick="window.open(this.href);return false;">
<a href="{getUrl('','document_srl',$item->document_srl)}" class="cont_a" target="_blank">
<span class="content_basic">
<span class="content_title">
{escape($item->title)}