<?PHP
if (!defined('IS_DEDI')) die();
include_once($cfg_dedi['dedi_path'].'inc/inc.init_external.php');
echo '<?xml version="1.0" encoding="iso-8859-1"?>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>Liste einfügen</title>

		<base href="<?PHP echo $cfg_dedi['dedi_html_path'] . 'external/bbcode/'; ?>" />

		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
		<link rel="stylesheet" type="text/css" href="form.css" />

		<script type="text/javascript" src="form.js"></script>
		<script type="text/javascript">var formname = '<?PHP echo $_GET['formname']; ?>';</script>
	</head>
	<body onload="setfocus('currentitem');">
		<form action="#" onsubmit="return false;">
		<table><tbody>
			<tr>
				<td>
					<select id="list" size="5" style="width: 250px; height: 150px;" multiple="multiple" onclick="list_select();">
							<option value="-noentry-" disabled="disabled">Noch kein Eintrag</option>
					</select>
				</td><td>
					<input type="button" class="button" value="Nach Oben" onclick="list_top();" /><br />
					<input type="button" class="button" value="Hoch" onclick="list_up();" /><br />
					<input type="button" class="button" value="Umkehren" onclick="list_reverse();" /><br />
					<input type="button" class="button" value="Runter" onclick="list_down();" /><br />
					<input type="button" class="button" value="Nach Unten" onclick="list_bottom();" /><br /><br />
					<input type="checkbox" class="fixedcheckbox" id="numbered" value="1" /><label for="numbered" class="checkbox">Numeriert</label>
				</td>
			</tr><tr>
				<td>
					<input type="text" class="text" size="30" id="currentitem" name="currentitem" style="width: 250px;" />
				</td><td>
					<input type="button" class="button" value="Übernhemen" onclick="list_update();" /><br />
				</td>
			</tr><tr>
				<td class="c">
					<input type="submit" class="button" value="Hinzufügen" onclick="list_add();" />
					<input type="button" class="button" value="Entfernen" onclick="list_remove();" />
					<input type="button" class="button" value="OK" onclick="list_build();" />
				</td>
			</tr>
		</tbody></table>
		</form>
	</body>
</html>