Changeset 205 for trunk/phpbms/modules/base/tabledefs_options.php
- Timestamp:
- 03/26/07 16:50:25 (5 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/modules/base/tabledefs_options.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/base/tabledefs_options.php
r204 r205 104 104 </script> 105 105 </head> 106 <body on Load="init()"><?php include("../../menu.php")?>106 <body onload="init()"><?php include("../../menu.php")?> 107 107 108 108 … … 112 112 <table border="0" cellpadding="3" cellspacing="0" class="querytable"> 113 113 <tr> 114 <th nowrap align="center">other</th>115 <th nowrap align="left">name</th>116 <th nowrap align="left">option / function</th>117 <th nowrap align="center">access</th>118 <th nowrap > </th>114 <th nowrap="nowrap"align="center">other</th> 115 <th nowrap="nowrap"align="left">name</th> 116 <th nowrap="nowrap"align="left">option / function</th> 117 <th nowrap="nowrap"align="center">access</th> 118 <th nowrap="nowrap"> </th> 119 119 </tr> 120 120 … … 125 125 ?> 126 126 <tr class="qr<?php echo $row?> noselects"> 127 <td align="center" nowrap ><?php echo booleanFormat($therecord["othercommand"])?></td>128 <td nowrap ><strong><?php127 <td align="center" nowrap="nowrap"><?php echo booleanFormat($therecord["othercommand"])?></td> 128 <td nowrap="nowrap"><strong><?php 129 129 if($therecord["othercommand"]) echo $therecord["option"]; else echo $therecord["name"]; ?></strong> 130 130 </td> 131 <td nowrap class="small"><?php131 <td nowrap="nowrap"class="small"><?php 132 132 if($therecord["othercommand"]) 133 133 echo $therecord["name"]; … … 139 139 } 140 140 ?></td> 141 <td nowrap align="center"><?php displayRights($therecord["roleid"],$therecord["rolename"])?></td>141 <td nowrap="nowrap"align="center"><?php displayRights($therecord["roleid"],$therecord["rolename"])?></td> 142 142 143 <td nowrap valign="top">143 <td nowrap="nowrap"valign="top"> 144 144 <button id="edit<?php echo $therecord["id"]?>" type="button" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=edit&optionid=".$therecord["id"]?>';" class="graphicButtons buttonEdit"><span>edit</span></button> 145 145 <button id="delete<?php echo $therecord["id"]?>" type="button" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=delete&optionid=".$therecord["id"]?>';" class="graphicButtons buttonDelete"><span>delete</span></button> … … 157 157 <fieldset> 158 158 <legend><?php echo $action?></legend> 159 <form action="<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"] ?>" method="post" name="record" on Submit="return validateForm(this);">159 <form action="<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"] ?>" method="post" name="record" onsubmit="return validateForm(this);"> 160 160 <input id="optionid" name="optionid" type="hidden" value="<?php echo $theoption["id"]?>" /> 161 161 <p>command type</p> 162 162 <p> 163 <input type="radio" id="oc1" name="othercommand" value="0" on Click="switchType()" class="radiochecks" <?php if(!$theoption["othercommand"]) echo "checked=\"checked\""?> /><label for="oc1">pre-defined</label>163 <input type="radio" id="oc1" name="othercommand" value="0" onclick="switchType()" class="radiochecks" <?php if(!$theoption["othercommand"]) echo "checked=\"checked\""?> /><label for="oc1">pre-defined</label> 164 164 165 165 166 <input name="othercommand" id="oc2" type="radio" class="radiochecks" value="1" on Click="switchType()" <?php if($theoption["othercommand"]) echo "checked=\"checked\""?> /><label for="oc2">other</label>166 <input name="othercommand" id="oc2" type="radio" class="radiochecks" value="1" onclick="switchType()" <?php if($theoption["othercommand"]) echo "checked=\"checked\""?> /><label for="oc2">other</label> 167 167 </p> 168 168