standardize

This commit is contained in:
Philippe GRAND 2018-07-28 17:26:56 +02:00
parent f17275845d
commit 9cc40fcb21
27 changed files with 33 additions and 36 deletions

View File

@ -202,6 +202,6 @@ print "</form>\n";
print "<br>";
// End of page
llxFooter();
$db->close();

View File

@ -432,6 +432,6 @@ print "</tr>\n";
print '</table>';
dol_fiche_end();
// End of page
llxFooter();
$db->close();

View File

@ -114,6 +114,6 @@ if ($action == 'edit' && ! empty($attrname))
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
llxFooter();
$db->close();

View File

@ -405,5 +405,6 @@ if ($conf->produit->enabled)
print "<br>";
// End of page
llxFooter();
$db->close();

View File

@ -488,7 +488,6 @@ print '<div class="center"><input type="submit" class="button" value="'.$langs->
print '</form>';
print "\n".'<!-- End Other Const -->'."\n";
// End of page
llxFooter();
$db->close();

View File

@ -280,6 +280,6 @@ dol_fiche_end();
print '</form>';
// End of page
llxFooter();
$db->close();

View File

@ -140,6 +140,6 @@ if (! empty($conf->global->CLICKTODIAL_URL))
}
}
// End of page
llxFooter();
$db->close();

View File

@ -679,7 +679,6 @@ print "</td></tr>\n";
print '</table>';
// End of page
llxFooter();
$db->close();

View File

@ -1153,7 +1153,6 @@ else
print '</div>';
}
// End of page
llxFooter();
$db->close();

View File

@ -164,5 +164,6 @@ print "</table>\n";
print '<br><br><div style="text-align:center"><input type="submit" class="button" value="'.$langs->trans('Modify').'" name="button"></div>';
print '</form>';
// End of page
llxFooter();
$db->close();

View File

@ -147,5 +147,6 @@ print '</table>';
print '</div>';
// End of page
llxFooter();
$db->close();

View File

@ -314,7 +314,6 @@ if ($conf->use_javascript_ajax)
print "</form>\n";
// End of page
llxFooter();
$db->close();

View File

@ -509,7 +509,6 @@ print '</form>';
dol_fiche_end();
// End of page
llxFooter();
$db->close();

View File

@ -143,6 +143,6 @@ $message.=img_picto('','object_globe.png').' '.$langs->trans("WebDavServer",'Web
$message.='<br>';
print $message;
// End of page
llxFooter();
$db->close();

View File

@ -412,7 +412,6 @@ dol_fiche_end();
print "</form>\n";
// End of page
llxFooter();
$db->close();

View File

@ -415,5 +415,6 @@ if($action == 'edit') {
}
// End of page
llxFooter();
$db->close();

View File

@ -1735,7 +1735,7 @@ else
print '<br>';
// End of page
llxFooter();
$db->close();

View File

@ -109,5 +109,6 @@ print '</td></tr>';
print '</table>';
// End of page
llxFooter();
$db->close();

View File

@ -114,6 +114,6 @@ print "</div>";
print "</form>\n";
// End of page
llxFooter();
$db->close();

View File

@ -507,5 +507,6 @@ print '<div class="center"><input type="submit" class="button" value="'.$langs->
print '</form>';
// End of page
llxFooter();
$db->close();

View File

@ -119,6 +119,6 @@ if ($action == 'edit' && ! empty($attrname))
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
llxFooter();
$db->close();

View File

@ -120,6 +120,6 @@ if ($action == 'edit' && ! empty($attrname))
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
llxFooter();
$db->close();

View File

@ -513,7 +513,6 @@ print '</form>';
dol_fiche_end();
// End of page
llxFooter();
$db->close();

View File

@ -115,6 +115,6 @@ if ($action == 'edit' && ! empty($attrname))
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
llxFooter();
$db->close();

View File

@ -179,6 +179,7 @@ echo '</table>';
echo '</form>';
dol_fiche_end();
llxFooter();
// End of page
llxFooter();
$db->close();

View File

@ -354,6 +354,7 @@ echo '<script type="text/javascript"> $(function() {
}); </script>';
dol_fiche_end();
llxFooter();
// End of page
llxFooter();
$db->close();

View File

@ -6,7 +6,7 @@
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2011-2012 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2011-2015 Philippe Grand <philippe.grand@atoo-net.com>
* Copyright (C) 2011-2018 Philippe Grand <philippe.grand@atoo-net.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -32,9 +32,7 @@ require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
// Load translation files required by the page
$langs->loadLangs(array('admin', 'exports'));
$langs->load('other');
$langs->loadLangs(array('admin', 'exports', 'other'));
if (! $user->admin)
accessforbidden();
@ -73,7 +71,7 @@ dol_fiche_head(
// Setup page goes here
$form=new Form($db);
$var=false;
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">';
print '<td>'.$langs->trans("ExportModel").'</td>'."\n";
@ -82,8 +80,7 @@ print '<td align="center" width="100"></td>'."\n";
// Example with a yes / no select
$var=!$var;
print '<tr '.$bc[$var].'>';
print '<tr class="oddeven">';
print '<td>'.$langs->trans("set_EXPORTS_SHARE_MODELS").'</td>';
print '<td align="center" width="20">&nbsp;</td>';
print '<td align="center" width="100">';
@ -94,9 +91,8 @@ echo ajax_constantonoff('EXPORTS_SHARE_MODELS');
print '</form>';
print '</td></tr>';
print '</table>';
// End of page
llxFooter();
$db->close();