Lines Matching refs:self
70 const DEFAULT_BOOTSTRAP_VERSION_STYLESHEET = "5.0.1" . self::BOOTSTRAP_VERSION_STYLESHEET_SEPARATOR . "bootstrap";
214 return self::getTemplateInfo()["url"];
219 if (self::$TEMPLATE_INFO == null) {
220 self::$TEMPLATE_INFO = confToHash(__DIR__ . '/../template.info.txt');
222 return self::$TEMPLATE_INFO;
227 if (self::$COMBO_INFO == null) {
228 self::$COMBO_INFO = confToHash(__DIR__ . '/../../../plugins/combo/plugin.info.txt');
230 return self::$COMBO_INFO;
235 return "v" . self::getTemplateInfo()['version'] . " (" . self::getTemplateInfo()['date'] . ")";
241 return self::getTemplateInfo()["strap"];
325 $bootstrapStyleSheetArray = explode(self::BOOTSTRAP_VERSION_STYLESHEET_SEPARATOR, $bootstrapStyleSheetVersion);
332 $bootstrapStyleSheetArray = explode(self::BOOTSTRAP_VERSION_STYLESHEET_SEPARATOR, $bootstrapStyleSheetVersion);
366 $comboVersion = self::getComboInfo()['version'];
368 TplUtility::msg("The combo plugin is not installed, sidebars automatic bursting will not work", self::LVL_MSG_INFO, "sidebars");
377 return self::getBootStrapVersion()[0];
408 return self::getMigratedSlotNameConfValue(
433 if (defined('DOKU_UNITTEST') && !isset($_REQUEST[self::COMBO_TEST_UPDATE])) {
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);
702 return self::SLOT_MAIN_HEADER_NAME;
707 return self::SLOT_MAIN_FOOTER_NAME;
930 self::reloadConf();
936 $scriptsMeta = self::buildBootstrapMetas($bootstrapVersion);
939 $useCdn = tpl_getConf(self::CONF_USE_CDN);
999 $cssVersionsMetas = self::getStyleSheetsFromJsonFileAsArray();
1021 self::msg("Unable to read the file {$stylesheetsFile} as json");
1029 self::msg("Unable to read the file {$localStyleSheets} as json");
1040 self::msg("The bootstrap version ($version) could not be found in the custom CSS file ($stylesheetsFile, or $localStyleSheetsFile)");
1086 self::msg("Unable to read the file {$bootstrapJsonFile} as json");
1090 self::msg("The bootstrap version ($version) could not be found in the file $bootstrapJsonFile");
1098 $bootstrapCustomMetas = self::getStyleSheetsFromJsonFileAsArray($version);
1101 self::msg("The bootstrap custom file ($bootstrapCssFile) could not be found in the custom CSS files for the version ($version)");
1123 self::addAsHtmlComment('Request: ' . json_encode($_REQUEST));
1128 $bootstrapHeaders = self::getBootstrapMetaHeaders();
1141 $cssPreloadConf = tpl_getConf(self::CONF_PRELOAD_CSS);
1261 && tpl_getConf(self::CONF_JQUERY_DOKU) == 0
1337 self::addAsHtmlComment('Script Header : ' . json_encode($newHeaderTypes['script']));
1426 self::reloadConf();
1467 static function msg($message, $level = self::LVL_MSG_ERROR, $canonical = "strap")
1469 $strapUrl = self::getStrapUrl();
1474 if ($level != self::LVL_MSG_DEBUG) {
1487 if (defined('DOKU_UNITTEST') && ($level == self::LVL_MSG_WARNING || $level == self::LVL_MSG_ERROR)) {
1544 $comboVersion = self::getComboInfo()['version'];
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);
1578 $domain = self::getApexDomainUrl();
1592 $domain = self::getApexDomainUrl();
1608 $domain = self::getApexDomainUrl();
1609 $version = self::getFullQualifyVersion();