123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <?php
- class BackupAccountForm extends Form
- {
-
- function formClass()
- {
- return 'form_profile_backup';
- }
-
- function action()
- {
- return common_local_url('backupaccount');
- }
-
- function formData()
- {
- $msg =
-
- _('You can backup your account data in '.
- '<a href="http://activitystrea.ms/">Activity Streams</a> '.
- 'format. This is an experimental feature and provides an '.
- 'incomplete backup; private account '.
- 'information like email and IM addresses is not backed up. '.
- 'Additionally, uploaded files and direct messages are not '.
- 'backed up.');
- $this->out->elementStart('p');
- $this->out->raw($msg);
- $this->out->elementEnd('p');
- }
-
- function formActions()
- {
- $this->out->submit('submit',
-
- _m('BUTTON', 'Backup'),
- 'submit',
- null,
-
- _('Backup your account.'));
- }
- }
|