function input_modified($today, $valid_user) { //Fetch the data $moduserdata = formdata::getdata_btn('hidden', 'modifiedby', $valid_user, 0); $modatedata = formdata::getdata_btn('hidden', 'modified', $today, 0); //Display it formdisplay::display_btn($moduserdata, 'default'); formdisplay::display_btn($modatedata, 'default'); }
include_once 'includes/configuration/core_configuration.php'; include_once "includes/commonPages/system_header.php"; $table = 'workflowModels'; ?> <form method="POST" action="createWorkflow.php"> <table border="0"> <tr> <td width="20"><img src="images/wsb_side.gif" border="0"></td> <td class="formbold" width="550"> Workflow Model:<br> <?php $selectdata = formdata::getdata_select('modelId', 'description', '', $table, 0, 0, 0, 0); formdisplay::display_select($selectdata, 'default'); ?> </td> </tr> <tr> <td></td> <td> <br><br> <?php $submitButton = formdata::getdata_btn('submit', 'submit', 'Add workflow item', ''); formdisplay::display_btn($submitButton, 'default'); ?> </td></tr></form> </form> </table> <?php include_once "includes/commonPages/system_footer.php";
} ?> </td> </tr> <!-- BUTTONS --> <?php hr(2); ?> <tr> <td colspan="2"> <?php $btndata = formdata::getdata_btn("submit", "submit", 'Save', ""); formdisplay::display_btn($btndata, 'default'); ?> </td> </tr> <?php hr(2); ?> </form> </table> <!-- FORM ENDS -->