Changeset 704 for trunk/phpbms/include
- Timestamp:
- 01/01/10 23:10:02 (2 years ago)
- Location:
- trunk/phpbms/include
- Files:
-
- 3 modified
-
fields.php (modified) (1 diff)
-
imports.php (modified) (1 diff)
-
search_class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/include/fields.php
r703 r704 82 82 function startForm($pageTitle){ 83 83 84 ?><form action="<?php echo str_replace("&","&",$this->action) ?>" method="<?php echo $this->method?>" name="<?php echo $this->name?>" <?php84 ?><form action="<?php echo htmlentities($this->action) ?>" method="<?php echo $this->method?>" name="<?php echo $this->name?>" <?php 85 85 if($this->onsubmit !== NULL) { ?>onsubmit="<?php echo $this->onsubmit?>" <?php } 86 86 if(isset($this->enctype)) echo ' enctype="'.$this->enctype.'" '; -
trunk/phpbms/include/imports.php
r515 r704 457 457 function startForm($pageTitle, $pageType, $numberOfRecords = 0){ 458 458 459 ?><form action="<?php echo str_replace("&","&",$this->action) ?>" method="<?php echo $this->method?>" name="<?php echo $this->name?>" onsubmit="<?php echo $this->onsubmit?>" <?php459 ?><form action="<?php echo htmlentities($this->action) ?>" method="<?php echo $this->method?>" name="<?php echo $this->name?>" onsubmit="<?php echo $this->onsubmit?>" <?php 460 460 if(isset($this->enctype)) echo ' enctype="'.$this->enctype.'" '; 461 461 if(isset($this->id)) echo ' id="'.$this->id.'" '; -
trunk/phpbms/include/search_class.php
r703 r704 304 304 if($this->numrows==RECORD_LIMIT or $this->recordoffset!=0){ 305 305 //if you max the record limit or are already offsetiing get the true count 306 306 307 307 $truecountstatement = " 308 308 SELECT … … 587 587 588 588 ?> 589 <form name="search" id="search" method="post" action="<?php echo $_SERVER["PHP_SELF"]?>?id=<?php echo $this->thetabledef["uuid"]?>" onsubmit="setSelIDs(this);return true;">589 <form name="search" id="search" method="post" action="<?php echo htmlentities($_SERVER["PHP_SELF"])?>?id=<?php echo $this->thetabledef["uuid"]?>" onsubmit="setSelIDs(this);return true;"> 590 590 <input id="tabledefid" name="tabledefid" type="hidden" value="<?php echo $this->thetabledef["id"]?>" /> 591 591 <input id="theids" name="theids" type="hidden" value="" />