Fix: phpcheckstyle from phpcs 1.5.5 (closing tags and & char on
parameter).
This commit is contained in:
parent
e8b7c9c6bd
commit
5fdd798e91
@ -534,4 +534,3 @@ print '<br>';
|
|||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
|
|||||||
@ -143,4 +143,3 @@ print '</table>';
|
|||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
@ -77,7 +77,7 @@ if($action)
|
|||||||
if($action == 'STOCK_USE_VIRTUAL_STOCK') {
|
if($action == 'STOCK_USE_VIRTUAL_STOCK') {
|
||||||
$res = dolibarr_set_const($db, "STOCK_USE_VIRTUAL_STOCK", GETPOST('STOCK_USE_VIRTUAL_STOCK','alpha'),'chaine',0,'',$conf->entity);
|
$res = dolibarr_set_const($db, "STOCK_USE_VIRTUAL_STOCK", GETPOST('STOCK_USE_VIRTUAL_STOCK','alpha'),'chaine',0,'',$conf->entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($action == 'STOCK_MUST_BE_ENOUGH_FOR_INVOICE') {
|
if($action == 'STOCK_MUST_BE_ENOUGH_FOR_INVOICE') {
|
||||||
$res = dolibarr_set_const($db, "STOCK_MUST_BE_ENOUGH_FOR_INVOICE", GETPOST('STOCK_MUST_BE_ENOUGH_FOR_INVOICE','alpha'),'chaine',0,'',$conf->entity);
|
$res = dolibarr_set_const($db, "STOCK_MUST_BE_ENOUGH_FOR_INVOICE", GETPOST('STOCK_MUST_BE_ENOUGH_FOR_INVOICE','alpha'),'chaine',0,'',$conf->entity);
|
||||||
}
|
}
|
||||||
@ -329,7 +329,7 @@ if ($virtualdiffersfromphysical)
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$db->close();
|
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
?>
|
|
||||||
|
$db->close();
|
||||||
|
|||||||
@ -81,7 +81,7 @@ else
|
|||||||
print '<td width="300">'.$langs->trans("Parameters").'</td>';
|
print '<td width="300">'.$langs->trans("Parameters").'</td>';
|
||||||
print '<td>'.$langs->trans("Value").'</td>';
|
print '<td>'.$langs->trans("Value").'</td>';
|
||||||
print '</tr>'."\n";
|
print '</tr>'."\n";
|
||||||
|
|
||||||
// arraytest is an array of test to do
|
// arraytest is an array of test to do
|
||||||
$arraytest=array();
|
$arraytest=array();
|
||||||
if (preg_match('/mysql/i',$db->type))
|
if (preg_match('/mysql/i',$db->type))
|
||||||
@ -91,7 +91,7 @@ else
|
|||||||
'collation_database'=>array('var'=>'dolibarr_main_db_collation','valifempty'=>'utf8_general_ci')
|
'collation_database'=>array('var'=>'dolibarr_main_db_collation','valifempty'=>'utf8_general_ci')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$listtouse=array();
|
$listtouse=array();
|
||||||
if ($listname == 'listofvars') $listtouse=$listofvars;
|
if ($listname == 'listofvars') $listtouse=$listofvars;
|
||||||
if ($listname == 'listofstatus') $listtouse=$listofstatus;
|
if ($listname == 'listofstatus') $listtouse=$listofstatus;
|
||||||
@ -124,4 +124,5 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
?>
|
|
||||||
|
$db->close();
|
||||||
|
|||||||
@ -130,4 +130,3 @@ else
|
|||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
@ -379,4 +379,3 @@ print '</table>';
|
|||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
|
|||||||
@ -118,5 +118,3 @@ print info_admin($langs->trans("SystemInfoDesc")).'<br>';
|
|||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -350,4 +350,3 @@ print "<br><br>";
|
|||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
|
|||||||
@ -166,4 +166,3 @@ if (preg_match('/^confirm/i',$choice))
|
|||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
@ -174,4 +174,3 @@ if (! empty($result['return']))
|
|||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
@ -69,4 +69,3 @@ print $langs->trans("SeeAlso").': <a href="'.$urlwikitranslatordoc.'" target="_b
|
|||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
|
|||||||
@ -146,4 +146,3 @@ print '</table>';
|
|||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
|
|||||||
@ -75,4 +75,3 @@ include_once 'affPied.php';
|
|||||||
|
|
||||||
print '</div></div></div>'."\n";
|
print '</div></div></div>'."\n";
|
||||||
print '</body></html>'."\n";
|
print '</body></html>'."\n";
|
||||||
?>
|
|
||||||
@ -191,5 +191,3 @@ $obj_facturation->paiementLe('RESET');
|
|||||||
|
|
||||||
// Affichage des templates
|
// Affichage des templates
|
||||||
require ('tpl/facturation1.tpl.php');
|
require ('tpl/facturation1.tpl.php');
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -78,4 +78,3 @@ if (!empty($_SESSION["CASHDESK_ID_WAREHOUSE"]) && ! empty($conf->stock->enabled)
|
|||||||
}
|
}
|
||||||
print '</li></ul>';
|
print '</li></ul>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
?>
|
|
||||||
@ -520,4 +520,3 @@ if($object->type == 4)
|
|||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
@ -1071,4 +1071,3 @@ class ActionComm extends CommonObject
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -821,11 +821,11 @@ if ($id > 0)
|
|||||||
/*
|
/*
|
||||||
* Barre d'actions
|
* Barre d'actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$parameters = array();
|
$parameters = array();
|
||||||
$reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); // Note that $action and $object may have been
|
$reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); // Note that $action and $object may have been
|
||||||
|
|
||||||
|
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
if (! empty($conf->propal->enabled) && $user->rights->propal->creer)
|
if (! empty($conf->propal->enabled) && $user->rights->propal->creer)
|
||||||
@ -933,4 +933,3 @@ dol_htmloutput_mesg('',$mesgs);
|
|||||||
// End of page
|
// End of page
|
||||||
llxFooter();
|
llxFooter();
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
|
|||||||
@ -156,7 +156,7 @@ if ($resql)
|
|||||||
|
|
||||||
print "<tr ".$bc[$var].">";
|
print "<tr ".$bc[$var].">";
|
||||||
print '<td>';
|
print '<td>';
|
||||||
|
|
||||||
$result='';
|
$result='';
|
||||||
$lien=$lienfin='';
|
$lien=$lienfin='';
|
||||||
$lien = '<a href="'.dol_buildpath('/commande/orderstoinvoice.php',1).'?socid='.$obj->rowid.'">';
|
$lien = '<a href="'.dol_buildpath('/commande/orderstoinvoice.php',1).'?socid='.$obj->rowid.'">';
|
||||||
@ -164,7 +164,7 @@ if ($resql)
|
|||||||
$name=$obj->nom;
|
$name=$obj->nom;
|
||||||
$result.=($lien.img_object($langs->trans("ShowCompany").': '.$name,'company').$lienfin);
|
$result.=($lien.img_object($langs->trans("ShowCompany").': '.$name,'company').$lienfin);
|
||||||
$result.=$lien.(dol_trunc($name,$maxlen)).$lienfin;
|
$result.=$lien.(dol_trunc($name,$maxlen)).$lienfin;
|
||||||
|
|
||||||
print $result;
|
print $result;
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>'.$obj->town.' </td>';
|
print '<td>'.$obj->town.' </td>';
|
||||||
@ -185,7 +185,7 @@ else
|
|||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter();
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -420,4 +420,3 @@ elseif (file_exists($fileimagebis))
|
|||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
?>
|
|
||||||
|
|||||||
@ -229,5 +229,3 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@ -43,5 +43,3 @@ else if ($action == 'setnote_private' && ! empty($permissionnote) && ! GETPOST('
|
|||||||
$result=$object->update_note(dol_html_entity_decode(GETPOST('note_private'), ENT_QUOTES),'_private');
|
$result=$object->update_note(dol_html_entity_decode(GETPOST('note_private'), ENT_QUOTES),'_private');
|
||||||
if ($result < 0) setEventMessage($object->error,'errors');
|
if ($result < 0) setEventMessage($object->error,'errors');
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@ -201,4 +201,3 @@ class dolprintIPP
|
|||||||
return $ipp->printer_attributes;
|
return $ipp->printer_attributes;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@ -50,4 +50,3 @@ function holiday_prepare_head($object)
|
|||||||
return $head;
|
return $head;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -357,5 +357,3 @@ function measuring_units_string($unit,$measuring_style='')
|
|||||||
|
|
||||||
return $measuring_units[$unit];
|
return $measuring_units[$unit];
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -54,10 +54,8 @@ function trip_prepare_head($object)
|
|||||||
$head[$h][1] = $langs->trans("Info");
|
$head[$h][1] = $langs->trans("Info");
|
||||||
$head[$h][2] = 'info';
|
$head[$h][2] = 'info';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
complete_head_from_modules($conf,$langs,$object,$head,$h,'trip','remove');
|
complete_head_from_modules($conf,$langs,$object,$head,$h,'trip','remove');
|
||||||
|
|
||||||
return $head;
|
return $head;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@ -342,4 +342,3 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -39,5 +39,3 @@ function check_user_password_empty($usertotest,$passwordtotest,$entitytotest)
|
|||||||
|
|
||||||
return $login;
|
return $login;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@ -46,6 +46,3 @@ function check_user_password_forceuser($usertotest,$passwordtotest,$entitytotest
|
|||||||
|
|
||||||
return $login;
|
return $login;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
@ -43,6 +43,3 @@ function check_user_password_http($usertotest,$passwordtotest,$entitytotest)
|
|||||||
|
|
||||||
return $login;
|
return $login;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
@ -227,5 +227,3 @@ function check_user_password_ldap($usertotest,$passwordtotest,$entitytotest)
|
|||||||
return $login;
|
return $login;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -112,5 +112,3 @@ function check_user_password_openid($usertotest,$passwordtotest,$entitytotest)
|
|||||||
|
|
||||||
return $login;
|
return $login;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@ -430,5 +430,3 @@ function dol_auguria_showmenu($type_user, &$menuentry, &$listofmodulesforexterna
|
|||||||
if (! $menuentry['perms']) return 2; // No permissions and user is external
|
if (! $menuentry['perms']) return 2; // No permissions and user is external
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -253,4 +253,3 @@ function propale_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -131,7 +131,7 @@ else
|
|||||||
print $langs->trans("ErrorUnknown");
|
print $langs->trans("ErrorUnknown");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
|
|||||||
@ -190,7 +190,8 @@ print '</form>';
|
|||||||
|
|
||||||
dol_fiche_end();
|
dol_fiche_end();
|
||||||
|
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
|
|||||||
@ -167,7 +167,7 @@ AccountancyDashboard=Accountancy summary
|
|||||||
ByProductsAndServices=By products and services
|
ByProductsAndServices=By products and services
|
||||||
RefExt=External ref
|
RefExt=External ref
|
||||||
ToCreateAPredefinedInvoice=To create a predefined invoice, create a standard invoice then, without validating it, click onto button "Convert to predefined invoice".
|
ToCreateAPredefinedInvoice=To create a predefined invoice, create a standard invoice then, without validating it, click onto button "Convert to predefined invoice".
|
||||||
LinkedOrder=linked to order
|
LinkedOrder=Link to order
|
||||||
ReCalculate=Recalculate
|
ReCalculate=Recalculate
|
||||||
Mode1=Method 1
|
Mode1=Method 1
|
||||||
Mode2=Method 2
|
Mode2=Method 2
|
||||||
|
|||||||
@ -968,5 +968,3 @@ class LivraisonLigne
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -25,14 +25,14 @@
|
|||||||
/**
|
/**
|
||||||
* Returns an array with the tabs for the "Opensurvey poll" section
|
* Returns an array with the tabs for the "Opensurvey poll" section
|
||||||
* It loads tabs from modules looking for the entity Opensurveyso
|
* It loads tabs from modules looking for the entity Opensurveyso
|
||||||
*
|
*
|
||||||
* @param Opensurveysondage $object Current viewing poll
|
* @param Opensurveysondage $object Current viewing poll
|
||||||
* @return array Tabs for the opensurvey section
|
* @return array Tabs for the opensurvey section
|
||||||
*/
|
*/
|
||||||
function opensurvey_prepare_head(Opensurveysondage $object) {
|
function opensurvey_prepare_head(Opensurveysondage $object) {
|
||||||
|
|
||||||
global $langs, $conf;
|
global $langs, $conf;
|
||||||
|
|
||||||
$h = 0;
|
$h = 0;
|
||||||
$head = array();
|
$head = array();
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ function opensurvey_prepare_head(Opensurveysondage $object) {
|
|||||||
$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] = 'results.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';
|
||||||
@ -111,12 +111,12 @@ function showlogo()
|
|||||||
$urllogo=DOL_URL_ROOT.'/viewimage.php?cache=1&modulepart=companylogo&file=thumbs/'.urlencode($mysoc->logo_small);
|
$urllogo=DOL_URL_ROOT.'/viewimage.php?cache=1&modulepart=companylogo&file=thumbs/'.urlencode($mysoc->logo_small);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$urllogo && (is_readable(DOL_DOCUMENT_ROOT.'/theme/dolibarr_logo.png')))
|
if (!$urllogo && (is_readable(DOL_DOCUMENT_ROOT.'/theme/dolibarr_logo.png')))
|
||||||
{
|
{
|
||||||
$urllogo=DOL_URL_ROOT.'/theme/dolibarr_logo.png';
|
$urllogo=DOL_URL_ROOT.'/theme/dolibarr_logo.png';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<div style="text-align:center"><img alt="Logo" id="logosubscribe" title="" src="'.$urllogo.'"/></div>';
|
print '<div style="text-align:center"><img alt="Logo" id="logosubscribe" title="" src="'.$urllogo.'"/></div>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
@ -205,14 +205,14 @@ function dol_survey_random($car)
|
|||||||
function ajouter_sondage()
|
function ajouter_sondage()
|
||||||
{
|
{
|
||||||
global $db, $user;
|
global $db, $user;
|
||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/opensurvey/class/opensurveysondage.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/opensurvey/class/opensurveysondage.class.php';
|
||||||
|
|
||||||
$sondage=dol_survey_random(16);
|
$sondage=dol_survey_random(16);
|
||||||
|
|
||||||
$allow_comments = empty($_SESSION['allow_comments']) ? 0 : 1;
|
$allow_comments = empty($_SESSION['allow_comments']) ? 0 : 1;
|
||||||
$allow_spy = empty($_SESSION['allow_spy']) ? 0 : 1;
|
$allow_spy = empty($_SESSION['allow_spy']) ? 0 : 1;
|
||||||
|
|
||||||
// Insert survey
|
// Insert survey
|
||||||
$opensurveysondage = new Opensurveysondage($db);
|
$opensurveysondage = new Opensurveysondage($db);
|
||||||
$opensurveysondage->id_sondage = $sondage;
|
$opensurveysondage->id_sondage = $sondage;
|
||||||
@ -226,9 +226,9 @@ function ajouter_sondage()
|
|||||||
$opensurveysondage->allow_comments = $allow_comments;
|
$opensurveysondage->allow_comments = $allow_comments;
|
||||||
$opensurveysondage->allow_spy = $allow_spy;
|
$opensurveysondage->allow_spy = $allow_spy;
|
||||||
$opensurveysondage->sujet = $_SESSION['toutchoix'];
|
$opensurveysondage->sujet = $_SESSION['toutchoix'];
|
||||||
|
|
||||||
$res = $opensurveysondage->create($user);
|
$res = $opensurveysondage->create($user);
|
||||||
|
|
||||||
if ($res < 0) {
|
if ($res < 0) {
|
||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
@ -243,11 +243,10 @@ function ajouter_sondage()
|
|||||||
unset($_SESSION['toutchoix']);
|
unset($_SESSION['toutchoix']);
|
||||||
unset($_SESSION['totalchoixjour']);
|
unset($_SESSION['totalchoixjour']);
|
||||||
unset($_SESSION['champdatefin']);
|
unset($_SESSION['champdatefin']);
|
||||||
|
|
||||||
$urlback=dol_buildpath('/opensurvey/card.php',1).'?id='.$sondage;
|
$urlback=dol_buildpath('/opensurvey/card.php',1).'?id='.$sondage;
|
||||||
|
|
||||||
header("Location: ".$urlback);
|
header("Location: ".$urlback);
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -1083,4 +1083,3 @@ print '<a name="bas"></a>'."\n";
|
|||||||
llxFooterSurvey();
|
llxFooterSurvey();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
|
|||||||
@ -149,7 +149,7 @@ if ($mode == 'config' && $user->admin)
|
|||||||
print $langs->trans("PRINTIPP_PASSWORD").'</td><td>';
|
print $langs->trans("PRINTIPP_PASSWORD").'</td><td>';
|
||||||
print '<input size="32" type="text" name="PRINTIPP_PASSWORD" value="'.$conf->global->PRINTIPP_PASSWORD.'">';
|
print '<input size="32" type="text" name="PRINTIPP_PASSWORD" value="'.$conf->global->PRINTIPP_PASSWORD.'">';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
//$var=true;
|
//$var=true;
|
||||||
//print '<tr class="liste_titre">';
|
//print '<tr class="liste_titre">';
|
||||||
//print '<td>'.$langs->trans("OtherParameter").'</td>';
|
//print '<td>'.$langs->trans("OtherParameter").'</td>';
|
||||||
@ -181,7 +181,7 @@ if ($mode == 'test' && $user->admin)
|
|||||||
print '<td>Media</td>';
|
print '<td>Media</td>';
|
||||||
print '<td>Supported</td>';
|
print '<td>Supported</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
$list = $printer->getlist_available_printers();
|
$list = $printer->getlist_available_printers();
|
||||||
$var = true;
|
$var = true;
|
||||||
foreach ($list as $value)
|
foreach ($list as $value)
|
||||||
@ -203,13 +203,13 @@ if ($mode == 'test' && $user->admin)
|
|||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
}
|
}
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
if (count($list) == 0) print $langs->trans("NoPrinterFound");
|
if (count($list) == 0) print $langs->trans("NoPrinterFound");
|
||||||
}
|
}
|
||||||
|
|
||||||
dol_fiche_end();
|
dol_fiche_end();
|
||||||
|
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
|
||||||
|
|||||||
@ -110,5 +110,3 @@ else
|
|||||||
{
|
{
|
||||||
echo json_encode(array('nom'=>'ErrorBadParameter','label'=>'ErrorBadParameter','key'=>'ErrorBadParameter','value'=>'ErrorBadParameter'));
|
echo json_encode(array('nom'=>'ErrorBadParameter','label'=>'ErrorBadParameter','key'=>'ErrorBadParameter','value'=>'ErrorBadParameter'));
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@ -706,4 +706,3 @@ abstract class ActionsCardCommon
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@ -338,4 +338,3 @@ class CommandeFournisseurTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
@ -265,4 +265,3 @@ class CommandeTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
@ -183,4 +183,3 @@ class CommonObjectTest extends PHPUnit_Framework_TestCase
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
@ -233,4 +233,4 @@ class CompanyBankAccountTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@ -257,4 +257,3 @@ class EntrepotTest extends PHPUnit_Framework_TestCase
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
@ -265,4 +265,4 @@ class ExportTest extends PHPUnit_Framework_TestCase
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@ -196,4 +196,3 @@ class FactureRecTest extends PHPUnit_Framework_TestCase
|
|||||||
return $retAr;
|
return $retAr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
@ -329,4 +329,4 @@ class FactureTest extends PHPUnit_Framework_TestCase
|
|||||||
return $retAr;
|
return $retAr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@ -799,4 +799,4 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@ -265,4 +265,4 @@ class PropalTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@ -456,4 +456,4 @@ class SocieteTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@ -318,4 +318,3 @@ class UserTest extends PHPUnit_Framework_TestCase
|
|||||||
return $retAr;
|
return $retAr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
@ -181,4 +181,4 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
@ -181,4 +181,4 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user