plugins/SpecialAdmin.php
changeset 1288 bf59bcc79baf
parent 1282 49e90e1d9756
child 1352 d97cf005f674
equal deleted inserted replaced
1287:2c95a2c538c8 1288:bf59bcc79baf
  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>