Misc/Fixup
* do not urlencode mysqli uris .. can't wait for this to cause issues again. * input[type=number] does not allow inputing dashes to signify negative numbers. Use input[type=text] instead and cast to int afterwards.
This commit is contained in:
parent
937bec3d84
commit
bf06c418d4
2 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ class DB
|
|||
|
||||
private static function createConnectSyntax(&$options)
|
||||
{
|
||||
return 'mysqli://'.urlencode($options['user']).':'.urlencode($options['pass']).'@'.$options['host'].'/'.$options['db'];
|
||||
return 'mysqli://'.$options['user'].':'.$options['pass'].'@'.$options['host'].'/'.$options['db'];
|
||||
}
|
||||
|
||||
public static function connect($idx)
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ endforeach;
|
|||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td>#<input type="number" size="5" id="pagetypeid"></td>
|
||||
<td>» <a href="#" onClick="ss_Manage(null, $('#pagetype').val(), $('#pagetypeid').val())">Search by Page</a></td>
|
||||
<td>#<input type="text" size="10" id="pagetypeid"></td>
|
||||
<td>» <a href="#" onClick="ss_Manage(null, $('#pagetype').val(), parseInt($('#pagetypeid').val()) || 0)">Search by Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue