summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authormark <mark>2012-02-10 20:57:54 +0000
committermark <mark>2012-02-10 20:57:54 +0000
commit860445eb4e5389ae310496a199d69e414d2428c9 (patch)
treedb17592518427b8ebb2d7c6b073e77d84204eea1 /FS/FS
parentc81adbf7bbaa537b650f39bb76ce0b7b8c069450 (diff)
terms of service for signup server, #16383
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/ClientAPI/Signup.pm2
-rw-r--r--FS/FS/Conf.pm8
2 files changed, 10 insertions, 0 deletions
diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm
index 595f4fb..b026afd 100644
--- a/FS/FS/ClientAPI/Signup.pm
+++ b/FS/FS/ClientAPI/Signup.pm
@@ -403,6 +403,8 @@ sub signup_info {
qw( body_bgcolor box_bgcolor menu_bgcolor ) ),
( map { $_ => join("\n", $conf->config("selfservice-$_", $agentnum ) ) }
qw( head body_header body_footer ) ),
+ ( map { $_ => join("\n", $conf->config("signup_server-$_", $agentnum ) ) }
+ qw( terms_of_service ) ),
};
$cache->set("signup_info_cache_agent$agentnum", $signup_info_cache_agent);
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index d5dc9c6..9d81b75 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -1997,6 +1997,14 @@ and customer address. Include units.',
},
{
+ 'key' => 'signup_server-terms_of_service',
+ 'section' => 'self-service',
+ 'description' => 'Terms of Service for the signup server. May contain HTML.',
+ 'type' => 'textarea',
+ 'per_agent' => 1,
+ },
+
+ {
'key' => 'selfservice_server-base_url',
'section' => 'self-service',
'description' => 'Base URL for the self-service web interface - necessary for some widgets to find their way, including retrieval of non-US state information and phone number provisioning.',