equal
deleted
inserted
replaced
2375 echo '<div class="warning-box">Error with action: $_GET["id"] was not an integer, aborting to prevent SQL injection</div>'; |
2375 echo '<div class="warning-box">Error with action: $_GET["id"] was not an integer, aborting to prevent SQL injection</div>'; |
2376 } |
2376 } |
2377 switch($_GET['action']) |
2377 switch($_GET['action']) |
2378 { |
2378 { |
2379 case 'new': |
2379 case 'new': |
|
2380 |
|
2381 // template needs to be initialized for this |
|
2382 $template->init_vars(); |
|
2383 |
2380 ?> |
2384 ?> |
2381 |
2385 |
2382 <?php acp_start_form(); ?> |
2386 <?php acp_start_form(); ?> |
2383 |
2387 |
2384 <p> |
2388 <p> |