summaryrefslogtreecommitdiff
path: root/includes/pages/user_settings.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-03-09 13:39:04 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-03-09 13:39:04 +0100
commitf40b78faace47a564e0efbc613fac85b69ed8b3a (patch)
treedf06bef42b577e28b61ade91d5a79c824061755e /includes/pages/user_settings.php
parent98f355cd86828ccb8a24f24ab06c29d53bff530c (diff)
angeltypes about section
Diffstat (limited to 'includes/pages/user_settings.php')
-rw-r--r--includes/pages/user_settings.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/pages/user_settings.php b/includes/pages/user_settings.php
index 0edacd48..2a54a485 100644
--- a/includes/pages/user_settings.php
+++ b/includes/pages/user_settings.php
@@ -4,7 +4,7 @@ function settings_title() {
}
function user_settings() {
- global $enable_tshirt_size, $tshirt_sizes, $themes, $locales, $faq_url;
+ global $enable_tshirt_size, $tshirt_sizes, $themes, $locales;
global $user;
$msg = "";
@@ -102,7 +102,7 @@ function user_settings() {
// Assign angel-types
$user_angel_type_info = array();
$deleted_angel_types = array_diff(array_keys($angel_types), $selected_angel_types);
- if(count($deleted_angel_types) > 0)
+ if (count($deleted_angel_types) > 0)
sql_query("DELETE FROM `UserAngelTypes` WHERE `user_id`='" . sql_escape($user['UID']) . "' AND `angeltype_id` IN (" . implode(",", $deleted_angel_types) . ")");
foreach ($angel_types_source as $angel_type)
if (in_array($angel_type['id'], $selected_angel_types))
@@ -180,7 +180,7 @@ function user_settings() {
form_text('jabber', _("Jabber"), $jabber),
form_text('hometown', _("Hometown"), $hometown),
$enable_tshirt_size ? form_select('tshirt_size', _("Shirt size"), $tshirt_sizes, $tshirt_size) : '',
- form_checkboxes('angel_types', _("What do you want to do?") . sprintf("<br>(<a href=\"%s\">%s</a>)", $faq_url, _("Description of job types")), $angel_types, $selected_angel_types),
+ form_checkboxes('angel_types', _("What do you want to do?") . sprintf("<br>(<a href=\"%s\">%s</a>)", page_link_to('angeltypes') . '&action=about', _("Description of job types")), $angel_types, $selected_angel_types),
form_submit('submit', _("Save"))
)),
form(array(