092 compléter la suppression fullpage
This commit is contained in:
parent
ea4aca1bee
commit
3d1914e847
@ -1241,8 +1241,8 @@ class common {
|
||||
$this->setData(['core', 'dataVersion', 10000]);
|
||||
}
|
||||
// Version 10.0.092
|
||||
if($this->getData(['core', 'dataVersion']) < 10092) {
|
||||
// Suppression du dosseir fullpage
|
||||
if ($this->getData(['core', 'dataVersion']) < 10092) {
|
||||
// Suppression du dossier fullpage
|
||||
if (is_dir('core/vendor/fullpage')) {
|
||||
$dir = getcwd();
|
||||
chdir('core/vendor/fullpage');
|
||||
@ -1251,6 +1251,10 @@ class common {
|
||||
chdir($dir);
|
||||
rmdir ('core/vendor/fullpage/');
|
||||
}
|
||||
if (file_exists('core/vendor/tinymce/templates/fullPageSections.html')) {
|
||||
unlink ('core/vendor/tinymce/templates/fullPageSections.html'); }
|
||||
if (file_exists('core/vendor/tinymce/templates/fullPageSlides.html')) {
|
||||
unlink ('core/vendor/tinymce/templates/fullPageSlides.html'); }
|
||||
$this->setData(['core', 'dataVersion', 10092]);
|
||||
}
|
||||
|
||||
|
@ -1,6 +0,0 @@
|
||||
<div id="fullpage">
|
||||
<div class="section" data-anchor="section1">Section 1</div>
|
||||
<div class="section" data-anchor="section2">Section 2</div>
|
||||
<div class="section" data-anchor="section3">Section 3</div>
|
||||
<div class="section" data-anchor="section4">Section 4</div>
|
||||
</div>
|
@ -1,8 +0,0 @@
|
||||
<div id="fullpage">
|
||||
<div class="section">
|
||||
<div class="slide" data-anchor="slide1"> Slide 1 </div>
|
||||
<div class="slide" data-anchor="slide2"> Slide 2 </div>
|
||||
<div class="slide" data-anchor="slide3"> Slide 3 </div>
|
||||
<div class="slide" data-anchor="slide4"> Slide 4 </div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user