parent
594532da9a
commit
4c49a81c8e
@ -1,8 +1,8 @@ |
||||
<form id="openidform"> |
||||
<fieldset class="personalblock"> |
||||
<label for="openid"><strong>OpenID</strong></label> |
||||
<input type="text" id="openid" value="<?php echo ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].OC::$WEBROOT.'/?'; echo OC_User::getUser(); ?>" title="you can authenticate to other sites with this address" />
|
||||
<label for="identity">Authorized</label> |
||||
<input type="text" name="identity" id="identity" value="<?php echo $_['identity']; ?>" placeholder="OpenID provider" title="Wordpress, Identi.ca, Launchpad, …" />
|
||||
<input type="text" id="openid" value="<?php echo ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].OC::$WEBROOT.'/?'; echo OC_User::getUser(); ?>" title="<?php echo $l->t('you can authenticate to other sites with this address');?>" />
|
||||
<label for="identity"><?php echo $l->t('Authorized');?></label>
|
||||
<input type="text" name="identity" id="identity" value="<?php echo $_['identity']; ?>" placeholder="OpenID <?php echo $l->t('provider');?>" title="<?php echo $l->t('Wordpress, Identi.ca, Launchpad, …');?>" />
|
||||
</fieldset> |
||||
</form> |
||||
|
@ -1,18 +1,24 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"Authentication error" => "Erreur d'authentification", |
||||
"OpenID Changed" => "Identifiant OpenID changé avec succès", |
||||
"OpenID Changed" => "Identifiant OpenID changé", |
||||
"Invalid request" => "Requète invalide", |
||||
"Language changed" => "Langue changée avec succès", |
||||
"Language changed" => "Langue changée", |
||||
"Ask a question" => "Poser une question", |
||||
"Select an App" => "Sélectionner une Application", |
||||
"-licensed" => "sous licence", |
||||
"by" => "par", |
||||
"You use" => "Vous utilisez", |
||||
"of the available" => "sur un total de", |
||||
"Your password got changed" => "Votre mot de passe a été changé", |
||||
"New password" => "Nouveau mot de passe :", |
||||
"Current password" => "Mot de passe actuel", |
||||
"New password" => "Nouveau mot de passe", |
||||
"show" => "Afficher", |
||||
"Change password" => "Changer de mot de passe", |
||||
"Language" => "Langue", |
||||
"Help translating" => "Aider à traduire", |
||||
"Name" => "Nom", |
||||
"Password" => "Mot de passe", |
||||
"Groups" => "Groupes", |
||||
"Create" => "Créer" |
||||
"Create" => "Créer", |
||||
"Delete" => "Supprimer" |
||||
); |
||||
|
@ -1,25 +1,21 @@ |
||||
<?php if(is_null($_["kbe"])):?> |
||||
Can't connect to Q&A database |
||||
<div class="personalblock"> |
||||
<p><?php echo $l->t('Problems connecting to help database.');?> |
||||
<a href="http://apps.owncloud.com/kb"><?php echo $l->t('Go there manually.');?></a>
|
||||
</div> |
||||
<?php else:?> |
||||
<table class="help"> |
||||
<tbody> |
||||
<?php foreach($_["kbe"] as $kb): ?> |
||||
<tr class="entryrow"> |
||||
<td width="1"><?php if($kb["preview1"] <> "") { echo('<img class="preview" border="0" src="'.$kb["preview1"].'" />'); } ?> </a></td>
|
||||
<td class="entry"><p><strong><?php echo $kb["name"]; ?></strong></p><?php echo('<span class="type">'.$kb['description'].'</span>'); ?> |
||||
<?php if($kb['answer']<>'') echo('<br /><span class="type"><b>Answer:</b></span><br /><span class="type">'.$kb['answer'].'</span>');?> |
||||
<?php if($kb['detailpage']<>'') echo('<br /><a target="_blank" href="'.$kb['detailpage'].'"><b>read more</b></a>')?> |
||||
<br /></td> |
||||
</tr> |
||||
<?php endforeach; ?> |
||||
</tbody> |
||||
</table> |
||||
<?php foreach($_["kbe"] as $kb): ?> |
||||
<div class="personalblock"> |
||||
<?php if($kb["preview1"] <> "") { echo('<img class="preview" src="'.$kb["preview1"].'" />'); } ?> |
||||
<p><strong><?php if($kb['detailpage']<>'') echo('<p><a target="_blank" href="'.$kb['detailpage'].'"><strong>'.$kb["name"].'</strong></a></p>');?></strong></p>
|
||||
<p><?php echo $kb['description'];?></p>
|
||||
<?php if($kb['answer']<>'') echo('<p><strong>'.$l->t('Answer').':</strong><p>'.$kb['answer'].'</p>');?> |
||||
</div> |
||||
<?php endforeach; ?> |
||||
|
||||
<a class="button newquestion" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new" target="_blank"><?php echo $l->t( 'Ask a question' ); ?></a>
|
||||
<?php |
||||
$url=OC_Helper::linkTo( "settings", "help.php" ).'?page='; |
||||
$pageNavi=OC_Util::getPageNavi($_['pagecount'],$_['page'],$url); |
||||
$pageNavi->printPage(); |
||||
?> |
||||
<br /><a target="_blank" class="newquestion" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new"><?php echo $l->t( 'Ask a question' ); ?></a>
|
||||
<?php endif;?> |
||||
|
||||
|
||||
endif?> |
||||
|
Loading…
Reference in new issue