Skip to content

Commit

Permalink
cvsimport
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 15, 2011
2 parents ca026e7 + 9b0d3ed commit 8efb78c
Show file tree
Hide file tree
Showing 93 changed files with 46 additions and 13,548 deletions.
4 changes: 2 additions & 2 deletions htdocs/cashdesk/affContenu.php
Expand Up @@ -22,7 +22,7 @@
* \ingroup cashdesk
* \brief Include to show main page for cashdesk module
*/
require ('class/Facturation.class.php');
require_once('class/Facturation.class.php');

// Si nouvelle vente, reinitialisation des donnees (destruction de l'objet et vidage de la table contenant la liste des articles)
if ( $_GET['id'] == 'NOUV' )
Expand All @@ -40,7 +40,7 @@
else
{
// ... sinon, c'est une nouvelle vente
$obj_facturation = new Facturation;
$obj_facturation = new Facturation();
}

print '<div class="liste_articles">';
Expand Down
15 changes: 9 additions & 6 deletions htdocs/cashdesk/affIndex.php
Expand Up @@ -27,7 +27,7 @@
require_once(DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php');

// Test if already logged
if ( $_SESSION['uid'] <= 0 )
if ( $_SESSION['uid'] <= 0 )
{
header ('Location: index.php');
exit;
Expand All @@ -42,19 +42,21 @@
//header("Content-type: text/html; charset=UTF-8");
header("Content-type: text/html; charset=".$conf->file->character_set_client);

$arrayofjs=array();
$arrayofcss=array(DOL_URL_ROOT.'/cashdesk/css/style.css');

top_htmlhead($head,$langs->trans("CashDesk"),0,0,$arrayofjs,$arrayofcss);

/*
print '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
print '<html>'."\n";
print '<head>'."\n";
print '<title>'.$langs->trans("CashDesk").'</title>'."\n";
print '<meta name="robots" content="none" />'."\n";

print '<meta name="author" content="Jeremie Ollivier - jeremie.o@laposte.net" />'."\n";
print '<meta name="Generator" content="Kwrite, Gimp, Inkscape" />'."\n";

print '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />'."\n";

print '<meta http-equiv="Content-Style-Type" content="text/css" />'."\n";
print '<link href="'.DOL_URL_ROOT.'/cashdesk/css/style.css" rel="stylesheet" type="text/css" media="screen" />'."\n";
Expand All @@ -65,8 +67,9 @@
print '<script type="text/javascript" src="include/jscalendar/calendar.js"></script>'."\n";
print '<script type="text/javascript" src="include/jscalendar/lang/calendar-fr.js"></script>'."\n";
print '<script type="text/javascript" src="include/jscalendar/calendar-setup.js"></script>'."\n";
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/lib/lib_head.js"></script>'."\n";
print '</head>'."\n";

*/
print '<body>'."\n";

if (!empty($error))
Expand Down

0 comments on commit 8efb78c

Please sign in to comment.