settings.php 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. <form id="export" action="#" method="post">
  2. <fieldset class="personalblock">
  3. <legend><strong><?php echo $l->t('Export this ownCloud instance');?></strong></legend>
  4. <p><?php echo $l->t('This will create a compressed file that contains the data of this owncloud instance.
  5. Please choose the export type:');?>
  6. </p>
  7. <h3>What would you like to export?</h3>
  8. <p>
  9. <input type="radio" name="export_type" value="instance" style="width:20px;" /> ownCloud instance (suitable for import )<br />
  10. <input type="radio" name="export_type" value="system" style="width:20px;" /> ownCloud system files<br />
  11. <input type="radio" name="export_type" value="userfiles" style="width:20px;" /> Just user files<br />
  12. <input type="submit" name="admin_export" value="<?php echo $l->t('Export'); ?>" />
  13. </fieldset>
  14. </form>
  15. <?php
  16. /*
  17. * EXPERIMENTAL
  18. ?>
  19. <form id="import" action="#" method="post" enctype="multipart/form-data">
  20. <fieldset class="personalblock">
  21. <legend><strong><?php echo $l->t('Import an ownCloud instance. THIS WILL DELETE ALL CURRENT OWNCLOUD DATA');?></strong></legend>
  22. <p><?php echo $l->t('All current ownCloud data will be replaced by the ownCloud instance that is uploaded.');?>
  23. </p>
  24. <p><input type="file" id="owncloud_import" name="owncloud_import"><label for="owncloud_import"><?php echo $l->t('ownCloud Export Zip File');?></label>
  25. </p>
  26. <input type="submit" name="admin_import" value="<?php echo $l->t('Import'); ?>" />
  27. </fieldset>
  28. </form>
  29. <?php
  30. */
  31. ?>