Mercurial > p > roundup > code
comparison website/issues/html/_generic.help.html @ 6218:7146b68ac263
Add client_nonce to all scripts
Add:
tal:attributes="nonce request/client/client_nonce"
to script tags.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 02 Jul 2020 20:05:02 -0400 |
| parents | 53e9694788f5 |
| children | 28aa76443f58 |
comparison
equal
deleted
inserted
replaced
| 6217:10d7700ff6ad | 6218:7146b68ac263 |
|---|---|
| 8 <tal:block tal:define="property request/form/property/value"> | 8 <tal:block tal:define="property request/form/property/value"> |
| 9 <title i18n:translate=""><tal:x i18n:name="property" | 9 <title i18n:translate=""><tal:x i18n:name="property" |
| 10 tal:content="property" i18n:translate="" /> help - <span i18n:name="tracker" | 10 tal:content="property" i18n:translate="" /> help - <span i18n:name="tracker" |
| 11 tal:replace="config/TRACKER_NAME" /></title> | 11 tal:replace="config/TRACKER_NAME" /></title> |
| 12 <script language="Javascript" type="text/javascript" | 12 <script language="Javascript" type="text/javascript" |
| 13 tal:content="structure string: | 13 tal:attributes="nonce request/client/client_nonce" |
| 14 tal:content="structure string: | |
| 14 // this is the name of the field in the original form that we're working on | 15 // this is the name of the field in the original form that we're working on |
| 15 form = window.opener.document.${request/form/form/value}; | 16 form = window.opener.document.${request/form/form/value}; |
| 16 field = '${request/form/property/value}';"> | 17 field = '${request/form/property/value}';"> |
| 17 </script> | 18 </script> |
| 18 <script src="@@file/help_controls.js" type="text/javascript"><!-- | 19 <script src="@@file/help_controls.js" |
| 20 tal:attributes="nonce request/client/client_nonce" | |
| 21 type="text/javascript"><!-- | |
| 19 //--></script> | 22 //--></script> |
| 20 </tal:block> | 23 </tal:block> |
| 21 </tal:block> | 24 </tal:block> |
| 22 </head> | 25 </head> |
| 23 <body class="body" onload="resetList();"> | 26 <body class="body" onload="resetList();"> |
