Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 27) sorted by relevance

12

/dokuwiki/inc/ChangeLog/
H A DChangeLog.php102 foreach ($lines as $value) {
140 $lines = array();
164 $lines = file($file);
207 $lines = array_merge($tmp, $lines);
223 $lines = array_slice($lines, max(count($lines) - $first - $num, 0), $num);
226 $lines = array_slice($lines, 0, max(count($lines) - $first, 0));
228 $lines = array_slice($lines, max(count($lines) - $num, 0));
461 $lines,
493 return $lines;
637 $lines = array();
[all …]
/dokuwiki/inc/
H A DDifferenceEngine.php484 while ($i < $len && $lines[$start] == $lines[$i]) {
599 array_splice($lines, count($lines), 0, $edit->orig);
601 return $lines;
617 array_splice($lines, count($lines), 0, $edit->closing);
619 return $lines;
1343 $lines = array_merge($lines,
1351 $lines = array_merge($lines, $edit->merged());
1478 $this->orig = $lines ? $lines : array();
1504 if ($lines) {
1510 if ($lines) {
[all …]
H A DTaskRunner.php110 $lines = file($fn);
111 if (count($lines) <= $conf['recent']) {
122 for ($i = 0; $i < count($lines); $i++) {
123 $log = parseChangelogLine($lines[$i]);
130 $old_lines[$log['date'] . ".$i"] = $lines[$i];
133 $out_lines[$log['date'] . ".$i"] = $lines[$i];
137 if (count($lines) == count($out_lines)) {
H A Dconfutils.php136 $lines = file(DOKU_INC . 'lib/scripts/jquery/versions');
137 foreach($lines as $line) {
213 * @param array $lines
218 function linesToHash($lines, $lower = false) { argument
221 if(isset($lines[0]) && substr($lines[0], 0, 3) == pack('CCC', 0xef, 0xbb, 0xbf))
222 $lines[0] = substr($lines[0], 3);
223 foreach($lines as $line) {
259 $lines = @file( $file );
260 if ( !$lines ) return $conf;
262 return linesToHash($lines, $lower);
H A Dchangelog.php224 $lines = @file($conf['media_changelog']) ?: [];
226 $lines = @file($conf['changelog']) ?: [];
228 if (!is_array($lines)) {
229 $lines = array();
231 $lines_position = count($lines)-1;
248 $rec = _handleRecent(@$lines[$lines_position], $ns, $flags, $seen);
317 $lines = @file($conf['media_changelog']);
319 $lines = @file($conf['changelog']);
321 if(!$lines) return $recent;
324 $lines = array_reverse($lines);
[all …]
H A Dio.php141 if($array) $lines = array();
161 if($str !== '') $lines[] = $str;
162 return $lines;
326 $lines = gzfile($file);
329 $lines = bzfile($file, true);
331 $lines = file($file);
342 foreach($lines as $i => $line) {
349 $lines = preg_grep($pattern, $lines, PREG_GREP_INVERT);
352 $lines[] = $newline;
355 $lines = preg_replace($pattern, $replace, $lines);
[all …]
H A DLogger.php156 * @param string[] $lines the raw lines to append to the log
159 protected function writeLogLines($lines) argument
162 return io_saveFile($logfile, join("\n", $lines) . "\n", true);
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php96 $lines = file($logfile);
97 $cnt = count($lines);
99 $line = $lines[$i];
106 $line = $lines[$i++];
/dokuwiki/conf/
H A Dusers.auth.php.dist3 # Don't modify the lines above
H A Dacl.auth.php.dist3 # Don't modify the lines above
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DMBOXCreator.php32 $lines = preg_split("/(?:\r\n|\r|\n)/", $input);
36 foreach ($lines as $line) {
/dokuwiki/inc/Cache/
H A DCache.php206 $lines = explode("\n", io_readFile($file));
208 foreach ($lines as $line) {
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DTableFormatter.php295 $lines = explode($break, $str);
296 foreach ($lines as &$line) {
323 return implode($break, $lines);
/dokuwiki/inc/Subscriptions/
H A DSubscriberManager.php187 $lines = file($file);
188 foreach ($lines as $line) {
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php1825 if (is_array($lines)) {
1827 foreach ($lines as $line) {
1832 $lines = intval($lines);
1833 $this->highlight_extra_lines[$lines] = $lines;
3124 $lines = explode("\n", $result);
3130 $line = $lines[$key];
3153 $lines[$key] .= $char;
3156 $lines[$key] .= '<';
3165 $lines[$key] .= $char;
3180 $lines[$key] .= $str;
[all …]
/dokuwiki/inc/Search/
H A DIndexer.php720 $lines = $this->getIndex($metaname.'_i', '');
725 $pages = array_keys($this->parseTuples($page_idx, $lines[$value_id]));
846 $lines = $this->getIndex($metaname.'_i', '');
847 foreach ($lines as $line) {
989 * @param array $lines list of lines without LF
994 protected function saveIndex($idx, $suffix, &$lines) { argument
999 fwrite($fh, join("\n", $lines));
1000 if (!empty($lines))
/dokuwiki/lib/tpl/dokuwiki/css/
H A D_links.css62 /* RTL corrections; if link icons don't work as expected, remove the following lines */
H A D_diff.css15 /* no style.ini colours because deleted and added lines have a fixed background colour */
/dokuwiki/lib/plugins/acl/
H A Dadmin.php134 $lines = array();
138 $lines[] = $line;
154 $lines[] = "$where\t$who\t$perm\n";
158 io_saveFile($config_cascade['acl']['default'], join('', $lines));
/dokuwiki/lib/plugins/authplain/
H A Dauth.php408 $lines = file($file);
409 foreach ($lines as $line) {
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php244 if (count($this->scope->lines) > 0) {
248 $orphan->lines = $this->scope->lines;
250 $this->scope->lines = array();
291 $out->lines = $this->deduplicate($out->lines);
303 foreach($lines as $line) {
780 $out->lines[] = $prop[1];
787 $out->lines[] = $prop[1];
809 $out->lines[] = $import[1];
1965 $b->lines = array();
3934 if (empty($block->lines)) {
[all …]
/dokuwiki/lib/exe/
H A Dcss.php219 $lines = explode("\n", $css);
221 if(preg_match('/\/(\* XXXXXXXXX )(.*?)( XXXXXXXXX \*)\//', $lines[$i], $m)){
/dokuwiki/inc/HTTP/
H A DHTTPClient.php770 $lines = explode("\n",$string);
771 array_shift($lines); //skip first line (status)
772 foreach($lines as $line){
/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/data/pages/wiki/
H A Dsyntax.txt20 **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph…
422 …dvanced options]] available for syntax highlighting, such as highlighting lines or adding line num…

12