]> git.mxchange.org Git - friendica.git/commitdiff
better worting of the SUBMIT button in the settings tab and the admin panel
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 17 Nov 2013 14:22:11 +0000 (15:22 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 17 Nov 2013 14:22:11 +0000 (15:22 +0100)
mod/admin.php
mod/settings.php

index 174a9899f5d67a659067ed9ae0ffc743d60a7ccb..4cbc13d91a871548d7361f039c876c622d2c4079 100644 (file)
@@ -566,7 +566,7 @@ function admin_page_site(&$a) {
        return replace_macros($t, array(
                '$title' => t('Administration'),
                '$page' => t('Site'),
-               '$submit' => t('Submit'),
+               '$submit' => t('Save Settings'),
                '$registration' => t('Registration'),
                '$upload' => t('File upload'),
                '$corporate' => t('Policies'),
@@ -891,7 +891,7 @@ function admin_page_users(&$a){
                // strings //
                '$title' => t('Administration'),
                '$page' => t('Users'),
-               '$submit' => t('Submit'),
+               '$submit' => t('Add User'),
                '$select_all' => t('select all'),
                '$h_pending' => t('User registrations waiting for confirm'),
                '$h_deleted' => t('User waiting for permanent deletion'),
@@ -1037,7 +1037,7 @@ function admin_page_plugins(&$a){
        return replace_macros($t, array(
                '$title' => t('Administration'),
                '$page' => t('Plugins'),
-               '$submit' => t('Submit'),
+               '$submit' => t('Save Settings'),
                '$baseurl' => $a->get_baseurl(true),
                '$function' => 'plugins',       
                '$plugins' => $plugins,
@@ -1237,7 +1237,7 @@ function admin_page_themes(&$a){
        return replace_macros($t, array(
                '$title' => t('Administration'),
                '$page' => t('Themes'),
-               '$submit' => t('Submit'),
+               '$submit' => t('Save Settings'),
                '$baseurl' => $a->get_baseurl(true),
                '$function' => 'themes',
                '$plugins' => $xthemes,
@@ -1324,7 +1324,7 @@ readable.");
        return replace_macros($t, array(
                '$title' => t('Administration'),
                '$page' => t('Logs'),
-               '$submit' => t('Submit'),
+               '$submit' => t('Save Settings'),
                '$clear' => t('Clear'),
                '$data' => $data,
                '$baseurl' => $a->get_baseurl(true),
index 20a5c726848b0c6b05a00a17067477fda0f8698e..ca09e4a10a48f282a5a8057e60944cd86ee959bc 100644 (file)
@@ -594,7 +594,7 @@ function settings_content(&$a) {
                        $o .= replace_macros($tpl, array(
                                '$form_security_token' => get_form_security_token("settings_oauth"),
                                '$title'        => t('Add application'),
-                               '$submit'       => t('Submit'),
+                               '$submit'       => t('Save Settings'),
                                '$cancel'       => t('Cancel'),
                                '$name'         => array('name', t('Name'), '', ''),
                                '$key'          => array('key', t('Consumer Key'), '', ''),
@@ -704,7 +704,7 @@ function settings_content(&$a) {
                        '$form_security_token' => get_form_security_token("settings_features"),
                        '$title'        => t('Additional Features'),
                        '$features' => $arr,
-                       '$submit'   => t('Submit'),
+                       '$submit'   => t('Save Settings'),
                ));
                return $o;
        }
@@ -773,7 +773,7 @@ function settings_content(&$a) {
                        '$mail_pubmail' => array('mail_pubmail', t('Send public posts to all email contacts:'), $mail_pubmail, ''),
                        '$mail_action'  => array('mail_action',  t('Action after import:'), $mail_action, '', array(0=>t('None'), /*1=>t('Delete'),*/ 2=>t('Mark as seen'), 3=>t('Move to folder'))),
                        '$mail_movetofolder'    => array('mail_movetofolder',    t('Move to folder:'), $mail_movetofolder, ''),
-                       '$submit' => t('Submit'),
+                       '$submit' => t('Save Settings'),
 
                        '$settings_connectors' => $settings_connectors
                ));
@@ -849,7 +849,7 @@ function settings_content(&$a) {
                $o = replace_macros($tpl, array(
                        '$ptitle'       => t('Display Settings'),
                        '$form_security_token' => get_form_security_token("settings_display"),
-                       '$submit'       => t('Submit'),
+                       '$submit'       => t('Save Settings'),
                        '$baseurl' => $a->get_baseurl(true),
                        '$uid' => local_user(),
 
@@ -1077,7 +1077,7 @@ function settings_content(&$a) {
        $o .= replace_macros($stpl, array(
                '$ptitle'       => t('Account Settings'),
 
-               '$submit'       => t('Submit'),
+               '$submit'       => t('Save Settings'),
                '$baseurl' => $a->get_baseurl(true),
                '$uid' => local_user(),
                '$form_security_token' => get_form_security_token("settings"),