personal.php 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 use');?> <strong><?php echo $_['usage'];?></strong> <?php echo $l->t('of the available');?> <strong><?php echo $_['total_space'];?></strong></p>
  8. </div></div>
  9. <form id="passwordform">
  10. <fieldset class="personalblock">
  11. <div id="passwordchanged"><?php echo $l->t('Your password got changed');?></div>
  12. <div id="passworderror"><?php echo $l->t('Unable to change your password');?></div>
  13. <input type="password" id="pass1" name="oldpassword" placeholder="<?php echo $l->t('Current password');?>" />
  14. <input type="password" id="pass2" name="password" placeholder="<?php echo $l->t('New password');?>" data-typetoggle="#show" />
  15. <input type="checkbox" id="show" name="show" /><label for="show"><?php echo $l->t('show');?></label>
  16. <input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" />
  17. </fieldset>
  18. </form>
  19. <form id="lostpassword">
  20. <fieldset class="personalblock">
  21. <label for="email"><strong><?php echo $l->t('Email');?></strong></label>
  22. <input type="text" name="email" id="email" value="<?php echo $_['email']; ?>" placeholder="<?php echo $l->t('Your email address');?>" /><span class="msg"></span><br />
  23. <em><?php echo $l->t('Fill in an email address to enable password recovery');?></em>
  24. </fieldset>
  25. </form>
  26. <form>
  27. <fieldset class="personalblock">
  28. <label for="languageinput"><strong><?php echo $l->t('Language');?></strong></label>
  29. <select id="languageinput" class="chzen-select" name="lang" data-placeholder="<?php echo $l->t('Language');?>">
  30. <?php foreach($_['languages'] as $language):?>
  31. <option value="<?php echo $language['code'];?>"><?php echo $language['name'];?></option>
  32. <?php endforeach;?>
  33. </select>
  34. <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>
  35. </fieldset>
  36. </form>
  37. <p class="personalblock">
  38. <strong>WebDAV</strong>
  39. <?php echo OC_Helper::linkTo('files', 'webdav.php', null, true); ?><br />
  40. <em><?php echo $l->t('use this address to connect to your ownCloud in your file manager');?></em>
  41. </p>
  42. <?php foreach($_['forms'] as $form){
  43. echo $form;
  44. };?>
  45. <p class="personalblock">
  46. <strong>ownCloud</strong> <?php echo(OC_Util::getVersionString()); ?><br />
  47. developed by the <a href="http://ownCloud.org/credits" target="_blank">ownCloud community</a><br />
  48. <?php echo(OC_Updater::ShowUpdatingHint()); ?><br />
  49. <a href="http://gitorious.org/owncloud" target="_blank">source code</a> licensed freely under <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank">AGPL</a>
  50. </p>