<input type="hidden" name="option" value="<?php echo $option; ?> " /> <input type="hidden" name="task" value="modifyprice" /> </form> <pre> </pre> <?php break; case "saveprices": if ($v15) { JToolBarHelper::title(JText::_("DOCman PayPal IPN Prices Saved!"), 'docmanPayPalLogo'); } $dm->updatePrices(JRequest::getVar('price'), JRequest::getVar('downloadslimit'), JRequest::getVar('saleslimit'), JRequest::getVar('offlineGood'), JRequest::getVar('vendor'), JRequest::getVar('buttons')); $mainframe->redirect('index.php?&option=com_docmanpaypal&task=modifyprice', JText::_("COM_DOCMANPAYPAL_DMP_PRICESUPDATED")); //echo "<h1>" . JText::_("COM_DOCMANPAYPAL_DMP_OPERATION_COMPLETED") . "</h1>"; break; case "saveconfig": if ($v15) { JToolBarHelper::title(JText::_("DOCman PayPal IPN Configuration Saved!"), 'docmanPayPalLogo'); } $dm->saveConfig(); $mainframe->redirect('index.php?&option=com_docmanpaypal&task=config', JText::_("COM_DOCMANPAYPAL_DMP_CONFIGURATIONSAVED")); //echo "<h1>" . JText::_("COM_DOCMANPAYPAL_DMP_OPERATION_COMPLETED") . "</h1>"; break; case "config": $dm->hackDOCman(); if ($v15) { JToolBarHelper::title(JText::_("DOCman PayPal IPN " . $dm->getVersion() . ' ' . JText::_("COM_DOCMANPAYPAL_DMP_CONFIGURATION")), 'docmanPayPalLogo');