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/tabs_addedit.php

    r285 r485  
    1 <?php  
     1<?php 
    22/* 
    33 $Rev: 205 $ | $LastChangedBy: brieb $ 
     
    4646         
    4747        if(isset($therecord["phpbmsStatus"])) 
    48                 $statusmessage = $therecord["phpbmsStatus"];     
     48                $statusmessage = $therecord["phpbmsStatus"]; 
    4949 
    50         $pageTitle="Tab";        
     50        $pageTitle="Tab"; 
    5151        $phpbms->cssIncludes[] = "pages/tabs.css"; 
    5252 
     
    5454                //============================================================== 
    5555                $theform = new phpbmsForm(); 
    56                  
     56 
    5757                $theinput = new inputField("name",$therecord["name"],NULL,true,NULL,32,64); 
    5858                $theinput->setAttribute("class","important"); 
     
    6161                $theinput = new inputField("displayorder",$therecord["displayorder"],"display order",true,NULL,10,10); 
    6262                $theform->addField($theinput); 
    63                                  
     63 
    6464                $theinput = new inputRolesList($db,"roleid",$therecord["roleid"],"access (role)"); 
    65                 $theform->addField($theinput);                   
     65                $theform->addField($theinput); 
    6666 
    6767                $theinput = new inputChoiceList($db,"tabgroup",$therecord["tabgroup"],"tabgroups", "tab group"); 
    68                 $theform->addField($theinput);                   
     68                $theform->addField($theinput); 
    6969 
    7070                $theinput = new inputCheckbox("enableonnew",$therecord["enableonnew"],"enable on new"); 
    71                 $theform->addField($theinput);                   
    72                  
     71                $theform->addField($theinput); 
     72 
    7373                $theform->jsMerge(); 
    7474                //============================================================== 
    75                 //End Form Elements      
    76                  
     75                //End Form Elements 
     76 
    7777        include("header.php"); 
    78          
     78 
    7979?><div class="bodyline"> 
    80         <?php $theform->startForm($pageTitle)?>  
     80        <?php $theform->startForm($pageTitle)?> 
    8181        <fieldset id="fsAttributes"> 
    8282                <legend>attributes</legend> 
     
    8585                        <input id="id" name="id" type="text" value="<?php echo htmlQuotes($therecord["id"]); ?>" size="10" maxlength="10" readonly="readonly" class="uneditable" /> 
    8686                </p> 
    87                  
     87 
    8888                <p> 
    8989                        <?php $theform->showField("displayorder"); ?><br /> 
    9090                        <span class="notes">Lower numbers are displayed first.</span> 
    9191                </p> 
    92                  
     92 
    9393                <p><?php $theform->showField("roleid")?></p> 
    9494 
     
    9696 
    9797        </fieldset> 
    98          
     98 
    9999        <div id="leftSideDiv"> 
    100100                <fieldset> 
     
    104104 
    105105                        <p><?php $theform->showField("tabgroup"); ?></p> 
    106                                  
     106 
    107107                        <p> 
    108108                                <label for="location">location</label><br /> 
     
    123123        </div> 
    124124 
    125         <?php  
     125        <?php 
    126126                $theform->showCreateModify($phpbms,$therecord); 
    127127                $theform->endForm(); 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.