forked from Wavyzz/dolibarr
Debug look and feel v20
This commit is contained in:
@@ -41,6 +41,7 @@ sav
|
|||||||
files'
|
files'
|
||||||
# Used as array key
|
# Used as array key
|
||||||
seeked
|
seeked
|
||||||
|
tweek
|
||||||
# Used as key
|
# Used as key
|
||||||
marge
|
marge
|
||||||
# moral (var name)
|
# moral (var name)
|
||||||
|
|||||||
@@ -123,7 +123,6 @@ function getServerTimeZoneInt($refgmtdate = 'now')
|
|||||||
*/
|
*/
|
||||||
function dol_time_plus_duree($time, $duration_value, $duration_unit, $ruleforendofmonth = 0)
|
function dol_time_plus_duree($time, $duration_value, $duration_unit, $ruleforendofmonth = 0)
|
||||||
{
|
{
|
||||||
global $conf;
|
|
||||||
if (empty($duration_value)) {
|
if (empty($duration_value)) {
|
||||||
return $time;
|
return $time;
|
||||||
}
|
}
|
||||||
@@ -763,7 +762,7 @@ function getGMTEasterDatetime($year)
|
|||||||
*/
|
*/
|
||||||
function num_public_holiday($timestampStart, $timestampEnd, $country_code = '', $lastday = 0, $includesaturday = -1, $includesunday = -1, $includefriday = -1, $includemonday = -1)
|
function num_public_holiday($timestampStart, $timestampEnd, $country_code = '', $lastday = 0, $includesaturday = -1, $includesunday = -1, $includefriday = -1, $includemonday = -1)
|
||||||
{
|
{
|
||||||
global $db, $conf, $mysoc;
|
global $db, $mysoc;
|
||||||
|
|
||||||
$nbFerie = 0;
|
$nbFerie = 0;
|
||||||
|
|
||||||
@@ -1006,7 +1005,7 @@ function num_public_holiday($timestampStart, $timestampEnd, $country_code = '',
|
|||||||
* @param int $timestampEnd Timestamp end UTC
|
* @param int $timestampEnd Timestamp end UTC
|
||||||
* @param int $lastday Last day is included, 0: no, 1:yes
|
* @param int $lastday Last day is included, 0: no, 1:yes
|
||||||
* @return int Number of days
|
* @return int Number of days
|
||||||
* @see also num_public_holiday(), num_open_day()
|
* @see num_public_holiday(), num_open_day()
|
||||||
*/
|
*/
|
||||||
function num_between_day($timestampStart, $timestampEnd, $lastday = 0)
|
function num_between_day($timestampStart, $timestampEnd, $lastday = 0)
|
||||||
{
|
{
|
||||||
@@ -1130,6 +1129,7 @@ function monthArray($outputlangs, $short = 0)
|
|||||||
|
|
||||||
return $montharray;
|
return $montharray;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return array of week numbers.
|
* Return array of week numbers.
|
||||||
*
|
*
|
||||||
@@ -1147,12 +1147,13 @@ function getWeekNumbersOfMonth($month, $year)
|
|||||||
}
|
}
|
||||||
return $TWeek;
|
return $TWeek;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return array of first day of weeks.
|
* Return array of first day of weeks.
|
||||||
*
|
*
|
||||||
* @param string[] $TWeek array of week numbers (week 1 must be '01')
|
* @param string[] $TWeek array of week numbers we want (week 1 must be '01')
|
||||||
* @param int $year Year number
|
* @param int $year Year number
|
||||||
* @return string[] First day of week (day 1 is '01')
|
* @return string[] First day of each week in entry (day 1 is '01')
|
||||||
*/
|
*/
|
||||||
function getFirstDayOfEachWeek($TWeek, $year)
|
function getFirstDayOfEachWeek($TWeek, $year)
|
||||||
{
|
{
|
||||||
@@ -1165,6 +1166,7 @@ function getFirstDayOfEachWeek($TWeek, $year)
|
|||||||
}
|
}
|
||||||
return $TFirstDayOfWeek;
|
return $TFirstDayOfWeek;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return array of last day of weeks.
|
* Return array of last day of weeks.
|
||||||
*
|
*
|
||||||
@@ -1180,6 +1182,7 @@ function getLastDayOfEachWeek($TWeek, $year)
|
|||||||
}
|
}
|
||||||
return $TLastDayOfWeek;
|
return $TLastDayOfWeek;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return week number.
|
* Return week number.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -4855,7 +4855,9 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = 0, $srco
|
|||||||
'card', 'calendarlist', 'calendar', 'calendarmonth', 'calendarweek', 'calendarday', 'calendarperuser', 'calendarpertype',
|
'card', 'calendarlist', 'calendar', 'calendarmonth', 'calendarweek', 'calendarday', 'calendarperuser', 'calendarpertype',
|
||||||
'cash-register', 'category', 'chart', 'check', 'clock', 'clone', 'close_title', 'code', 'cog', 'collab', 'company', 'contact', 'country', 'contract', 'conversation', 'cron', 'cross', 'cubes',
|
'cash-register', 'category', 'chart', 'check', 'clock', 'clone', 'close_title', 'code', 'cog', 'collab', 'company', 'contact', 'country', 'contract', 'conversation', 'cron', 'cross', 'cubes',
|
||||||
'check-circle', 'check-square', 'currency', 'multicurrency',
|
'check-circle', 'check-square', 'currency', 'multicurrency',
|
||||||
'chevron-left', 'chevron-right', 'chevron-down', 'chevron-top', 'commercial', 'companies',
|
'chevron-left', 'chevron-right', 'chevron-down', 'chevron-top',
|
||||||
|
'chevron-double-left', 'chevron-double-right', 'chevron-double-down', 'chevron-double-top',
|
||||||
|
'commercial', 'companies',
|
||||||
'delete', 'dolly', 'dollyrevert', 'donation', 'download', 'dynamicprice',
|
'delete', 'dolly', 'dollyrevert', 'donation', 'download', 'dynamicprice',
|
||||||
'edit', 'ellipsis-h', 'email', 'entity', 'envelope', 'eraser', 'establishment', 'expensereport', 'external-link-alt', 'external-link-square-alt', 'eye',
|
'edit', 'ellipsis-h', 'email', 'entity', 'envelope', 'eraser', 'establishment', 'expensereport', 'external-link-alt', 'external-link-square-alt', 'eye',
|
||||||
'filter', 'file', 'file-o', 'file-code', 'file-export', 'file-import', 'file-upload', 'autofill', 'folder', 'folder-open', 'folder-plus', 'font',
|
'filter', 'file', 'file-o', 'file-code', 'file-export', 'file-import', 'file-upload', 'autofill', 'folder', 'folder-open', 'folder-plus', 'font',
|
||||||
@@ -4903,6 +4905,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = 0, $srco
|
|||||||
'supplier_invoice' => 'file-invoice-dollar', 'supplier_invoicea' => 'file-excel', 'supplier_invoicer' => 'file-invoice-dollar', 'supplier_invoiced' => 'file-medical',
|
'supplier_invoice' => 'file-invoice-dollar', 'supplier_invoicea' => 'file-excel', 'supplier_invoicer' => 'file-invoice-dollar', 'supplier_invoiced' => 'file-medical',
|
||||||
'bom' => 'shapes',
|
'bom' => 'shapes',
|
||||||
'card' => 'address-card', 'chart' => 'chart-line', 'company' => 'building', 'contact' => 'address-book', 'contract' => 'suitcase', 'collab' => 'people-arrows', 'conversation' => 'comments', 'country' => 'globe-americas', 'cron' => 'business-time', 'cross' => 'times',
|
'card' => 'address-card', 'chart' => 'chart-line', 'company' => 'building', 'contact' => 'address-book', 'contract' => 'suitcase', 'collab' => 'people-arrows', 'conversation' => 'comments', 'country' => 'globe-americas', 'cron' => 'business-time', 'cross' => 'times',
|
||||||
|
'chevron-double-left' => 'angle-double-left', 'chevron-double-right' => 'angle-double-right', 'chevron-double-down' => 'angle-double-down', 'chevron-double-top' => 'angle-double-up',
|
||||||
'donation' => 'file-alt', 'dynamicprice' => 'hand-holding-usd',
|
'donation' => 'file-alt', 'dynamicprice' => 'hand-holding-usd',
|
||||||
'setup' => 'cog', 'companies' => 'building', 'products' => 'cube', 'commercial' => 'suitcase', 'invoicing' => 'coins',
|
'setup' => 'cog', 'companies' => 'building', 'products' => 'cube', 'commercial' => 'suitcase', 'invoicing' => 'coins',
|
||||||
'accounting' => 'search-dollar', 'category' => 'tag', 'dollyrevert' => 'dolly',
|
'accounting' => 'search-dollar', 'category' => 'tag', 'dollyrevert' => 'dolly',
|
||||||
|
|||||||
@@ -341,9 +341,9 @@ $urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domai
|
|||||||
|
|
||||||
$url = $urlwithroot.'/public/opensurvey/studs.php?sondage='.$object->id_sondage;
|
$url = $urlwithroot.'/public/opensurvey/studs.php?sondage='.$object->id_sondage;
|
||||||
print '<input type="text" class="quatrevingtpercent" '.($action == 'edit' ? 'disabled' : '').' id="opensurveyurl" name="opensurveyurl" value="'.$url.'">';
|
print '<input type="text" class="quatrevingtpercent" '.($action == 'edit' ? 'disabled' : '').' id="opensurveyurl" name="opensurveyurl" value="'.$url.'">';
|
||||||
if ($action != 'edit') {
|
//if ($action != 'edit') {
|
||||||
print ajax_autoselect("opensurveyurl", $url, 'image');
|
print ajax_autoselect("opensurveyurl", $url, 'image');
|
||||||
}
|
//}
|
||||||
|
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
|||||||
@@ -347,6 +347,10 @@ td.nom {
|
|||||||
td.nom {
|
td.nom {
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button[name=choix_sondage] {
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
td.vide {
|
td.vide {
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ if (!$user->hasRight('opensurvey', 'write')) {
|
|||||||
$_SESSION["formatsondage"] = "D";
|
$_SESSION["formatsondage"] = "D";
|
||||||
|
|
||||||
$erreur = false;
|
$erreur = false;
|
||||||
$erreurNbchoice = 0;
|
$erreurNb = 0;
|
||||||
$choixdate = '';
|
$choixdate = '';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -250,14 +250,14 @@ if (!isset($_SESSION['annee'])) {
|
|||||||
$_SESSION['annee'] = date('Y');
|
$_SESSION['annee'] = date('Y');
|
||||||
}
|
}
|
||||||
|
|
||||||
//mise a jour des valeurs de session si bouton retour a aujourd'hui
|
// Update value of date period into the session
|
||||||
if (!issetAndNoEmpty('choixjourajout') && !issetAndNoEmpty('choixjourretrait') && (issetAndNoEmpty('retourmois') || issetAndNoEmpty('retourmois_x'))) {
|
if (!issetAndNoEmpty('choixjourajout') && !issetAndNoEmpty('choixjourretrait') && (issetAndNoEmpty('retourmois') || issetAndNoEmpty('retourmois_x'))) {
|
||||||
$_SESSION["jour"] = date("j");
|
$_SESSION["jour"] = date("j");
|
||||||
$_SESSION["mois"] = date("n");
|
$_SESSION["mois"] = date("n");
|
||||||
$_SESSION["annee"] = date("Y");
|
$_SESSION["annee"] = date("Y");
|
||||||
}
|
}
|
||||||
|
|
||||||
//mise a jour des valeurs de session si mois avant
|
// Update value of date period into the session
|
||||||
if (issetAndNoEmpty('moisavant_x') || issetAndNoEmpty('moisavant')) {
|
if (issetAndNoEmpty('moisavant_x') || issetAndNoEmpty('moisavant')) {
|
||||||
if ($_SESSION["mois"] == 1) {
|
if ($_SESSION["mois"] == 1) {
|
||||||
$_SESSION["mois"] = 12;
|
$_SESSION["mois"] = 12;
|
||||||
@@ -279,7 +279,7 @@ if (issetAndNoEmpty('moisavant_x') || issetAndNoEmpty('moisavant')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//mise a jour des valeurs de session si mois apres
|
// Update value of date period into the session
|
||||||
if (issetAndNoEmpty('moisapres_x') || issetAndNoEmpty('moisapres')) {
|
if (issetAndNoEmpty('moisapres_x') || issetAndNoEmpty('moisapres')) {
|
||||||
if ($_SESSION["mois"] == 12) {
|
if ($_SESSION["mois"] == 12) {
|
||||||
$_SESSION["mois"] = 1;
|
$_SESSION["mois"] = 1;
|
||||||
@@ -301,7 +301,7 @@ if (issetAndNoEmpty('moisapres_x') || issetAndNoEmpty('moisapres')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//mise a jour des valeurs de session si annee avant
|
// Update value of date period into the session
|
||||||
if (issetAndNoEmpty('anneeavant_x') || issetAndNoEmpty('anneeavant')) {
|
if (issetAndNoEmpty('anneeavant_x') || issetAndNoEmpty('anneeavant')) {
|
||||||
$_SESSION["annee"] -= 1;
|
$_SESSION["annee"] -= 1;
|
||||||
|
|
||||||
@@ -318,7 +318,7 @@ if (issetAndNoEmpty('anneeavant_x') || issetAndNoEmpty('anneeavant')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//mise a jour des valeurs de session si annee apres
|
// Update value of date period into the session
|
||||||
if (issetAndNoEmpty('anneeapres_x') || issetAndNoEmpty('anneeapres')) {
|
if (issetAndNoEmpty('anneeapres_x') || issetAndNoEmpty('anneeapres')) {
|
||||||
$_SESSION["annee"] += 1;
|
$_SESSION["annee"] += 1;
|
||||||
|
|
||||||
@@ -336,10 +336,14 @@ if (issetAndNoEmpty('anneeapres_x') || issetAndNoEmpty('anneeapres')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// valeurs du nombre de jour dans le mois et du premier jour du mois
|
// valeurs du nombre de jour dans le mois et du premier jour du mois
|
||||||
$nbrejourmois = idate("t", mktime(0, 0, 0, (int) $_SESSION["mois"], 1, (int) $_SESSION["annee"]));
|
$nbrejourmois = idate("t", dol_get_first_day((int) $_SESSION["annee"], (int) $_SESSION["mois"]));
|
||||||
$premierjourmois = idate("N", mktime(0, 0, 0, (int) $_SESSION["mois"], 1, (int) $_SESSION["annee"])) - 1;
|
$premierjourmois = dol_print_date(dol_get_first_day((int) $_SESSION["annee"], (int) $_SESSION["mois"]), "%w") - 1;
|
||||||
|
//var_dump(dol_get_first_day((int) $_SESSION["annee"], (int) $_SESSION["mois"]));
|
||||||
|
//var_dump($premierjourmois);
|
||||||
|
|
||||||
//traduction de la valeur du mois
|
// TODO Support option getDolGlobalString('MAIN_START_WEEK') == 0 (sunday = first day of week)
|
||||||
|
|
||||||
|
// translate month
|
||||||
if (is_int($_SESSION["mois"]) && $_SESSION["mois"] > 0 && $_SESSION["mois"] < 13) {
|
if (is_int($_SESSION["mois"]) && $_SESSION["mois"] > 0 && $_SESSION["mois"] < 13) {
|
||||||
$motmois = dol_print_date(mktime(0, 0, 0, (int) $_SESSION["mois"], 10), '%B');
|
$motmois = dol_print_date(mktime(0, 0, 0, (int) $_SESSION["mois"], 10), '%B');
|
||||||
} else {
|
} else {
|
||||||
@@ -347,39 +351,55 @@ if (is_int($_SESSION["mois"]) && $_SESSION["mois"] > 0 && $_SESSION["mois"] < 13
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//Debut du formulaire et bandeaux de tete
|
// Start form
|
||||||
print '<form name="formulaire" action="" method="POST">'."\n";
|
print '<form name="formulaire" action="" method="POST">'."\n";
|
||||||
print '<input type="hidden" name="token" value="'.newToken().'">';
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
|
|
||||||
print load_fiche_titre($langs->trans("CreatePoll").' (2 / 2)');
|
print load_fiche_titre($langs->trans("CreatePoll").' (2 / 2)');
|
||||||
|
|
||||||
//affichage de l'aide pour les jours
|
// Show help for days
|
||||||
print '<div class="bodydate">'."\n";
|
print '<div class="bodydate">'."\n";
|
||||||
print $langs->trans("OpenSurveyStep2")."\n";
|
print $langs->trans("OpenSurveyStep2")."\n";
|
||||||
print '</div>'."\n";
|
print '</div>'."\n";
|
||||||
|
|
||||||
//debut du tableau qui affiche le calendrier
|
// Show array with the calendar
|
||||||
print '<div class="corps">'."\n";
|
print '<div class="corps">'."\n";
|
||||||
print '<div class="center">'."\n";
|
print '<div class="center">'."\n";
|
||||||
print '<table align="center">'."\n"; // The div class=center has no effect on table, so we must keep the align=center for table
|
print '<table class="center">'."\n"; // The div class=center has no effect on table, so we must keep the align=center for table
|
||||||
print '<tr><td><input type="image" class="buttonwebsite" name="anneeavant" value="<<" src="../img/rewind.png"></td>';
|
print '<tr>';
|
||||||
print '<td><input type="image" class="buttonwebsite" name="moisavant" value="<" src="../img/previous.png"></td>';
|
print '<td>';
|
||||||
print '<td width="150px" class="center"> '.$motmois.' '.$_SESSION["annee"].'<br>';
|
print '<button type="submit" name="anneeavant" value="<<">'.img_picto($langs->trans("PreviousYear"), 'chevron-double-left', 'class="double"').'</button>';
|
||||||
print '<input type="image" name="retourmois" class="buttonreset" alt="'.dol_escape_htmltag($langs->trans("BackToCurrentMonth")).'" title="'.dol_escape_htmltag($langs->trans("BackToCurrentMonth")).'" value="" src="'.img_picto('', 'refresh', '', 0, 1).'">';
|
//print '<input type="image" class="buttonwebsite" name="anneeavant" value="<<" src="../img/rewind.png">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td><input type="image" class="buttonwebsite" name="moisapres" value=">" src="../img/next.png"></td>';
|
print '<td>';
|
||||||
print '<td><input type="image" class="buttonwebsite" name="anneeapres" value=">>" src="../img/fforward.png"></td><td></td><td></td><td></td><td></td><td></td><td>';
|
print '<button type="submit" name="moisavant" value="<">'.img_picto($langs->trans("PreviousMonth"), 'chevron-left', 'class="double"').'</button>';
|
||||||
|
//print '<input type="image" class="buttonwebsite" name="moisavant" value="<" src="../img/previous.png">';
|
||||||
|
print '</td>';
|
||||||
|
print '<td width="150px" class="center size15x">'.$motmois.' '.$_SESSION["annee"].'<br>';
|
||||||
|
//print '<input type="image" name="retourmois" class="buttonreset" alt="'.dol_escape_htmltag($langs->trans("BackToCurrentMonth")).'" title="'.dol_escape_htmltag($langs->trans("BackToCurrentMonth")).'" value="" src="'.img_picto('', 'refresh', '', 0, 1).'">';
|
||||||
|
print '</td>';
|
||||||
|
print '<td>';
|
||||||
|
print '<button type="submit" name="moisapres" value=">">'.img_picto($langs->trans("NextMonth"), 'chevron-right', 'class="double"').'</button>';
|
||||||
|
//print '<input type="image" class="buttonwebsite" name="moisapres" value=">" src="../img/next.png">';
|
||||||
|
print '</td>';
|
||||||
|
print '<td>';
|
||||||
|
print '<button type="submit" name="anneeapres" value=">>">'.img_picto($langs->trans("NextYear"), 'chevron-double-right', 'class="double"').'</button>';
|
||||||
|
//print '<input type="image" class="buttonwebsite" name="anneeapres" value=">>" src="../img/fforward.png">';
|
||||||
print '</td></tr>'."\n";
|
print '</td></tr>'."\n";
|
||||||
print '</table>'."\n";
|
print '</table>'."\n";
|
||||||
print '</div>'."\n";
|
print '</div>'."\n";
|
||||||
|
|
||||||
|
print '<br>';
|
||||||
|
|
||||||
print '<div class="center calendrier">'."\n";
|
print '<div class="center calendrier">'."\n";
|
||||||
print '<table align="center">'."\n"; // The div class=center has no effect on table, so we must keep the align=center for table
|
print '<table class="center">'."\n"; // The div class=center has no effect on table, so we must keep the align=center for table
|
||||||
print '<tr>'."\n";
|
print '<tr>'."\n";
|
||||||
|
|
||||||
//affichage des jours de la semaine en haut du tableau
|
// show list of days in title line
|
||||||
for ($i = 0; $i < 7; $i++) {
|
for ($i = 0; $i < 7; $i++) {
|
||||||
print '<td align="center" class="joursemaine">'.dol_print_date(mktime(0, 0, 0, 0, $i, 10), '%A').'</td>';
|
print '<td class="center joursemaine">';
|
||||||
|
print dol_print_date(mktime(0, 0, 0, 0, $i, 10), (empty($conf->dol_optimize_smallscreen) ? '%A' : '%a'));
|
||||||
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</tr>'."\n";
|
print '</tr>'."\n";
|
||||||
@@ -532,6 +552,7 @@ if (issetAndNoEmpty('totalchoixjour', $_SESSION) || $erreur) {
|
|||||||
print $langs->trans("SelectDayDesc")."<br>\n";
|
print $langs->trans("SelectDayDesc")."<br>\n";
|
||||||
print '</div><br>';
|
print '</div><br>';
|
||||||
|
|
||||||
|
print '<div class="div-table-responsive">'; // You can use div-table-responsive-no-min if you don't need reserved height for your table
|
||||||
print '<table>'."\n";
|
print '<table>'."\n";
|
||||||
print '<tr>'."\n";
|
print '<tr>'."\n";
|
||||||
print '<td></td>'."\n";
|
print '<td></td>'."\n";
|
||||||
@@ -569,16 +590,16 @@ if (issetAndNoEmpty('totalchoixjour', $_SESSION) || $erreur) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
print '</table>'."\n";
|
print '</table>'."\n";
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
// show buttons to cancel, delete days or create survey
|
// show buttons to cancel, delete days or create survey
|
||||||
print '<table>'."\n";
|
print '<br><div class="div-table-responsive">'; // You can use div-table-responsive-no-min if you don't need reserved height for your table
|
||||||
print '<tr>'."\n";
|
print '<input type="submit" class="button small" name="reset" value="'.dol_escape_htmltag($langs->trans("RemoveAllDays")).'">';
|
||||||
print '<td><input type="submit" class="button small" name="reset" value="'.dol_escape_htmltag($langs->trans("RemoveAllDays")).'"></td>';
|
print '<input type="submit" class="button small" name="reporterhoraires" value="'.dol_escape_htmltag($langs->trans("CopyHoursOfFirstDay")).'">';
|
||||||
print '<td><input type="submit" class="button small" name="reporterhoraires" value="'.dol_escape_htmltag($langs->trans("CopyHoursOfFirstDay")).'"></td>';
|
print '<input type="submit" class="button small" name="resethoraires" value="'.dol_escape_htmltag($langs->trans("RemoveAllHours")).'">'."\n";
|
||||||
print '<td><input type="submit" class="button small" name="resethoraires" value="'.dol_escape_htmltag($langs->trans("RemoveAllHours")).'"></td></tr>'."\n";
|
print '<br><br>'."\n";
|
||||||
print'<tr><td colspan="3"><br><br></td></tr>'."\n";
|
print '<input type="submit" class="button" name="confirmation" value="'.$langs->trans("CreatePoll").'">'."\n";
|
||||||
print '<tr><td colspan="3" align="center"><input type="submit" class="button" name="confirmation" value="'.$langs->trans("CreatePoll").'"></td></tr>'."\n";
|
print '</div>';
|
||||||
print '</table>'."\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</tr>'."\n";
|
print '</tr>'."\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user