Commit 0b5c0f23 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Services should be able of having dialogs open

parent f384ee22
......@@ -58,12 +58,16 @@ class simpleService extends simplePlugin {
new log("view", "server/".get_class($this), $this->dn);
}
$str = "<div style='width:100%; text-align:right; clear:both; float:none;'>".
" <input type='submit' name='SaveService' value='".msgPool::saveButton()."'>&nbsp;".
" <input type='submit' name='CancelService' value='".msgPool::cancelButton()."'>".
"</div>";
$str = parent::execute();
return parent::execute().$str;
if (!$this->dialog) {
$str .= '<div class="plugbottom servicebottom">'.
' <input type="submit" name="SaveService" value="'.msgPool::saveButton().'"/>&nbsp;'.
' <input type="submit" name="CancelService" value="'.msgPool::cancelButton().'"/>'.
'</div>';
}
return $str;
}
protected function acl_skip_write()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment