ZwiiCMS, le gestionnaire de site Web sans base de données à installer.
Conçu en 2008 par Rémi Jean, le développement a été repris par Frédéric Tempez en 2018.
zwii cms nosql json flat file
https://www.zwiicms.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.4 KiB
44 lines
1.4 KiB
/** |
|
* This file is part of Zwii. |
|
* For full copyright and license information, please see the LICENSE |
|
* file that was distributed with this source code. |
|
* |
|
* @author Frédéric Tempez <frederic.tempez@outlook.com> |
|
* @copyright Copyright (C) 2018-2022, Frédéric Tempez |
|
* @license GNU General Public License, version 3 |
|
* @link http://zwiicms.fr/ |
|
*/ |
|
|
|
|
|
/** |
|
* Option par défaut du sélecteur de mode |
|
*/ |
|
$(document).ready(function(){ |
|
$('input[name=fontEditFontImported]').prop('checked', true); |
|
$('input[name=fontEditFontUrl]').prop('checked', false); |
|
$('#containerfontEditFile').hide(); |
|
}); |
|
|
|
|
|
/** |
|
* Mode téléchargement en ligne de la fonte ou installation locale |
|
*/ |
|
$("input[name=fontEditFontImported]").on("click", function() { |
|
if( $('input[name=fontEditFontImported]').is(':checked') ){ |
|
$('input[name=fontEditFontFile]').prop('checked', false); |
|
} else { |
|
$('input[name=fontEditFontFile]').prop('checked', true); |
|
} |
|
$('#containerfontEditFile').hide(); |
|
$('#containerfontEditUrl').show(); |
|
}); |
|
|
|
$("input[name=fontEditFontFile]").on("click", function() { |
|
if( $('input[name=fontEditFontFile]').is(':checked') ){ |
|
$('input[name=fontEditFontImported]').prop('checked', false); |
|
} else { |
|
$('input[name=fontEditFontImported]').prop('checked', true); |
|
} |
|
$('#containerfontEditFile').show(); |
|
$('#containerfontEditUrl').hide(); |
|
});
|
|
|