00001 <?PHP
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 global $setup_folder, $i18nstrings, $page_help, $permissionlevels_array;
00018
00019
00020 if( file_exists( "$setup_folder/i18n/$language/i18n.inc" ) )
00021 include( "$setup_folder/i18n/$language/i18n.inc" );
00022
00023
00024 $fp = opendir("$setup_folder/modules");
00025 while ($file = readdir($fp)) {
00026 if( substr( $file, 0, 1 ) != "." )
00027 if( file_exists( "$setup_folder/modules/$file/i18n.$language.inc" ) )
00028 include( "$setup_folder/modules/$file/i18n.$language.inc" );
00029 }
00030 closedir($fp);
00031
00032
00033 $page_help["//<br />
00034 /<br />
00035 txt1<br />
00036 txt2<br />
00037 /<br />
00038 txt3<br />
00039 txt4<br />
00040 txt5<br />
00041 //"] = i18n("Will produce this table:") . "<table><tr><td>txt1</td><td>txt2</td></tr><tr><td>txt3</td><td>txt4</td><td>txt5</td></tr></table>";
00042 $page_help["* txt1\n** txt2\n# txt3"] = i18n("Will produce three list items: txt1 will be first level in a bulleted list, txt2 will be second level in a bulleted list, and txt3 will be first level in an ordered (numbered) list");
00043 $page_help["{txt1||txt2||txt3||txt4}"] = i18n("Will produce an image for the uploaded file txt1, and the picture will be given the title txt2. The picture will be scaled to the width txt3, and floated to txt4 (correct values are left and right)");
00044 $page_help["{txt1||txt2||txt3}"] = i18n("Will produce an image for the uploaded file txt1, and the picture will be given the title txt2. The picture will be floated to txt3 (correct values are left and right)");
00045 $page_help["{txt1||txt2}"] = i18n("Will produce an image for the uploaded file txt1, and the picture will be given the title txt2 (this will make most browsers show a tooltip)");
00046 $page_help["{{txt1||txt2}}"] = i18n("Will produce a link to an uploaded file txt1 with the title txt2");
00047 $page_help["%%txt1||txt2%%"] = i18n("Will produce a link to the profile page for the user with id txt1, showing it as txt2");
00048 $page_help["%%txt1%%"] = i18n("Will produce a link to the profile page for the user with id txt1, replacing txt1 with the user's full name");
00049 $page_help[":txt1"] = i18n("Will put txt1 in a preformatted format, for example for showing code");
00050 $page_help[">>txt1<br />||txt2"] = i18n("Right aligns txt1 and centers txt2");
00051 $page_help["//txt1//<br />**txt2**<br />__txt3__"] = i18n("These will make the text txt1 emphasized (italic), txt2 bold and txt3 underlined. Please note that emphasized text cannot contain links.");
00052 $page_help["!txt1<br />
00053 !!txt2<br />
00054 !!!txt3<br />
00055 !!!!txt4<br />
00056 !!!!!txt5"] = i18n("When written as the first thing on a line, this will make the line into a header of the level indicated by the number of exclamation marks");
00057 $page_help["[[txt1||txt2||{txt3||txt4||txt5}]]<br />
00058 ((txt1||txt2||{txt3||txt4||txt5}))"] = i18n("Will produce links as explained above, but with an image showing in stead (as shown below)");
00059 $page_help["[[txt1||txt2||txt3]]"] = i18n("Will produce a link to an external resource txt1 (for example http://uberghey.sf.net/), but show the link at txt3, and with the tooltip txt2");
00060 $page_help["[[txt1||txt2]]"] = i18n("Will produce a link to an external resource txt1 (for example http://uberghey.sf.net/), but show the link as txt2");
00061 $page_help["[[txt1]]"] = i18n("Will produce a link to an external resource txt1 (for example ##0##)", array("http://leinir.dk/travelsized/"));
00062 $page_help["(((txt1||txt2)))"] = i18n("Will create a description link, where the text shown would be txt1, and hovering over it with the mouse would show txt2");
00063 $page_help["((txt1||txt2))"] = i18n("Will produce a link to a page with the title txt1, but show the link as txt2");
00064 $page_help["((txt1))"] = i18n("Will produce a link to a page with the title txt1");
00065
00066 $page_help = array_reverse($page_help);
00067
00068
00069
00070 $permissionlevels_array = array(
00071 0 => i18n("Everybody"),
00072 1 => i18n("Registered users only"),
00073 2 => i18n("Registered users, except blacklisted"),
00074 3 => i18n("Friends only"),
00075 4 => i18n("Noone, except administrator"));
00076
00077 ?>