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>