]> git.mxchange.org Git - friendica.git/commitdiff
Fix relocate button label.
authorAndreas Neustifter <andreas.neustifter@gmail.com>
Sun, 8 Jul 2018 19:08:29 +0000 (21:08 +0200)
committerAndreas Neustifter <andreas.neustifter@gmail.com>
Mon, 9 Jul 2018 10:42:32 +0000 (12:42 +0200)
In settings the 'Start Relocate' button is also labeld 'Save Settings'.

mod/admin.php
view/templates/admin/site.tpl

index f12ec5e3b2578ecace5959d0ee1f503f9b15875d..4d4c065010b32ffdcbde7f8933222dd6f2dff1c3 100644 (file)
@@ -1465,7 +1465,8 @@ function admin_page_site(App $a)
                '$relay_server_tags'    => ['relay_server_tags', L10n::t("Server tags"), Config::get('system','relay_server_tags'), L10n::t("Comma separated list of tags for the 'tags' subscription.")],
                '$relay_user_tags'      => ['relay_user_tags', L10n::t("Allow user tags"), Config::get('system', 'relay_user_tags', true), L10n::t("If enabled, the tags from the saved searches will used for the 'tags' subscription in addition to the 'relay_server_tags'.")],
 
-               '$form_security_token'  => get_form_security_token("admin_site")
+               '$form_security_token'  => get_form_security_token("admin_site"),
+               '$relocate_button'      => L10n::t('Start Relocation'),
        ]);
 }
 
index 31b3b68ca294ec7862bc7c34018681768ee180de..ad5f42e85fe7e899da59756ddb9e4a850b235e76 100644 (file)
        <h3>{{$relocate}}</h3>
        {{include file="field_input.tpl" field=$relocate_url}}
        <input type="hidden" name="page_site" value="{{$submit|escape:'html'}}">
-       <div class="submit"><input type="submit" name="relocate" value="{{$submit|escape:'html'}}" /></div>
+       <div class="submit"><input type="submit" name="relocate" value="{{$relocate_button|escape:'html'}}" /></div>
        </form>
 
 </div>