J
|
Jane 8/25/2006 |
Frank, select `field1`, |
F
|
frocco author 8/25/2006 |
This is not what I want. Frank, you can create a view for all not closed tickets. For that edit SQL query on the Edit SQL query tab: select `field1`, |
J
|
Jane 8/25/2006 |
Frank, <?php if(CheckSecurity(@$_SESSION["OwnerID"],"Edit")) { ?> <td align=center> <?php $strOwnerID = $ownerid; if($strOwnerID) $strOwnerID = $data[$ownerid]; if(CheckSecurity($strOwnerID, "Edit")) { ?> <a href="products_edit.php" onClick="java script: document.forms.editform.editid.value = '<?php echo htmlspecialchars(db_addslashes($data[$strKeyField]));?>'; <?php if($strKeyField2) {?> document.forms.editform.editid2.value = '<?php echo htmlspecialchars(db_addslashes($data[$strKeyField2]));?>'; <?php } ?> <?php if($strKeyField3) {?> document.forms.editform.editid3.value = '<?php echo htmlspecialchars(db_addslashes($data[$strKeyField3]));?>'; <?php } ?> document.forms.editform.submit(); return false;" ><?php echo mlang_message("EDIT");?></a> <?php } ?> </td> <?php } ?>
<?php if ($data["ticketClosed"]!=1) {?> <?php if(CheckSecurity(@$_SESSION["OwnerID"],"Edit")) { ?> <td align=center> <?php $strOwnerID = $ownerid; if($strOwnerID) $strOwnerID = $data[$ownerid]; if(CheckSecurity($strOwnerID, "Edit")) { ?> <a href="products_edit.php" onClick="java script: document.forms.editform.editid.value = '<?php echo htmlspecialchars(db_addslashes($data[$strKeyField]));?>'; <?php if($strKeyField2) {?> document.forms.editform.editid2.value = '<?php echo htmlspecialchars(db_addslashes($data[$strKeyField2]));?>'; <?php } ?> <?php if($strKeyField3) {?> document.forms.editform.editid3.value = '<?php echo htmlspecialchars(db_addslashes($data[$strKeyField3]));?>'; <?php } ?> document.forms.editform.submit(); return false;" ><?php echo mlang_message("EDIT");?></a> <?php } ?> </td> <?php } ?> <?php } else {?><td align=center></td><?php } ?> |
F
|
frocco author 8/25/2006 |
Thank you Jane, Frank, open ...list.php file, find loopRs($rsData,$nPageSize) function, locate following code snippet in it: and replace it with this one: |
J
|
Jane 8/25/2006 |
Frank, |
F
|
frocco author 8/25/2006 |
That would be a nice feature for a future version of PHPRunner. |
F
|
frocco author 8/25/2006 |
I just tried your change in a customized template. That would be a nice feature for a future version of PHPRunner. I also thought about modifying the template. Frank |