Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2-workflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dominique Lenoir
intranet-timesheet2-workflow
Commits
0ee379cc
Commit
0ee379cc
authored
Nov 03, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Implemented CSP (Content Security Policy)
parent
eb23bccd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
51 deletions
+6
-51
index.adp
www/conf-objects/index.adp
+5
-34
index.tcl
www/conf-objects/index.tcl
+1
-4
new.tcl
www/conf-objects/new.tcl
+0
-13
No files found.
www/conf-objects/index.adp
View file @
0ee379cc
<!-- packages/intranet-notes/www/index.adp -->
<!-- @author Frank Bergmann (frank.bergmann@project-open.com) -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<master>
<property name="doc(title)">@page_title;literal@</property>
<property name="context">@context_bar;literal@</property>
<property name="main_navbar_label">notes</property>
<!--
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<form method=get action='index'>
<%= [export_vars -form {material_group_id material_start_idx material_order_by material_how_many material_view_name}] %>
<script type="text/javascript" <if @::__csp_nonce@ not nil>nonce="@::__csp_nonce;literal@"</if>>
window.addEventListener('load', function() {
document.getElementById('list_check_all').addEventListener('click', function() { acs_ListCheckAll('confs_list', this.checked) });
});
</script>
</form>
</td>
<td> </td>
<td valign="top" width="30%">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td class=rowtitle align="center">
#intranet-core.Admin_Links#
</td>
</tr>
<tr>
<td>
@admin_links;noquote@
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<h2>@page_title;noquote@</h2>
-->
<table width="100%">
<tr><td>
<listtemplate name="@list_id@"></listtemplate>
...
...
www/conf-objects/index.tcl
View file @
0ee379cc
...
...
@@ -80,10 +80,7 @@ template::list::create \
-row_pretty_plural
"
[
_ intranet-timesheet2-workflow.Confs_Items
]
"
\
-elements
{
conf_chk
{
label
"<input type=
\"
checkbox
\"
name=
\"
_dummy
\"
onclick=
\"
acs_ListCheckAll('confs_list', this.checked)
\"
title=
\"
Check/uncheck all rows
\"
>"
label
"<input id=list_check_all type=
\"
checkbox
\"
name=
\"
_dummy
\"
title=
\"
Check/uncheck all rows
\"
>"
display_template
{
@conf_lines.conf_chk
;
noquote@
}
...
...
www/conf-objects/new.tcl
View file @
0ee379cc
...
...
@@ -251,19 +251,6 @@ template::list::create \
}
}
set
ttt
{
conf_chk
{
label
"<input type=
\"
checkbox
\"
name=
\"
_dummy
\"
onclick=
\"
acs_ListCheckAll('confs_list', this.checked)
\"
title=
\"
Check/uncheck all rows
\"
disabled>"
display_template
{
@multirow.conf_chk
;
noquote@
}
}
}
if
{
!
[
info
exists conf_id
]}
{
ad_return_complaint 1
"Error: conf_id doesn't exist"
}
...
...
Write
Preview
Markdown
is supported
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