Commit bc3fdc46 authored by peupleLà's avatar peupleLà
Browse files

Trad : include/staff/settings-pages.inc.php

parent a52d1607
<?php
if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config) die('Access Denied');
if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config) die('Accès refusé');
$pages = Page::getPages();
?>
<h2>Company Profile</h2>
<h2>Profil de l’entreprise/la structure</h2> <!-- ici, je pense qu’on va avoir du mal à génériciser si on ne fait pas quelques ajouts... -->
<form action="settings.php?t=pages" method="post" id="save"
enctype="multipart/form-data">
<?php csrf_token(); ?>
......@@ -10,7 +10,7 @@ $pages = Page::getPages();
<table class="form_table settings_table" width="940" border="0" cellspacing="0" cellpadding="2">
<thead><tr>
<th colspan="2">
<h4>Basic Information</h4>
<h4>Informations de base</h4>
</th>
</tr></thead>
<tbody>
......@@ -23,18 +23,18 @@ $pages = Page::getPages();
<thead>
<tr>
<th colspan="2">
<h4>Site Pages</h4>
<em>To edit or add new pages go to <a href="pages.php">Manage > Site Pages</a></em>
<h4>Pages du site</h4>
<em>Pour éditer ou ajouter des pages, aller sur <a href="pages.php">Gérer > Pages du site</a></em>
</th>
</tr>
</thead>
<tbody>
<tr>
<td width="220" class="required">Landing Page:</td>
<td width="220" class="required">Page d’accueil</td>
<td>
<span>
<select name="landing_page_id">
<option value="">&mdash; Select Landing Page &mdash;</option>
<option value="">&mdash; Sélectionner la page d’accueil &mdash;</option>
<?php
foreach($pages as $page) {
if(strcasecmp($page->getType(), 'landing')) continue;
......@@ -49,11 +49,11 @@ $pages = Page::getPages();
</td>
</tr>
<tr>
<td width="220" class="required">Offline Page:</td>
<td width="220" class="required">Page hors connexion </td> <!-- pour 'Offline Page' ? -->
<td>
<span>
<select name="offline_page_id">
<option value="">&mdash; Select Offline Page &mdash;</option>
<option value="">&mdash; Sélectionner une page hors connexion &mdash;</option>
<?php
foreach($pages as $page) {
if(strcasecmp($page->getType(), 'offline')) continue;
......@@ -68,11 +68,11 @@ $pages = Page::getPages();
</td>
</tr>
<tr>
<td width="220" class="required">Default Thank-You Page:</td>
<td width="220" class="required">Page de remerciements par défaut</td>
<td>
<span>
<select name="thank-you_page_id">
<option value="">&mdash; Select Thank-You Page &mdash;</option>
<option value="">&mdash; Sélectionner une page de remerciements &mdash;</option>
<?php
foreach($pages as $page) {
if(strcasecmp($page->getType(), 'thank-you')) continue;
......@@ -95,7 +95,7 @@ $pages = Page::getPages();
<h4>Logos
<i class="help-tip icon-question-sign" href="#logos"></i>
</h4>
<em>System Default Logo</em>
<em>Logo par défaut du système</em>
</th>
</tr>
</thead>
......@@ -139,13 +139,13 @@ $pages = Page::getPages();
<?php if ($logo->getId() != $current) { ?>
<label>
<input type="checkbox" name="delete-logo[]" value="<?php
echo $logo->getId(); ?>"/> Delete
echo $logo->getId(); ?>"/> Supprimer
</label>
<?php } ?>
</div>
<?php } ?>
<br/>
<b>Upload a new logo:</b>
<b>Charger un nouveau logo</b>
<input type="file" name="logo[]" size="30" value="" />
<font class="error"><br/><?php echo $errors['logo']; ?></font>
</td>
......@@ -153,28 +153,28 @@ $pages = Page::getPages();
</tbody>
</table>
<p style="padding-left:250px;">
<input class="button" type="submit" name="submit-button" value="Save Changes">
<input class="button" type="reset" name="reset" value="Reset Changes">
<input class="button" type="submit" name="submit-button" value="Sauvegarder les modifications">
<input class="button" type="reset" name="reset" value="Réinitialiser">
</p>
</form>
<div style="display:none;" class="dialog" id="confirm-action">
<h3>Please Confirm</h3>
<h3>Veuillez confirmer</h3>
<a class="close" href=""><i class="icon-remove-circle"></i></a>
<hr/>
<p class="confirm-action" id="delete-confirm">
<font color="red"><strong>Are you sure you want to DELETE selected
logos?</strong></font>
<br/><br/>Deleted logos CANNOT be recovered.
<font color="red"><strong>Êtes-vous sûr.e de vouloir SUPPRIMER les logos sélectionnés &nbsp;?
</strong></font>
<br/><br/>Les logos supprimés ne POURRONT PAS être récupérés.
</p>
<div>Please confirm to continue.</div>
<div>Veuillez confirmer pour continuer</div>
<hr style="margin-top:1em"/>
<p class="full-width">
<span class="buttons" style="float:left">
<input type="button" value="No, Cancel" class="close">
<input type="button" value="Non, annuler" class="close">
</span>
<span class="buttons" style="float:right">
<input type="button" value="Yes, Do it!" class="confirm">
<input type="button" value="Oui, je confirme&nbsp;!" class="confirm">
</span>
</p>
<div class="clear"></div>
......
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