diff options
author | zotlabs <mike@macgirvin.com> | 2018-05-01 19:38:32 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-05-02 09:30:45 +0200 |
commit | a9b71f5b4a6ed0f40b42c828a27fce472988fc30 (patch) | |
tree | 9fd2ae54fa7a988b6520eac71660844218e4bcd2 /Zotlabs/Module/Import.php | |
parent | c99fb4b7f1f551926e87d093f1931556e14ff053 (diff) | |
download | volse-hubzilla-a9b71f5b4a6ed0f40b42c828a27fce472988fc30.tar.gz volse-hubzilla-a9b71f5b4a6ed0f40b42c828a27fce472988fc30.tar.bz2 volse-hubzilla-a9b71f5b4a6ed0f40b42c828a27fce472988fc30.zip |
The channel import page seems to have missed the big theme cleanup of the last couple of years.
Diffstat (limited to 'Zotlabs/Module/Import.php')
-rw-r--r-- | Zotlabs/Module/Import.php | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Zotlabs/Module/Import.php b/Zotlabs/Module/Import.php index 58f0c60d5..c36e4723a 100644 --- a/Zotlabs/Module/Import.php +++ b/Zotlabs/Module/Import.php @@ -532,16 +532,19 @@ class Import extends \Zotlabs\Web\Controller { '$desc' => t('Use this form to import an existing channel from a different server/hub. You may retrieve the channel identity from the old server/hub via the network or provide an export file.'), '$label_filename' => t('File to Upload'), '$choice' => t('Or provide the old server/hub details'), - '$label_old_address' => t('Your old identity address (xyz@example.com)'), - '$label_old_email' => t('Your old login email address'), - '$label_old_pass' => t('Your old login password'), + + '$old_address' => [ 'old_address', t('Your old identity address (xyz@example.com)'), '', ''], + '$email' => [ 'email', t('Your old login email address'), '', '' ], + '$password' => [ 'password', t('Your old login password'), '', '' ], + '$import_posts' => [ 'import_posts', t('Import a few months of posts if possible (limited by available memory'), false, '', [ t('No'), t('Yes') ]], + '$common' => t('For either option, please choose whether to make this hub your new primary address, or whether your old location should continue this role. You will be able to post from either location, but only one can be marked as the primary location for files, photos, and media.'), - '$label_import_primary' => t('Make this hub my primary location'), - '$label_import_moving' => t('Move this channel (disable all previous locations)'), - '$label_import_posts' => t('Import a few months of posts if possible (limited by available memory'), + + '$make_primary' => [ 'make_primary', t('Make this hub my primary location'), false, '', [ t('No'), t('Yes') ] ], + '$moving' => [ 'moving', t('Move this channel (disable all previous locations)'), false, '', [ t('No'), t('Yes') ] ], + '$pleasewait' => t('This process may take several minutes to complete. Please submit the form only once and leave this page open until finished.'), - '$email' => '', - '$pass' => '', + '$form_security_token' => get_form_security_token('channel_import'), '$submit' => t('Submit') )); |