|
@@ -134,7 +134,7 @@ function friendica_close_registrations {
|
134
|
134
|
--msgbox $"New registrations are now closed" 6 40
|
135
|
135
|
}
|
136
|
136
|
|
137
|
|
-function friendica_open_registrations {
|
|
137
|
+function friendica_allow_registrations {
|
138
|
138
|
sed -i "s|REGISTER_CLOSED|REGISTER_OPEN|g" /var/www/$FRIENDICA_DOMAIN_NAME/htdocs/.htconfig.php
|
139
|
139
|
dialog --title $"Friendica Account Registrations" \
|
140
|
140
|
--msgbox $"New registrations are permitted" 6 40
|
|
@@ -151,7 +151,7 @@ function configure_interactive_friendica {
|
151
|
151
|
1 $"Set channel directory server" off \
|
152
|
152
|
2 $"Renew SSL certificate" off \
|
153
|
153
|
3 $"Close new account registrations" off \
|
154
|
|
- 4 $"Open new account registrations" off \
|
|
154
|
+ 4 $"Allow new account registrations" off \
|
155
|
155
|
5 $"Back to main menu" on 2> $data
|
156
|
156
|
sel=$?
|
157
|
157
|
case $sel in
|
|
@@ -162,7 +162,7 @@ function configure_interactive_friendica {
|
162
|
162
|
1) friendica_channel_directory_server;;
|
163
|
163
|
2) friendica_renew_cert;;
|
164
|
164
|
3) friendica_close_registrations;;
|
165
|
|
- 4) friendica_open_registrations;;
|
|
165
|
+ 4) friendica_allow_registrations;;
|
166
|
166
|
5) break;;
|
167
|
167
|
esac
|
168
|
168
|
done
|