Skip to content

Commit

Permalink
Qual: Remove end php tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 7, 2014
1 parent 3c81c99 commit 90a5f6c
Show file tree
Hide file tree
Showing 38 changed files with 75 additions and 113 deletions.
1 change: 0 additions & 1 deletion htdocs/admin/commande.php
Expand Up @@ -534,4 +534,3 @@
llxFooter();

$db->close();
?>
1 change: 0 additions & 1 deletion htdocs/admin/menus/other.php
Expand Up @@ -143,4 +143,3 @@

llxFooter();
$db->close();
?>
7 changes: 3 additions & 4 deletions htdocs/admin/stock.php
Expand Up @@ -77,7 +77,7 @@
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);
}

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);
}
Expand Down Expand Up @@ -329,7 +329,6 @@
print '</table>';
}

$db->close();

llxFooter();
?>

$db->close();
7 changes: 4 additions & 3 deletions htdocs/admin/system/database.php
Expand Up @@ -81,7 +81,7 @@
print '<td width="300">'.$langs->trans("Parameters").'</td>';
print '<td>'.$langs->trans("Value").'</td>';
print '</tr>'."\n";

// arraytest is an array of test to do
$arraytest=array();
if (preg_match('/mysql/i',$db->type))
Expand All @@ -91,7 +91,7 @@
'collation_database'=>array('var'=>'dolibarr_main_db_collation','valifempty'=>'utf8_general_ci')
);
}

$listtouse=array();
if ($listname == 'listofvars') $listtouse=$listofvars;
if ($listname == 'listofstatus') $listtouse=$listofstatus;
Expand Down Expand Up @@ -124,4 +124,5 @@
}

llxFooter();
?>

$db->close();
2 changes: 1 addition & 1 deletion htdocs/admin/system/dbtable.php
Expand Up @@ -129,5 +129,5 @@
}

llxFooter();

$db->close();
?>
1 change: 0 additions & 1 deletion htdocs/admin/system/dolibarr.php
Expand Up @@ -379,4 +379,3 @@
llxFooter();

$db->close();
?>
1 change: 0 additions & 1 deletion htdocs/admin/system/index.php
Expand Up @@ -119,4 +119,3 @@

$db->close();

?>
1 change: 0 additions & 1 deletion htdocs/admin/tools/eaccelerator.php
Expand Up @@ -350,4 +350,3 @@ function create_key_table($list)
llxFooter();

$db->close();
?>
2 changes: 1 addition & 1 deletion htdocs/admin/tools/purge.php
Expand Up @@ -165,5 +165,5 @@


llxFooter();

$db->close();
?>
2 changes: 1 addition & 1 deletion htdocs/admin/tools/update.php
Expand Up @@ -173,5 +173,5 @@
}

llxFooter();

$db->close();
?>
1 change: 0 additions & 1 deletion htdocs/admin/translation.php
Expand Up @@ -69,4 +69,3 @@
llxFooter();

$db->close();
?>
1 change: 0 additions & 1 deletion htdocs/admin/workflow.php
Expand Up @@ -146,4 +146,3 @@
llxFooter();

$db->close();
?>
1 change: 0 additions & 1 deletion htdocs/cashdesk/affIndex.php
Expand Up @@ -76,4 +76,3 @@

print '</div></div></div>'."\n";
print '</body></html>'."\n";
?>
2 changes: 0 additions & 2 deletions htdocs/cashdesk/facturation.php
Expand Up @@ -191,5 +191,3 @@

// Affichage des templates
require ('tpl/facturation1.tpl.php');

?>
1 change: 0 additions & 1 deletion htdocs/cashdesk/include/keypad.php
Expand Up @@ -50,4 +50,3 @@ function genkeypad($keypadname, $formname)
$sz.='</div>';
return $sz;
}
?>
2 changes: 1 addition & 1 deletion htdocs/categories/viewcat.php
Expand Up @@ -519,5 +519,5 @@


llxFooter();

$db->close();
?>
7 changes: 3 additions & 4 deletions htdocs/comm/action/class/actioncomm.class.php
Expand Up @@ -229,7 +229,7 @@ function add($user,$notrigger=0)
{
// Call trigger
$result=$this->call_trigger('ACTION_CREATE',$user);
if ($result < 0) { $error++; }
if ($result < 0) { $error++; }
// End call triggers
}

Expand Down Expand Up @@ -387,7 +387,7 @@ function delete($notrigger=0)
{
// Call trigger
$result=$this->call_trigger('ACTION_DELETE',$user);
if ($result < 0) { $error++; }
if ($result < 0) { $error++; }
// End call triggers
}

Expand Down Expand Up @@ -492,7 +492,7 @@ function update($user,$notrigger=0)
{
// Call trigger
$result=$this->call_trigger('ACTION_MODIFY',$user);
if ($result < 0) { $error++; }
if ($result < 0) { $error++; }
// End call triggers
}

Expand Down Expand Up @@ -1054,4 +1054,3 @@ function initAsSpecimen()

}

?>
10 changes: 5 additions & 5 deletions htdocs/comm/fiche.php
Expand Up @@ -309,7 +309,7 @@
print yn($object->localtax2_assuj);
print '</td></tr>';
}


// TVA Intra
print '<tr><td class="nowrap">'.$langs->trans('VATIntra').'</td><td colspan="3">';
Expand Down Expand Up @@ -819,11 +819,11 @@
/*
* Barre d'actions
*/

$parameters = array();
$reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); // Note that $action and $object may have been


print '<div class="tabsAction">';

if (! empty($conf->propal->enabled) && $user->rights->propal->creer)
Expand Down Expand Up @@ -930,5 +930,5 @@

// End of page
llxFooter();

$db->close();
?>
8 changes: 4 additions & 4 deletions htdocs/commande/customer.php
Expand Up @@ -156,15 +156,15 @@

print "<tr ".$bc[$var].">";
print '<td>';

$result='';
$lien=$lienfin='';
$lien = '<a href="'.dol_buildpath('/commande/orderstoinvoice.php',1).'?socid='.$obj->rowid.'">';
$lienfin='</a>';
$name=$obj->nom;
$result.=($lien.img_object($langs->trans("ShowCompany").': '.$name,'company').$lienfin);
$result.=$lien.(dol_trunc($name,$maxlen)).$lienfin;

print $result;
print '</td>';
print '<td>'.$obj->town.'&nbsp;</td>';
Expand All @@ -185,7 +185,7 @@
dol_print_error($db);
}

llxFooter();

$db->close();

llxFooter();
?>
1 change: 0 additions & 1 deletion htdocs/compta/facture/apercu.php
Expand Up @@ -420,4 +420,3 @@
$db->close();

llxFooter();
?>

0 comments on commit 90a5f6c

Please sign in to comment.