Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 28) sorted by path

12

/dokuwiki/conf/
H A Dacl.auth.php.dist3 # Don't modify the lines above
H A Dusers.auth.php.dist3 # Don't modify the lines above
/dokuwiki/data/pages/wiki/
H A Dsyntax.txt20 **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line.
422 There are additional [[doku>syntax_highlighting|advanced options]] available for syntax highlighting, such as highlighting lines or adding line numbers.
/dokuwiki/inc/Cache/
H A DCache.php206 $lines = explode("\n", io_readFile($file));
208 foreach ($lines as $line) {
/dokuwiki/inc/ChangeLog/
H A DChangeLog.php128 * Adjacent changelog lines are optimistically parsed and cached to speed up
165 //read lines from changelog
166 [$fp, $lines] = $this->readloglines($rev);
170 if (empty($lines)) return false;
172 // parse and cache changelog lines
173 foreach ($lines as $line) {
191 * For efficiency, the log lines are parsed and cached for later
194 * lines are received.
196 * @param int $first skip the first n changelog lines
206 $lines
[all...]
H A DChangeLogTrait.php105 * Returns lines from changelog.
109 * lines in first or last chunk, but they obviously does not contain $rev.
132 $lines = file($file);
133 if ($lines === false) {
170 $lines = $this->readChunk($fp, $head, $tail);
172 return [$fp, $lines, $head, $tail, $eof];
176 * Read chunk and return array with lines of given chunk.
182 * @return array lines read from chunk
198 $lines = explode("\n", $chunk);
199 array_pop($lines); // remov
[all...]
/dokuwiki/inc/
H A DDifferenceEngine.php51 function __construct($lines) { argument
52 $this->orig = $lines;
64 function __construct($lines) { argument
65 $this->closing = $lines;
136 // Skip leading common lines.
142 // Skip trailing common lines.
151 // Ignore lines which do not exist in both files.
225 * This function assumes that the first lines of the specified portions
226 * of the two files do not match, and likewise that the last lines do not
227 * match. The caller must trim matching lines fro
407 _shift_boundaries($lines, & $changed, $other_changed) global() argument
849 _lines($lines, $prefix = ' ') global() argument
854 _context($lines) global() argument
858 _added($lines) global() argument
861 _deleted($lines) global() argument
1013 _split($lines) global() argument
1055 _split($lines) global() argument
1104 _added($lines) global() argument
1107 _deleted($lines) global() argument
1163 _lines($lines, $prefix = ' ', $color = 'white') global() argument
1191 _added($lines) global() argument
1195 _addedLines($lines, $escaped = false) global() argument
1201 _deleted($lines) global() argument
1207 _context($lines) global() argument
1280 _lines($lines, $prefix = ' ', $color = 'white') global() argument
1283 _added($lines) global() argument
1289 _deleted($lines) global() argument
1295 _context($lines) global() argument
1501 __construct($lines = false) global() argument
1527 input($lines) global() argument
1533 out1($lines) global() argument
1539 out2($lines) global() argument
1563 _append(& $array, $lines) global() argument
[all...]
H A DLogger.php172 * @return string[] the lines to log
222 * Write the given lines to today's facility log
224 * @param string[] $lines the raw lines to append to the log
228 protected function writeLogLines($lines, $logfile)
231 fwrite(STDERR, "\n[" . $this->facility . '] ' . implode("\n", $lines) . "\n");
233 return io_saveFile($logfile, implode("\n", $lines) . "\n", true);
221 writeLogLines($lines, $logfile) global() argument
H A DTaskRunner.php117 $lines = file($fn);
118 if (count($lines) <= $conf['recent']) {
129 $counter = count($lines);
131 $log = ChangeLog::parseLogLine($lines[$i]);
137 // keep old lines for now (append .$i to prevent key collisions)
138 $old_lines[$log['date'] . ".$i"] = $lines[$i];
140 // definitely keep these lines
141 $out_lines[$log['date'] . ".$i"] = $lines[$i];
145 if (count($lines) === count($out_lines)) {
156 $extra = $conf['recent'] - count($out_lines); // do we need extra lines d
[all...]
H A Dchangelog.php183 $lines = @file($conf['media_changelog']) ?: [];
185 $lines = @file($conf['changelog']) ?: [];
187 if (!is_array($lines)) {
188 $lines = [];
190 $lines_position = count($lines) - 1;
202 $seen = []; // caches seen lines, _handleRecentLogLine() skips them
204 // handle lines
207 $rec = _handleRecentLogLine(@$lines[$lines_position], $ns, $flags, $seen);
284 $lines = @file($conf['media_changelog']);
286 $lines
[all...]
H A Dconfutils.php145 $lines = file(DOKU_INC . 'lib/scripts/jquery/versions');
146 foreach ($lines as $line) {
212 * Builds a hash from an array of lines
221 * @param array $lines
226 function linesToHash($lines, $lower = false)
230 if (isset($lines[0]) && str_starts_with($lines[0], pack('CCC', 0xef, 0xbb, 0xbf)))
231 $lines[0] = substr($lines[0], 3);
232 foreach ($lines a
218 linesToHash($lines, $lower = false) global() argument
[all...]
H A Dio.php145 * @param bool $array return array of lines
157 $lines = [];
170 $lines[] = substr($str, 0, $pos + 1);
179 $lines[] = $str;
181 return $lines;
320 * The default, when $maxlines is 0 is to delete all matching lines then append a single line.
324 * Otherwise each line is matched and replaced individually, up to the first $maxlines lines
325 * or all lines if $maxlines is -1. If $regex is true then captures can be used in $newline.
327 * Be sure to include the trailing newline in $oldline when replacing entire lines.
357 $lines
[all...]
/dokuwiki/inc/HTTP/
H A DHTTPClient.php778 $lines = explode("\n", $string);
779 array_shift($lines); //skip first line (status)
780 foreach ($lines as $line) {
/dokuwiki/inc/Search/
H A DIndexer.php737 // load all lines and pages so the used lines can be taken and matched with the pages
738 $lines = $this->getIndex($metaname . '_i', '');
743 $pages = array_keys($this->parseTuples($page_idx, $lines[$value_id]));
866 $lines = $this->getIndex($metaname . '_i', '');
867 foreach ($lines as $line) {
994 * @return array list of lines without CR or LF argument
1011 * @param array $lines list of lines without LF
1016 protected function saveIndex($idx, $suffix, &$lines)
[all...]
/dokuwiki/inc/Subscriptions/
H A DSubscriberManager.php190 $lines = file($file);
191 foreach ($lines as $line) {
/dokuwiki/lib/exe/
H A Dcss.php232 $lines = explode("\n", $css);
234 if (preg_match('/\/(\* XXXXXXXXX )(.*?)( XXXXXXXXX \*)\//', $lines[$i], $m)) {
/dokuwiki/lib/plugins/acl/
H A Dadmin.php137 // prepare lines
138 $lines = [];
142 $lines[] = $line;
158 $lines[] = "$where\t$who\t$perm\n";
162 io_saveFile($config_cascade['acl']['default'], implode('', $lines));
735 // first make sure we won't end up with 2 lines matching this user and scope. See issue #1115
/dokuwiki/lib/plugins/authplain/
H A Dauth.php417 $lines = file($file);
418 foreach ($lines as $line) {
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php99 $lines = $this->getLogLines($logfile);
100 $this->printLogLines($lines);
133 * Read the lines of the logfile and return them as array
158 $lines = explode("\n", $logData);
162 array_shift($lines); // Discard the first line
163 while ($lines !== [] && str_starts_with($lines[0], ' ')) {
164 array_shift($lines); // Discard indented lines
167 // A message to inform users that previous lines ar
178 printLogLines($lines) global() argument
[all...]
/dokuwiki/lib/tpl/dokuwiki/css/
H A D_diff.css15 /* no style.ini colours because deleted and added lines have a fixed background colour */
H A D_links.css62 /* RTL corrections; if link icons don't work as expected, remove the following lines */
/dokuwiki/vendor/geshi/geshi/
H A DCHANGELOG552 * Fixed HTML comments spawning multiple lines producing invalid XHTML output (SF#1738173, BenBE)
715 multiple lines properly when line numbers are on (Validome)
772 - Fixed lines being collapsed when they contain just a space (artlover)
797 - Reset extra lines to highlight if source is changed (Diogo Resende)
903 - Bugfix: the line style for non-fancy lines when fancy highlighting is enabled
991 - Code lines can have their own unique ID (for use with javascript)
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php75 /** Use a pre to wrap lines when line numbers are enabled or to wrap the whole code. */
384 * Styles of lines that should be highlighted extra
390 * Styles of extra-highlighted lines
440 * Line number styles for fancy lines
944 * For fancy line numbers, the second parameter is used to signal which lines
949 * @param int $nth_row Defines which lines are fancy
963 * span over multiple lines or not. Defaults to true to reduce overhead.
1811 * Specifies which lines to highlight extra
1815 * @param mixed $lines An array of line numbers to highlight, or just a line
1824 public function highlight_lines_extra($lines, argument
[all...]
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php
/dokuwiki/vendor/openpsa/universalfeedcreator/
H A DLICENSE265 functions (ten lines or less in length), then the use of the object

12