settings.php 1.0 KB

1234567891011121314151617181920
  1. <fieldset class="personalblock">
  2. <legend><strong><?php echo $l->t('Export your user account');?></strong></legend>
  3. <p><?php echo $l->t('This will create a compressed file that contains your ownCloud account.');?>
  4. </p>
  5. <button id="exportbtn">Export<img style="display: none;" class="loading" src="<?php echo OCP\Util::linkTo('core', 'img/loading.gif'); ?>" /></button>
  6. </fieldset>
  7. <form id="import" action="#" method="post" enctype="multipart/form-data">
  8. <fieldset class="personalblock">
  9. <?php if(isset($_['error'])){ ?>
  10. <h3><?php echo $_['error']['error']; ?></h3>
  11. <p><?php echo $_['error']['hint']; ?></p>
  12. <?php } ?>
  13. <legend><strong><?php echo $l->t('Import user account');?></strong></legend>
  14. </p>
  15. <p><input type="file" id="owncloud_import" name="owncloud_import" style="width:180px;"><label for="owncloud_import"> <?php echo $l->t('ownCloud User Zip');?></label>
  16. </p>
  17. <input type="submit" name="user_import" value="<?php echo $l->t('Import'); ?>" />
  18. </fieldset>
  19. </form>