Clean setup pages
This commit is contained in:
parent
6595b1aa66
commit
099a7b650c
1 changed files with 33 additions and 3 deletions
|
|
@ -181,9 +181,6 @@ print load_fiche_titre($langs->trans($page_name), $linkback, 'stock');
|
|||
$head = stocktransferAdminPrepareHead();
|
||||
print dol_get_fiche_head($head, 'settings', '', -1, "stocktransfer@stocktransfer");
|
||||
|
||||
// Setup page goes here
|
||||
print '<span class="opacitymedium">'.$langs->trans("StockTransferSetupPage").'</span>';
|
||||
|
||||
|
||||
/*if ($action == 'edit')
|
||||
{
|
||||
|
|
@ -499,6 +496,39 @@ foreach ($myTmpObjects as $myTmpObjectKey => $myTmpObjectArray) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
if (!empty($setupnotempty)) {
|
||||
print '<br>';
|
||||
print load_fiche_titre($langs->trans("OtherOptions", $myTmpObjectKey), '', '');
|
||||
|
||||
print '<div class="div-table-responsive-no-min">'; // You can use div-table-responsive-no-min if you don't need reserved height for your table
|
||||
print '<table class="noborder centpercent">';
|
||||
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>'.$langs->trans("Parameter").'</td>';
|
||||
print '<td></td>';
|
||||
print '</tr>'."\n";
|
||||
|
||||
// Notifications
|
||||
/*
|
||||
print '<tr class="oddeven">';
|
||||
print '<td>'.img_picto('', 'email', 'class="pictofixedwidth"').$langs->trans("Notifications").'</td>';
|
||||
print '<td colspan="2">';
|
||||
print $langs->trans("YouMayFindNotificationsFeaturesIntoModuleNotification");
|
||||
print '</td></tr>';
|
||||
*/
|
||||
|
||||
// More PDF options
|
||||
print '<tr class="oddeven">';
|
||||
print '<td>'.img_picto('', 'pdf', 'class="pictofixedwidth"').$langs->trans("MoreOptionsRelatedToPDF").'</td>';
|
||||
print '<td colspan="2">';
|
||||
print img_picto('', 'url', 'class="pictofixedwidth"').'<a href="'.DOL_URL_ROOT.'/admin/pdf_other.php">'.$langs->trans("SeeInPDFSetupPage").'</a>';
|
||||
print '</td></tr>';
|
||||
|
||||
print '</table></div>';
|
||||
}
|
||||
|
||||
|
||||
if (empty($setupnotempty)) {
|
||||
print '<br>'.$langs->trans("NothingToSetup");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue