<table>
<tr><td>
<h6><?p("ID_SETUP_MENU_TEXTS");?></h6>
</td></tr>
<tr><td>
<form name="main_setup" action="main.php" method="post">
<div class="description"><?p("ID_SETUP_TEXTS_DESC")?></div>
<fieldset><legend><?p("ID_SETUP_MENU_TEXTS")?></legend><div class="form-item">
<div class="description"><?p("ID_SETUP_TEXTS_GUIDE")?></div><br/>
<table width="100%" cellpadding="5" cellspacing="0" style="border: 1px solid #aaa;">
<? $row=1;
foreach($pa_texts as $key=>$text){
if($row==1){
echo "<tr bgcolor=\"#FFFFFF\" onmouseout=\"this.style.backgroundColor=''\" onmouseover=\"this.style.backgroundColor='#ccddFF'\">";
$row=2;
}else{
echo "<tr bgcolor=\"#EEEEEE\" onmouseout=\"this.style.backgroundColor=''\" onmouseover=\"this.style.backgroundColor='#ccddFF'\">";
$row=1;
}
?>
<td style="border-bottom: 1px solid #888;">
<font color="#888888">[<?=$key?>] </font>
<font color="#008800"><?=pa_html_encode($text)?></font><br/>
<?if(isset($pa_translated_texts[$key])){$bgcol="#fff";}else{$bgcol="ffc";}?>
<div style="padding: 2px;"><input style="padding: 2px; border:1px dotted #888; background-color: <?=$bgcol?>;" type="text" size="80" value="<?=pa_html_encode($pa_translated_texts[$key])?>" name="<?=$key?>"/></div>
</tr>
<? } ?>
</table>
<input type="hidden" name="cmd" value="setup"/><input type="hidden" name="var1" value="texts"/><input type="hidden" name="var2" value="save"/>
<table width="100%"><tr><td></td>
<input type="submit" class="form-submit" value="<?p("ID_SETUP_SAVE_CONFIG")?>" />
<input type="reset" class="form-submit" value="<?p("ID_SETUP_RESET_CONFIG")?>" />
</td></tr></table>
</form>
</td></tr>
</table>