personal.php 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php /**
  2. * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
  3. * This file is licensed under the Affero General Public License version 3 or later.
  4. * See the COPYING-README file.
  5. */?>
  6. <div id="quota" class="personalblock"><div style="width:<?php echo $_['usage_relative'];?>%;">
  7. <p id="quotatext"><?php echo $l->t('You have used <strong>%s</strong> of the available <strong>%s</strong>', array($_['usage'], $_['total_space']));?></p>
  8. </div></div>
  9. <div class="personalblock">
  10. <?php echo $l->t('Desktop and Mobile Syncing Clients');?>
  11. <a class="button" href="http://owncloud.org/sync-clients/" target="_blank"><?php echo $l->t('Download');?></a>
  12. </div>
  13. <form id="passwordform">
  14. <fieldset class="personalblock">
  15. <div id="passwordchanged"><?php echo $l->t('Your password was changed');?></div>
  16. <div id="passworderror"><?php echo $l->t('Unable to change your password');?></div>
  17. <input type="password" id="pass1" name="oldpassword" placeholder="<?php echo $l->t('Current password');?>" />
  18. <input type="password" id="pass2" name="password" placeholder="<?php echo $l->t('New password');?>" data-typetoggle="#show" />
  19. <input type="checkbox" id="show" name="show" /><label for="show"><?php echo $l->t('show');?></label>
  20. <input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" />
  21. </fieldset>
  22. </form>
  23. <form id="lostpassword">
  24. <fieldset class="personalblock">
  25. <label for="email"><strong><?php echo $l->t('Email');?></strong></label>
  26. <input type="text" name="email" id="email" value="<?php echo $_['email']; ?>" placeholder="<?php echo $l->t('Your email address');?>" /><span class="msg"></span><br />
  27. <em><?php echo $l->t('Fill in an email address to enable password recovery');?></em>
  28. </fieldset>
  29. </form>
  30. <form>
  31. <fieldset class="personalblock">
  32. <label for="languageinput"><strong><?php echo $l->t('Language');?></strong></label>
  33. <select id="languageinput" class="chzen-select" name="lang" data-placeholder="<?php echo $l->t('Language');?>">
  34. <?php foreach($_['languages'] as $language):?>
  35. <option value="<?php echo $language['code'];?>"><?php echo $language['name'];?></option>
  36. <?php endforeach;?>
  37. </select>
  38. <a href="https://www.transifex.net/projects/p/owncloud/team/<?php echo $_['languages'][0]['code'];?>/" target="_blank"><em><?php echo $l->t('Help translate');?></em></a>
  39. </fieldset>
  40. </form>
  41. <p class="personalblock">
  42. <strong>WebDAV</strong>
  43. <code><?php echo OC_Helper::linkToRemote('webdav'); ?></code><br />
  44. <em><?php echo $l->t('use this address to connect to your ownCloud in your file manager');?></em>
  45. </p>
  46. <?php foreach($_['forms'] as $form) {
  47. echo $form;
  48. };?>
  49. <p class="personalblock">
  50. <strong>ownCloud</strong> <?php echo(OC_Util::getVersionString()); ?> <?php echo(OC_Util::getEditionString()); ?> <br />
  51. <?php echo $l->t('Developed by the <a href="http://ownCloud.org/contact" target="_blank">ownCloud community</a>, the <a href="https://github.com/owncloud" target="_blank">source code</a> is licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank"><abbr title="Affero General Public License">AGPL</abbr></a>.'); ?>
  52. </p>