Lines Matching defs:TplUtility
26 * Class TplUtility
30 class TplUtility
51 * @deprecated for {@link TplUtility::CONF_BOOTSTRAP_VERSION_STYLESHEET}
55 * @deprecated for {@link TplUtility::CONF_BOOTSTRAP_VERSION_STYLESHEET}
67 * The separator in {@link TplUtility::CONF_BOOTSTRAP_VERSION_STYLESHEET}
88 * @deprecated see {@link TplUtility::CONF_HEADER_SLOT_PAGE_NAME}
94 const CONF_HEADER_OLD_VALUE = TplUtility::CONF_HEADER_OLD;
96 * @deprecated see {@link TplUtility::CONF_FOOTER_SLOT_PAGE_NAME}
209 print_r('<!-- TplUtility Comment: ' . hsc($text) . '-->');
256 $method = array('\Combostrap\TplUtility', 'handleBootstrapMetaHeaders');
324 $bootstrapStyleSheetVersion = tpl_getConf(TplUtility::CONF_BOOTSTRAP_VERSION_STYLESHEET, TplUtility::DEFAULT_BOOTSTRAP_VERSION_STYLESHEET);
331 $bootstrapStyleSheetVersion = tpl_getConf(TplUtility::CONF_BOOTSTRAP_VERSION_STYLESHEET, TplUtility::DEFAULT_BOOTSTRAP_VERSION_STYLESHEET);
368 TplUtility::msg("The combo plugin is not installed, sidebars automatic bursting will not work", self::LVL_MSG_INFO, "sidebars");
384 return TplUtility::getMigratedSlotNameConfValue(
385 TplUtility::CONF_SIDEKICK_SLOT_PAGE_NAME,
387 TplUtility::CONF_SIDEKICK_OLD,
396 return TplUtility::getMigratedSlotNameConfValue(
397 TplUtility::CONF_HEADER_SLOT_PAGE_NAME,
398 TplUtility::CONF_SLOT_HEADER_PAGE_NAME_VALUE,
399 TplUtility::CONF_HEADER_OLD,
400 TplUtility::CONF_HEADER_OLD_VALUE,
409 TplUtility::CONF_FOOTER_SLOT_PAGE_NAME,
411 TplUtility::CONF_FOOTER_OLD,
451 * causing the {@link TplUtility::outputBuffer() output buffer check} to fail
482 TplUtility::msg("An error occurred while trying to save automatically the configuration ($key) to the value ($value). Error: " . $e->getMessage());
486 TplUtility::msg("The configuration file was locked. The upgrade configuration ($key) value could not be not changed to ($value)");
498 if ($conf['template'] == TplUtility::TEMPLATE_NAME) {
499 TplUtility::msg("The configuration ($key) is unknown and was therefore not change to ($value)");
547 // $updated = TplUtility::updateConfiguration($newConf, $name);
549 // TplUtility::msg("The <a href=\"https://combostrap.com/$canonical\">$newConf</a> configuration was set with the value <mark>$name</mark>", self::LVL_MSG_INFO, $canonical);
574 TplUtility::msg("A plugin has send text before the creation of the page. Because it will mess the rendering, we have deleted it. The content was: (" . $ob . ")", TplUtility::LVL_MSG_ERROR, "strap");
594 if (tpl_getConf(TplUtility::CONF_PRIVATE_RAIL_BAR) === 1 && empty($_SERVER['REMOTE_USER'])) {
597 $breakpoint = tpl_getConf(TplUtility::CONF_BREAKPOINT_RAIL_BAR, TplUtility::BREAKPOINT_LARGE_NAME);
601 case TplUtility::BREAKPOINT_EXTRA_SMALL_NAME:
604 case TplUtility::BREAKPOINT_SMALL_NAME:
607 case TplUtility::BREAKPOINT_MEDIUM_NAME:
610 case TplUtility::BREAKPOINT_LARGE_NAME:
613 case TplUtility::BREAKPOINT_EXTRA_LARGE_NAME:
616 case TplUtility::BREAKPOINT_EXTRA_EXTRA_LARGE_NAME:
628 $railBarListItems = TplUtility::getRailBarListItems();
652 if ($breakpoint != TplUtility::BREAKPOINT_NEVER_NAME) {
713 return strpos($ID, TplUtility::getSideSlotPageName()) === false
714 && strpos($ID, TplUtility::getSideKickSlotPageName()) === false
715 && strpos($ID, TplUtility::SLOT_MAIN_HEADER_NAME) === false
716 && strpos($ID, TplUtility::SLOT_MAIN_FOOTER_NAME) === false
717 && strpos($ID, TplUtility::getHeaderSlotPageName()) === false
718 && strpos($ID, TplUtility::getFooterSlotPageName()) === false;
737 return tpl_getConf(TplUtility::CONF_REM_SIZE, null);
923 $bootstrapVersion = TplUtility::getBootStrapVersion();
931 $bootstrapVersion = TplUtility::getBootStrapVersion();
1003 $listVersionStylesheetMeta[] = $bootstrapVersion . TplUtility::BOOTSTRAP_VERSION_STYLESHEET_SEPARATOR . $fileName;
1097 $bootstrapCssFile = TplUtility::getStyleSheetConf();
1156 $newLinkData[] = TplUtility::captureStylePreloadingAndTransformToPreloadCssTag($linkData);
1164 $newLinkData[] = TplUtility::captureStylePreloadingAndTransformToPreloadCssTag($linkData);
1184 if (empty($_SERVER['REMOTE_USER']) && tpl_getConf(TplUtility::CONF_DISABLE_BACKEND_JAVASCRIPT, 0)) {
1189 if (TplUtility::getBootStrapMajorVersion() == "5") {
1257 $boostrapMajorVersion = TplUtility::getBootStrapMajorVersion();
1382 Event::createAndTrigger('TPL_TITLE_OUTPUT', $title, '\ComboStrap\TplUtility::callBackPageTitle', true);
1546 TplUtility::msg("The strap template has been deprecated. From the version <a href=\"https://combostrap.com/release/1.25\">1.25</a>, Combo should be used with the standard dokuwiki template.", self::LVL_MSG_WARNING);
1571 $navBarPageName = TplUtility::getHeaderSlotPageName();
1574 $header = TplUtility::renderSlot($id);
1594 $footerPageName = TplUtility::getFooterSlotPageName();
1596 $footer = TplUtility::renderSlot($nearestFooterPageId);