* Prevent password autocompletion for user passwords to prevent
possible mismatch. In media manager popup, fix bug that did not properly forward to image selection after upload (onli)
This commit is contained in:
@ -3,6 +3,10 @@
|
||||
Version 1.5 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Prevent password autocompletion for user passwords to prevent
|
||||
possible mismatch. In media manager popup, fix bug that did
|
||||
not properly forward to image selection after upload (onli)
|
||||
|
||||
* Fix a bug in statistics output, when statistics for single-number
|
||||
months is created. (Andreas Bilke)
|
||||
|
||||
|
@ -825,7 +825,7 @@ switch ($serendipity['GET']['adminAction']) {
|
||||
function showMediaLibrary($messages=false) {
|
||||
if (!serendipity_checkPermission('adminImagesView')) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if(!empty($messages)) {
|
||||
echo '<div class="imageMessage"><ul>';
|
||||
@ -835,6 +835,14 @@ function showMediaLibrary($messages=false) {
|
||||
echo '</ul></div>';
|
||||
}
|
||||
|
||||
global $image_selector_addvars;
|
||||
#if $image_selector_addvars is not empty, this was called by
|
||||
#serendipity_admin_image_selector.php and the library shall not be displayed (yet).
|
||||
if (!empty($image_selector_addvars)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
<script type="text/javascript" language="javascript">
|
||||
<!--
|
||||
|
@ -290,7 +290,7 @@
|
||||
array('var' => 'pass',
|
||||
'title' => INSTALL_PASSWORD,
|
||||
'description' => INSTALL_PASSWORD_DESC,
|
||||
'type' => 'protected',
|
||||
'type' => 'fullprotected',
|
||||
'default' => 'john',
|
||||
'permission' => 'siteConfiguration',
|
||||
'flags' => array('installOnly', 'local', 'simpleInstall')),
|
||||
|
@ -18,14 +18,14 @@
|
||||
array('var' => 'password',
|
||||
'title' => USERCONF_PASSWORD,
|
||||
'description' => USERCONF_PASSWORD_DESC,
|
||||
'type' => 'protected',
|
||||
'type' => 'fullprotected',
|
||||
'default' => '',
|
||||
'permission' => 'personalConfiguration'),
|
||||
|
||||
array('var' => 'check_password',
|
||||
'title' => USERCONF_CHECK_PASSWORD,
|
||||
'description' => USERCONF_CHECK_PASSWORD_DESC,
|
||||
'type' => 'protected',
|
||||
'type' => 'fullprotected',
|
||||
'default' => '',
|
||||
'permission' => 'personalConfiguration'),
|
||||
|
||||
|
Reference in New Issue
Block a user