Commit 6aa5980fbf3f942e1b083abcbac87a5d0405f060

Authored by Conrad Vermeulen
1 parent bf813621

KTS-2178

"cross site scripting"
Updated.

Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6944 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/folder/roles.smarty
1   -<h2><img src="{if $config->get("ui/morphEnabled") == '1'}{$rootUrl}/skins/kts_{$config->get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Allocate Roles for{/i18n}:<br />{$folderName}</h2>
  1 +<h2><img src="{if $config->get("ui/morphEnabled") == '1'}{$rootUrl}/skins/kts_{$config->get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Allocate Roles for{/i18n}:<br />{$folderName|sanitize}</h2>
2 2  
3 3 <p class="descriptiveText">{i18n}
4 4 In many cases, workflow actions will be assigned to certain <strong>roles</strong>
... ... @@ -14,7 +14,7 @@ role allocations may take a some time, depending on the number of folders below
14 14 <tr>
15 15 <th>{i18n}Role{/i18n}</th>
16 16 <th>{i18n}Allocated users{/i18n}</th>
17   - <th class="centered">{i18n}Edit Users{/i18n}</th>
  17 + <th class="centered">{i18n}Edit Users{/i18n}</th>
18 18 <th class="centered">{i18n}Edit Groups{/i18n}</th>
19 19 {if !$is_root}<th class="centered">{i18n}Use Parent{/i18n}</th>{/if}
20 20 </tr>
... ... @@ -29,7 +29,7 @@ role allocations may take a some time, depending on the number of folders below
29 29 <strong>{i18n}inherited from parent folder.{/i18n}</strong><br />
30 30 <span class="descriptiveText">
31 31 {/if}
32   - {if ($aRole.users != null)}<strong>{i18n}Users{/i18n}:</strong> {$aRole.users}<br />{/if}
  32 + {if ($aRole.users != null)}<strong>{i18n}Users{/i18n}:</strong> {$aRole.users}<br />{/if}
33 33 {if ($aRole.groups != null)}<strong>{i18n}Groups{/i18n}:</strong> {$aRole.groups}{/if}
34 34 {if ($aRole.allocation_id === null)}
35 35 </span class="descriptiveText">
... ... @@ -41,11 +41,11 @@ role allocations may take a some time, depending on the number of folders below
41 41 <td class="centered"><a href="{addQS}action=editRoleUsers&alloc_id={$aRole.allocation_id}&fFolderId={$context->oFolder->getId()}&role_id={$role_id}{/addQS}" class="ktAction ktEdit" title="{i18n}Edit Users{/i18n}">{i18n}Edit Users{/i18n}</a></td>
42 42 <td class="centered"><a href="{addQS}action=editRoleGroups&alloc_id={$aRole.allocation_id}&fFolderId={$context->oFolder->getId()}&role_id={$role_id}{/addQS}" class="ktAction ktEdit" title="{i18n}Edit Groups{/i18n}">{i18n}Edit Groups{/i18n}</a></td>
43 43 {if !$is_root}
44   - <td class="centered"><a href="{addQS}action=useParent&role_id={$role_id}&fFolderId={$context->oFolder->getId()}{/addQS}" class="ktAction ktDelete"
45   - kt:deleteMessage="{i18n}Are you sure you wish to remove this role allocation?{/i18n}"
  44 + <td class="centered"><a href="{addQS}action=useParent&role_id={$role_id}&fFolderId={$context->oFolder->getId()}{/addQS}" class="ktAction ktDelete"
  45 + kt:deleteMessage="{i18n}Are you sure you wish to remove this role allocation?{/i18n}"
46 46 title="{i18n}Use parent's allocation{/i18n}">{i18n}Use parent's allocation{/i18n}</a></td>
47 47 {/if}
48   - {/if}
  48 + {/if}
49 49 </tr>
50 50 {/foreach}
51 51 {else}
... ...