|
@@ 455-470 (lines=16) @@
|
| 452 |
|
echo "</tr>\n"; |
| 453 |
|
|
| 454 |
|
$fnlang = strtolower($fndata->fields['prolanguage']); |
| 455 |
|
if ($fnlang == 'c') { |
| 456 |
|
echo "<tr><th class=\"data required\" colspan=\"2\">{$lang['strobjectfile']}</th>\n"; |
| 457 |
|
echo "<th class=\"data\" colspan=\"2\">{$lang['strlinksymbol']}</th></tr>\n"; |
| 458 |
|
echo '<tr><td class="data1" colspan="2"><input type="text" name="formObjectFile" style="width:100%" value="', |
| 459 |
|
htmlspecialchars($_POST['formObjectFile']), "\" /></td>\n"; |
| 460 |
|
echo '<td class="data1" colspan="2"><input type="text" name="formLinkSymbol" style="width:100%" value="', |
| 461 |
|
htmlspecialchars($_POST['formLinkSymbol']), "\" /></td></tr>\n"; |
| 462 |
|
} elseif ($fnlang == 'internal') { |
| 463 |
|
echo "<tr><th class=\"data\" colspan=\"5\">{$lang['strlinksymbol']}</th></tr>\n"; |
| 464 |
|
echo '<tr><td class="data1" colspan="5"><input type="text" name="formLinkSymbol" style="width:100%" value="', |
| 465 |
|
htmlspecialchars($_POST['formLinkSymbol']), "\" /></td></tr>\n"; |
| 466 |
|
} else { |
| 467 |
|
echo "<tr><th class=\"data required\" colspan=\"5\">{$lang['strdefinition']}</th></tr>\n"; |
| 468 |
|
echo '<tr><td class="data1" colspan="5"><textarea style="width:100%;" rows="20" cols="50" name="formDefinition">', |
| 469 |
|
htmlspecialchars($_POST['formDefinition']), "</textarea></td></tr>\n"; |
| 470 |
|
} |
| 471 |
|
|
| 472 |
|
// Display function comment |
| 473 |
|
echo "<tr><th class=\"data\" colspan=\"5\">{$lang['strcomment']}</th></tr>\n"; |
|
@@ 1004-1019 (lines=16) @@
|
| 1001 |
|
echo "</tr>\n"; |
| 1002 |
|
echo "{$szJSAddTR}\n"; |
| 1003 |
|
|
| 1004 |
|
if ($fnlang == 'c') { |
| 1005 |
|
echo "<tr><th class=\"data required\" colspan=\"2\">{$lang['strobjectfile']}</th>\n"; |
| 1006 |
|
echo "<th class=\"data\" colspan=\"2\">{$lang['strlinksymbol']}</th></tr>\n"; |
| 1007 |
|
echo '<tr><td class="data1" colspan="2"><input type="text" name="formObjectFile" style="width:100%" value="', |
| 1008 |
|
htmlspecialchars($_POST['formObjectFile']), "\" /></td>\n"; |
| 1009 |
|
echo '<td class="data1" colspan="2"><input type="text" name="formLinkSymbol" style="width:100%" value="', |
| 1010 |
|
htmlspecialchars($_POST['formLinkSymbol']), "\" /></td></tr>\n"; |
| 1011 |
|
} elseif ($fnlang == 'internal') { |
| 1012 |
|
echo "<tr><th class=\"data\" colspan=\"4\">{$lang['strlinksymbol']}</th></tr>\n"; |
| 1013 |
|
echo '<tr><td class="data1" colspan="4"><input type="text" name="formLinkSymbol" style="width:100%" value="', |
| 1014 |
|
htmlspecialchars($_POST['formLinkSymbol']), "\" /></td></tr>\n"; |
| 1015 |
|
} else { |
| 1016 |
|
echo "<tr><th class=\"data required\" colspan=\"4\">{$lang['strdefinition']}</th></tr>\n"; |
| 1017 |
|
echo '<tr><td class="data1" colspan="4"><textarea style="width:100%;" rows="20" cols="50" name="formDefinition">', |
| 1018 |
|
htmlspecialchars($_POST['formDefinition']), "</textarea></td></tr>\n"; |
| 1019 |
|
} |
| 1020 |
|
|
| 1021 |
|
// Display function comment |
| 1022 |
|
echo "<tr><th class=\"data\" colspan=\"4\">{$lang['strcomment']}</th></tr>\n"; |