if (!$this->page) {
$this->page = 1;
}
+
+ common_set_returnto($this->selfUrl());
+
return true;
}
$url = common_get_returnto();
+
+ $urlval = ($url) ? $url : 'null';
+ common_debug("deleteNotice() - returnto url = $urlval");
+
if ($url) {
common_set_returnto(null);
} else {
{
parent::prepare($args);
$this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
+
+ common_set_returnto($this->selfUrl());
+
return true;
}
*/
class NoticesearchAction extends SearchAction
{
+
+ function prepare($args)
+ {
+ parent::prepare($args);
+
+ common_set_returnto($this->selfUrl());
+
+ return true;
+ }
+
/**
* Get instructions
*
{
parent::prepare($args);
$this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
+
+ common_set_returnto($this->selfUrl());
+
return true;
}
$this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
+ common_set_returnto($this->selfUrl());
+
return true;
}
$this->page = 1;
}
+ common_set_returnto($this->selfUrl());
+
return true;
}
return false;
}
+ common_set_returnto($this->selfUrl());
+
return true;
}
$this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
+ common_set_returnto($this->selfUrl());
+
return true;
}
}
$this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
+
+ common_set_returnto($this->selfUrl());
+
return true;
}
$this->page = 1;
}
+ common_set_returnto($this->selfUrl());
+
return true;
}
function handle($args)
{
parent::handle($args);
- common_set_returnto($this->selfUrl());
}
}