Commit 91eb6289 authored by peupleLà's avatar peupleLà
Browse files

Trad : include/staff/faq-view.inc.php

parent 3bc7c5ed
<?php
if(!defined('OSTSTAFFINC') || !$faq || !$thisstaff) die('Access Denied');
if(!defined('OSTSTAFFINC') || !$faq || !$thisstaff) die('Accès refusé');
$category=$faq->getCategory();
?>
<h2>Frequently Asked Questions</h2>
<h2>Questions fréquemment posées</h2>
<div id="breadcrumbs">
<a href="kb.php">All Categories</a>
&raquo; <a href="kb.php?cid=<?php echo $category->getId(); ?>"><?php echo $category->getName(); ?></a>
......@@ -16,7 +16,7 @@ $category=$faq->getCategory();
<div style="float:right;text-align:right;padding-top:5px;padding-right:5px;">
<?php
if($thisstaff->canManageFAQ()) {
echo sprintf('<a href="faq.php?id=%d&a=edit" class="Icon newHelpTopic">Edit FAQ</a>',
echo sprintf('<a href="faq.php?id=%d&a=edit" class="Icon newHelpTopic">Éditer la FAQ</a>',
$faq->getId());
}
?>
......@@ -28,8 +28,8 @@ if($thisstaff->canManageFAQ()) {
</div>
<div class="clear"></div>
<p>
<div><span class="faded"><b>Attachments:</b></span> <?php echo $faq->getAttachmentsLinks(); ?></div>
<div><span class="faded"><b>Help Topics:</b></span>
<div><span class="faded"><b>Fichiers attachés</b></span> <?php echo $faq->getAttachmentsLinks(); ?></div>
<div><span class="faded"><b>Rubriques d’aide</b></span>
<?php echo ($topics=$faq->getHelpTopics())?implode(', ',$topics):' '; ?>
</div>
</p>
......@@ -45,21 +45,21 @@ if($thisstaff->canManageFAQ()) {
<input type="hidden" name="id" value="<?php echo $faq->getId(); ?>">
<input type="hidden" name="do" value="manage-faq">
<div>
<strong>Options: </strong>
<strong>Options </strong>
<select name="a" style="width:200px;">
<option value="">Select Action</option>
<option value="">Sélectionner une action</option>
<?php
if($faq->isPublished()) { ?>
<option value="unpublish">Unpublish FAQ</option>
<option value="unpublish">publier la FAQ</option>
<?php
}else{ ?>
<option value="publish">Publish FAQ</option>
<option value="publish">Publier la FAQ</option>
<?php
} ?>
<option value="edit">Edit FAQ</option>
<option value="delete">Delete FAQ</option>
<option value="edit">Éditer la FAQ</option>
<option value="delete">Supprimer la FAQ</option>
</select>
&nbsp;&nbsp;<input type="submit" name="submit" value="Go">
&nbsp;&nbsp;<input type="submit" name="submit" value="OK">
</div>
</form>
</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