Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
0b5c0f23
Commit
0b5c0f23
authored
Nov 19, 2014
by
Côme Bernigaud
Committed by
Benoit Mortier
Nov 20, 2014
Browse files
Services should be able of having dialogs open
parent
f384ee22
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/simpleplugin/class_simpleService.inc
View file @
0b5c0f23
...
...
@@ -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
()
.
"'> "
.
" <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
()
.
'"/> '
.
' <input type="submit" name="CancelService" value="'
.
msgPool
::
cancelButton
()
.
'"/>'
.
'</div>'
;
}
return
$str
;
}
protected
function
acl_skip_write
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment