Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Judah - MW
ISPConfig 3
Commits
f02fd397
Unverified
Commit
f02fd397
authored
Jun 15, 2022
by
Helmo
Browse files
Only show the btn_edit_as_txt_record_txt button to admins
parent
c2346925
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/dns/templates/dns_spf_edit.htm
View file @
f02fd397
...
...
@@ -53,7 +53,9 @@
<div
class=
"clear"
><div
class=
"right"
>
<button
class=
"btn btn-default formbutton-success"
type=
"button"
value=
"{tmpl_var name='btn_save_txt'}"
data-submit-form=
"pageForm"
data-form-action=
"dns/dns_spf_edit.php"
>
{tmpl_var name='btn_save_txt'}
</button>
<tmpl_if
name=
"is_admin"
>
<button
class=
"btn btn-default formbutton-default"
type=
"button"
value=
"{tmpl_var name='btn_edit_as_txt_record_txt'}"
data-load-content=
"dns/dns_txt_edit.php?id={tmpl_var name='id'}&zone={tmpl_var name='zone'}&edit_raw=1"
>
{tmpl_var name='btn_edit_as_txt_record_txt'}
</button>
</tmpl_if>
<button
class=
"btn btn-default formbutton-default"
type=
"button"
value=
"{tmpl_var name='btn_cancel_txt'}"
data-load-content=
"dns/dns_soa_edit.php?id={tmpl_var name='zone'}&next_tab=dns_records"
>
{tmpl_var name='btn_cancel_txt'}
</button>
</div></div>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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