Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
f6cbbe5b
Commit
f6cbbe5b
authored
20 years ago
by
runemaster
Browse files
Options
Downloads
Patches
Plain Diff
No Select/Deselect/Delete Buttons if user does not have Delete permissions on Message Base.
parent
5f5949bd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/templates/default/msgs/msgs.inc
+1
-4
1 addition, 4 deletions
web/templates/default/msgs/msgs.inc
with
1 addition
and
4 deletions
web/templates/default/msgs/msgs.inc
+
1
−
4
View file @
f6cbbe5b
...
...
@@ -48,10 +48,7 @@
<
<
END
REPEAT
messages
>
>
</table>
<br
/>
<div
align=
"center"
>
<input
type=
"button"
onclick=
"SetAllCheckBoxes('DeleteMsg', 'number', true);"
value=
"Select All"
>
<input
type=
"button"
onclick=
"SetAllCheckBoxes('DeleteMsg', 'number', false);"
value=
"Deselect All"
>
<input
class=
"msg"
type=
"submit"
name=
"Action"
value=
"Delete Message(s)"
/></div>
@@JS:template.can_delete?'
<div
align=
"center"
><input
type=
"button"
onclick=
"SetAllCheckBoxes(\'DeleteMsg\', \'number\', true);"
value=
"Select All"
>
<input
type=
"button"
onclick=
"SetAllCheckBoxes(\'DeleteMsg\', \'number\', false);"
value=
"Deselect All"
>
<input
class=
"msg"
type=
"submit"
name=
"Action"
value=
"Delete Message(s)"
/></div>
':''@@
</form>
<script
type=
"text/javascript"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment