projects
/
www
/
common
/
phplib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
410d598
)
Fixed container center on wide screen
master
author
www-data
<www-data@n3150.home>
Fri, 6 Oct 2023 07:13:50 +0000
(09:13 +0200)
committer
www-data
<www-data@n3150.home>
Fri, 6 Oct 2023 07:13:50 +0000
(09:13 +0200)
class.page.php
patch
|
blob
|
history
class.session.php
patch
|
blob
|
history
diff --git
a/class.page.php
b/class.page.php
index e7053e4511b7aa9ddb52d06974b83777a58b78a8..13ab16e3d7913e067089e80a057a5ddbaf187e05 100644
(file)
--- a/
class.page.php
+++ b/
class.page.php
@@
-204,7
+204,7
@@
FIN;
}
function show () {
$this->_HtmlHeader();
}
function show () {
$this->_HtmlHeader();
- echo "<body><div id='conteneur' class='container
clearfix
'>\n";
+ echo "<body><div id='conteneur' class='container'>\n";
echo "<div class='row'>";
if ($this->_layout_class != "")
echo "<div class='".$this->_layout_class."'>\n"; /* end layout */
echo "<div class='row'>";
if ($this->_layout_class != "")
echo "<div class='".$this->_layout_class."'>\n"; /* end layout */
diff --git
a/class.session.php
b/class.session.php
index 319ad19d1225992e19ab19234aac449c64b857c2..7c05a759785bca91b7f6bdfce57e6ff7a258b527 100644
(file)
--- a/
class.session.php
+++ b/
class.session.php
@@
-15,7
+15,7
@@
class Session {
if ($_opaqueDb != null) {
$this->opaqueDb = $_opaqueDb;
}
if ($_opaqueDb != null) {
$this->opaqueDb = $_opaqueDb;
}
- $this->timeout =
1800;
+ $this->timeout =
3600; // 1 hours or else it's too fast
$this->user_id = (array_key_exists('user_id',$_SESSION))?$_SESSION['user_id']:"";
$this->user_name = (isset($_SESSION['user_name']))?$_SESSION['user_name']:"" ;
$this->user_prenom= (isset($_SESSION['user_prenom']))?$_SESSION['user_prenom']:"" ;
$this->user_id = (array_key_exists('user_id',$_SESSION))?$_SESSION['user_id']:"";
$this->user_name = (isset($_SESSION['user_name']))?$_SESSION['user_name']:"" ;
$this->user_prenom= (isset($_SESSION['user_prenom']))?$_SESSION['user_prenom']:"" ;