summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-05-13 14:44:04 +0200
committerPhilip Häusler <msquare@notrademark.de>2014-05-13 14:44:04 +0200
commite107dff1ce417df779733667ad81d60755582779 (patch)
treed417b5a0eacdfb19217e116b60a0adae9f5dc466 /includes
parenta33fc5e21d55326fcff69c48a53f6a661a7cbf04 (diff)
button style and redirect fixes
Diffstat (limited to 'includes')
-rw-r--r--includes/pages/guest_login.php2
-rw-r--r--includes/pages/user_news.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php
index 153c6450..e733aa65 100644
--- a/includes/pages/guest_login.php
+++ b/includes/pages/guest_login.php
@@ -131,7 +131,7 @@ function guest_register() {
engelsystem_log("User " . $nick . " signed up as: " . join(", ", $user_angel_types_info));
success(_("Angel registration successful!"));
- redirect(page_link_to('login'));
+ redirect('?');
}
}
diff --git a/includes/pages/user_news.php b/includes/pages/user_news.php
index c4447e2c..c85a6243 100644
--- a/includes/pages/user_news.php
+++ b/includes/pages/user_news.php
@@ -138,7 +138,7 @@ function user_news() {
"', '" . sql_escape($_POST["treffen"]) . "');");
engelsystem_log("Created news: " . $_POST["betreff"] . ", treffen: " . $_POST["treffen"]);
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']))