mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
fix #2142 onclick이 사용된 새 창 열기를 target 속성으로 변경
- 통합검색 모듈 misol_town 스킨도 마찬가지로 수정
This commit is contained in:
parent
1bf96e646e
commit
3ee3d63cb7
32 changed files with 48 additions and 49 deletions
|
|
@ -8,14 +8,14 @@
|
|||
<th scope="row">{$lang->author}</th>
|
||||
<td>
|
||||
<!--@foreach($addon_info->author as $author)-->
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" target="_blank" rel="noopener">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
|
||||
<!--@endforeach-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@if($addon_info->homepage)-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->homepage}</th>
|
||||
<td><a href="{$addon_info->homepage}" onclick="window.open(this.href);return false;">{$addon_info->homepage}</a></td>
|
||||
<td><a href="{$addon_info->homepage}" target="_blank" rel="noopener">{$addon_info->homepage}</a></td>
|
||||
</tr><!--@end-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->regdate}</th>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
{$oDocument->getRegdate('Y.m.d H:i')}
|
||||
</p>
|
||||
<p class="meta">
|
||||
<a cond="$module_info->display_author!='N' && $oDocument->getMemberSrl() <= 0 && $oDocument->isExistsHomepage()" href="{$oDocument->getHomepageUrl()}" onclick="window.open(this.href);return false;" class="author">{$oDocument->getNickName()}</a>
|
||||
<a cond="$module_info->display_author!='N' && $oDocument->getMemberSrl() <= 0 && $oDocument->isExistsHomepage()" href="{$oDocument->getHomepageUrl()}" target="_blank" rel="noopener" class="author">{$oDocument->getNickName()}</a>
|
||||
<block cond="$module_info->display_author!='N' && $oDocument->getMemberSrl() <= 0 && !$oDocument->isExistsHomepage()">{$oDocument->getNickName()}</block>
|
||||
<a cond="$module_info->display_author!='N' && $oDocument->getMemberSrl() > 0" href="#popup_menu_area" class="member_{$oDocument->get('member_srl')} author" onclick="return false">{$oDocument->getNickName()}</a>
|
||||
<span class="sum">
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
</h1>
|
||||
<p class="meta">
|
||||
<span class="author">
|
||||
<i class="xi-user"></i><a cond="$module_info->display_author!='N' && $oDocument->getMemberSrl() <= 0 && $oDocument->isExistsHomepage()" href="{$oDocument->getHomepageUrl()}" onclick="window.open(this.href);return false;" class="author">{$oDocument->getNickName()}</a>
|
||||
<i class="xi-user"></i><a cond="$module_info->display_author!='N' && $oDocument->getMemberSrl() <= 0 && $oDocument->isExistsHomepage()" href="{$oDocument->getHomepageUrl()}" target="_blank" rel="noopener" class="author">{$oDocument->getNickName()}</a>
|
||||
<block cond="$module_info->display_author!='N' && $oDocument->getMemberSrl() <= 0 && !$oDocument->isExistsHomepage()">{$oDocument->getNickName()}</block>
|
||||
<a cond="$module_info->display_author!='N' && $oDocument->getMemberSrl() > 0" href="#popup_menu_area" class="member_{$oDocument->get('member_srl')} author" onclick="return false">{$oDocument->getNickName()}</a>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr loop="$comment_list => $no, $oComment">
|
||||
<td><a href="{getUrl('','document_srl',$oComment->get('document_srl'))}#comment_{$oComment->get('comment_srl')}" onclick="window.open(this.href);return false;">{$oComment->getSummary(100)}</a></td>
|
||||
<td><a href="{getUrl('','document_srl',$oComment->get('document_srl'))}#comment_{$oComment->get('comment_srl')}" target="_blank">{$oComment->getSummary(100)}</a></td>
|
||||
<td><span class="member_{$oComment->getMemberSrl()}">{$oComment->getNickName()}</span></td>
|
||||
<td>{$oComment->getRegdate("Y-m-d")}</td>
|
||||
<td><strong>{$oComment->get('declared_count')} (<a href="{getUrl('', 'act', 'dispCommentAdminDeclaredLogByCommentSrl', 'target_srl',$oComment->get('comment_srl'))}" onclick="popopen(this.href, 'admin_popup');return false">{$lang->improper_comment_declare_reason}</a>)</strong></td>
|
||||
|
|
@ -115,4 +115,4 @@ jQuery(function($){
|
|||
}
|
||||
}).change();
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -2628,7 +2628,7 @@ class documentController extends document
|
|||
{
|
||||
if(!$oDocument->get('member_srl') || $oDocument->get('member_srl')==$sender_member_srl) continue;
|
||||
|
||||
if($type=='move') $purl = sprintf("<a href=\"%s\" onclick=\"window.open(this.href);return false;\" style=\"padding:10px 0;\">%s</a><hr />", $oDocument->getPermanentUrl(), $oDocument->getPermanentUrl());
|
||||
if($type=='move') $purl = sprintf("<a href=\"%s\" target=\"_blank\" style=\"padding:10px 0;\">%s</a><hr />", $oDocument->getPermanentUrl(), $oDocument->getPermanentUrl());
|
||||
else $purl = "";
|
||||
$content = sprintf("<div style=\"padding:10px 0;\"><p>%s</p></div><hr />%s<div style=\"padding:10px 0;font-weight:bold\">%s</div>%s",$message_content, $purl, $oDocument->getTitleText(), $oDocument->getContent(false, false, false));
|
||||
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ class image_link extends EditorHandler
|
|||
|
||||
if($link_url)
|
||||
{
|
||||
if($open_window =='Y') $code = sprintf('<a href="%s" onclick="window.open(this.href);return false;">%s</a>', $link_url, $code);
|
||||
if($open_window =='Y') $code = sprintf('<a href="%s" target="_blank" rel="noopener">%s</a>', $link_url, $code);
|
||||
else $code = sprintf('<a href="%s" >%s</a>', $link_url, $code);
|
||||
}
|
||||
return $code;
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<label class="x_control-label">{$lang->component_author}</label>
|
||||
<div class="x_controls">
|
||||
<!--@foreach($component->author as $author)-->
|
||||
{$author->name} (<a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a>, <a href="mailto:{$author->email_address}">{$author->email_address}</a>)<br />
|
||||
{$author->name} (<a href="{$author->homepage}" target="_blank" rel="noopener">{$author->homepage}</a>, <a href="mailto:{$author->email_address}">{$author->email_address}</a>)<br />
|
||||
<!--@endforeach-->
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -6,13 +6,13 @@
|
|||
<h2>{$lang->component_author}</h2>
|
||||
<ul>
|
||||
<li loop="$component->author => $author">
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end-->
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" target="_blank">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div cond="$component->homepage">
|
||||
<h2>{$lang->homepage}</h2>
|
||||
<p><a href="{$component->homepage}" onclick="window.open(this.href);return false;">{$component->homepage}</a></p>
|
||||
<p><a href="{$component->homepage}" target="_blank">{$component->homepage}</a></p>
|
||||
</div>
|
||||
<div>
|
||||
<h2>{$lang->component_version}</h2>
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
<h2>{$lang->component_license}</h2>
|
||||
<p>
|
||||
{nl2br(trim($component->license))}
|
||||
<a href="{$component->license_link}" cond="$component->license_link" onclick="window.open(this.href);return false;">{$component->license_link}</a>
|
||||
<a href="{$component->license_link}" cond="$component->license_link" target="_blank">{$component->license_link}</a>
|
||||
</p>
|
||||
</div>
|
||||
<div cond="$component->description">
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@
|
|||
<!--@foreach($output->data as $no => $comment)-->
|
||||
<li>
|
||||
<!--@if($comment->thumbnailExists(80))-->
|
||||
<a href="{$comment->getPermanentUrl()}" onclick="window.open(this.href);return false;"><img src="{$comment->getThumbnail(80)}" alt="" width="80" height="80" class="thumb" /></a>
|
||||
<a href="{$comment->getPermanentUrl()}" target="_blank"><img src="{$comment->getThumbnail(80)}" alt="" width="80" height="80" class="thumb" /></a>
|
||||
<!--@end-->
|
||||
<dl>
|
||||
<dt><a href="{$comment->getPermanentUrl()}" onclick="window.open(this.href);return false;">{$comment->getSummary(400)}</a></dt>
|
||||
<dt><a href="{$comment->getPermanentUrl()}" target="_blank">{$comment->getSummary(400)}</a></dt>
|
||||
</dl>
|
||||
<address><strong>{$comment->getNickName()}</strong> | <span class="time">{$comment->getRegdate("Y-m-d H:i")}</span></address>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -22,10 +22,10 @@
|
|||
<!--@foreach($output->data as $no => $document)-->
|
||||
<li>
|
||||
<!--@if($document->thumbnailExists(80))-->
|
||||
<a href="{getUrl('','document_srl',$document->document_srl)}" onclick="window.open(this.href);return false;"><img src="{$document->getThumbnail(80)}" alt="" width="80" height="80" class="thumb" /></a>
|
||||
<a href="{getUrl('','document_srl',$document->document_srl)}" target="_blank"><img src="{$document->getThumbnail(80)}" alt="" width="80" height="80" class="thumb" /></a>
|
||||
<!--@end-->
|
||||
<dl>
|
||||
<dt><a href="{getUrl('','document_srl',$document->document_srl)}" onclick="window.open(this.href);return false;">{$document->getTitle()}</a> <!--@if($document->getCommentCount())--><span class="reply">[<em>{$document->getCommentCount()}</em>]</span> <!--@end--></dt>
|
||||
<dt><a href="{getUrl('','document_srl',$document->document_srl)}" target="_blank">{$document->getTitle()}</a> <!--@if($document->getCommentCount())--><span class="reply">[<em>{$document->getCommentCount()}</em>]</span> <!--@end--></dt>
|
||||
|
||||
<dd>{$document->getSummary(200)}</dd>
|
||||
</dl>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<!--@foreach($output->data as $no => $file)-->
|
||||
<li>
|
||||
<dl>
|
||||
<dt><a href="{$file->url}" onclick="window.open(this.href);return false;">{$file->filename}</a> ({FileHandler::filesize($file->file_size)})</dt>
|
||||
<dt><a href="{$file->url}" target="_blank">{$file->filename}</a> ({FileHandler::filesize($file->file_size)})</dt>
|
||||
</dl>
|
||||
<address><strong>{$file->nick_name}</strong> | <span class="time">{$file->regdate}</span> | <span class="recomNum">{number_format($file->download_count)}</span> </address>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<ul class="searchResult">
|
||||
<!--@foreach($output->data as $no => $image)-->
|
||||
<li>
|
||||
<a href="{$image->url}" onclick="window.open(this.href);return false;">{$image->src}</a>
|
||||
<a href="{$image->url}" target="_blank">{$image->src}</a>
|
||||
<dl>
|
||||
<dt><a href="{$image->url}">{$image->filename}</a></dt>
|
||||
</dl>
|
||||
|
|
|
|||
|
|
@ -16,11 +16,10 @@
|
|||
<!--@foreach($output->data as $no => $trackback)-->
|
||||
<li>
|
||||
<dl>
|
||||
<dt><a href="{getUrl('','document_srl',$trackback->document_srl)}" onclick="window.open(this.href);return false;">{htmlspecialchars($trackback->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}</a> </span></dt>
|
||||
<dt><a href="{getUrl('','document_srl',$trackback->document_srl)}" target="_blank">{htmlspecialchars($trackback->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}</a> </span></dt>
|
||||
<dd>{cut_str(htmlspecialchars($trackback->excerpt, ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}</dd>
|
||||
</dl>
|
||||
<address><strong><a href="{$trackback->url}">{htmlspecialchars($trackback->blog_name, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}</a></strong> | <span class="time">{zdate($trackback->regdate, "Y-m-d H:i")}</span> </address>
|
||||
|
||||
</li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<ul class="misolSearch_list">
|
||||
<!--@foreach($output->data as $no => $comment)-->
|
||||
<li>
|
||||
<a href="{$comment->getPermanentUrl()}" class="cont_a" onclick="window.open(this.href);return false;">
|
||||
<a href="{$comment->getPermanentUrl()}" class="cont_a" target="_blank">
|
||||
<div class="content_basic<!--@if($comment->thumbnailExists(240))--> left_img<!--@end-->">
|
||||
<section class="item">
|
||||
<span cond="$comment->thumbnailExists(240)" class="content_image">
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<ul class="misolSearch_list">
|
||||
<!--@foreach($output->data as $no => $document)-->
|
||||
<li>
|
||||
<a href="{getUrl('','document_srl',$document->document_srl)}" class="cont_a" onclick="window.open(this.href);return false;">
|
||||
<a href="{getUrl('','document_srl',$document->document_srl)}" class="cont_a" target="_blank">
|
||||
<div class="content_basic<!--@if($document->thumbnailExists(240))--> left_img<!--@end-->">
|
||||
<section class="item">
|
||||
<span cond="$document->thumbnailExists(240)" class="content_image">
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<ul class="misolSearch_list">
|
||||
<!--@foreach($output->data as $no => $file)-->
|
||||
<li>
|
||||
<a href="{$file->url}" class="cont_a" onclick="window.open(this.href);return false;">
|
||||
<a href="{$file->url}" class="cont_a" target="_blank">
|
||||
<div class="content_basic">
|
||||
<section class="item">
|
||||
<h1>{$file->filename} ({FileHandler::filesize($file->file_size)})</h1>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<ul class="misolSearch_list">
|
||||
<!--@foreach($output->data as $no => $image)-->
|
||||
<li>
|
||||
<a href="{$image->url}" class="cont_a" onclick="window.open(this.href);return false;">
|
||||
<a href="{$image->url}" class="cont_a" target="_blank">
|
||||
<div class="content_basic left_img">
|
||||
<section class="item">
|
||||
<span class="content_image">
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
<ul class="misolSearch_list">
|
||||
<!--@foreach($output->data as $no => $trackback)-->
|
||||
<li>
|
||||
<a href="{getUrl('','document_srl',$trackback->document_srl)}" class="cont_a" onclick="window.open(this.href);return false;">
|
||||
<a href="{getUrl('','document_srl',$trackback->document_srl)}" class="cont_a" target="_blank">
|
||||
<div class="content_basic">
|
||||
<section class="item">
|
||||
<h1>{htmlspecialchars($trackback->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}</h1>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
<!--@if($layout_info->copyright_text)-->
|
||||
{$layout_info->copyright_text}
|
||||
<!--@else-->
|
||||
Copyright © <a href="https://www.xpressengine.com" onclick="window.open(this.href);return false;"><abbr title="Xpress Engine">XE</abbr>.</a> All Rights Reserved.
|
||||
Copyright © <a href="https://www.rhymix.org/" target="_blank" rel="noopener">Rhymix.</a> All Rights Reserved.
|
||||
<!--@end-->
|
||||
</address>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<tr loop="$document_list => $no,$oDocument">
|
||||
<td>{$no}</td>
|
||||
<td class="title">
|
||||
<a href="{getUrl('','document_srl',$oDocument->document_srl)}" onclick="window.open(this.href);return false;">{$oDocument->getTitleText()}</a>
|
||||
<a href="{getUrl('','document_srl',$oDocument->document_srl)}" target="_blank">{$oDocument->getTitleText()}</a>
|
||||
<!--@if($oDocument->getCommentCount())-->
|
||||
[{$oDocument->getCommentCount()}]
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<tbody>
|
||||
<tr loop="$document_list=>$no,$val">
|
||||
<td>{$no}</td>
|
||||
<td class="title"><a href="{getUrl('','document_srl',$val->document_srl)}" onclick="window.open(this.href);return false;">{htmlspecialchars($val->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}</a></td>
|
||||
<td class="title"><a href="{getUrl('','document_srl',$val->document_srl)}" target="_blank">{htmlspecialchars($val->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}</a></td>
|
||||
<td><a href="#popup_menu_area" class="member_{$val->target_member_srl}">{$val->nick_name}</a></td>
|
||||
<td>{zdate($val->regdate, "Y-m-d")}</td>
|
||||
<td><button type="button" class="text" onclick="doDeleteScrap({$val->document_srl});">{$lang->cmd_delete}</button></td>
|
||||
|
|
|
|||
|
|
@ -8,14 +8,14 @@
|
|||
<th scope="row">{$lang->author}</th>
|
||||
<td class="blue">
|
||||
<!--@foreach($module_info->author as $author)-->
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" target="_blank" rel="noopener">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
|
||||
<!--@endforeach-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@if($module_info->homepage)-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->homepage}</th>
|
||||
<td class="blue"><a href="{$module_info->homepage}" onclick="window.open(this.href);return false;">{$module_info->homepage}</a></td>
|
||||
<td class="blue"><a href="{$module_info->homepage}" target="_blank" rel="noopener">{$module_info->homepage}</a></td>
|
||||
</tr>
|
||||
<!--@endif-->
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -11,14 +11,14 @@
|
|||
<th scope="row"><label for="textfield2">{$lang->author}</label></th>
|
||||
<td class="blue">
|
||||
<!--@foreach($skin_info->author as $author)-->
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" target="_blank" rel="noopener">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
|
||||
<!--@endforeach-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@if($skin_info->homepage)-->
|
||||
<tr>
|
||||
<th scope="row"><label for="textfield2">{$lang->homepage}</label></th>
|
||||
<td class="blue"><a href="{$skin_info->homepage}" onclick="window.open(this.href);return false;">{$skin_info->homepage}</a></td>
|
||||
<td class="blue"><a href="{$skin_info->homepage}" target="_blank" rel="noopener">{$skin_info->homepage}</a></td>
|
||||
</tr>
|
||||
<!--@endif-->
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -11,14 +11,14 @@
|
|||
<th scope="row"><label for="textfield2">{$lang->author}</label></th>
|
||||
<td class="blue">
|
||||
<!--@foreach($skin_info->author as $author)-->
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" target="_blank" rel="noopener">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
|
||||
<!--@endforeach-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@if($skin_info->homepage)-->
|
||||
<tr>
|
||||
<th scope="row"><label for="textfield2">{$lang->homepage}</label></th>
|
||||
<td class="blue"><a href="{$skin_info->homepage}" onclick="window.open(this.href);return false;">{$skin_info->homepage}</a></td>
|
||||
<td class="blue"><a href="{$skin_info->homepage}" target="_blank" rel="noopener">{$skin_info->homepage}</a></td>
|
||||
</tr>
|
||||
<!--@endif-->
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -12,14 +12,14 @@
|
|||
<th scope="row"><div>{$lang->author}</div></th>
|
||||
<td>
|
||||
<!--@foreach($widget_info->author as $author)-->
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
|
||||
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" target="_blank" rel="noopener">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
|
||||
<!--@endforeach-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@if($widget_info->homepage)-->
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->homepage}</div></th>
|
||||
<td><a href="{$widget_info->homepage}" onclick="window.open(this.href);return false;">{$widget_info->homepage}</a></td>
|
||||
<td><a href="{$widget_info->homepage}" target="_blank" rel="noopener">{$widget_info->homepage}</a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -526,7 +526,7 @@ class content extends WidgetHandler
|
|||
$content_item->setTitle($item->title);
|
||||
$content_item->setNickName(max($item->author,$item->{'dc:creator'}));
|
||||
//$content_item->setCategory($item->category);
|
||||
$item->description = preg_replace('!<a href=!is','<a onclick="window.open(this.href);return false" href=', $item->description);
|
||||
$item->description = preg_replace('!<a href=!is','<a target="_blank" rel="noopener" href=', $item->description);
|
||||
$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
|
||||
$content_item->setThumbnail($this->_getRssThumbnail($item->description));
|
||||
$content_item->setLink($item->link);
|
||||
|
|
@ -565,7 +565,7 @@ class content extends WidgetHandler
|
|||
$content_item->setTitle($item->title);
|
||||
$content_item->setNickName(max($item->author,$item->{'dc:creator'}));
|
||||
//$content_item->setCategory($item->category);
|
||||
$item->description = preg_replace('!<a href=!is','<a onclick="window.open(this.href);return false" href=', $item->description);
|
||||
$item->description = preg_replace('!<a href=!is','<a target="_blank" rel="noopener" href=', $item->description);
|
||||
$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
|
||||
$content_item->setThumbnail($this->_getRssThumbnail($item->description));
|
||||
$content_item->setLink($item->link);
|
||||
|
|
@ -637,7 +637,7 @@ class content extends WidgetHandler
|
|||
|
||||
//$content_item->setCategory($item->category);
|
||||
$item->description = ($item->content) ? $item->content : $item->description = $item->summary;
|
||||
$item->description = preg_replace('!<a href=!is','<a onclick="window.open(this.href);return false" href=', $item->description);
|
||||
$item->description = preg_replace('!<a href=!is','<a target="_blank" rel="noopener" href=', $item->description);
|
||||
|
||||
if(($item->content && stripos($value->content->attrs->type, "html") === FALSE) || (!$item->content && stripos($value->summary->attrs->type, "html") === FALSE))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
<!--@end-->
|
||||
|
||||
<!--@else if($v=='nickname')-->
|
||||
<a <!--@if($item->getMemberSrl())-->href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}"<!--@elseif($item->getAuthorSite())-->href="{$item->getAuthorSite()}" onclick="window.open(this.href); return false;" class="author member"<!--@else-->href="#" onclick="return false;" class="author member"<!--@end--> >{$item->getNickName($widget_info->nickname_cut_size)}</a>
|
||||
<a <!--@if($item->getMemberSrl())-->href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}"<!--@elseif($item->getAuthorSite())-->href="{$item->getAuthorSite()}" target="_blank" rel="noopener" class="author member"<!--@else-->href="#" onclick="return false;" class="author member"<!--@end--> >{$item->getNickName($widget_info->nickname_cut_size)}</a>
|
||||
|
||||
<!--@else if($v=='regdate')-->
|
||||
<span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
|
||||
|
|
@ -81,7 +81,7 @@
|
|||
<!--@end-->
|
||||
</td>
|
||||
<!--@else if($v=='nickname')-->
|
||||
<td><a <!--@if($item->getMemberSrl())-->href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}"<!--@elseif($item->getAuthorSite())-->href="{$item->getAuthorSite()}" onclick="window.open(this.href); return false;" class="author member"<!--@else-->href="#" onclick="return false;" class="author member"<!--@end--> >{$item->getNickName($widget_info->nickname_cut_size)}</a></td>
|
||||
<td><a <!--@if($item->getMemberSrl())-->href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}"<!--@elseif($item->getAuthorSite())-->href="{$item->getAuthorSite()}" target="_blank" rel="noopener" class="author member"<!--@else-->href="#" onclick="return false;" class="author member"<!--@end--> >{$item->getNickName($widget_info->nickname_cut_size)}</a></td>
|
||||
<!--@else if($v=='regdate')-->
|
||||
<td class="time"><span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span></td>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
<!--@end-->
|
||||
|
||||
<!--@else if($v=='nickname')-->
|
||||
<a <!--@if($item->getMemberSrl())-->href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}"<!--@elseif($item->getAuthorSite())-->href="{$item->getAuthorSite()}" onclick="window.open(this.href); return false;" class="author member"<!--@else-->href="#" onclick="return false;" class="author member"<!--@end--> >{$item->getNickName()}</a>
|
||||
<a <!--@if($item->getMemberSrl())-->href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}"<!--@elseif($item->getAuthorSite())-->href="{$item->getAuthorSite()}" target="_blank" rel="noopener" class="author member"<!--@else-->href="#" onclick="return false;" class="author member"<!--@end--> >{$item->getNickName()}</a>
|
||||
|
||||
<!--@else if($v=='regdate')-->
|
||||
<span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
|
||||
|
|
@ -84,7 +84,7 @@
|
|||
<!--@end-->
|
||||
</td>
|
||||
<!--@else if($v=='nickname')-->
|
||||
<td><a <!--@if($item->getMemberSrl())-->href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}"<!--@elseif($item->getAuthorSite())-->href="{$item->getAuthorSite()}" onclick="window.open(this.href); return false;" class="author member"<!--@else-->href="#" onclick="return false;" class="author member"<!--@end--> >{$item->getNickName()}</a></td>
|
||||
<td><a <!--@if($item->getMemberSrl())-->href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}"<!--@elseif($item->getAuthorSite())-->href="{$item->getAuthorSite()}" target="_blank" rel="noopener" class="author member"<!--@else-->href="#" onclick="return false;" class="author member"<!--@end--> >{$item->getNickName()}</a></td>
|
||||
<!--@else if($v=='regdate')-->
|
||||
<td class="time"><span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span></td>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<!--@end-->
|
||||
|
||||
<!--@if($logged_info->is_admin=="Y" && !$site_module_info->site_srl)-->
|
||||
<li><a href="{getUrl('','module','admin')}" onclick="window.open(this.href);return false;">{$lang->cmd_management}</a></li>
|
||||
<li><a href="{getUrl('','module','admin')}" target="_blank">{$lang->cmd_management}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
<p class="latestLogin">{$lang->last_login}<br /><span>{zDate($logged_info->last_login, "Y-m-d H:i")}</span></p>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<!--@end-->
|
||||
|
||||
<!--@if($logged_info->is_admin=="Y" && !$site_module_info->site_srl)-->
|
||||
<li><a href="{getUrl('','module','admin')}" onclick="window.open(this.href);return false;">{$lang->cmd_management}</a></li>
|
||||
<li><a href="{getUrl('','module','admin')}" target="_blank">{$lang->cmd_management}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
<p class="latestLogin">{$lang->last_login}<br /><span>{zDate($logged_info->last_login, "Y-m-d H:i")}</span></p>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<a href="{getUrl('act',$key,'member_srl','','page','')}">{lang($val)}</a></li>
|
||||
{@ $i++;}
|
||||
<!--@end-->
|
||||
<li class="i7"><a href="{getUrl('','module','admin')}" onclick="window.open(this.href);return false;">{$lang->cmd_management}</a></li>
|
||||
<li class="i7"><a href="{getUrl('','module','admin')}" target="_blank">{$lang->cmd_management}</a></li>
|
||||
</ul>
|
||||
<div class="btnbar">
|
||||
<p>{$lang->last_login}<br />{zDate($logged_info->last_login, "Y-m-d")}</p>
|
||||
|
|
|
|||
|
|
@ -448,7 +448,7 @@ class mcontent extends WidgetHandler
|
|||
$content_item->setTitle($item->title);
|
||||
$content_item->setNickName(max($item->author,$item->{'dc:creator'}));
|
||||
//$content_item->setCategory($item->category);
|
||||
$item->description = preg_replace('!<a href=!is','<a onclick="window.open(this.href);return false" href=', $item->description);
|
||||
$item->description = preg_replace('!<a href=!is','<a target="_blank" rel="noopener" href=', $item->description);
|
||||
$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
|
||||
$content_item->setLink($item->link);
|
||||
$date = date('YmdHis', strtotime(max($item->pubdate,$item->pubDate,$item->{'dc:date'})));
|
||||
|
|
@ -487,7 +487,7 @@ class mcontent extends WidgetHandler
|
|||
$content_item->setTitle($item->title);
|
||||
$content_item->setNickName(max($item->author,$item->{'dc:creator'}));
|
||||
//$content_item->setCategory($item->category);
|
||||
$item->description = preg_replace('!<a href=!is','<a onclick="window.open(this.href);return false" href=', $item->description);
|
||||
$item->description = preg_replace('!<a href=!is','<a target="_blank" rel="noopener" href=', $item->description);
|
||||
$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
|
||||
$content_item->setLink($item->link);
|
||||
$date = date('YmdHis', strtotime(max($item->pubdate,$item->pubDate,$item->{'dc:date'})));
|
||||
|
|
@ -558,7 +558,7 @@ class mcontent extends WidgetHandler
|
|||
|
||||
//$content_item->setCategory($item->category);
|
||||
$item->description = ($item->content) ? $item->content : $item->description = $item->summary;
|
||||
$item->description = preg_replace('!<a href=!is','<a onclick="window.open(this.href);return false" href=', $item->description);
|
||||
$item->description = preg_replace('!<a href=!is','<a target="_blank" rel="noopener" href=', $item->description);
|
||||
|
||||
if(($item->content && stripos($value->content->attrs->type, "html") === FALSE) || (!$item->content && stripos($value->summary->attrs->type, "html") === FALSE))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue