Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqi committed Oct 23, 2018
1 parent e492f9d commit a6fe58e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion admin/common-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ function checkScroll () {
return;
}

t.attr('target', '_blank');
t.attr('target', '_blank')
.attr('rel', 'noopener noreferrer');
});
}

Expand Down
4 changes: 2 additions & 2 deletions admin/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<td><?php $activatedPlugins->description(); ?></td>
<td><?php $activatedPlugins->version(); ?></td>
<td><?php echo empty($activatedPlugins->homepage) ? $activatedPlugins->author : '<a href="' . $activatedPlugins->homepage
. '" rel="noopener noreferrer">' . $activatedPlugins->author . '</a>'; ?></td>
. '">' . $activatedPlugins->author . '</a>'; ?></td>
<td>
<?php if ($activatedPlugins->activate || $activatedPlugins->deactivate || $activatedPlugins->config || $activatedPlugins->personalConfig): ?>
<?php if ($activatedPlugins->config): ?>
Expand Down Expand Up @@ -99,7 +99,7 @@
<td><?php $deactivatedPlugins->description(); ?></td>
<td><?php $deactivatedPlugins->version(); ?></td>
<td><?php echo empty($deactivatedPlugins->homepage) ? $deactivatedPlugins->author : '<a href="' . $deactivatedPlugins->homepage
. '" rel="noopener noreferrer">' . $deactivatedPlugins->author . '</a>'; ?></td>
. '">' . $deactivatedPlugins->author . '</a>'; ?></td>
<td>
<a href="<?php $security->index('/action/plugins-edit?activate=' . $deactivatedPlugins->name); ?>"><?php _e('启用'); ?></a>
</td>
Expand Down

0 comments on commit a6fe58e

Please sign in to comment.