metronomista wrote:thanks for the patch, no problem I can apply it just taking the code
Get the newer version above. "Third version". I forgot the $this-> pointers.
metronomista wrote:thanks for the patch, no problem I can apply it just taking the code
Code: Select all
class Dlg extends Handler_Protected {
private $param;
private $dlgflag;
function before($method) {
if (parent::before($method)) {
header("Content-Type: text/xml; charset=utf-8");
$this->param = db_escape_string($this->link, $_REQUEST["param"]);
print "<dlg>";
$this->dlgflag = true;
return true;
}
$this->dlgflag = false;
return false;
}
function after() {
if ($this->dlgflag) {
print "</dlg>";
}
}
function importOpml() {
header("Content-Type: text/html"); # required for iframe
...
Users browsing this forum: No registered users and 12 guests