phpBMS

Show
Ignore:
Timestamp:
04/07/09 11:44:18 (3 years ago)
Author:
nate
Message:
  • Merged Nathan branch back into trunk.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/base/scheduler_addedit.php

    r290 r485  
    1 <?php  
     1<?php 
    22/* 
    33 $Rev: 197 $ | $LastChangedBy: brieb $ 
     
    4545        $thetable = new schedulers($db,201); 
    4646        $therecord = $thetable->processAddEditPage(); 
    47          
     47 
    4848        if(isset($therecord["phpbmsStatus"])) 
    49                 $statusmessage = $therecord["phpbmsStatus"];     
    50          
     49                $statusmessage = $therecord["phpbmsStatus"]; 
     50 
    5151        $pageTitle="Scheduler"; 
    52          
     52 
    5353        $currentpath=getcwd(); 
    54          
     54 
    5555        $phpbms->cssIncludes[] = "pages/scheduler.css"; 
    5656 
     
    5858                //============================================================== 
    5959                $theform = new phpbmsForm(); 
    60                  
     60 
    6161                $theinput = new inputCheckbox("inactive",$therecord["inactive"]); 
    6262                $theform->addField($theinput); 
     
    7272                $theform->addField($theinput); 
    7373 
    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 
    7878                $theinput = new inputDatePicker("enddate",$therecord["enddate"], "end date" ,false, 11, 15, false); 
    7979                $theform->addField($theinput); 
    8080 
    8181                $theinput = new inputTimePicker("endtime",$therecord["endtime"], "end time" ,false,11, 15, false); 
    82                 $theform->addField($theinput);           
     82                $theform->addField($theinput); 
    8383 
    8484                $theform->jsMerge(); 
    8585                //============================================================== 
    86                 //End Form Elements      
    87                          
     86                //End Form Elements 
     87 
    8888        include("header.php"); 
    89          
     89 
    9090?><div class="bodyline"> 
    91         <?php $theform->startForm($pageTitle)?>  
    92          
     91        <?php $theform->startForm($pageTitle)?> 
     92 
    9393        <fieldset id="fsAttributes"> 
    9494                <legend>attributes</legend> 
     
    9797                        <input id="id" name="id" type="text" value="<?php echo htmlQuotes($therecord["id"]); ?>" size="10" maxlength="10" readonly="readonly" class="uneditable" /> 
    9898                </p> 
    99                  
     99 
    100100                <p><?php $theform->showField("inactive");?></p> 
    101101 
     
    105105                </p> 
    106106        </fieldset> 
    107          
     107 
    108108        <div id="leftSideDiv"> 
    109109                <fieldset> 
     
    116116                        <legend>Scheduled Job</legend> 
    117117 
    118                         <p><?php $theform->showField("name");?></p>              
     118                        <p><?php $theform->showField("name");?></p> 
    119119 
    120120                        <p> 
     
    127127                        </p> 
    128128                </fieldset> 
    129                  
     129 
    130130                <fieldset> 
    131131                        <legend>Interval</legend> 
     
    151151                                </p> 
    152152                        <p class="notes" id="standarNotationP">(Uses standard crontab notation.)</p> 
    153                          
     153 
    154154                </fieldset> 
    155155                <fieldset> 
     
    157157                        <p> 
    158158                                <label for="startdate">start</label><br /> 
    159                                 <?php $theform->showField("startdate");?> &nbsp; <?php $theform->showField("starttime");?>       
     159                                <?php $theform->showField("startdate");?> &nbsp; <?php $theform->showField("starttime");?> 
    160160                        </p> 
    161161                        <p> 
    162162                                <label for="enddate">end</label><br /> 
    163                                 <?php $theform->showField("enddate");?> &nbsp; <?php $theform->showField("endtime");?>   
     163                                <?php $theform->showField("enddate");?> &nbsp; <?php $theform->showField("endtime");?> 
    164164                        </p> 
    165165                </fieldset> 
    166166        </div> 
    167167 
    168         <?php  
     168        <?php 
    169169                $theform->showCreateModify($phpbms,$therecord); 
    170170                $theform->endForm(); 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.