button style and redirect fixes

This commit is contained in:
Philip Häusler 2014-05-13 14:44:04 +02:00
parent a33fc5e21d
commit e107dff1ce
3 changed files with 7 additions and 3 deletions

View File

@ -131,7 +131,7 @@ function guest_register() {
engelsystem_log("User " . $nick . " signed up as: " . join(", ", $user_angel_types_info)); engelsystem_log("User " . $nick . " signed up as: " . join(", ", $user_angel_types_info));
success(_("Angel registration successful!")); success(_("Angel registration successful!"));
redirect(page_link_to('login')); redirect('?');
} }
} }

View File

@ -138,7 +138,7 @@ function user_news() {
"', '" . sql_escape($_POST["treffen"]) . "');"); "', '" . sql_escape($_POST["treffen"]) . "');");
engelsystem_log("Created news: " . $_POST["betreff"] . ", treffen: " . $_POST["treffen"]); engelsystem_log("Created news: " . $_POST["betreff"] . ", treffen: " . $_POST["treffen"]);
success(_("Entry saved.")); success(_("Entry saved."));
redirect(page_link_to('user_news')); redirect(page_link_to('news'));
} }
if (isset ($_REQUEST['page']) && preg_match("/^[0-9]{1,}$/", $_REQUEST['page'])) if (isset ($_REQUEST['page']) && preg_match("/^[0-9]{1,}$/", $_REQUEST['page']))

View File

@ -362,7 +362,7 @@ tr:hover .hidden {
padding-right: 5px; padding-right: 5px;
} }
a.button { a.button, input.button, input[type=submit] {
background: #f0f0f0 2px 2px no-repeat; background: #f0f0f0 2px 2px no-repeat;
border: 1px solid #888; border: 1px solid #888;
border-radius: 4px; border-radius: 4px;
@ -372,6 +372,10 @@ a.button {
white-space: nowrap; white-space: nowrap;
} }
input.button {
background-position: 2px 4px;
}
.button.on { .button.on {
color: #fff; color: #fff;
background: #444; background: #444;