Lines Matching refs:n
18 echo "dokuwiki2mediawiki.php (c) 2010-2012 by Thorsten Staerk\n";
19 echo "This program converts dokuwiki syntax to mediawiki syntax.\n";
20 echo "The source file is given as an argument, the target file is the same plus the suffix \".mod\"\n";
21 echo "Usage: php dokuwiki2mediawiki <file>\n";
22 echo "Example: php dokuwiki2mediawiki start.txt\n";
121 $line=preg_replace("/\n/","",$line);
135 for ($n=0;$n<count($headers);$n=$n+1)
137 echo $headers[$n]; echo "|";
139 echo "\n";
146 echo "\n";
148 echo "***** END *****\n";
180 echo "\n";
184 $tablesource="{| class=\"wikitable sortable\" border=1\n";
188 for ($n=0;$n<count($headers);$n=$n+1)
190 $tablesource.=$headers[$n];
191 if ($n<count($headers)-1) $tablesource.="!!";
193 $tablesource.="\n|-\n";
207 $tablesource.="\n|-\n";
209 $tablesource.="|}\n";
225 $line=preg_replace("/\n/","",$line);