more info in personal, WebDAV, OpenID

This commit is contained in:
Jan-Christoph Borchardt 2011-08-14 11:09:51 +02:00
parent 4f43b0a729
commit f2a21398d7
3 changed files with 30 additions and 21 deletions

View File

@ -1,6 +1,7 @@
<form id="openidform">
<fieldset>
<legend><?php echo $l->t( 'OpenID' );?></legend>
<input type="text" name='identity' id='identity' value="<?php echo $_['identity']; ?>" placeholder="OpenID for <?php echo OC_User::getUser();?>" />
<fieldset class="personalblock">
<p><strong>OpenID</strong> <?php echo ((isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].$WEBROOT.'/?'; echo OC_User::getUser(); ?></p>
<label for="identity">Authorized</label>
<input type="text" name="identity" id="identity" value="<?php echo $_['identity']; ?>" placeholder="OpenID provider" title="Wordpress, Identi.ca, Launchpad, &hellip;" />
</fieldset>
</form>
</form>

View File

@ -302,6 +302,7 @@ $(document).ready(function(){
if($('.action').attr('title')) $('.action').tipsy({gravity:'s', fade:true, live:true});
$('.selectedActions a').tipsy({gravity:'n', fade:true, live:true});
$('.selectedActions a.delete').tipsy({gravity: 'ne', fade:true, live:true});
$('input#identity').tipsy({gravity:'w', fade:true});
});
if (!Array.prototype.map){

View File

@ -1,27 +1,34 @@
<div id="quota" class="personalblock"><div style="width:<?php echo $_['usage_relative'] ?>%;">
<p><?php echo $l->t( 'You use' );?> <strong><?php echo $_['usage'] ?></strong> <?php echo $l->t( 'of the available' );?> <?php echo $_['total_space'] ?></p>
<p><?php echo $l->t('You use');?> <strong><?php echo $_['usage'] ?></strong> <?php echo $l->t('of the available');?> <?php echo $_['total_space'] ?></p>
</div></div>
<form id="passwordform">
<fieldset class="personalblock">
<div id="passwordchanged"><?php echo $l->t( 'Your password got changed');?></div>
<div id="passwordchanged"><?php echo $l->t('Your password got changed');?></div>
<div id="passworderror"></div>
<input type="password" id="pass1" name="oldpassword" placeholder="<?php echo $l->t( 'Current password' );?>" />
<input type="password" id="pass2" name="password" placeholder="<?php echo $l->t( 'New password' );?>" data-typetoggle="#show" />
<input type="checkbox" id="show" name="show" /><label for="show"><?php echo $l->t( 'show' );?></label>
<input id="passwordbutton" type="submit" value="<?php echo $l->t( 'Change password' );?>" />
<input type="password" id="pass1" name="oldpassword" placeholder="<?php echo $l->t('Current password');?>" />
<input type="password" id="pass2" name="password" placeholder="<?php echo $l->t('New password');?>" data-typetoggle="#show" />
<input type="checkbox" id="show" name="show" /><label for="show"><?php echo $l->t('show');?></label>
<input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" />
</fieldset>
</form>
<div class="personalblock">
<label for="languageinput"><?php echo $l->t( 'Language' );?></label>
<select id="languageinput" name='lang'>
<?php foreach($_['languages'] as $language):?>
<option value='<?php echo $language;?>'><?php echo $language;?></option>
<?php endforeach;?>
</select>
<form>
<fieldset class="personalblock">
<strong><label for="languageinput"><?php echo $l->t('Language');?></label></strong>
<select id="languageinput" name='lang'>
<?php foreach($_['languages'] as $language):?>
<option value="<?php echo $language;?>"><?php echo $language;?></option>
<?php endforeach;?>
</select>
<a href="https://www.transifex.net/projects/p/owncloud/"><?php echo $l->t('Help translating');?></a>
</fieldset>
</form>
<?php foreach($_['forms'] as $form){
echo $form;
};?>
</div>
<p class="personalblock">
<strong>WebDAV</strong> <?php echo ((isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].$WEBROOT.'/files/webdav.php'; ?>
</p>
<?php foreach($_['forms'] as $form){
echo $form;
};?>