From 4101127c011d8b93489d177ecb6bc6bea4b5c43d Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 17 Nov 2013 15:22:11 +0100 Subject: [PATCH] better worting of the SUBMIT button in the settings tab and the admin panel --- mod/admin.php | 10 +++++----- mod/settings.php | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mod/admin.php b/mod/admin.php index 174a9899f5..4cbc13d91a 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -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), diff --git a/mod/settings.php b/mod/settings.php index 20a5c72684..ca09e4a10a 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -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"), -- 2.39.5