This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class leafFileSync{ | |
private $enableLog = false; | |
public function __construct($logSynchronization = false){ | |
$this->enableLog = $logSynchronization; | |
} | |
public function sync($cmd, $result, $args, elFinder $elFinder, elFinderVolumeDriver $volume){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Search regexp: \barray\(([^\(]*?)\) | |
Replace with: [$1] | |
Search & replace until it´s done. | |
Does not work if ( is in array keys or values. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( window.localStorageAvailable ) | |
{ | |
window.localStorage.removeItem( 'FORM URL GOES HERE' ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class=“content-box”> | |
<div class="content-box__main"> | |
<h1 class="content-box__main-heading">Title</h1> | |
<p class="content-box__main-text">Text</p> | |
</div> | |
<div class=“content-box__links”> | |
<ul class=“content-box__links-ul”> | |
<li class=“content-box__links-li”> | |
<a class=“content-box__links-a”>link</a> | |
<a class=“content-box__links-a”>link</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class=“content-box”> | |
<div class=“content-box__links”> | |
<ul class=“content-box__links-ul”> | |
<li class=“content-box__links-li”> | |
<a class=“content-box__links-a”>link</a> | |
</li> | |
</ul> | |
</div> | |
</div> |
NewerOlder