Lines Matching +full:i +full:- +full:plus
2 // dokuwiki2mediawiki.php (c) 2010-2015 by Thorsten Staerk
5 // The source file is given by parameter, the target file is the source file plus a
18 echo "dokuwiki2mediawiki.php (c) 2010-2012 by Thorsten Staerk\n";
20 …echo "The source file is given as an argument, the target file is the same plus the suffix \".mod\…
29 $i=0; variable
35 $lines[$i++]=fgets($inputfile); //we start counting a 0
39 $linecount=$i;
40 $i=-1; variable
42 while (++$i<$linecount)
46 $line=$lines[$i];
84 $level--;
89 $level=0; // level of list items, e.g. - is level 1, --- is level 3.
90 while (preg_match('/^( )+\-/',$line))
94 $line=preg_replace("/^-/","#",$line);
100 $level--;
191 if ($n<count($headers)-1) $tablesource.="!!";
193 $tablesource.="\n|-\n";
204 if ($x<count($cells[$y])-1) $tablesource.=" || ";
207 $tablesource.="\n|-\n";
234 } //while (++$i<$linecount)