Subversion-Projekte lars-tiefland.inventar

Revision

Revision 14 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 14 Revision 20
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile 2... Zeile 2...
2
 
2
 
Zeile 3... Zeile 3...
3
	//$Id: index.php 14 2008-05-15 18:19:36Z lars $
3
	//$Id: index.php 20 2008-05-15 19:12:18Z lars $
4
	
4
	
5
	/**
5
	/**
6
	 * @package	Inventar Datenbank
6
	 * @package	Inventar Datenbank
Zeile 14... Zeile 14...
14
	{
14
	{
15
		case "details";
15
		case "details";
16
			$tpl_f="details.tpl";
16
			$tpl_f="details.tpl";
17
			$s=new comp($_POST["id"]);
17
			$s=new comp($_POST["id"]);
18
			$comp=$s->toArray();
18
			$comp=$s->toArray();
-
 
19
			$comp_hw=computer_hardware::getHardware($_POST["id"]);
-
 
20
			$smarty->assign("comp_hw",$comp_hw);
19
			$smarty->assign("comp",$comp);
21
			$smarty->assign("comp",$comp);
20
		break;
22
		break;
21
		case "edit":
23
		case "edit":
22
			$tpl_f="edit.tpl";
24
			$tpl_f="edit.tpl";
23
		break;
25
		break;