mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11795] Remove PM popup
PHPBB3-11795
This commit is contained in:
parent
973f4bc887
commit
d27bc857f3
3 changed files with 1 additions and 14 deletions
|
@ -425,12 +425,6 @@ function insert_single_user(formId, user)
|
|||
jumpto($(this));
|
||||
});
|
||||
|
||||
// PM popup
|
||||
$('body[data-popup-pm-url]').each(function() {
|
||||
var url = this.getAttribute('data-popup-pm-url');
|
||||
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
|
||||
});
|
||||
|
||||
// Adjust HTML code for IE8 and older versions
|
||||
var test = document.createElement('div'),
|
||||
oldBrowser = (typeof test.style.borderRadius == 'undefined');
|
||||
|
|
|
@ -36,16 +36,12 @@
|
|||
<link href="{T_THEME_PATH}/tweaks.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
<![endif]-->
|
||||
|
||||
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
|
||||
{% set body_attributes %}{{ body_attributes }} data-popup-pm-url="{U_POPUP_PM|e('html_attr')}"{% endset %}
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT overall_header_head_append -->
|
||||
|
||||
{$STYLESHEETS}
|
||||
|
||||
</head>
|
||||
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}"{{ body_attributes }}>
|
||||
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
|
||||
|
||||
<div id="wrap">
|
||||
<a id="top" accesskey="t"></a>
|
||||
|
|
|
@ -22,9 +22,6 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
|
||||
popup('{U_POPUP_PM|e('js')}', 400, 225, '_phpbbprivmsg');
|
||||
<!-- ENDIF -->
|
||||
|
||||
function popup(url, width, height, name)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue