$customPath = '/'.'backlight/custom'; $customStylesheetEnabled = (bool) '1'; $customStylesheetFilename = $customStylesheetEnabled ? 'qfoto_workshop_backlight.css' : ''; $phpluginsFilename = ''; $noindex = false || (isset($album) && isset($enablePassword) && $enablePassword); if ($noindex) { echo ''; } <thp>echo NameHelper::formatPageTitle("PAGE_TITLE - COMPANY_NAME");</thp> $childType = 'content'; $siteUrl = URLHelper::siteURL(); $imageUrl = null; $imageWidth = null; $imageHeight = null; if (isset($photo)) { $imageUrl = $photo->getUrl('photos'); list($imageWidth, $imageHeight) = getimagesize($photo->getLocalPath('photos')); } elseif (isset($album) && $album->getPath()) { $webImageHelper = new WebImageHelper(); $webImageHelper->setRenditionPath('photos'); $coverImage = $webImageHelper->createCoverImageForAlbum($album); $imageUrl = $coverImage->getAbsoluteUrl(); if ($imageUrl) { $imageWidth = $coverImage->getWidth(); $imageHeight = $coverImage->getHeight(); } } $pageTitle = defined('PAGE_TITLE') ? PAGE_TITLE : ''; if (isset($photo)) { $pageTitle = $photo->hasMetadata(Photo::$PHOTO_TITLE) ? $photo->getMetadata(Photo::$PHOTO_TITLE) : $photo->getFilename(); } elseif ((isset($album) && $album->getType() === 'topLevel') && defined('PAGE_TITLE')) { $pageTitle = PAGE_TITLE; } elseif (isset($album)) { $pageTitle = $album->getTitle(); } elseif (isset($child)) { $pageTitle = preg_replace('/\'/', "\'", $child->getTemplate()->getTitle()); } $description = ''; if (isset($photo)) { $description = $photo->hasMetadata(Photo::$PHOTO_CAPTION) ? $photo->getMetadata(Photo::$PHOTO_CAPTION) : ''; } elseif (isset($album)) { $description = $album->getDescription(); } $description = $description ? preg_replace('/"/', '"', $description) : ''; $siteName = preg_replace('/"/', '"', __c('COMPANY_NAME')); $url = URLHelper::absoluteCurrentPageURL(); // RSS $siteTitle = __c('TITLE'); $siteTitle = preg_replace('/\[COMPANY_NAME\]/', __c('COMPANY_NAME'), $siteTitle); if ($childType == GenericEngine::$ENGINE_TYPE_ALBUM && isset($album) && __c('ALBUM_RSS_ENABLED') == 'yes') { echo "\t".''."\n"; } else if (__c('SITE_RSS_ENABLED') == 'yes') { echo "\t".''."\n"; } if (__c('GOOGLE_RECAPTCHA_V3_TERMS_MODE') == 'text') { } /** Hide share commands when crg or protected */ $crg = (bool) ''; $protected = isset($enablePassword) && $enablePassword; if (isset($album) && $album instanceof Album && ($crg || $protected)) { echo "\t".''."\n"; } if (isset($cssIncludes) && is_array($cssIncludes)) { foreach ($cssIncludes as $cssInclude) { echo "\t".''."\n"; } } if ($customStylesheetFilename) { echo "\t".''."\n"; } // PHPlugins Insert $void = !isset($phplugins) || $phplugins->dispatch('head'); $slug = 'workshops'; $type = 'page'; if (isset($album) && $album instanceof Album) { if ($album->getType() == 'album' || $album->getType() == 'set') { $slug = $album->getSlug(); } else if ($album->getType() == 'topLevel') { $slug = $album->getTopLevelGalleriesDirectory(); } }
$add_mode = !isset($phplugins) || $phplugins->dispatch('header_top'); if ( $add_mode ) { } // ttg_header_top $void = !isset($phplugins) || $phplugins->dispatch('header_bottom');
$void = !isset($phplugins) || $phplugins->dispatch('main_top'); // Password if (isset($album) && (!isset($enablePassword) || $enablePassword) && !$logged_in) { if ($enablePasswordForProtectedPhotos) {
// PHPlugins Replace $add_mode = !isset($phplugins) || $phplugins->dispatch('copy_top'); if ( $add_mode ) { Call to undefined function mb_strlen()|#0 /home/qfotoworks/public_html/workshops/backlight/modules/module-framework/lib/Parsedown.php(43): Parsedown->lines() #1 /home/qfotoworks/public_html/workshops/backlight/modules/module-framework/lib/Markdown.php(25): Parsedown->text() #2 /home/qfotoworks/public_html/workshops/backlight/modules/module-designer/application/models/ModelSetting.php(64): Markdown::text() #3 /home/qfotoworks/public_html/workshops/backlight/modules/module-framework/models/FormDataModel.php(273): ModelSetting->getValue() #4 /home/qfotoworks/public_html/workshops/backlight/modules/module-pages/dynamic/view/content.php(28): FormDataModel->value() #5 /home/qfotoworks/public_html/workshops/backlight/modules/module-designer/application/models/GenericEngine.php(531): include('/home/qfotowork...') #6 /home/qfotoworks/public_html/workshops/backlight/modules/module-designer/application/models/GenericEngine.php(505): GenericEngine->renderSubview() #7 /home/qfotoworks/public_html/workshops/backlight/modules/module-designer/application/models/GenericEngine.php(806): GenericEngine->render() #8 /home/qfotoworks/public_html/workshops/backlight/modules/pangolin-page/fragments/body/main.php(31): GenericEngine->renderChild() #9 /home/qfotoworks/public_html/workshops/backlight/modules/module-designer/application/models/GenericEngine.php(826): include('/home/qfotowork...') #10 /home/qfotoworks/public_html/workshops/backlight/modules/module-designer/application/models/GenericEngine.php(1029): GenericEngine->includeFragmentFile() #11 /home/qfotoworks/public_html/workshops/backlight/modules/pangolin-page/fragments/body.php(57): GenericEngine->includeFragment() #12 /home/qfotoworks/public_html/workshops/backlight/modules/module-designer/application/models/GenericEngine.php(826): include('/home/qfotowork...') #13 /home/qfotoworks/public_html/workshops/backlight/modules/module-designer/application/models/GenericEngine.php(1029): GenericEngine->includeFragmentFile() #14 /home/qfotoworks/public_html/workshops/backlight/modules/pangolin-page/dynamic/view/page.php(19): GenericEngine->includeFragment() #15 /home/qfotoworks/public_html/workshops/backlight/modules/module-designer/application/models/GenericEngine.php(596): include('/home/qfotowork...') #16 /home/qfotoworks/public_html/workshops/backlight/modules/module-designer/application/controllers/PageController.php(322): GenericEngine->renderView() #17 /home/qfotoworks/public_html/workshops/backlight/modules/module-framework/controllers/Controller.php(65): PageController->view() #18 /home/qfotoworks/public_html/workshops/backlight/modules/module-framework/models/Dispatchable.php(136): Controller->dispatch() #19 /home/qfotoworks/public_html/workshops/backlight/modules/module-framework/Framework.php(78): Dispatchable->dispatch() #20 /home/qfotoworks/public_html/workshops/index.php(38): Framework->route() #21 {main}|URL: /index.php