summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-07-31 17:49:08 +0200
committerAndrey Andreev <narf@devilix.net>2014-07-31 17:49:08 +0200
commitb32599ec383c408b50fc254dd6e4a2b608512393 (patch)
tree5122f90be3948d669b1cc9d1d2be4959571fac5d
parent25df7a98f013f6d2a49ad09eb754c606a4bc010f (diff)
parentdc5fe5a179e41792a7fd4f2019e38bb13cddc675 (diff)
Merge pull request #3162 from MianSaleem/patch-1
anchor popup's menubar attribute is missing
-rw-r--r--system/helpers/url_helper.php2
-rw-r--r--user_guide_src/source/changelog.rst1
2 files changed, 2 insertions, 1 deletions
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php
index 4493d5b97..0846472e7 100644
--- a/system/helpers/url_helper.php
+++ b/system/helpers/url_helper.php
@@ -213,7 +213,7 @@ if ( ! function_exists('anchor_popup'))
$window_name = '_blank';
}
- foreach (array('width' => '800', 'height' => '600', 'scrollbars' => 'yes', 'status' => 'yes', 'resizable' => 'yes', 'screenx' => '0', 'screeny' => '0') as $key => $val)
+ foreach (array('width' => '800', 'height' => '600', 'scrollbars' => 'yes', 'menubar' => 'no', 'status' => 'yes', 'resizable' => 'yes', 'screenx' => '0', 'screeny' => '0') as $key => $val)
{
$atts[$key] = isset($attributes[$key]) ? $attributes[$key] : $val;
unset($attributes[$key]);
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst
index a1fe4d572..3215ae226 100644
--- a/user_guide_src/source/changelog.rst
+++ b/user_guide_src/source/changelog.rst
@@ -80,6 +80,7 @@ Release Date: Not Released
- :func:`url_title()` will now trim extra dashes from beginning and end.
- :func:`anchor_popup()` will now fill the *href* attribute with the URL and its JS code will return FALSE instead.
- Added JS window name support to the :func:`anchor_popup()` function.
+ - Added support for menubar attribute to the :func:`anchor_popup()`.
- Added support (auto-detection) for HTTP/1.1 response codes 303, 307 in :func:`redirect()`.
- Changed :func:`redirect()` to choose the **refresh** method only on IIS servers, instead of all servers on Windows (when **auto** is used).
- Changed :func:`anchor()`, :func:`anchor_popup()`, and :func:`redirect()` to support protocol-relative URLs (e.g. *//ellislab.com/codeigniter*).