Location: PHPKode > projects > L-Forum > l-forum/admin/add_ln.php
<?

$nosql = 1;

include "../config.php";
include "../lib/init.inc";

auth();

$head = str_replace("__TITLE__", $lang['administration'], $design['head']);

echo $head;

include "../themes/".$theme."/header.inc";
if($HTTP_POST_VARS['f']!=1){
?>

<form method=post action="<?echo $PHP_SELF?>">
<input type=hidden name=f value=1>
<table border=0 width=80% cellspacing=0 cellpadding=2 bgcolor=black><tr><td>

<table border=0 width=100% cellspacing=1>
<tr><td colspan=2 bgcolor="<?echo $design['headercolor']?>" align=center>
<div style="font-size : 14pt">Add language</div>
</td></tr>
<tr><td bgcolor="<?echo $design['oddcolor']?>" align=center>
Language name
</td><td bgcolor="<?echo $design['oddcolor']?>" align=center>
<input name="ln_name">
</td></tr>
<tr><td bgcolor="<?echo $design['evencolor']?>" align=center>
Language shortcut (filename without extension)
</td><td bgcolor="<?echo $design['evencolor']?>" align=center>
<input name="ln_sh">
</td></tr>
<tr><td bgcolor="<?echo $design['oddcolor']?>" align=center colspan=2>
<input type=submit value="Add">
</td></tr>
</table>
</td></tr></table>
</form>
<?
}
else{
   include "../admin/save_l.inc";
}
include "../themes/".$theme."/footer.inc";
echo $design['footer'];
?>
Return current item: L-Forum