return str_replace(array_keys($replace),array_values($replace),$value);
}
- public function method($key=null,$args=null) {
+# NB 04.04.17 public function method($key=null,$args=null) {
+ public function method($key=null) {
$method = $this->conf_type($key);
if (is_callable($method)) return $this->unvar($method($this));
return $this->unvar($method);
public function ssha_password($password='') {
if ($password=='') $password = $this->params['table'];
if ($password=='' and !empty($_POST['password'])) $password = $_POST['password'];
- echo <<<EOF
+ if ($this->db->is_html) echo <<<EOF
<form action="$this->uri" method="post">
<label>Password: </label><input type="text" name="password" value="$password" />
<input type="submit" />