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

Trad : include/staff/

parent 612a9678
if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin()) die('Access Denied');
if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin()) die('Accès refusé');
$pageTypes = array(
'landing' => 'Landing page',
'offline' => 'Offline page',
......@@ -9,18 +9,18 @@ $pageTypes = array(
if($page && $_REQUEST['a']!='add'){
$title='Update Page';
$submit_text='Save Changes';
$title='Mettre à jour la page';
$action='update'; /* question again and again*/
$submit_text='Sauvegarder les modifications';
$info['body'] = Format::viewableImages($page->getBody());
$info['notes'] = Format::viewableImages($info['notes']);
$slug = Format::slugify($info['name']);
}else {
$title='Add New Page';
$submit_text='Add Page';
$title='Ajouter une page';
$action='add'; /*and again and again*/
$submit_text='Ajouter une page';
......@@ -31,7 +31,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<input type="hidden" name="do" value="<?php echo $action; ?>">
<input type="hidden" name="a" value="<?php echo Format::htmlchars($_REQUEST['a']); ?>">
<input type="hidden" name="id" value="<?php echo $info['id']; ?>">
<h2>Site Pages
<h2>Pages du site
<i class="help-tip icon-question-sign" href="#site_pages"></i>
<table class="form_table fixed" width="940" border="0" cellspacing="0" cellpadding="2">
......@@ -40,14 +40,14 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<th colspan="2">
<h4><?php echo $title; ?></h4>
<em>Page information.</em>
<em>Informations sur la page</em>
<td width="180" class="required">
<input type="text" size="40" name="name" value="<?php echo $info['name']; ?>">
......@@ -56,12 +56,12 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<td width="180" class="required">
<select name="type">
<option value="" selected="selected">&mdash; Select Page Type &mdash;</option>
<option value="" selected="selected">&mdash; Sélectionner le type de page &mdash;</option>
foreach($pageTypes as $k => $v)
echo sprintf('<option value="%s" %s>%s</option>',
......@@ -76,7 +76,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<?php if ($info['name'] && $info['type'] == 'other') { ?>
<td width="180" class="required">
Public URL:
URL publique
<td><a href="<?php echo sprintf("%s/pages/%s",
$ost->getConfig()->getBaseUrl(), urlencode($slug));
......@@ -86,7 +86,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<?php } ?>
<td width="180" class="required">
<input type="radio" name="isactive" value="1" <?php echo $info['isactive']?'checked="checked"':''; ?>><strong>Active</strong>
......@@ -96,7 +96,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<th colspan="2">
<em><b>Page body</b>: Ticket variables are only supported in thank-you pages.<font class="error">*&nbsp;<?php echo $errors['body']; ?></font></em>
<em><b>Corps de la page body</b>&nbsp;: seules les pages de remerciements supportent les variables de ticket.<font class="error">*&nbsp;<?php echo $errors['body']; ?></font></em>
......@@ -108,7 +108,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<th colspan="2">
<em><strong>Admin Notes</strong>: Internal notes.&nbsp;</em>
<em><strong>Remarques de l’admin</strong>&nbsp;: notes internes.&nbsp;</em>
......@@ -121,7 +121,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<p style="padding-left:225px;">
<input type="submit" name="submit" value="<?php echo $submit_text; ?>">
<input type="reset" name="reset" value="Reset">
<input type="button" name="cancel" value="Cancel" onclick='window.location.href="pages.php"'>
<input type="reset" name="reset" value="Réinitialiser">
<input type="button" name="cancel" value="Annuler" onclick='window.location.href="pages.php"'>
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