forked from ZwiiCMS-Team/ZwiiCMS
Merge branch 'dev' into blog_v3
This commit is contained in:
commit
43f2ccca4f
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
@import url("site/data/admin.css");
|
@import url("site/data/admin.css");
|
||||||
|
|
||||||
.blockContainer:not(#info) {
|
.blockContainer {
|
||||||
display : none;
|
display : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ $( document).ready(function() {
|
|||||||
* Initialisation des blocs
|
* Initialisation des blocs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var i = ["info", "setup", "social", "ceo", "network", "smtp", "login", "logs", "script", "system" ];
|
var i = [ "social", "ceo", "network", "smtp", "login", "logs", "script", "system" ];
|
||||||
$.each(i,function(e) {
|
$.each(i,function(e) {
|
||||||
if (getCookie(i[e]) === "true") {
|
if (getCookie(i[e]) === "true") {
|
||||||
$("#" + i[e]).find(".zwiico-plus").hide();
|
$("#" + i[e]).find(".zwiico-plus").hide();
|
||||||
@ -62,7 +62,7 @@ $( document).ready(function() {
|
|||||||
* true = bloc déplié
|
* true = bloc déplié
|
||||||
*/
|
*/
|
||||||
document.cookie = $(this).attr('id') + "=" + $(this).find(".zwiico-minus").is(":visible");
|
document.cookie = $(this).attr('id') + "=" + $(this).find(".zwiico-minus").is(":visible");
|
||||||
}).on("click", "span > input, input, textarea, label, option, button, a, .blockContainer", function(e) {
|
}).on("click", "span > input, input, textarea, label, option, button, a:not(.inputFile), .blockContainer", function(e) {
|
||||||
// Empêcher les déclenchements dans les blocs
|
// Empêcher les déclenchements dans les blocs
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
|
@ -28,12 +28,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col12">
|
<div class="col12">
|
||||||
<div class="block" id="info">
|
<div class="block">
|
||||||
<h4><?php
|
<h4>Informations générales</h4>
|
||||||
echo template::ico('plus','right');
|
|
||||||
echo template::ico('minus','right');
|
|
||||||
?>Informations générales</h4>
|
|
||||||
<div class="blockContainer" id="info">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
<?php
|
<?php
|
||||||
@ -69,15 +65,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col12">
|
<div class="col12">
|
||||||
<div class="block" id="setup">
|
<div class="block">
|
||||||
<h4><?php
|
<h4>Paramètres</h4>
|
||||||
echo template::ico('plus','right');
|
|
||||||
echo template::ico('minus','right');
|
|
||||||
?>Paramètres</h4>
|
|
||||||
<div class="blockContainer">
|
|
||||||
<?php $error = helper::urlGetContents('http://zwiicms.com/update/' . common::ZWII_UPDATE_CHANNEL . '/version');?>
|
<?php $error = helper::urlGetContents('http://zwiicms.com/update/' . common::ZWII_UPDATE_CHANNEL . '/version');?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
@ -174,7 +165,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col12">
|
<div class="col12">
|
||||||
<div class="block" id="social">
|
<div class="block" id="social">
|
||||||
|
Loading…
Reference in New Issue
Block a user