Changeset 485 for trunk/phpbms/modules/base/tabs_addedit.php
- Timestamp:
- 04/07/09 11:44:18 (3 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/modules/base/tabs_addedit.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/base/tabs_addedit.php
r285 r485 1 <?php 1 <?php 2 2 /* 3 3 $Rev: 205 $ | $LastChangedBy: brieb $ … … 46 46 47 47 if(isset($therecord["phpbmsStatus"])) 48 $statusmessage = $therecord["phpbmsStatus"]; 48 $statusmessage = $therecord["phpbmsStatus"]; 49 49 50 $pageTitle="Tab"; 50 $pageTitle="Tab"; 51 51 $phpbms->cssIncludes[] = "pages/tabs.css"; 52 52 … … 54 54 //============================================================== 55 55 $theform = new phpbmsForm(); 56 56 57 57 $theinput = new inputField("name",$therecord["name"],NULL,true,NULL,32,64); 58 58 $theinput->setAttribute("class","important"); … … 61 61 $theinput = new inputField("displayorder",$therecord["displayorder"],"display order",true,NULL,10,10); 62 62 $theform->addField($theinput); 63 63 64 64 $theinput = new inputRolesList($db,"roleid",$therecord["roleid"],"access (role)"); 65 $theform->addField($theinput); 65 $theform->addField($theinput); 66 66 67 67 $theinput = new inputChoiceList($db,"tabgroup",$therecord["tabgroup"],"tabgroups", "tab group"); 68 $theform->addField($theinput); 68 $theform->addField($theinput); 69 69 70 70 $theinput = new inputCheckbox("enableonnew",$therecord["enableonnew"],"enable on new"); 71 $theform->addField($theinput); 72 71 $theform->addField($theinput); 72 73 73 $theform->jsMerge(); 74 74 //============================================================== 75 //End Form Elements 76 75 //End Form Elements 76 77 77 include("header.php"); 78 78 79 79 ?><div class="bodyline"> 80 <?php $theform->startForm($pageTitle)?> 80 <?php $theform->startForm($pageTitle)?> 81 81 <fieldset id="fsAttributes"> 82 82 <legend>attributes</legend> … … 85 85 <input id="id" name="id" type="text" value="<?php echo htmlQuotes($therecord["id"]); ?>" size="10" maxlength="10" readonly="readonly" class="uneditable" /> 86 86 </p> 87 87 88 88 <p> 89 89 <?php $theform->showField("displayorder"); ?><br /> 90 90 <span class="notes">Lower numbers are displayed first.</span> 91 91 </p> 92 92 93 93 <p><?php $theform->showField("roleid")?></p> 94 94 … … 96 96 97 97 </fieldset> 98 98 99 99 <div id="leftSideDiv"> 100 100 <fieldset> … … 104 104 105 105 <p><?php $theform->showField("tabgroup"); ?></p> 106 106 107 107 <p> 108 108 <label for="location">location</label><br /> … … 123 123 </div> 124 124 125 <?php 125 <?php 126 126 $theform->showCreateModify($phpbms,$therecord); 127 127 $theform->endForm();