Home
last modified time | relevance | path

Searched +full:template -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 78) sorted by relevance

1234

/dokuwiki/lib/tpl/dokuwiki/
H A Dtemplate.info.txt5 name DokuWiki Template
6 desc DokuWiki's default template since 2012
7 url http://www.dokuwiki.org/template:dokuwiki
H A Dstyle.ini5 ; a local conf/tpl/<template-folder-name>/style.ini file to prevent losing
10 ; Define the stylesheets your template uses here. The second value
H A Dtpl_header.php4 * Template header, included in the main and detail files
22 // get logo either out of the template images folder or data/media folder
/dokuwiki/inc/Subscriptions/
H A DSubscriptionSender.php51 * @param string $template The name of the mail template
53 * template (in text format)
55 * template (in HTML format), null to default to $trep
62 protected function send($subscriber_mail, $subject, $context, $template, $trep, $hrep = null, $headers = []) argument
67 $text = rawLocale($template);
73 if (in_array($template, ['subscr_list', 'subscr_digest'])) {
H A DMediaSubscriptionSender.php13 * @param string $template Mail template ('uploadmail', ...)
18 public function sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false)
42 $this->send($subscriber_mail, 'upload', $id, $template, $trep, null, $headers);
21 sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false) global() argument
H A DPageSubscriptionSender.php15 * @param string $template Mail template ('subscr_digest', 'subscr_single', 'mailtext', ...)
23 public function sendPageDiff($subscriber_mail, $template, $id, $rev = null, $summary = '', $current_rev = null)
78 $template,
26 sendPageDiff($subscriber_mail, $template, $id, $rev = null, $summary = '', $current_rev = null) global() argument
/dokuwiki/lib/tpl/
H A Dindex.php4 * This file reads the style.ini of the used template and displays the
22 <title>Template Replacements</title>
50 $styleUtils = new \dokuwiki\StyleUtils($conf['template']);
55 echo "<caption>" . hsc($conf['template']) . "'s style.ini</caption>";
69 echo "<p>Non-existent or invalid template or style.ini: <strong>" . hsc($conf['template']) . "</strong></p>";
/dokuwiki/lib/plugins/config/core/
H A DLoader.php20 /** @var string current template */ variable in dokuwiki\\plugin\\config\\core\\Loader
21 protected $template;
33 $this->template = $conf['template'];
41 * Reads the main file, plugins and template settings meta data
63 // current template
69 $this->template
79 * Reads the main file, plugins and template defaults
101 // current template
107 $this->template
[all...]
/dokuwiki/inc/
H A DStyleUtils.php8 * Reads and applies the template's style.ini settings
12 /** @var string current template */
33 * @param string $tpl template name: if not passed as argument, the default value from $conf will be used
41 $tpl = $conf['template'];
51 * Loads and merges style.ini files from template and config and prepares
93 // replace the placeholder with the name of the current template
94 $inifile = str_replace('%TEMPLATE%', $this->tpl, $inifile);
146 "Please contact developer of \"$this->tpl\" template.", 2);
149 msg("Stylesheet $file not found, please contact the developer of \"$this->tpl\" template.", 2);
158 * Style resources are relative to the template director
[all...]
H A Dconfig_cascade.php67 'default' => [DOKU_INC . 'lib/tpl/%TEMPLATE%/' . 'style.ini'],
68 'local' => [DOKU_CONF . 'tpl/%TEMPLATE%/' . 'style.ini']
85 'template' => [DOKU_CONF . 'template_lang/']
H A Dactions.php27 // make all globals available to the template
30 include(template('main.php'));
H A Dtemplate.php4 * DokuWiki template functions
24 * Access a template file
26 * Returns the path to the given file inside the current template, uses
27 * default template if the custom version doesn't exist.
34 function template($file)
38 if (@is_readable(DOKU_INC . 'lib/tpl/' . $conf['template'] . '/' . $file))
39 return DOKU_INC . 'lib/tpl/' . $conf['template'] . '/' . $file;
45 * Convenience function to access template dir from local FS
49 * @param string $tpl The template to use, default to current one
57 if (!$tpl) $tpl = $conf['template'];
23 function template($file) { global() function
[all...]
H A Dload.php34 'template.php',
190 * Check if the class is a namespaced template class
197 // template namespace
198 if ($this->prefixStrip($classPath, 'dokuwiki/template/')) {
202 $template = substr($classPath, 0, strpos($classPath, '/'));
207 ErrorHandler::showExceptionMsg($e, "Error loading template $template");
/dokuwiki/lib/exe/
H A Dopensearch.php21 $ico = DOKU_URL . 'lib/tpl/' . $conf['template'] . '/images/favicon.ico';
23 $ico = DOKU_URL . 'lib/tpl/' . $conf['template'] . '/favicon.ico';
34 echo ' <Url type="text/html" template="' . DOKU_URL . DOKU_SCRIPT . '?do=search&amp;id={searchTerms}" />' . NL;
35 echo ' <Url type="application/x-suggestions+json" template="' .
H A Djs.php43 // decide from where to get the template
45 if (!$tpl) $tpl = $conf['template'];
120 $lang['js']['template'] = $templatestrings;
273 * Return an two-dimensional array with strings from the language file of current active template.
276 * - Nothing is returned for template without an entry for $lang['js']
291 foreach ($config_cascade['lang']['template'] as $config_file) {
292 if (file_exists($config_file . $conf['template'] . '/en/lang.php')) {
293 include($config_file . $conf['template'] . '/en/lang.php');
303 foreach ($config_cascade['lang']['template'] as $config_file) {
304 if (file_exists($config_file . $conf['template']
[all...]
H A Ddetail.php43 //start output and load template
45 include(template('detail.php'));
/dokuwiki/lib/scripts/
H A Dhelpers.js63 'if this is in a template try updating the template or switching to the "dokuwiki" template.',
/dokuwiki/inc/Menu/
H A DPageMenu.php8 * Actions manipulating the current page. Shown as a floating menu in the dokuwiki template
H A DAbstractMenu.php12 * It contains convenience functions to display the menu in HTML, but template authors can also
73 * This is a convenience method for template authors. If you need more fine control over the
/dokuwiki/lib/styles/
H A Dprint.css3 * regardless of the used template. Templates can override them of course
/dokuwiki/lib/plugins/extension/images/
H A Dlicense.txt4 template.png - public domain, (c) mathec, http://openclipart.org/detail/166596/palette-by-mathec
/dokuwiki/bin/
H A Dgittool.php28 "$> ./bin/gittool.php clone gallery template:ach\n" .
41 'Tries to install a known plugin or template (prefix with template:) via git. Uses the DokuWiki.org ' .
46 'name of the extension to install, prefix with \'template:\' for templates',
58 'name of the extension to install, prefix with \'template:\' for templates',
257 if (str_starts_with($ext, 'template:')) {
278 * Looks in root, template and plugin directories only.
/dokuwiki/conf/
H A Dplugins.required.php12 $plugins['template:dokuwiki'] = 1; // not a plugin, but this should not be uninstalled either
/dokuwiki/lib/plugins/extension/helper/
H A Dextension.php20 * Class helper_plugin_extension_extension represents a single extension (plugin or template)
70 * @param string $id The id of the extension (prefixed with template: for templates)
80 if (str_starts_with($id, 'template:')) {
152 'template:dokuwiki'
193 return ($conf['template'] == $this->getBase());
218 * If the extension is a template
220 * @return bool If this extension is a template
230 * This is the same as getName() for plugins, for templates it's getName() prefixed with 'template:'
249 // Data from plugin.info.txt/template.info.txt or the repo when not available locally
330 ($this->isTemplate() ? 'template'
[all...]
/dokuwiki/lib/plugins/styling/
H A Dpopup.php18 // output plugin in a very minimal template:

1234