Version 1.1 ()
------------------------------------------------------------------------
+ * Small bugfixes: Allow to use different login credentials than the
+ current HTTP Basic-Auth, if used. Order categories by name in
+ single entry view (garvinhicking)
+
* Added bookmarklet to Serendipity core, added to the "Further links"
welcome screen. Thanks to stm999999999! (garvinhicking)
FROM {$serendipity['dbPrefix']}category AS c
INNER JOIN {$serendipity['dbPrefix']}entrycat AS ec
ON ec.categoryid = c.categoryid
- WHERE ec.entryid = {$entryid}";
+ WHERE ec.entryid = {$entryid}
+ ORDER BY c.category_name ASC";
$cat =& serendipity_db_query($query);
if (!is_array($cat)) {
header("HTTP/1.0 401 Unauthorized");
exit;
} else {
- $serendipity['POST']['user'] = $_SERVER['PHP_AUTH_USER'];
- $serendipity['POST']['pass'] = $_SERVER['PHP_AUTH_PW'];
+ if (!isset($serendipity['POST']['user'])) {
+ $serendipity['POST']['user'] = $_SERVER['PHP_AUTH_USER'];
+ }
+ if (!isset($serendipity['POST']['pass'])) {
+ $serendipity['POST']['pass'] = $_SERVER['PHP_AUTH_PW'];
+ }
}
} elseif (isset($_REQUEST['http_auth_user']) && isset($_REQUEST['http_auth_pw'])) {
$serendipity['POST']['user'] = $_REQUEST['http_auth_user'];