| /plugin/darkmodetoggle/ |
| D | style.css | 1 /* Button styling (light mode, Bootstrap-friendly) */ 19 /* Dark mode button styling */ 20 body.dark-mode .darkmode-btn { 26 body.dark-mode .darkmode-btn:hover { 30 /* Dark mode core styles */ 31 body.dark-mode { 37 body.dark-mode #dokuwiki__site, 38 body.dark-mode #dokuwiki__header, 39 body.dark-mode #dokuwiki__content, 40 body.dark-mode #dokuwiki__footer { [all …]
|
| D | script.js | 7 //console.error('Dark mode toggle button not found!'); 13 // Apply dark mode if previously enabled 15 console.log('Applying saved dark mode'); 16 body.classList.add('dark-mode'); 22 console.log('Button clicked, toggling dark mode'); 23 body.classList.toggle('dark-mode'); 26 if (body.classList.contains('dark-mode')) { 27 console.log('Dark mode enabled, saving to localStorage'); 30 console.log('Dark mode disabled, removing from localStorage');
|
| /plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/Actions/ |
| H A D | LexerModeAction.php | 13 private $mode; variable in Antlr\\Antlr4\\Runtime\\Atn\\Actions\\LexerModeAction 16 * Constructs a new `mode` action with the specified mode value. 18 * @param int $mode The mode value to pass to {@see Lexer::mode()}. 20 public function __construct(int $mode) argument 22 $this->mode = $mode; 26 * Get the lexer mode this action should transition the lexer to. 28 * @return int The lexer mode for this `mode` command. 32 return $this->mode; 38 * @return int This method returns {@see LexerActionType::MODE}. 42 return LexerActionType::MODE; [all …]
|
| H A D | LexerPushModeAction.php | 12 * with the assigned mode. 19 private $mode; variable in Antlr\\Antlr4\\Runtime\\Atn\\Actions\\LexerPushModeAction 21 public function __construct(int $mode) argument 23 $this->mode = $mode; 27 * Get the lexer mode this action should transition the lexer to. 29 * @return int The lexer mode for this `pushMode` command. 33 return $this->mode; 64 $lexer->pushMode($this->mode); 69 return Hasher::hash($this->getActionType(), $this->mode); 82 return $this->mode === $other->mode; [all …]
|
| /plugin/datepicker/ |
| D | syntax.php | 39 function connectTo($mode){ argument 40 $this->Lexer->addSpecialPattern("<datepicker[^>]*>",$mode,'plugin_datepicker'); 41 $this->Lexer->addSpecialPattern("<weekpicker[^>]*>",$mode,'plugin_datepicker'); 48 $mode=trim(substr($match,1,10)); 57 if($mode === "datepicker"){ 60 else if($mode === "weekpicker"){ 64 $opts["mode"]=$mode; 79 function render($mode, Doku_Renderer $renderer, $opt) { argument 82 if($mode == 'metadata') return false; 83 if($mode == 'xhtml') { [all …]
|
| /plugin/fastwiki/ |
| D | templates.js | 15 makeShowRowLI: function(pagetools, mode) { argument 22 m_showRow = $('<li>' + m_utils.makeShowLink(link.href) + '</li>').toggle(mode != 'show'); 29 fixButtons: function(showParent, allButtons, mode) { argument 37 $(elt).prepend(newBtn.toggle(mode!='show')); 50 …// Only show is supported as a start mode, because otherwise, we'd have to add pagetools for each … 53 'fastwiki:init': function(e, mode) { argument 54 m_utils.makeShowRowLI($("#dokuwiki__pagetools ul"), mode); 56 'fastwiki:afterSwitch': function(e, mode, isSectionEdit, prevMode) { argument 59 $("#dokuwiki__top").toggleClass("showSidebar hasSidebar", mode == 'show'); 60 $("#dokuwiki__aside").css('display', mode == 'show' ? '' : 'none'); [all …]
|
| /plugin/highlightjs/highlight/ |
| D | highlight.js | 24 function compileSubModes(mode, language) { argument 25 mode.sub_modes = []; 26 for (var i = 0; i < mode.contains.length; i++) { 28 if (language.modes[j].className == mode.contains[i]) { 29 mode.sub_modes[mode.sub_modes.length] = language.modes[j]; 35 function subMode(lexem, mode) { argument 36 if (!mode.contains) { 39 if (!mode.sub_modes) { 40 compileSubModes(mode, language); 42 for (var i = 0; i < mode.sub_modes.length; i++) { [all …]
|
| /plugin/symbols/ |
| D | syntax.php | 48 function connectTo($mode) { argument 49 $this->Lexer->addSpecialPattern('i_alert_icon',$mode,'plugin_symbols'); 50 $this->Lexer->addSpecialPattern('i_apple_icon',$mode,'plugin_symbols'); 51 $this->Lexer->addSpecialPattern('i_english_icon',$mode,'plugin_symbols'); 52 $this->Lexer->addSpecialPattern('i_fax_icon',$mode,'plugin_symbols'); 53 $this->Lexer->addSpecialPattern('i_german_icon',$mode,'plugin_symbols'); 54 $this->Lexer->addSpecialPattern('i_help_icon',$mode,'plugin_symbols'); 55 $this->Lexer->addSpecialPattern('i_home_icon',$mode,'plugin_symbols'); 56 $this->Lexer->addSpecialPattern('i_ihp_icon',$mode,'plugin_symbols'); 57 $this->Lexer->addSpecialPattern('i_important_icon',$mode,'plugin_symbols'); [all …]
|
| /plugin/markdowku/ |
| D | escapespecialchars.php | 18 function connectTo($mode) { argument 21 $mode, 25 $mode, 29 $mode, 33 $mode, 37 $mode, 41 $mode, 45 $mode, 49 $mode, 53 $mode, [all …]
|
| /plugin/embedover/ |
| D | syntax.php | 14 {[url:mode!http://toto?value=]} 15 {[url:mode!inline]} 16 {[url:mode!wiki]} 19 {[mode!texte|affich�]} 50 …function connectTo($mode) { $this->Lexer->addSpecialPattern('{\([^}]*\)}',$mode,'plugin_embedover'… argument 58 if (preg_match('/{\(url\:((?<mode>.*)!)?(?<text>[^|]*)\)}/', $match, $matches)) 60 if (!$matches[mode]) $matches[mode] = 'default'; 61 $this->urls[$matches[mode]] = $matches[text]; 65 … else if (preg_match('/{\(style\:((?<mode>.*)!)?(?<text>[^|]*)\)}/', $match, $matches)) 67 if (!$matches[mode]) $matches[mode] = 'default'; [all …]
|
| /plugin/htmldetailstag/syntax/ |
| D | details.php | 19 * @return string Syntax mode type 27 * @param string $mode The mode to check 28 * @return bool Whether $mode is allowed within this mode 31 function accepts($mode) { argument 32 if ($mode == substr(get_class($this), 7)) return true; 33 return parent::accepts($mode); 37 * @return string|array(string) Allowed syntax mode types 63 * @param string $mode Parser mode 65 public function connectTo($mode) argument 67 $this->Lexer->addEntryPattern($this->entry_pattern, $mode, 'plugin_htmldetailstag_details'); [all …]
|
| /plugin/dirtylittlehelper/syntax/ |
| D | tablewiki.php | 20 * @return string Syntax mode type 46 * @param string $mode Parser mode 48 public function connectTo($mode) argument 50 …$this->Lexer->addSpecialPattern('\<dlh\.table\.wiki[^\>]*\>',$mode,'plugin_dirtylittlehelper_'.$th… 51 …$this->Lexer->addSpecialPattern('\<\/dlh\.table\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this->… 53 …$this->Lexer->addSpecialPattern('\<dlh\.caption\.wiki[^\>]*\>',$mode,'plugin_dirtylittlehelper_'.$… 54 …$this->Lexer->addSpecialPattern('\<\/dlh\.caption\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this… 56 …$this->Lexer->addSpecialPattern('\<dlh\.th\.wiki[^\>]*\>',$mode,'plugin_dirtylittlehelper_'.$this-… 57 …$this->Lexer->addSpecialPattern('\<\/dlh\.th\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this->get… 59 …$this->Lexer->addSpecialPattern('\<dlh\.tr\.wiki[^\>]*\>',$mode,'plugin_dirtylittlehelper_'.$this-… [all …]
|
| /plugin/strata/helper/ |
| D | util.php | 160 * @param mode the rendering mode 165 function renderPredicate($mode, &$R, &$T, $p) { argument 167 $this->renderField($mode, $R, $T, $p, $typename, $hint); 171 * Renders a single value. If the mode is xhtml, this also surrounds the value with 175 * @param mode the rendering mode 183 function renderValue($mode, &$R, &$T, $value, $typename, $hint=null, &$type=null) { argument 188 $this->openValue($mode, $R, $typename); 189 $type->render($mode, $R, $T, $value, $hint); 190 $this->closeValue($mode, $R); 194 * Renders multiple values. If the mode is xhtml, this also surrounds the field with [all …]
|
| /plugin/commentsyntax/syntax/ |
| D | cstyle.php | 24 /** sort number used to determine priority of this mode */ 33 protected $mode, $pattern; 37 // syntax mode, drop 'syntax_' from class name 38 $this->mode = substr(__CLASS__, 7); 47 public function accepts($mode) argument 49 if ($this->getConf('use_cstyle_nest') && $mode == $this->mode) return true; 50 return parent::accepts($mode); 54 public function connectTo($mode) argument 56 $this->Lexer->addEntryPattern($this->pattern[1], $mode, $this->mode); 59 $this->Lexer->addSpecialPattern($this->pattern[5], $mode, $this->mode); [all …]
|
| /plugin/strata/syntax/ |
| D | list.php | 15 function connectTo($mode) { argument 16 …'<list'.$this->helper->fieldsShortPattern().'* *>\s*?\n.+?\n\s*?</list>',$mode, 'plugin_strata_lis… 23 function render($mode, Doku_Renderer $R, $data) { argument 25 if($mode == 'xhtml' || $mode == 'odt') { 29 $this->displayError($mode, $R, $data); 44 if($mode == 'xhtml' || $mode == 'odt') { 74 if($mode == 'xhtml' || $mode == 'odt') { 76 … $this->ui_container_open($mode, $R, $data, array('strata-container', 'strata-container-list')); 78 $this->util->renderCaptions($mode, $R, $fields); 85 if($mode == 'xhtml') { [all …]
|
| D | table.php | 15 function connectTo($mode) { argument 16 …table'.$this->helper->fieldsShortPattern().'* *>\s*?\n.+?\n\s*?</table>',$mode, 'plugin_strata_tab… 27 function render($mode, Doku_Renderer $R, $data) { argument 29 if($mode == 'xhtml' || $mode == 'odt') { 33 $this->displayError($mode, $R, $data); 59 if($mode == 'xhtml' || $mode == 'odt') { 61 … $this->ui_container_open($mode, $R, $data, array('strata-container', 'strata-container-table')); 63 if($mode == 'xhtml') { $R->doc .= '<thead>'.DOKU_LF; } 69 …if($mode == 'xhtml') { $R->doc .= '<span class="strata-caption" data-field="'.hsc($f['variable']).… 71 if($mode == 'xhtml') { $R->doc .= '</span>'.DOKU_LF; } [all …]
|
| /plugin/custommeta/ |
| D | syntax.php | 14 function connectTo($mode) argument 16 $this->Lexer->addSpecialPattern('\+\+CMV:.*?\+\+',$mode,'plugin_custommeta'); 17 $this->Lexer->addSpecialPattern('\+\+CMI:.*?\+\+',$mode,'plugin_custommeta'); 25 $mode = trim($pairs[0]); 28 if (strlen($key) >= 1 && strlen($value) >1 && ( $mode == 'I' || $mode == 'V' )) { 29 $data['mode'] = $mode; 37 public function render($mode, Doku_Renderer $renderer, $data) argument 39 if ($mode == 'xhtml') { 40 if ($data['mode'] == 'V') { 43 } elseif ($mode == 'metadata') {
|
| /plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
| D | module.archive.tar.php | 60 $mode = octdec(isset($attr['mode'] ) ? trim($attr['mode'] ) : ''); 104 'mode_raw' => $mode, 105 'mode' => self::display_perms($mode), 126 * Parses the file mode to file permissions. 128 * @param int $mode 132 public function display_perms($mode) { argument 134 if ($mode & 0x1000) $type='p'; // FIFO pipe 135 elseif ($mode & 0x2000) $type='c'; // Character special 136 elseif ($mode & 0x4000) $type='d'; // Directory 137 elseif ($mode & 0x6000) $type='b'; // Block special [all …]
|
| /plugin/colorswatch/syntax/ |
| D | colorswatch.php | 17 * @return string Syntax mode type 45 * @param string $mode Parser mode 47 public function connectTo($mode) argument 50 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{6}>', $mode, 'plugin_colorswatch_colors… 51 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{6}:[\p{Xwd}_ -]+>', $mode, 'plugin_colo… 54 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{8}>', $mode, 'plugin_colorswatch_colors… 55 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{8}:[\p{Xwd}_ -]+>', $mode, 'plugin_colo… 58 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{3}>', $mode, 'plugin_colorswatch_colors… 59 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{3}:[\p{Xwd}_ -]+>', $mode, 'plugin_colo… 62 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{4}>', $mode, 'plugin_colorswatch_colors… [all …]
|
| /plugin/publist/bib2tpl/lib/ |
| D | PEAR.php | 102 * Default error mode for this object. 110 * Default error options used for this object when error mode 119 * Default error handler (callback) for this object, if error mode is 276 * @param int $mode 282 * When $mode is PEAR_ERROR_TRIGGER, this is the error level (one 285 * When $mode is PEAR_ERROR_CALLBACK, this parameter is expected 292 * When $mode is PEAR_ERROR_PRINT or PEAR_ERROR_DIE, this is 307 function setErrorHandling($mode = null, $options = null) argument 317 switch ($mode) { 324 $setmode = $mode; [all …]
|
| /plugin/zip/pear/ |
| D | PEAR.php | 115 * Default error mode for this object. 123 * Default error options used for this object when error mode 132 * Default error handler (callback) for this object, if error mode is 297 * @param int $mode 303 * When $mode is PEAR_ERROR_TRIGGER, this is the error level (one 306 * When $mode is PEAR_ERROR_CALLBACK, this parameter is expected 313 * When $mode is PEAR_ERROR_PRINT or PEAR_ERROR_DIE, this is 329 function setErrorHandling($mode = null, $options = null) argument 339 switch ($mode) { 346 $setmode = $mode; [all …]
|
| /plugin/publistx/bib2tpl/lib/ |
| D | PEAR.php | 102 * Default error mode for this object. 110 * Default error options used for this object when error mode 119 * Default error handler (callback) for this object, if error mode is 276 * @param int $mode 282 * When $mode is PEAR_ERROR_TRIGGER, this is the error level (one 285 * When $mode is PEAR_ERROR_CALLBACK, this parameter is expected 292 * When $mode is PEAR_ERROR_PRINT or PEAR_ERROR_DIE, this is 307 function setErrorHandling($mode = null, $options = null) argument 317 switch ($mode) { 324 $setmode = $mode; [all …]
|
| /plugin/publistf/bib2tpl/lib/ |
| D | PEAR.php | 102 * Default error mode for this object. 110 * Default error options used for this object when error mode 119 * Default error handler (callback) for this object, if error mode is 276 * @param int $mode 282 * When $mode is PEAR_ERROR_TRIGGER, this is the error level (one 285 * When $mode is PEAR_ERROR_CALLBACK, this parameter is expected 292 * When $mode is PEAR_ERROR_PRINT or PEAR_ERROR_DIE, this is 307 function setErrorHandling($mode = null, $options = null) argument 317 switch ($mode) { 324 $setmode = $mode; [all …]
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Color/ |
| D | ColorSpaceRestrictor.php | 29 private $mode; variable in Mpdf\\Color\\ColorSpaceRestrictor 32 * Process $mode settings 39 * @param int $mode 41 public function __construct(Mpdf $mpdf, ColorModeConverter $colorModeConverter, $mode) argument 45 $this->mode = $mode; 61 $mode = (int) $c[0]; 62 switch ($mode) { 96 if ($this->mode != 3) { 100 } elseif ($this->mode == 1) { 117 if ($this->mpdf->PDFX || ($this->mpdf->PDFA && $this->mode == 3)) { [all …]
|
| /plugin/diagramsnet/lib/math/extensions/MathML/ |
| D | mml3.js | 19 …mode="rtl" select="."/></xsl:template><xsl:template match="@*" mode="rtl"> <xsl:copy-of select="."…
|