Bob Mottram hace 8 años
padre
commit
23c49ded06
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3
    3
      src/freedombone-app-friendica

+ 3
- 3
src/freedombone-app-friendica Ver fichero

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