Commit c752ac58 authored by Thomas Citharel's avatar Thomas Citharel

Add warning to register page about ios space issue

Signed-off-by: Thomas Citharel's avatarThomas Citharel <>
parent 245b517f
\OCP\Util::addStyle('registration', 'style');
<div class="col-md-6 col-md-offset-3">
<div class="alert alert-warning">Le nom d'utilisateur ne doit pas comporter d'espace, sans quoi la synchronisation sur les appareils Apple sera impossible. Nous travaillons à résoudre ce problème.</div>
<form action="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('registration.register.createAccount', array('token'=>$_['token']))) ?>" method="post">
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
<?php if ( $_['errormsgs'] ) {?>
<ul class="error">
<?php foreach ( $_['errormsgs'] as $errormsg ) {
echo "<li>$errormsg</li>";
} ?>
<?php } else { ?>
<ul class="msg">
<li><?php print_unescaped($l->t('Welcome, you can create your account below.')); ?></li>
<?php } ?>
<p class="grouptop">
<input type="email" name="email" id="email" value="<?php echo $_['email']; ?>" disabled />
<label for="email" class="infield"><?php echo $_['email']; ?></label>
<img id="email-icon" class="svg" src="<?php print_unescaped(image_path('', 'actions/mail.svg')); ?>" alt=""/>
<p class="groupmiddle">
<input type="text" name="username" id="username" value="<?php echo $_['entered_data']['user']; ?>" placeholder="<?php print_unescaped($l->t('Username')); ?>" />
<label for="username" class="infield"><?php print_unescaped($l->t('Username')); ?></label>
<img id="username-icon" class="svg" src="<?php print_unescaped(image_path('', 'actions/user.svg')); ?>" alt=""/>
<p class="groupbottom">
<input type="password" name="password" id="password" placeholder="<?php print_unescaped($l->t('Password')); ?>"/>
<label for="password" class="infield"><?php print_unescaped($l->t( 'Password' )); ?></label>
<img id="password-icon" class="svg" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
<input id="show" name="show" type="checkbox">
<label style="display: inline;" for="show"></label>
<input type="submit" id="submit" value="<?php print_unescaped($l->t('Create account')); ?>" />
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment