Merge branch 'master' into gallery_stock_v2
This commit is contained in:
commit
f3926d2832
@ -2670,10 +2670,10 @@ class layout extends common {
|
||||
if( $this->getData(['config','autoUpdate']) === true &&
|
||||
$lastAutoUpdate > $this->getData(['core','lastAutoUpdate']) + 86400 ) {
|
||||
$this->setData(['core','lastAutoUpdate',$lastAutoUpdate]);
|
||||
$this->saveData();
|
||||
if ( helper::checkNewVersion(common::ZWII_UPDATE_CHANNEL) ) {
|
||||
$rightItems .= '<li><a id="barUpdate" href="' . helper::baseUrl() . 'install/update" data-tippy-content="Mettre à jour Zwii '. common::ZWII_VERSION .' vers '. helper::getOnlineVersion(common::ZWII_UPDATE_CHANNEL) .'">' . template::ico('update colorRed') . '</a></li>';
|
||||
}
|
||||
$this->saveData();
|
||||
}
|
||||
}
|
||||
$rightItems .= '<li><a href="' . helper::baseUrl() . 'user/edit/' . $this->getUser('id'). '/' . $_SESSION['csrf'] . '" data-tippy-content="Configurer mon compte">' . template::ico('user', 'right') . '<span id="displayUsername">' . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '</span></a></li>';
|
||||
|
Loading…
Reference in New Issue
Block a user