Changeset 485 for trunk/phpbms/modules/base/scheduler_addedit.php
- Timestamp:
- 04/07/09 11:44:18 (3 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/modules/base/scheduler_addedit.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/base/scheduler_addedit.php
r290 r485 1 <?php 1 <?php 2 2 /* 3 3 $Rev: 197 $ | $LastChangedBy: brieb $ … … 45 45 $thetable = new schedulers($db,201); 46 46 $therecord = $thetable->processAddEditPage(); 47 47 48 48 if(isset($therecord["phpbmsStatus"])) 49 $statusmessage = $therecord["phpbmsStatus"]; 50 49 $statusmessage = $therecord["phpbmsStatus"]; 50 51 51 $pageTitle="Scheduler"; 52 52 53 53 $currentpath=getcwd(); 54 54 55 55 $phpbms->cssIncludes[] = "pages/scheduler.css"; 56 56 … … 58 58 //============================================================== 59 59 $theform = new phpbmsForm(); 60 60 61 61 $theinput = new inputCheckbox("inactive",$therecord["inactive"]); 62 62 $theform->addField($theinput); … … 72 72 $theform->addField($theinput); 73 73 74 $theinput = new inputTimePicker("starttime",$therecord["starttime"], "start time" , false,11, 15, false);75 $theinput->setAttribute("onchange","checkEndDate();");76 $theform->addField($theinput); 77 74 $theinput = new inputTimePicker("starttime",$therecord["starttime"], "start time" ,true,11, 15, false); 75 //$theinput->setAttribute("onchange","checkEndDate();"); 76 $theform->addField($theinput); 77 78 78 $theinput = new inputDatePicker("enddate",$therecord["enddate"], "end date" ,false, 11, 15, false); 79 79 $theform->addField($theinput); 80 80 81 81 $theinput = new inputTimePicker("endtime",$therecord["endtime"], "end time" ,false,11, 15, false); 82 $theform->addField($theinput); 82 $theform->addField($theinput); 83 83 84 84 $theform->jsMerge(); 85 85 //============================================================== 86 //End Form Elements 87 86 //End Form Elements 87 88 88 include("header.php"); 89 89 90 90 ?><div class="bodyline"> 91 <?php $theform->startForm($pageTitle)?> 92 91 <?php $theform->startForm($pageTitle)?> 92 93 93 <fieldset id="fsAttributes"> 94 94 <legend>attributes</legend> … … 97 97 <input id="id" name="id" type="text" value="<?php echo htmlQuotes($therecord["id"]); ?>" size="10" maxlength="10" readonly="readonly" class="uneditable" /> 98 98 </p> 99 99 100 100 <p><?php $theform->showField("inactive");?></p> 101 101 … … 105 105 </p> 106 106 </fieldset> 107 107 108 108 <div id="leftSideDiv"> 109 109 <fieldset> … … 116 116 <legend>Scheduled Job</legend> 117 117 118 <p><?php $theform->showField("name");?></p> 118 <p><?php $theform->showField("name");?></p> 119 119 120 120 <p> … … 127 127 </p> 128 128 </fieldset> 129 129 130 130 <fieldset> 131 131 <legend>Interval</legend> … … 151 151 </p> 152 152 <p class="notes" id="standarNotationP">(Uses standard crontab notation.)</p> 153 153 154 154 </fieldset> 155 155 <fieldset> … … 157 157 <p> 158 158 <label for="startdate">start</label><br /> 159 <?php $theform->showField("startdate");?> <?php $theform->showField("starttime");?> 159 <?php $theform->showField("startdate");?> <?php $theform->showField("starttime");?> 160 160 </p> 161 161 <p> 162 162 <label for="enddate">end</label><br /> 163 <?php $theform->showField("enddate");?> <?php $theform->showField("endtime");?> 163 <?php $theform->showField("enddate");?> <?php $theform->showField("endtime");?> 164 164 </p> 165 165 </fieldset> 166 166 </div> 167 167 168 <?php 168 <?php 169 169 $theform->showCreateModify($phpbms,$therecord); 170 170 $theform->endForm();