| @@ 500-504 (lines=5) @@ | ||
| 497 | } |
|
| 498 | ||
| 499 | // Comments (if available) |
|
| 500 | if ($data->hasSharedComments()) { |
|
| 501 | echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n"; |
|
| 502 | echo "\t\t<td><textarea name=\"formComment\" rows=\"3\" cols=\"32\">", |
|
| 503 | htmlspecialchars($_POST['formComment']), "</textarea></td>\n\t</tr>\n"; |
|
| 504 | } |
|
| 505 | ||
| 506 | echo "</table>\n"; |
|
| 507 | echo "<p><input type=\"hidden\" name=\"action\" value=\"save_create\" />\n"; |
|
| @@ 211-216 (lines=6) @@ | ||
| 208 | $users->moveNext(); |
|
| 209 | } |
|
| 210 | echo "</select></td></tr>\n"; |
|
| 211 | if ($data->hasSharedComments()) { |
|
| 212 | echo "<tr><th class=\"data left\">{$lang['strcomment']}</th>\n"; |
|
| 213 | echo '<td class="data1">'; |
|
| 214 | echo '<textarea rows="3" cols="32" name="comment">', |
|
| 215 | htmlspecialchars($_POST['comment']), "</textarea></td></tr>\n"; |
|
| 216 | } |
|
| 217 | echo "</table>\n"; |
|
| 218 | echo "<p><input type=\"hidden\" name=\"action\" value=\"save_edit\" />\n"; |
|
| 219 | echo '<input type="hidden" name="tablespace" value="', htmlspecialchars($_REQUEST['tablespace']), "\" />\n"; |
|
| @@ 341-345 (lines=5) @@ | ||
| 338 | echo "\t<tr>\n\t\t<th class=\"data left required\">{$lang['strlocation']}</th>\n"; |
|
| 339 | echo "\t\t<td class=\"data1\"><input size=\"32\" name=\"formLoc\" value=\"", htmlspecialchars($_POST['formLoc']), "\" /></td>\n\t</tr>\n"; |
|
| 340 | // Comments (if available) |
|
| 341 | if ($data->hasSharedComments()) { |
|
| 342 | echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n"; |
|
| 343 | echo "\t\t<td><textarea name=\"formComment\" rows=\"3\" cols=\"32\">", |
|
| 344 | htmlspecialchars($_POST['formComment']), "</textarea></td>\n\t</tr>\n"; |
|
| 345 | } |
|
| 346 | echo "</table>\n"; |
|
| 347 | echo "<p><input type=\"hidden\" name=\"action\" value=\"save_create\" />\n"; |
|
| 348 | echo "<input type=\"submit\" value=\"{$lang['strcreate']}\" />\n"; |
|