admin/customer.php 1 location
|
@@ 170-177 (lines=8) @@
|
167 |
|
|
168 |
|
break; |
169 |
|
|
170 |
|
case 'new': |
171 |
|
$adminObject->addItemButton(AM_EQUIPMENT_CUSTOMER_LIST, 'customer.php', 'list'); |
172 |
|
echo $adminObject->displayButton('left'); |
173 |
|
|
174 |
|
$customerObject = $customerHandler->create(); |
175 |
|
$form = $customerObject->getForm(); |
176 |
|
$form->display(); |
177 |
|
break; |
178 |
|
|
179 |
|
case 'save': |
180 |
|
if (!$GLOBALS['xoopsSecurity']->check()) { |
admin/equipment.php 1 location
|
@@ 166-173 (lines=8) @@
|
163 |
|
|
164 |
|
break; |
165 |
|
|
166 |
|
case 'new': |
167 |
|
$adminObject->addItemButton(AM_EQUIPMENT_EQUIPMENT_LIST, 'equipment.php', 'list'); |
168 |
|
echo $adminObject->displayButton('left'); |
169 |
|
|
170 |
|
$equipmentObject = $equipmentHandler->create(); |
171 |
|
$form = $equipmentObject->getForm(); |
172 |
|
$form->display(); |
173 |
|
break; |
174 |
|
|
175 |
|
case 'save': |
176 |
|
if (!$GLOBALS['xoopsSecurity']->check()) { |
admin/rentals.php 1 location
|
@@ 171-178 (lines=8) @@
|
168 |
|
|
169 |
|
break; |
170 |
|
|
171 |
|
case 'new': |
172 |
|
$adminObject->addItemButton(AM_EQUIPMENT_RENTALS_LIST, 'rentals.php', 'list'); |
173 |
|
echo $adminObject->displayButton('left'); |
174 |
|
|
175 |
|
$rentalsObject = $rentalsHandler->create(); |
176 |
|
$form = $rentalsObject->getForm(); |
177 |
|
$form->display(); |
178 |
|
break; |
179 |
|
|
180 |
|
case 'save': |
181 |
|
if (!$GLOBALS['xoopsSecurity']->check()) { |