Merge pull request #10889 from grandoc/new_branch_19_03_2019
New branch 19 03 2019
This commit is contained in:
commit
65133164bd
@ -648,7 +648,7 @@ if ($num > 0)
|
|||||||
// Document date
|
// Document date
|
||||||
if (! empty($arrayfields['t.doc_date']['checked']))
|
if (! empty($arrayfields['t.doc_date']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="center">' . dol_print_date($line->doc_date, 'day') . '</td>';
|
print '<td class="center">' . dol_print_date($line->doc_date, 'day') . '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -701,7 +701,7 @@ if ($num > 0)
|
|||||||
// Lettering code
|
// Lettering code
|
||||||
if (! empty($arrayfields['t.lettering_code']['checked']))
|
if (! empty($arrayfields['t.lettering_code']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="center">' . $line->lettering_code . '</td>';
|
print '<td class="center">' . $line->lettering_code . '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -711,26 +711,26 @@ if ($num > 0)
|
|||||||
$accountingjournal = new AccountingJournal($db);
|
$accountingjournal = new AccountingJournal($db);
|
||||||
$result = $accountingjournal->fetch('', $line->code_journal);
|
$result = $accountingjournal->fetch('', $line->code_journal);
|
||||||
$journaltoshow = (($result > 0)?$accountingjournal->getNomUrl(0, 0, 0, '', 0) : $line->code_journal);
|
$journaltoshow = (($result > 0)?$accountingjournal->getNomUrl(0, 0, 0, '', 0) : $line->code_journal);
|
||||||
print '<td align="center">' . $journaltoshow . '</td>';
|
print '<td class="center">' . $journaltoshow . '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Creation operation date
|
// Creation operation date
|
||||||
if (! empty($arrayfields['t.date_creation']['checked']))
|
if (! empty($arrayfields['t.date_creation']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="center">' . dol_print_date($line->date_creation, 'dayhour') . '</td>';
|
print '<td class="center">' . dol_print_date($line->date_creation, 'dayhour') . '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Modification operation date
|
// Modification operation date
|
||||||
if (! empty($arrayfields['t.tms']['checked']))
|
if (! empty($arrayfields['t.tms']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="center">' . dol_print_date($line->date_modification, 'dayhour') . '</td>';
|
print '<td class="center">' . dol_print_date($line->date_modification, 'dayhour') . '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Action column
|
// Action column
|
||||||
print '<td align="center" class="nowraponall">';
|
print '<td class="nowraponall center">';
|
||||||
print '<a href="'.DOL_URL_ROOT.'/accountancy/bookkeeping/card.php?piece_num=' . $line->piece_num . $param . '&page=' . $page . ($sortfield ? '&sortfield='.$sortfield : '') . ($sortorder ? '&sortorder='.$sortorder : '') . '">' . img_edit() . '</a> ';
|
print '<a href="'.DOL_URL_ROOT.'/accountancy/bookkeeping/card.php?piece_num=' . $line->piece_num . $param . '&page=' . $page . ($sortfield ? '&sortfield='.$sortfield : '') . ($sortorder ? '&sortorder='.$sortorder : '') . '">' . img_edit() . '</a> ';
|
||||||
print '<a href="' . $_SERVER['PHP_SELF'] . '?action=delmouv&mvt_num=' . $line->piece_num . $param . '&page=' . $page . ($sortfield ? '&sortfield='.$sortfield : '') . ($sortorder ? '&sortorder='.$sortorder : '') . '">' . img_delete() . '</a>';
|
print '<a href="' . $_SERVER['PHP_SELF'] . '?action=delmouv&mvt_num=' . $line->piece_num . $param . '&page=' . $page . ($sortfield ? '&sortfield='.$sortfield : '') . ($sortorder ? '&sortorder='.$sortorder : '') . '">' . img_delete() . '</a>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
@ -161,7 +161,7 @@ $helptext.='__COMPANY__, __ADDRESS__, __ZIP__, __TOWN__, __COUNTRY__, __EMAIL__,
|
|||||||
|
|
||||||
form_constantes($constantes, 0, $helptext);
|
form_constantes($constantes, 0, $helptext);
|
||||||
|
|
||||||
//print '<div align="center"><input type="submit" class="button" value="'.$langs->trans("Update").'" name="update"></div>';
|
//print '<div class="center"><input type="submit" class="button" value="'.$langs->trans("Update").'" name="update"></div>';
|
||||||
//print '</form>';
|
//print '</form>';
|
||||||
|
|
||||||
dol_fiche_end();
|
dol_fiche_end();
|
||||||
|
|||||||
@ -120,7 +120,7 @@ echo $this->control->tpl['ajax_selectcountry']; ?>
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" colspan="4"><input type="submit" class="button" value="<?php echo $langs->trans("Add"); ?>"></td>
|
<td class="center" colspan="4"><input type="submit" class="button" value="<?php echo $langs->trans("Add"); ?>"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</table><br>
|
</table><br>
|
||||||
|
|||||||
@ -134,7 +134,7 @@ echo $this->control->tpl['ajax_selectcountry'];
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4" align="center">
|
<td colspan="4" class="center">
|
||||||
<input type="submit" class="button" name="save" value="<?php echo $langs->trans("Save"); ?>">
|
<input type="submit" class="button" name="save" value="<?php echo $langs->trans("Save"); ?>">
|
||||||
<input type="submit" class="button" name="cancel" value="<?php echo $langs->trans("Cancel"); ?>">
|
<input type="submit" class="button" name="cancel" value="<?php echo $langs->trans("Cancel"); ?>">
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@ -128,7 +128,7 @@ if ($id > 0)
|
|||||||
|
|
||||||
// Morphy
|
// Morphy
|
||||||
print '<tr><td class="titlefield">'.$langs->trans("Nature").'</td><td class="valeur" >'.$object->getmorphylib().'</td>';
|
print '<tr><td class="titlefield">'.$langs->trans("Nature").'</td><td class="valeur" >'.$object->getmorphylib().'</td>';
|
||||||
/*print '<td rowspan="'.$rowspan.'" align="center" valign="middle" width="25%">';
|
/*print '<td rowspan="'.$rowspan.'" class="center" valign="middle" width="25%">';
|
||||||
print $form->showphoto('memberphoto',$object);
|
print $form->showphoto('memberphoto',$object);
|
||||||
print '</td>';*/
|
print '</td>';*/
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
@ -140,10 +140,10 @@ if ($id > 0)
|
|||||||
print '<tr><td>'.$langs->trans("UserTitle").'</td><td class="valeur">'.$object->getCivilityLabel().' </td>';
|
print '<tr><td>'.$langs->trans("UserTitle").'</td><td class="valeur">'.$object->getCivilityLabel().' </td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Nbre fichiers
|
// Number of Attached Files
|
||||||
print '<tr><td>'.$langs->trans("NbOfAttachedFiles").'</td><td colspan="3">'.count($filearray).'</td></tr>';
|
print '<tr><td>'.$langs->trans("NbOfAttachedFiles").'</td><td colspan="3">'.count($filearray).'</td></tr>';
|
||||||
|
|
||||||
//Total taille
|
//Total Size Of Attached Files
|
||||||
print '<tr><td>'.$langs->trans("TotalSizeOfAttachedFiles").'</td><td colspan="3">'.dol_print_size($totalsize, 1, 1).'</td></tr>';
|
print '<tr><td>'.$langs->trans("TotalSizeOfAttachedFiles").'</td><td colspan="3">'.dol_print_size($totalsize, 1, 1).'</td></tr>';
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
@ -162,7 +162,7 @@ if ($conf->use_javascript_ajax)
|
|||||||
print '<div class="div-table-responsive-no-min">';
|
print '<div class="div-table-responsive-no-min">';
|
||||||
print '<table class="noborder nohover" width="100%">';
|
print '<table class="noborder nohover" width="100%">';
|
||||||
print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("Statistics").'</th></tr>';
|
print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("Statistics").'</th></tr>';
|
||||||
print '<tr><td align="center" colspan="2">';
|
print '<tr><td class="center" colspan="2">';
|
||||||
|
|
||||||
$SommeA=0;
|
$SommeA=0;
|
||||||
$SommeB=0;
|
$SommeB=0;
|
||||||
|
|||||||
@ -441,17 +441,17 @@ if (! empty($arrayfields['d.ref']['checked']))
|
|||||||
}
|
}
|
||||||
if (! empty($arrayfields['d.civility']['checked']))
|
if (! empty($arrayfields['d.civility']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth50imp" type="text" name="search_civility" value="'.dol_escape_htmltag($search_civility).'"></td>';
|
print '<input class="flat maxwidth50imp" type="text" name="search_civility" value="'.dol_escape_htmltag($search_civility).'"></td>';
|
||||||
}
|
}
|
||||||
if (! empty($arrayfields['d.firstname']['checked']))
|
if (! empty($arrayfields['d.firstname']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth75imp" type="text" name="search_firstname" value="'.dol_escape_htmltag($search_firstname).'"></td>';
|
print '<input class="flat maxwidth75imp" type="text" name="search_firstname" value="'.dol_escape_htmltag($search_firstname).'"></td>';
|
||||||
}
|
}
|
||||||
if (! empty($arrayfields['d.lastname']['checked']))
|
if (! empty($arrayfields['d.lastname']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth75imp" type="text" name="search_lastname" value="'.dol_escape_htmltag($search_lastname).'"></td>';
|
print '<input class="flat maxwidth75imp" type="text" name="search_lastname" value="'.dol_escape_htmltag($search_lastname).'"></td>';
|
||||||
}
|
}
|
||||||
if (! empty($arrayfields['d.gender']['checked']))
|
if (! empty($arrayfields['d.gender']['checked']))
|
||||||
@ -463,17 +463,17 @@ if (! empty($arrayfields['d.gender']['checked']))
|
|||||||
}
|
}
|
||||||
if (! empty($arrayfields['d.company']['checked']))
|
if (! empty($arrayfields['d.company']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth75imp" type="text" name="search_company" value="'.dol_escape_htmltag($search_company).'"></td>';
|
print '<input class="flat maxwidth75imp" type="text" name="search_company" value="'.dol_escape_htmltag($search_company).'"></td>';
|
||||||
}
|
}
|
||||||
if (! empty($arrayfields['d.login']['checked']))
|
if (! empty($arrayfields['d.login']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth75imp" type="text" name="search_login" value="'.dol_escape_htmltag($search_login).'"></td>';
|
print '<input class="flat maxwidth75imp" type="text" name="search_login" value="'.dol_escape_htmltag($search_login).'"></td>';
|
||||||
}
|
}
|
||||||
if (! empty($arrayfields['d.morphy']['checked']))
|
if (! empty($arrayfields['d.morphy']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
if (! empty($arrayfields['t.libelle']['checked']))
|
if (! empty($arrayfields['t.libelle']['checked']))
|
||||||
@ -486,18 +486,18 @@ if (! empty($arrayfields['t.libelle']['checked']))
|
|||||||
|
|
||||||
if (! empty($arrayfields['d.address']['checked']))
|
if (! empty($arrayfields['d.address']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth75imp" type="text" name="search_address" value="'.$search_address.'"></td>';
|
print '<input class="flat maxwidth75imp" type="text" name="search_address" value="'.$search_address.'"></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! empty($arrayfields['d.zip']['checked']))
|
if (! empty($arrayfields['d.zip']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth50imp" type="text" name="search_zip" value="'.$search_zip.'"></td>';
|
print '<input class="flat maxwidth50imp" type="text" name="search_zip" value="'.$search_zip.'"></td>';
|
||||||
}
|
}
|
||||||
if (! empty($arrayfields['d.town']['checked']))
|
if (! empty($arrayfields['d.town']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth75imp" type="text" name="search_town" value="'.$search_town.'"></td>';
|
print '<input class="flat maxwidth75imp" type="text" name="search_town" value="'.$search_town.'"></td>';
|
||||||
}
|
}
|
||||||
// State
|
// State
|
||||||
@ -510,38 +510,38 @@ if (! empty($arrayfields['state.nom']['checked']))
|
|||||||
// Country
|
// Country
|
||||||
if (! empty($arrayfields['country.code_iso']['checked']))
|
if (! empty($arrayfields['country.code_iso']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="center">';
|
print '<td class="liste_titre center">';
|
||||||
print $form->select_country($search_country, 'search_country', '', 0, 'minwidth100imp maxwidth100');
|
print $form->select_country($search_country, 'search_country', '', 0, 'minwidth100imp maxwidth100');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
// Phone pro
|
// Phone pro
|
||||||
if (! empty($arrayfields['d.phone']['checked']))
|
if (! empty($arrayfields['d.phone']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth75imp" type="text" name="search_phone" value="'.$search_phone.'"></td>';
|
print '<input class="flat maxwidth75imp" type="text" name="search_phone" value="'.$search_phone.'"></td>';
|
||||||
}
|
}
|
||||||
// Phone perso
|
// Phone perso
|
||||||
if (! empty($arrayfields['d.phone_perso']['checked']))
|
if (! empty($arrayfields['d.phone_perso']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth50" type="text" name="search_phone_perso" value="'.$search_phone_perso.'"></td>';
|
print '<input class="flat maxwidth50" type="text" name="search_phone_perso" value="'.$search_phone_perso.'"></td>';
|
||||||
}
|
}
|
||||||
// Phone mobile
|
// Phone mobile
|
||||||
if (! empty($arrayfields['d.phone_mobile']['checked']))
|
if (! empty($arrayfields['d.phone_mobile']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth75imp" type="text" name="search_phone_mobile" value="'.$search_phone_mobile.'"></td>';
|
print '<input class="flat maxwidth75imp" type="text" name="search_phone_mobile" value="'.$search_phone_mobile.'"></td>';
|
||||||
}
|
}
|
||||||
// Email
|
// Email
|
||||||
if (! empty($arrayfields['d.email']['checked']))
|
if (! empty($arrayfields['d.email']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat maxwidth75imp" type="text" name="search_email" value="'.$search_email.'"></td>';
|
print '<input class="flat maxwidth75imp" type="text" name="search_email" value="'.$search_email.'"></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! empty($arrayfields['d.datefin']['checked']))
|
if (! empty($arrayfields['d.datefin']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
// Extra fields
|
// Extra fields
|
||||||
@ -576,7 +576,7 @@ if (! empty($arrayfields['d.statut']['checked']))
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
// Action column
|
// Action column
|
||||||
print '<td class="liste_titre" align="middle">';
|
print '<td class="liste_titre middle">';
|
||||||
$searchpicto=$form->showFilterButtons();
|
$searchpicto=$form->showFilterButtons();
|
||||||
print $searchpicto;
|
print $searchpicto;
|
||||||
print '</td>';
|
print '</td>';
|
||||||
@ -647,7 +647,7 @@ while ($i < min($num, $limit))
|
|||||||
|
|
||||||
if (! empty($conf->global->MAIN_SHOW_TECHNICAL_ID))
|
if (! empty($conf->global->MAIN_SHOW_TECHNICAL_ID))
|
||||||
{
|
{
|
||||||
print '<td align="center">'.$obj->rowid.'</td>';
|
print '<td class="center">'.$obj->rowid.'</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -753,7 +753,7 @@ while ($i < min($num, $limit))
|
|||||||
// Country
|
// Country
|
||||||
if (! empty($arrayfields['country.code_iso']['checked']))
|
if (! empty($arrayfields['country.code_iso']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="center">';
|
print '<td class="center">';
|
||||||
$tmparray=getCountry($obj->country, 'all');
|
$tmparray=getCountry($obj->country, 'all');
|
||||||
print $tmparray['label'];
|
print $tmparray['label'];
|
||||||
print '</td>';
|
print '</td>';
|
||||||
@ -794,7 +794,7 @@ while ($i < min($num, $limit))
|
|||||||
{
|
{
|
||||||
if ($datefin)
|
if ($datefin)
|
||||||
{
|
{
|
||||||
print '<td align="center" class="nowrap">';
|
print '<td class="nowrap center">';
|
||||||
print dol_print_date($datefin, 'day');
|
print dol_print_date($datefin, 'day');
|
||||||
if ($memberstatic->hasDelay()) {
|
if ($memberstatic->hasDelay()) {
|
||||||
$textlate .= ' ('.$langs->trans("DateReference").' > '.$langs->trans("DateToday").' '.(ceil($conf->adherent->subscription->warning_delay/60/60/24) >= 0 ? '+' : '').ceil($conf->adherent->subscription->warning_delay/60/60/24).' '.$langs->trans("days").')';
|
$textlate .= ' ('.$langs->trans("DateReference").' > '.$langs->trans("DateToday").' '.(ceil($conf->adherent->subscription->warning_delay/60/60/24) >= 0 ? '+' : '').ceil($conf->adherent->subscription->warning_delay/60/60/24).' '.$langs->trans("days").')';
|
||||||
@ -804,7 +804,7 @@ while ($i < min($num, $limit))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<td align="left" class="nowrap">';
|
print '<td class="nowrap left">';
|
||||||
if ($obj->subscription == 'yes')
|
if ($obj->subscription == 'yes')
|
||||||
{
|
{
|
||||||
print $langs->trans("SubscriptionNotReceived");
|
print $langs->trans("SubscriptionNotReceived");
|
||||||
@ -826,7 +826,7 @@ while ($i < min($num, $limit))
|
|||||||
// Date creation
|
// Date creation
|
||||||
if (! empty($arrayfields['d.datec']['checked']))
|
if (! empty($arrayfields['d.datec']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="center" class="nowrap">';
|
print '<td class="nowrap center">';
|
||||||
print dol_print_date($db->jdate($obj->date_creation), 'dayhour', 'tzuser');
|
print dol_print_date($db->jdate($obj->date_creation), 'dayhour', 'tzuser');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
@ -834,7 +834,7 @@ while ($i < min($num, $limit))
|
|||||||
// Date modification
|
// Date modification
|
||||||
if (! empty($arrayfields['d.tms']['checked']))
|
if (! empty($arrayfields['d.tms']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="center" class="nowrap">';
|
print '<td class="nowrap center">';
|
||||||
print dol_print_date($db->jdate($obj->date_update), 'dayhour', 'tzuser');
|
print dol_print_date($db->jdate($obj->date_update), 'dayhour', 'tzuser');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
@ -848,7 +848,7 @@ while ($i < min($num, $limit))
|
|||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
// Action column
|
// Action column
|
||||||
print '<td align="center">';
|
print '<td class="center">';
|
||||||
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
|
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
|
||||||
{
|
{
|
||||||
$selected=0;
|
$selected=0;
|
||||||
|
|||||||
@ -93,7 +93,7 @@ if ($id)
|
|||||||
|
|
||||||
// Morphy
|
// Morphy
|
||||||
print '<tr><td class="titlefield">'.$langs->trans("Nature").'</td><td class="valeur" >'.$object->getmorphylib().'</td>';
|
print '<tr><td class="titlefield">'.$langs->trans("Nature").'</td><td class="valeur" >'.$object->getmorphylib().'</td>';
|
||||||
/*print '<td rowspan="'.$rowspan.'" align="center" valign="middle" width="25%">';
|
/*print '<td rowspan="'.$rowspan.'" class="center" valign="middle" width="25%">';
|
||||||
print $form->showphoto('memberphoto',$member);
|
print $form->showphoto('memberphoto',$member);
|
||||||
print '</td>';*/
|
print '</td>';*/
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|||||||
@ -121,8 +121,8 @@ print '<table class="liste" width="100%">';
|
|||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$langs->trans("Nature").'</td>';
|
print '<td>'.$langs->trans("Nature").'</td>';
|
||||||
print '<td class="right">'.$langs->trans("NbOfMembers").'</td>';
|
print '<td class="right">'.$langs->trans("NbOfMembers").'</td>';
|
||||||
print '<td align="center">'.$langs->trans("LastMemberDate").'</td>';
|
print '<td class="center">'.$langs->trans("LastMemberDate").'</td>';
|
||||||
print '<td align="center">'.$langs->trans("LatestSubscriptionDate").'</td>';
|
print '<td class="center">'.$langs->trans("LatestSubscriptionDate").'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
if (! $foundphy) $data[]=array('label'=>'phy','nb'=>'0','lastdate'=>'', 'lastsubscriptiondate'=>'');
|
if (! $foundphy) $data[]=array('label'=>'phy','nb'=>'0','lastdate'=>'', 'lastsubscriptiondate'=>'');
|
||||||
@ -133,8 +133,8 @@ foreach ($data as $val)
|
|||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
print '<td>'.$memberstatic->getmorphylib($val['label']).'</td>';
|
print '<td>'.$memberstatic->getmorphylib($val['label']).'</td>';
|
||||||
print '<td class="right">'.$val['nb'].'</td>';
|
print '<td class="right">'.$val['nb'].'</td>';
|
||||||
print '<td align="center">'.dol_print_date($val['lastdate'], 'dayhour').'</td>';
|
print '<td class="center">'.dol_print_date($val['lastdate'], 'dayhour').'</td>';
|
||||||
print '<td align="center">'.dol_print_date($val['lastsubscriptiondate'], 'dayhour').'</td>';
|
print '<td class="center">'.dol_print_date($val['lastsubscriptiondate'], 'dayhour').'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -287,7 +287,7 @@ if (count($arrayjs) && $mode == 'memberbycountry')
|
|||||||
print "</script>\n";
|
print "</script>\n";
|
||||||
|
|
||||||
// print the div tag that will contain the map
|
// print the div tag that will contain the map
|
||||||
print '<div align="center" id="'.$mode.'"></div>'."\n";
|
print '<div class="center" id="'.$mode.'"></div>'."\n";
|
||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -297,10 +297,10 @@ if ($mode)
|
|||||||
print '<table class="liste" width="100%">';
|
print '<table class="liste" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$label.'</td>';
|
print '<td>'.$label.'</td>';
|
||||||
if ($label2) print '<td align="center">'.$label2.'</td>';
|
if ($label2) print '<td class="center">'.$label2.'</td>';
|
||||||
print '<td class="right">'.$langs->trans("NbOfMembers").'</td>';
|
print '<td class="right">'.$langs->trans("NbOfMembers").'</td>';
|
||||||
print '<td align="center">'.$langs->trans("LastMemberDate").'</td>';
|
print '<td class="center">'.$langs->trans("LastMemberDate").'</td>';
|
||||||
print '<td align="center">'.$langs->trans("LatestSubscriptionDate").'</td>';
|
print '<td class="center">'.$langs->trans("LatestSubscriptionDate").'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
foreach ($data as $val)
|
foreach ($data as $val)
|
||||||
@ -308,10 +308,10 @@ if ($mode)
|
|||||||
$year = $val['year'];
|
$year = $val['year'];
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
print '<td>'.$val['label'].'</td>';
|
print '<td>'.$val['label'].'</td>';
|
||||||
if ($label2) print '<td align="center">'.$val['label2'].'</td>';
|
if ($label2) print '<td class="center">'.$val['label2'].'</td>';
|
||||||
print '<td class="right">'.$val['nb'].'</td>';
|
print '<td class="right">'.$val['nb'].'</td>';
|
||||||
print '<td align="center">'.dol_print_date($val['lastdate'], 'dayhour').'</td>';
|
print '<td class="center">'.dol_print_date($val['lastdate'], 'dayhour').'</td>';
|
||||||
print '<td align="center">'.dol_print_date($val['lastsubscriptiondate'], 'dayhour').'</td>';
|
print '<td class="center">'.dol_print_date($val['lastsubscriptiondate'], 'dayhour').'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -157,7 +157,7 @@ print '</td></tr>';
|
|||||||
print '<tr><td>'.$langs->trans("User").'</td><td>';
|
print '<tr><td>'.$langs->trans("User").'</td><td>';
|
||||||
print $form->select_dolusers($userid, 'userid', 1, '', 0, '', '', 0, 0, 0, '', 0, '', 'maxwidth300');
|
print $form->select_dolusers($userid, 'userid', 1, '', 0, '', '', 0, 0, 0, '', 0, '', 'maxwidth300');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '<tr><td align="center" colspan="2"><input type="submit" name="submit" class="button" value="'.$langs->trans("Refresh").'"></td></tr>';
|
print '<tr><td class="center" colspan="2"><input type="submit" name="submit" class="button" value="'.$langs->trans("Refresh").'"></td></tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
print '<br><br>';
|
print '<br><br>';
|
||||||
@ -170,7 +170,7 @@ $data = $stats->getAllByYear();
|
|||||||
print '<div class="div-table-responsive-no-min">';
|
print '<div class="div-table-responsive-no-min">';
|
||||||
print '<table class="noborder">';
|
print '<table class="noborder">';
|
||||||
print '<tr class="liste_titre" height="24">';
|
print '<tr class="liste_titre" height="24">';
|
||||||
print '<td align="center">'.$langs->trans("Year").'</td>';
|
print '<td class="center">'.$langs->trans("Year").'</td>';
|
||||||
print '<td class="right">'.$langs->trans("NbOfSubscriptions").'</td>';
|
print '<td class="right">'.$langs->trans("NbOfSubscriptions").'</td>';
|
||||||
print '<td class="right">'.$langs->trans("AmountTotal").'</td>';
|
print '<td class="right">'.$langs->trans("AmountTotal").'</td>';
|
||||||
print '<td class="right">'.$langs->trans("AmountAverage").'</td>';
|
print '<td class="right">'.$langs->trans("AmountAverage").'</td>';
|
||||||
@ -184,7 +184,7 @@ foreach ($data as $val)
|
|||||||
{ // If we have empty year
|
{ // If we have empty year
|
||||||
$oldyear--;
|
$oldyear--;
|
||||||
print '<tr class="oddeven" height="24">';
|
print '<tr class="oddeven" height="24">';
|
||||||
print '<td align="center">';
|
print '<td class="center">';
|
||||||
print '<a href="month.php?year='.$oldyear.'&mode='.$mode.'">';
|
print '<a href="month.php?year='.$oldyear.'&mode='.$mode.'">';
|
||||||
print $oldyear;
|
print $oldyear;
|
||||||
print '</a>';
|
print '</a>';
|
||||||
@ -195,7 +195,7 @@ foreach ($data as $val)
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
print '<tr class="oddeven" height="24">';
|
print '<tr class="oddeven" height="24">';
|
||||||
print '<td align="center">';
|
print '<td class="center">';
|
||||||
//print '<a href="month.php?year='.$year.'">';
|
//print '<a href="month.php?year='.$year.'">';
|
||||||
print $year;
|
print $year;
|
||||||
//print '</a>';
|
//print '</a>';
|
||||||
@ -215,7 +215,7 @@ print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
|||||||
|
|
||||||
|
|
||||||
// Show graphs
|
// Show graphs
|
||||||
print '<table class="border" width="100%"><tr class="pair nohover"><td align="center">';
|
print '<table class="border" width="100%"><tr class="pair nohover"><td class="center">';
|
||||||
if ($mesg) { print $mesg; }
|
if ($mesg) { print $mesg; }
|
||||||
else {
|
else {
|
||||||
print $px1->show();
|
print $px1->show();
|
||||||
|
|||||||
@ -692,9 +692,9 @@ if ($rowid > 0)
|
|||||||
|
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print_liste_field_titre('Ref', $_SERVER["PHP_SELF"], 'c.rowid', '', $param, '', $sortfield, $sortorder);
|
print_liste_field_titre('Ref', $_SERVER["PHP_SELF"], 'c.rowid', '', $param, '', $sortfield, $sortorder);
|
||||||
print '<td align="center">'.$langs->trans("DateCreation").'</td>';
|
print '<td class="center">'.$langs->trans("DateCreation").'</td>';
|
||||||
print '<td align="center">'.$langs->trans("DateStart").'</td>';
|
print '<td class="center">'.$langs->trans("DateStart").'</td>';
|
||||||
print '<td align="center">'.$langs->trans("DateEnd").'</td>';
|
print '<td class="center">'.$langs->trans("DateEnd").'</td>';
|
||||||
print '<td class="right">'.$langs->trans("Amount").'</td>';
|
print '<td class="right">'.$langs->trans("Amount").'</td>';
|
||||||
if (! empty($conf->banque->enabled))
|
if (! empty($conf->banque->enabled))
|
||||||
{
|
{
|
||||||
@ -713,9 +713,9 @@ if ($rowid > 0)
|
|||||||
|
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
print '<td>'.$subscriptionstatic->getNomUrl(1).'</td>';
|
print '<td>'.$subscriptionstatic->getNomUrl(1).'</td>';
|
||||||
print '<td align="center">'.dol_print_date($db->jdate($objp->datec), 'dayhour')."</td>\n";
|
print '<td class="center">'.dol_print_date($db->jdate($objp->datec), 'dayhour')."</td>\n";
|
||||||
print '<td align="center">'.dol_print_date($db->jdate($objp->dateh), 'day')."</td>\n";
|
print '<td class="center">'.dol_print_date($db->jdate($objp->dateh), 'day')."</td>\n";
|
||||||
print '<td align="center">'.dol_print_date($db->jdate($objp->datef), 'day')."</td>\n";
|
print '<td class="center">'.dol_print_date($db->jdate($objp->datef), 'day')."</td>\n";
|
||||||
print '<td class="right">'.price($objp->subscription).'</td>';
|
print '<td class="right">'.price($objp->subscription).'</td>';
|
||||||
if (! empty($conf->banque->enabled))
|
if (! empty($conf->banque->enabled))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -299,33 +299,33 @@ if (! empty($conf->global->MAIN_SHOW_TECHNICAL_ID))
|
|||||||
// Ref
|
// Ref
|
||||||
if (! empty($arrayfields['d.ref']['checked']))
|
if (! empty($arrayfields['d.ref']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat" type="text" name="search_ref" value="'.dol_escape_htmltag($search_ref).'" size="4"></td>';
|
print '<input class="flat" type="text" name="search_ref" value="'.dol_escape_htmltag($search_ref).'" size="4"></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Type
|
// Type
|
||||||
if (! empty($arrayfields['d.fk_type']['checked']))
|
if (! empty($arrayfields['d.fk_type']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat" type="text" name="search_type" value="'.dol_escape_htmltag($search_type).'" size="7">';
|
print '<input class="flat" type="text" name="search_type" value="'.dol_escape_htmltag($search_type).'" size="7">';
|
||||||
print'</td>';
|
print'</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! empty($arrayfields['d.lastname']['checked']))
|
if (! empty($arrayfields['d.lastname']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat" type="text" name="search_lastname" value="'.dol_escape_htmltag($search_lastname).'" size="7"></td>';
|
print '<input class="flat" type="text" name="search_lastname" value="'.dol_escape_htmltag($search_lastname).'" size="7"></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! empty($arrayfields['d.firstname']['checked']))
|
if (! empty($arrayfields['d.firstname']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat" type="text" name="search_firstname" value="'.dol_escape_htmltag($search_firstname).'" size="12"></td>';
|
print '<input class="flat" type="text" name="search_firstname" value="'.dol_escape_htmltag($search_firstname).'" size="12"></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! empty($arrayfields['d.login']['checked']))
|
if (! empty($arrayfields['d.login']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat" type="text" name="search_login" value="'.dol_escape_htmltag($search_login).'" size="7"></td>';
|
print '<input class="flat" type="text" name="search_login" value="'.dol_escape_htmltag($search_login).'" size="7"></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -529,13 +529,13 @@ while ($i < min($num, $limit))
|
|||||||
// Date start
|
// Date start
|
||||||
if (! empty($arrayfields['c.dateadh']['checked']))
|
if (! empty($arrayfields['c.dateadh']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="center">'.dol_print_date($db->jdate($obj->dateadh), 'day')."</td>\n";
|
print '<td class="center">'.dol_print_date($db->jdate($obj->dateadh), 'day')."</td>\n";
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
// Date end
|
// Date end
|
||||||
if (! empty($arrayfields['c.datef']['checked']))
|
if (! empty($arrayfields['c.datef']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="center">'.dol_print_date($db->jdate($obj->datef), 'day')."</td>\n";
|
print '<td class="center">'.dol_print_date($db->jdate($obj->datef), 'day')."</td>\n";
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
// Price
|
// Price
|
||||||
@ -555,7 +555,7 @@ while ($i < min($num, $limit))
|
|||||||
// Date creation
|
// Date creation
|
||||||
if (! empty($arrayfields['c.datec']['checked']))
|
if (! empty($arrayfields['c.datec']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="center" class="nowrap">';
|
print '<td class="nowrap center">';
|
||||||
print dol_print_date($db->jdate($obj->date_creation), 'dayhour', 'tzuser');
|
print dol_print_date($db->jdate($obj->date_creation), 'dayhour', 'tzuser');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
@ -563,13 +563,13 @@ while ($i < min($num, $limit))
|
|||||||
// Date modification
|
// Date modification
|
||||||
if (! empty($arrayfields['c.tms']['checked']))
|
if (! empty($arrayfields['c.tms']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="center" class="nowrap">';
|
print '<td class="nowrap center">';
|
||||||
print dol_print_date($db->jdate($obj->date_update), 'dayhour', 'tzuser');
|
print dol_print_date($db->jdate($obj->date_update), 'dayhour', 'tzuser');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
// Action column
|
// Action column
|
||||||
print '<td align="center">';
|
print '<td class="center">';
|
||||||
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
|
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
|
||||||
{
|
{
|
||||||
$selected=0;
|
$selected=0;
|
||||||
|
|||||||
@ -44,8 +44,8 @@ foreach($linkedObjectBlock as $key => $objectlink)
|
|||||||
<tr class="oddeven" >
|
<tr class="oddeven" >
|
||||||
<td><?php echo $langs->trans("Subscription"); ?></td>
|
<td><?php echo $langs->trans("Subscription"); ?></td>
|
||||||
<td><?php echo $objectlink->getNomUrl(1); ?></td>
|
<td><?php echo $objectlink->getNomUrl(1); ?></td>
|
||||||
<td align="center"></td>
|
<td class="center"></td>
|
||||||
<td align="center"><?php echo dol_print_date($objectlink->dateh, 'day'); ?></td>
|
<td class="center"><?php echo dol_print_date($objectlink->dateh, 'day'); ?></td>
|
||||||
<td class="right"><?php
|
<td class="right"><?php
|
||||||
if ($user->rights->adherent->lire) {
|
if ($user->rights->adherent->lire) {
|
||||||
$total = $total + $objectlink->amount;
|
$total = $total + $objectlink->amount;
|
||||||
|
|||||||
@ -256,9 +256,9 @@ if (! $rowid && $action != 'create' && $action != 'edit')
|
|||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<th>'.$langs->trans("Ref").'</th>';
|
print '<th>'.$langs->trans("Ref").'</th>';
|
||||||
print '<th>'.$langs->trans("Label").'</th>';
|
print '<th>'.$langs->trans("Label").'</th>';
|
||||||
print '<th align="center">'.$langs->trans("SubscriptionRequired").'</th>';
|
print '<th class="center">'.$langs->trans("SubscriptionRequired").'</th>';
|
||||||
print '<th align="center">'.$langs->trans("VoteAllowed").'</th>';
|
print '<th class="center">'.$langs->trans("VoteAllowed").'</th>';
|
||||||
print '<th align="center">'.$langs->trans("Status").'</th>';
|
print '<th class="center">'.$langs->trans("Status").'</th>';
|
||||||
print '<th> </th>';
|
print '<th> </th>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
@ -277,9 +277,9 @@ if (! $rowid && $action != 'create' && $action != 'edit')
|
|||||||
//<a href="'.$_SERVER["PHP_SELF"].'?rowid='.$objp->rowid.'">'.img_object($langs->trans("ShowType"),'group').' '.$objp->rowid.'</a>
|
//<a href="'.$_SERVER["PHP_SELF"].'?rowid='.$objp->rowid.'">'.img_object($langs->trans("ShowType"),'group').' '.$objp->rowid.'</a>
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>'.dol_escape_htmltag($objp->label).'</td>';
|
print '<td>'.dol_escape_htmltag($objp->label).'</td>';
|
||||||
print '<td align="center">'.yn($objp->subscription).'</td>';
|
print '<td class="center">'.yn($objp->subscription).'</td>';
|
||||||
print '<td align="center">'.yn($objp->vote).'</td>';
|
print '<td class="center">'.yn($objp->vote).'</td>';
|
||||||
print '<td align="center">';
|
print '<td class="center">';
|
||||||
if ( !empty($objp->statut) ) {
|
if ( !empty($objp->statut) ) {
|
||||||
print img_picto($langs->trans("InActivity"), 'statut4');
|
print img_picto($langs->trans("InActivity"), 'statut4');
|
||||||
} else {
|
} else {
|
||||||
@ -586,15 +586,15 @@ if ($rowid > 0)
|
|||||||
// Lignes des champs de filtre
|
// Lignes des champs de filtre
|
||||||
print '<tr class="liste_titre_filter">';
|
print '<tr class="liste_titre_filter">';
|
||||||
|
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat" type="text" name="search_lastname" value="'.dol_escape_htmltag($search_lastname).'" size="12"></td>';
|
print '<input class="flat" type="text" name="search_lastname" value="'.dol_escape_htmltag($search_lastname).'" size="12"></td>';
|
||||||
|
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat" type="text" name="search_login" value="'.dol_escape_htmltag($search_login).'" size="7"></td>';
|
print '<input class="flat" type="text" name="search_login" value="'.dol_escape_htmltag($search_login).'" size="7"></td>';
|
||||||
|
|
||||||
print '<td class="liste_titre"> </td>';
|
print '<td class="liste_titre"> </td>';
|
||||||
|
|
||||||
print '<td class="liste_titre" align="left">';
|
print '<td class="liste_titre left">';
|
||||||
print '<input class="flat" type="text" name="search_email" value="'.dol_escape_htmltag($search_email).'" size="12"></td>';
|
print '<input class="flat" type="text" name="search_email" value="'.dol_escape_htmltag($search_email).'" size="12"></td>';
|
||||||
|
|
||||||
print '<td class="liste_titre"> </td>';
|
print '<td class="liste_titre"> </td>';
|
||||||
@ -663,7 +663,7 @@ if ($rowid > 0)
|
|||||||
// Date end subscription
|
// Date end subscription
|
||||||
if ($datefin)
|
if ($datefin)
|
||||||
{
|
{
|
||||||
print '<td align="center" class="nowrap">';
|
print '<td class="nowrap center">';
|
||||||
if ($datefin < dol_now() && $objp->statut > 0)
|
if ($datefin < dol_now() && $objp->statut > 0)
|
||||||
{
|
{
|
||||||
print dol_print_date($datefin, 'day')." ".img_warning($langs->trans("SubscriptionLate"));
|
print dol_print_date($datefin, 'day')." ".img_warning($langs->trans("SubscriptionLate"));
|
||||||
@ -676,7 +676,7 @@ if ($rowid > 0)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<td align="left" class="nowrap">';
|
print '<td class="nowrap left">';
|
||||||
if ($objp->subscription == 'yes')
|
if ($objp->subscription == 'yes')
|
||||||
{
|
{
|
||||||
print $langs->trans("SubscriptionNotReceived");
|
print $langs->trans("SubscriptionNotReceived");
|
||||||
@ -690,7 +690,7 @@ if ($rowid > 0)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
print '<td align="center">';
|
print '<td class="center">';
|
||||||
if ($user->rights->adherent->creer)
|
if ($user->rights->adherent->creer)
|
||||||
{
|
{
|
||||||
print '<a href="card.php?rowid='.$objp->rowid.'&action=edit&backtopage='.urlencode($_SERVER["PHP_SELF"].'?rowid='.$object->id).'">'.img_edit().'</a>';
|
print '<a href="card.php?rowid='.$objp->rowid.'&action=edit&backtopage='.urlencode($_SERVER["PHP_SELF"].'?rowid='.$object->id).'">'.img_edit().'</a>';
|
||||||
|
|||||||
@ -282,12 +282,12 @@ class Dolistore
|
|||||||
|
|
||||||
//output template
|
//output template
|
||||||
$html .= '<tr class="app '.$parity.' '.$compatible.'">
|
$html .= '<tr class="app '.$parity.' '.$compatible.'">
|
||||||
<td align="center" width="210"><div class="newAppParent">'.$newapp.$images.'</div></td>
|
<td class="center" width="210"><div class="newAppParent">'.$newapp.$images.'</div></td>
|
||||||
<td class="margeCote"><h2 class="appTitle">'.$product->name->language[$this->lang]
|
<td class="margeCote"><h2 class="appTitle">'.$product->name->language[$this->lang]
|
||||||
.'<br/><small>'.$version.'</small></h2>
|
.'<br/><small>'.$version.'</small></h2>
|
||||||
<small> '.dol_print_date(dol_stringtotime($product->date_upd), 'dayhour').' - '.$langs->trans('Ref').': '.$product->reference.' - '.$langs->trans('Id').': '.$product->id.'</small><br><br>'.$product->description_short->language[$this->lang].'</td>
|
<small> '.dol_print_date(dol_stringtotime($product->date_upd), 'dayhour').' - '.$langs->trans('Ref').': '.$product->reference.' - '.$langs->trans('Id').': '.$product->id.'</small><br><br>'.$product->description_short->language[$this->lang].'</td>
|
||||||
<td style="display:none;" class="long_description">'.$product->description->language[$this->lang].'</td>
|
<td style="display:none;" class="long_description">'.$product->description->language[$this->lang].'</td>
|
||||||
<td class="margeCote" align="center">'.$price.'
|
<td class="margeCote center">'.$price.'
|
||||||
</td>
|
</td>
|
||||||
<td class="margeCote">'.$download_link.'</td>
|
<td class="margeCote">'.$download_link.'</td>
|
||||||
</tr>';
|
</tr>';
|
||||||
|
|||||||
@ -84,13 +84,13 @@ dol_fiche_head($head, 'misc', $langs->trans("Menus"), -1);
|
|||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td colspan="3">'.$langs->trans("Parameters").'</td>';
|
print '<td colspan="3">'.$langs->trans("Parameters").'</td>';
|
||||||
print '<td align="center" width="80">'.$langs->trans("Status").'</td>';
|
print '<td class="center" width="80">'.$langs->trans("Status").'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Hide unauthorized menu
|
// Hide unauthorized menu
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
print '<td colspan="3">'.$langs->trans("HideUnauthorizedMenu").'</td>';
|
print '<td colspan="3">'.$langs->trans("HideUnauthorizedMenu").'</td>';
|
||||||
print '<td align="center">';
|
print '<td class="center">';
|
||||||
if (empty($conf->global->MAIN_MENU_HIDE_UNAUTHORIZED))
|
if (empty($conf->global->MAIN_MENU_HIDE_UNAUTHORIZED))
|
||||||
{
|
{
|
||||||
print '<a href="'.$_SERVER["PHP_SELF"].'?action=activate_hidemenu">'.img_picto($langs->trans("Disabled"), 'switch_off').'</a>';
|
print '<a href="'.$_SERVER["PHP_SELF"].'?action=activate_hidemenu">'.img_picto($langs->trans("Disabled"), 'switch_off').'</a>';
|
||||||
|
|||||||
@ -446,7 +446,7 @@ if ($resql)
|
|||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
print '<td class="tdoverflowmax300">'.$obj->name.'</td>'."\n";
|
print '<td class="tdoverflowmax300">'.$obj->name.'</td>'."\n";
|
||||||
print '<td class="tdoverflowmax300">'.dol_escape_htmltag($obj->value).'</td>'."\n";
|
print '<td class="tdoverflowmax300">'.dol_escape_htmltag($obj->value).'</td>'."\n";
|
||||||
if (empty($conf->multicompany->enabled) || !$user->entity) print '<td align="center" width="80px">'.$obj->entity.'</td>'."\n"; // If superadmin or multicompany disabled
|
if (empty($conf->multicompany->enabled) || !$user->entity) print '<td class="center" width="80px">'.$obj->entity.'</td>'."\n"; // If superadmin or multicompany disabled
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
@ -171,8 +171,8 @@ if (! $error && $xml)
|
|||||||
$out.='<tr class="liste_titre">';
|
$out.='<tr class="liste_titre">';
|
||||||
$out.='<td>#</td>';
|
$out.='<td>#</td>';
|
||||||
$out.='<td>' . $langs->trans("Constant") . '</td>';
|
$out.='<td>' . $langs->trans("Constant") . '</td>';
|
||||||
$out.='<td align="center">' . $langs->trans("ExpectedValue") . '</td>';
|
$out.='<td class="center">' . $langs->trans("ExpectedValue") . '</td>';
|
||||||
$out.='<td align="center">' . $langs->trans("Value") . '</td>';
|
$out.='<td class="center">' . $langs->trans("Value") . '</td>';
|
||||||
$out.='</tr>'."\n";
|
$out.='</tr>'."\n";
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
@ -192,8 +192,8 @@ if (! $error && $xml)
|
|||||||
$out.='<tr class="oddeven">';
|
$out.='<tr class="oddeven">';
|
||||||
$out.='<td>'.$i.'</td>' . "\n";
|
$out.='<td>'.$i.'</td>' . "\n";
|
||||||
$out.='<td>'.$constname.'</td>' . "\n";
|
$out.='<td>'.$constname.'</td>' . "\n";
|
||||||
$out.='<td align="center">'.$constvalue.'</td>' . "\n";
|
$out.='<td class="center">'.$constvalue.'</td>' . "\n";
|
||||||
$out.='<td align="center">'.$valueforchecksum.'</td>' . "\n";
|
$out.='<td class="center">'.$valueforchecksum.'</td>' . "\n";
|
||||||
$out.="</tr>\n";
|
$out.="</tr>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -239,7 +239,7 @@ if (! $error && $xml)
|
|||||||
$out.='<tr class="liste_titre">';
|
$out.='<tr class="liste_titre">';
|
||||||
$out.='<td>#</td>';
|
$out.='<td>#</td>';
|
||||||
$out.='<td>' . $langs->trans("Filename") . '</td>';
|
$out.='<td>' . $langs->trans("Filename") . '</td>';
|
||||||
$out.='<td align="center">' . $langs->trans("ExpectedChecksum") . '</td>';
|
$out.='<td class="center">' . $langs->trans("ExpectedChecksum") . '</td>';
|
||||||
$out.='</tr>'."\n";
|
$out.='</tr>'."\n";
|
||||||
$tmpfilelist = dol_sort_array($file_list['missing'], 'filename');
|
$tmpfilelist = dol_sort_array($file_list['missing'], 'filename');
|
||||||
if (is_array($tmpfilelist) && count($tmpfilelist))
|
if (is_array($tmpfilelist) && count($tmpfilelist))
|
||||||
@ -251,7 +251,7 @@ if (! $error && $xml)
|
|||||||
$out.='<tr class="oddeven">';
|
$out.='<tr class="oddeven">';
|
||||||
$out.='<td>'.$i.'</td>' . "\n";
|
$out.='<td>'.$i.'</td>' . "\n";
|
||||||
$out.='<td>'.$file['filename'].'</td>' . "\n";
|
$out.='<td>'.$file['filename'].'</td>' . "\n";
|
||||||
$out.='<td align="center">'.$file['expectedmd5'].'</td>' . "\n";
|
$out.='<td class="center">'.$file['expectedmd5'].'</td>' . "\n";
|
||||||
$out.="</tr>\n";
|
$out.="</tr>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -273,8 +273,8 @@ if (! $error && $xml)
|
|||||||
$out.='<tr class="liste_titre">';
|
$out.='<tr class="liste_titre">';
|
||||||
$out.='<td>#</td>';
|
$out.='<td>#</td>';
|
||||||
$out.='<td>' . $langs->trans("Filename") . '</td>';
|
$out.='<td>' . $langs->trans("Filename") . '</td>';
|
||||||
$out.='<td align="center">' . $langs->trans("ExpectedChecksum") . '</td>';
|
$out.='<td class="center">' . $langs->trans("ExpectedChecksum") . '</td>';
|
||||||
$out.='<td align="center">' . $langs->trans("CurrentChecksum") . '</td>';
|
$out.='<td class="center">' . $langs->trans("CurrentChecksum") . '</td>';
|
||||||
$out.='<td class="right">' . $langs->trans("Size") . '</td>';
|
$out.='<td class="right">' . $langs->trans("Size") . '</td>';
|
||||||
$out.='<td class="right">' . $langs->trans("DateModification") . '</td>';
|
$out.='<td class="right">' . $langs->trans("DateModification") . '</td>';
|
||||||
$out.='</tr>'."\n";
|
$out.='</tr>'."\n";
|
||||||
@ -288,8 +288,8 @@ if (! $error && $xml)
|
|||||||
$out.='<tr class="oddeven">';
|
$out.='<tr class="oddeven">';
|
||||||
$out.='<td>'.$i.'</td>' . "\n";
|
$out.='<td>'.$i.'</td>' . "\n";
|
||||||
$out.='<td>'.$file['filename'].'</td>' . "\n";
|
$out.='<td>'.$file['filename'].'</td>' . "\n";
|
||||||
$out.='<td align="center">'.$file['expectedmd5'].'</td>' . "\n";
|
$out.='<td class="center">'.$file['expectedmd5'].'</td>' . "\n";
|
||||||
$out.='<td align="center">'.$file['md5'].'</td>' . "\n";
|
$out.='<td class="center">'.$file['md5'].'</td>' . "\n";
|
||||||
$size = dol_filesize(DOL_DOCUMENT_ROOT.'/'.$file['filename']);
|
$size = dol_filesize(DOL_DOCUMENT_ROOT.'/'.$file['filename']);
|
||||||
$totalsize += $size;
|
$totalsize += $size;
|
||||||
$out.='<td class="right">'.dol_print_size($size).'</td>' . "\n";
|
$out.='<td class="right">'.dol_print_size($size).'</td>' . "\n";
|
||||||
@ -299,8 +299,8 @@ if (! $error && $xml)
|
|||||||
$out.='<tr class="liste_total">';
|
$out.='<tr class="liste_total">';
|
||||||
$out.='<td></td>' . "\n";
|
$out.='<td></td>' . "\n";
|
||||||
$out.='<td>'.$langs->trans("Total").'</td>' . "\n";
|
$out.='<td>'.$langs->trans("Total").'</td>' . "\n";
|
||||||
$out.='<td align="center"></td>' . "\n";
|
$out.='<td class="center"></td>' . "\n";
|
||||||
$out.='<td align="center"></td>' . "\n";
|
$out.='<td class="center"></td>' . "\n";
|
||||||
$out.='<td class="right">'.dol_print_size($totalsize).'</td>' . "\n";
|
$out.='<td class="right">'.dol_print_size($totalsize).'</td>' . "\n";
|
||||||
$out.='<td class="right"></td>' . "\n";
|
$out.='<td class="right"></td>' . "\n";
|
||||||
$out.="</tr>\n";
|
$out.="</tr>\n";
|
||||||
@ -323,8 +323,8 @@ if (! $error && $xml)
|
|||||||
$out.='<tr class="liste_titre">';
|
$out.='<tr class="liste_titre">';
|
||||||
$out.='<td>#</td>';
|
$out.='<td>#</td>';
|
||||||
$out.='<td>' . $langs->trans("Filename") . '</td>';
|
$out.='<td>' . $langs->trans("Filename") . '</td>';
|
||||||
$out.='<td align="center">' . $langs->trans("ExpectedChecksum") . '</td>';
|
$out.='<td class="center">' . $langs->trans("ExpectedChecksum") . '</td>';
|
||||||
$out.='<td align="center">' . $langs->trans("CurrentChecksum") . '</td>';
|
$out.='<td class="center">' . $langs->trans("CurrentChecksum") . '</td>';
|
||||||
$out.='<td class="right">' . $langs->trans("Size") . '</td>';
|
$out.='<td class="right">' . $langs->trans("Size") . '</td>';
|
||||||
$out.='<td class="right">' . $langs->trans("DateModification") . '</td>';
|
$out.='<td class="right">' . $langs->trans("DateModification") . '</td>';
|
||||||
$out.='</tr>'."\n";
|
$out.='</tr>'."\n";
|
||||||
@ -343,8 +343,8 @@ if (! $error && $xml)
|
|||||||
$out.=' '.$form->textwithpicto('', $htmltext, 1, 'help', '', 0, 2, 'helprm'.$i);
|
$out.=' '.$form->textwithpicto('', $htmltext, 1, 'help', '', 0, 2, 'helprm'.$i);
|
||||||
}
|
}
|
||||||
$out.='</td>' . "\n";
|
$out.='</td>' . "\n";
|
||||||
$out.='<td align="center">'.$file['expectedmd5'].'</td>' . "\n";
|
$out.='<td class="center">'.$file['expectedmd5'].'</td>' . "\n";
|
||||||
$out.='<td align="center">'.$file['md5'].'</td>' . "\n";
|
$out.='<td class="center">'.$file['md5'].'</td>' . "\n";
|
||||||
$size = dol_filesize(DOL_DOCUMENT_ROOT.'/'.$file['filename']);
|
$size = dol_filesize(DOL_DOCUMENT_ROOT.'/'.$file['filename']);
|
||||||
$totalsize += $size;
|
$totalsize += $size;
|
||||||
$out.='<td class="right">'.dol_print_size($size).'</td>' . "\n";
|
$out.='<td class="right">'.dol_print_size($size).'</td>' . "\n";
|
||||||
@ -354,8 +354,8 @@ if (! $error && $xml)
|
|||||||
$out.='<tr class="liste_total">';
|
$out.='<tr class="liste_total">';
|
||||||
$out.='<td></td>' . "\n";
|
$out.='<td></td>' . "\n";
|
||||||
$out.='<td>'.$langs->trans("Total").'</td>' . "\n";
|
$out.='<td>'.$langs->trans("Total").'</td>' . "\n";
|
||||||
$out.='<td align="center"></td>' . "\n";
|
$out.='<td class="center"></td>' . "\n";
|
||||||
$out.='<td align="center"></td>' . "\n";
|
$out.='<td class="center"></td>' . "\n";
|
||||||
$out.='<td class="right">'.dol_print_size($totalsize).'</td>' . "\n";
|
$out.='<td class="right">'.dol_print_size($totalsize).'</td>' . "\n";
|
||||||
$out.='<td class="right"></td>' . "\n";
|
$out.='<td class="right"></td>' . "\n";
|
||||||
$out.="</tr>\n";
|
$out.="</tr>\n";
|
||||||
|
|||||||
@ -107,7 +107,7 @@ print '<table class="noborder" width="100%">';
|
|||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$langs->trans("Modules").'</td>';
|
print '<td>'.$langs->trans("Modules").'</td>';
|
||||||
print '<td>'.$langs->trans("Version").'</td>';
|
print '<td>'.$langs->trans("Version").'</td>';
|
||||||
print '<td align="center">'.$langs->trans("IdModule").'</td>';
|
print '<td class="center">'.$langs->trans("IdModule").'</td>';
|
||||||
print '<td>'.$langs->trans("IdPermissions").'</td>';
|
print '<td>'.$langs->trans("IdPermissions").'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
$var=false;
|
$var=false;
|
||||||
@ -134,7 +134,7 @@ foreach($sortorder as $numero=>$name)
|
|||||||
// Version
|
// Version
|
||||||
print '<td>'.$modules[$numero]->getVersion().'</td>';
|
print '<td>'.$modules[$numero]->getVersion().'</td>';
|
||||||
// Id
|
// Id
|
||||||
print '<td align="center">'.$numero.'</td>';
|
print '<td class="center">'.$numero.'</td>';
|
||||||
// Permissions
|
// Permissions
|
||||||
if ($modules[$numero]->rights)
|
if ($modules[$numero]->rights)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user