Renamed some file names from french to english
This commit is contained in:
parent
08560cbc5f
commit
cf092834cd
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/opensurvey/adminstuds.php
|
* \file htdocs/opensurvey/card.php
|
||||||
* \ingroup opensurvey
|
* \ingroup opensurvey
|
||||||
* \brief Page to edit survey
|
* \brief Page to edit survey
|
||||||
*/
|
*/
|
||||||
@ -327,7 +327,7 @@ $comments = $object->getComments();
|
|||||||
if ($comments) {
|
if ($comments) {
|
||||||
foreach ($comments as $comment) {
|
foreach ($comments as $comment) {
|
||||||
if ($user->rights->opensurvey->write) {
|
if ($user->rights->opensurvey->write) {
|
||||||
print '<a href="'.dol_buildpath('/opensurvey/adminstuds.php',1).'?deletecomment='.$comment->id_comment.'&id='.$numsondage.'"> '.img_picto('', 'delete.png').'</a> ';
|
print '<a href="'.dol_buildpath('/opensurvey/card.php',1).'?deletecomment='.$comment->id_comment.'&id='.$numsondage.'"> '.img_picto('', 'delete.png').'</a> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
print htmlentities($comment->usercomment).': '.dol_nl2br(htmlentities($comment->comment))." <br>";
|
print htmlentities($comment->usercomment).': '.dol_nl2br(htmlentities($comment->comment))." <br>";
|
||||||
@ -36,12 +36,12 @@ function opensurvey_prepare_head(Opensurveysondage $object) {
|
|||||||
$h = 0;
|
$h = 0;
|
||||||
$head = array();
|
$head = array();
|
||||||
|
|
||||||
$head[0][0] = 'adminstuds.php?id='.$object->id_sondage;
|
$head[0][0] = 'card.php?id='.$object->id_sondage;
|
||||||
$head[0][1] = $langs->trans("Card");
|
$head[0][1] = $langs->trans("Card");
|
||||||
$head[0][2] = 'general';
|
$head[0][2] = 'general';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
$head[1][0] = 'adminstuds_preview.php?id='.$object->id_sondage;
|
$head[1][0] = 'results.php?id='.$object->id_sondage;
|
||||||
$head[1][1] = $langs->trans("SurveyResults");
|
$head[1][1] = $langs->trans("SurveyResults");
|
||||||
$head[1][2] = 'preview';
|
$head[1][2] = 'preview';
|
||||||
$h++;
|
$h++;
|
||||||
@ -195,7 +195,7 @@ function issetAndNoEmpty($name, $tableau = null)
|
|||||||
function getUrlSondage($id, $admin = false)
|
function getUrlSondage($id, $admin = false)
|
||||||
{
|
{
|
||||||
if ($admin === true) {
|
if ($admin === true) {
|
||||||
$url = get_server_name().'adminstuds_preview.php?id='.$id;
|
$url = get_server_name().'results.php?id='.$id;
|
||||||
} else {
|
} else {
|
||||||
$url = get_server_name().'/public/studs.php?sondage='.$id;
|
$url = get_server_name().'/public/studs.php?sondage='.$id;
|
||||||
}
|
}
|
||||||
@ -275,7 +275,7 @@ function ajouter_sondage($origin)
|
|||||||
|
|
||||||
$opensurveysondage->create(null);
|
$opensurveysondage->create(null);
|
||||||
|
|
||||||
if ($origin == 'dolibarr') $urlback=dol_buildpath('/opensurvey/adminstuds_preview.php',1).'?id='.$sondage;
|
if ($origin == 'dolibarr') $urlback=dol_buildpath('/opensurvey/results.php',1).'?id='.$sondage;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Define $urlwithroot
|
// Define $urlwithroot
|
||||||
|
|||||||
@ -122,7 +122,7 @@ while ($i < min($num,$limit))
|
|||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr '.$bc[$var].'>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print '<a href="'.dol_buildpath('/opensurvey/adminstuds.php',1).'?id='.$obj->id_sondage.'">'.img_picto('','object_opensurvey').' '.$obj->id_sondage.'</a>';
|
print '<a href="'.dol_buildpath('/opensurvey/card.php',1).'?id='.$obj->id_sondage.'">'.img_picto('','object_opensurvey').' '.$obj->id_sondage.'</a>';
|
||||||
print '</td><td>'.htmlentities($obj->titre).'</td><td>';
|
print '</td><td>'.htmlentities($obj->titre).'</td><td>';
|
||||||
$type=($obj->format=='A' || $obj->format=='A+')?'classic':'date';
|
$type=($obj->format=='A' || $obj->format=='A+')?'classic':'date';
|
||||||
print img_picto('',dol_buildpath('/opensurvey/img/'.($type == 'classic'?'chart-32.png':'calendar-32.png'),1),'width="16"',1);
|
print img_picto('',dol_buildpath('/opensurvey/img/'.($type == 'classic'?'chart-32.png':'calendar-32.png'),1),'width="16"',1);
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/opensurvey/adminstuds_preview.php
|
* \file htdocs/opensurvey/results.php
|
||||||
* \ingroup opensurvey
|
* \ingroup opensurvey
|
||||||
* \brief Page to preview votes of a survey
|
* \brief Page to preview votes of a survey
|
||||||
*/
|
*/
|
||||||
Loading…
Reference in New Issue
Block a user