b0VIM 7.4 ‘í½Y>©9 &" alexanderbird Alexanders-MacBook-Pro.local ~alexanderbird/Code/shared-lib/generator-cms-less/generators/app/templates/partials/CmsLess.php utf- 3210 #"! U tp ` ad z ` ú Ú Ã Â ¤ Œ i ? ï í ì ½ › ’ n Y W V : Ê É ® “ w & % í Ñ ž ‚ A @ í Ï Ž Z à ± p @ ì ¿ ½ ¼ „ h ; ï î Ò ¶ š ‚ < ò ñ Ø « ‡ … „ k A ! ç Ñ £ Ÿ œ … G ) É ¹ ˜ ” ’ ‘ t W : ?> echo $completePage->saveHTML(); /**************************/ /* Return */ /**************************/ } } $body->appendChild($script); if($script) { $script = $completePage->importNode($scriptTags[$i], true); for($i = 0; $i < $length; $i++) { $length = count($scriptTags); $body = $completePage->getElementsByTagName("body")->item(0); // add the script tags } } $destination->appendChild($importedNode); if($importedNode) { $importedNode = $completePage->importNode($node, true); foreach($childNodes as $node) { $childNodes = $contentsNodes->childNodes; // load the page content } $destination->removeChild($node); foreach($destination->childNodes as $node) { // empty the destination $destination->setAttribute("data-cms-less-preloaded", $originalPageName); $destination = $completePage->getElementById('cms-less-destination'); // find the destination /*************************/ /* Merge */ /*************************/ $completePage = $html5Parser->loadHTML($index); $html5Parser = new HTML5(); $index = file_get_contents("../index.html"); /*************************/ /* Load the outer page */ /*************************/ } $script->parentNode->removeChild($script); $scriptTags[$i] = $script->cloneNode(true); $script = $rawScriptTags->item($i); for($i = $rawScriptTags->length; --$i >= 0; ) { $rawScriptTags = $contentsNodes->getElementsByTagName('script'); $scriptTags = []; // script tags may appear above the script block - can't have that! } } $span->appendChild($contentsNodes->createTextNode($requestedPageName)); if($span->getAttribute('class') == 'page-name') { foreach($contentsNodes->getElementsByTagName('span') as $span) { // doing the same thing here // the default 404 page uses JavaScript to set the name of the page that's missing $contentsNodes = $html5Parser->loadHTML("