}
function show_form($error=NULL) {
+ global $config;
+
$q = $this->trimmed('q');
$page = $this->trimmed('page', 1);
'id' => 'login',
'action' => common_local_url($this->trimmed('action'))));
common_element_start('p');
+ if (!isset($config['site']['fancy']) || !$config['site']['fancy']) {
+ common_element('input', array('name' => 'action',
+ 'type' => 'hidden',
+ 'value' => $this->trimmed('action')));
+ }
common_element('input', array('name' => 'q',
'id' => 'q',
'type' => 'text',