[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/04: Fix bug due constructor + esthetic for
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/04: Fix bug due constructor + esthetic for li.tabs:hover + comment |
Date: |
Mon, 29 Feb 2016 00:40:34 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 34d2646aa230e986fc8b837dc2f605d6968fe6ad
Author: Dany De Bontridder <address@hidden>
Date: Fri Feb 26 21:42:20 2016 +0100
Fix bug due constructor + esthetic for li.tabs:hover + comment
---
html/style-classic.css | 2 +-
include/class/class_todo_list.php | 2 +-
include/lib/class_database.php | 2 +-
include/lib/class_pdf.php | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/html/style-classic.css b/html/style-classic.css
index daebec3..09b3399 100644
--- a/html/style-classic.css
+++ b/html/style-classic.css
@@ -1739,7 +1739,7 @@ li.tabs:hover {
display:inline;
background-color: lightblue;
color:wheat;margin-left: 2px;
- padding: 10px 10px 0px 10px;
+ padding: 15px 7px 0px 10px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border:1px #879ed4 solid;
diff --git a/include/class/class_todo_list.php
b/include/class/class_todo_list.php
index be9b511..b468caa 100644
--- a/include/class/class_todo_list.php
+++ b/include/class/class_todo_list.php
@@ -236,7 +236,7 @@ class Todo_List
$sql="delete from todo_list where tl_id=$1 ";
$res=$this->cn->exec_sql($sql,array($this->tl_id));
-
+
}
/**
diff --git a/include/lib/class_database.php b/include/lib/class_database.php
index 00a19c6..d3f915c 100644
--- a/include/lib/class_database.php
+++ b/include/lib/class_database.php
@@ -988,7 +988,7 @@ class Database
}
/**\brief wrapper for the function pg_lo_export
- * \param $p_oid is the oid of the log
+ * \param $p_oid is the filename
* \param $tmp is the file
* \return result of the operation
*/
diff --git a/include/lib/class_pdf.php b/include/lib/class_pdf.php
index 122bdca..06e81f3 100644
--- a/include/lib/class_pdf.php
+++ b/include/lib/class_pdf.php
@@ -63,7 +63,7 @@ class PDF extends TFPDF
$this->bigger=0;
if($p_cn == null) die("No database connection. Abort.");
- parent::TFPDF($orientation, $unit, $format);
+ parent::__construct($orientation, $unit, $format);
$this->AddFont('DejaVu','','DejaVuSans.ttf',true);
$this->AddFont('DejaVu','B','DejaVuSans-Bold.ttf',true);
$this->AddFont('DejaVu','BI','DejaVuSans-BoldOblique.ttf',true);
@@ -333,7 +333,7 @@ class PDFLand extends PDF
if($p_cn == null) die("No database connection. Abort.");
$this->bigger=0;
- parent::TFPDF('L', $unit, $format);
+ parent::__construct('L', $unit, $format);
date_default_timezone_set ('Europe/Paris');
$this->AddFont('DejaVu','','DejaVuSans.ttf',true);
$this->AddFont('DejaVu','B','DejaVuSans-Bold.ttf',true);