Login (Enhanced & Minimized Themes): Login box should now stretch to fit its content. Added login_shadow_color Default Setting.

Default Settings: When using Enabled toggle link, scrolls to previous position in setting list.
This commit is contained in:
Nate Jones
2014-12-06 01:54:30 +00:00
parent b698a14908
commit cb21c76c99
5 changed files with 42 additions and 101 deletions

View File

@@ -46,6 +46,7 @@ if (sizeof($_REQUEST) > 0) {
$action = check_str($_REQUEST["action"]);
$default_setting_uuids = $_REQUEST["id"];
$enabled = check_str($_REQUEST['enabled']);
$category = check_str($_REQUEST['category']);
if (sizeof($default_setting_uuids) == 1 && $enabled != '') {
$sql = "update v_default_settings set ";
@@ -55,7 +56,7 @@ if (sizeof($_REQUEST) > 0) {
unset($sql);
$_SESSION["message"] = $text['message-update'];
header("Location: default_settings.php");
header("Location: default_settings.php#".$category);
exit;
}
@@ -428,7 +429,7 @@ if (permission_exists("domain_select") && permission_exists("domain_setting_add"
echo "  \n";
echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]." tr_link_void' style='text-align: center;'>\n";
echo " <a href='?id[]=".$row['default_setting_uuid']."&enabled=".(($row['default_setting_enabled'] == 'true') ? 'false' : 'true')."'>".ucwords($row['default_setting_enabled'])."</a>\n";
echo " <a href='?id[]=".$row['default_setting_uuid']."&enabled=".(($row['default_setting_enabled'] == 'true') ? 'false' : 'true')."&category=".$category."'>".ucwords($row['default_setting_enabled'])."</a>\n";
echo " </td>\n";
echo " <td valign='top' class='row_stylebg'>".$row['default_setting_description']."&nbsp;</td>\n";
echo " <td class='list_control_icons'>";