forked from ZwiiCMS-Team/ZwiiCMS
[9.1.0] remise des icônes
This commit is contained in:
parent
a47fa53438
commit
28f0803101
@ -2291,7 +2291,7 @@ class layout extends common {
|
|||||||
if($this->getUser('group') >= self::GROUP_ADMIN) {
|
if($this->getUser('group') >= self::GROUP_ADMIN) {
|
||||||
$rightItems .= '<li><a href="' . helper::baseUrl() . 'user" data-tippy-content="Configurer les utilisateurs">' . template::ico('users') . '</a></li>';
|
$rightItems .= '<li><a href="' . helper::baseUrl() . 'user" data-tippy-content="Configurer les utilisateurs">' . template::ico('users') . '</a></li>';
|
||||||
$rightItems .= '<li><a href="' . helper::baseUrl() . 'theme" data-tippy-content="Personnaliser le thème">' . template::ico('brush') . '</a></li>';
|
$rightItems .= '<li><a href="' . helper::baseUrl() . 'theme" data-tippy-content="Personnaliser le thème">' . template::ico('brush') . '</a></li>';
|
||||||
$rightItems .= '<li><a href="' . helper::baseUrl() . 'config" data-tippy-content="Configurer le site">' . template::ico('gear') . '</a></li>';
|
$rightItems .= '<li><a href="' . helper::baseUrl() . 'config" data-tippy-content="Configurer le site">' . template::ico('cog-alt') . '</a></li>';
|
||||||
// Mise à jour automatique
|
// Mise à jour automatique
|
||||||
if(helper::checkNewVersion() ) {
|
if(helper::checkNewVersion() ) {
|
||||||
$rightItems .= '<li><a id="barUpdate" href="' . helper::baseUrl() . 'install/update" data-tippy-content="Mettre à jour Zwii '. common::ZWII_VERSION .' vers '. helper::getOnlineVersion() .'">' . template::ico('update colorRed') . '</a></li>';
|
$rightItems .= '<li><a id="barUpdate" href="' . helper::baseUrl() . 'install/update" data-tippy-content="Mettre à jour Zwii '. common::ZWII_VERSION .' vers '. helper::getOnlineVersion() .'">' . template::ico('update colorRed') . '</a></li>';
|
||||||
@ -2673,7 +2673,7 @@ class template {
|
|||||||
%s
|
%s
|
||||||
data-lity
|
data-lity
|
||||||
>
|
>
|
||||||
' . self::ico('download', 'right') . '
|
' . self::ico('upload', 'right') . '
|
||||||
<span class="inputFileLabel"></span>
|
<span class="inputFileLabel"></span>
|
||||||
</a>',
|
</a>',
|
||||||
$attributes['class'],
|
$attributes['class'],
|
||||||
|
22
index.php
22
index.php
@ -23,28 +23,6 @@ if(version_compare(PHP_VERSION, '5.6.0', '<')) {
|
|||||||
date_default_timezone_set('Europe/Paris');
|
date_default_timezone_set('Europe/Paris');
|
||||||
setlocale (LC_TIME, 'fra_fra', 'french');
|
setlocale (LC_TIME, 'fra_fra', 'french');
|
||||||
|
|
||||||
|
|
||||||
/*Configuration Proxy */
|
|
||||||
$proxy = 'cache-etu.univ-artois.fr:3128';
|
|
||||||
if (!empty($proxy)) {
|
|
||||||
$proxy = str_replace('http://', 'tcp://', $proxy);
|
|
||||||
$context = array(
|
|
||||||
'http' => array(
|
|
||||||
'proxy' => $proxy,
|
|
||||||
'request_fulluri' => true,
|
|
||||||
'verify_peer' => false,
|
|
||||||
'verify_peer_name' => false,
|
|
||||||
),
|
|
||||||
"ssl"=>array(
|
|
||||||
"verify_peer"=>false,
|
|
||||||
"verify_peer_name"=>false
|
|
||||||
)
|
|
||||||
);
|
|
||||||
stream_context_set_default($context);
|
|
||||||
} else {
|
|
||||||
echo "Proxy not found" . PHP_EOL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialisation de Zwii
|
* Initialisation de Zwii
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user