Rev 475 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 475 | Rev 476 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | ; Redirect a resource to a relative URL |
44 | ; Redirect a resource to a relative URL |
45 | Foobar/Devices.html="/test123.html" |
45 | Foobar/Devices.html="/test123.html" |
46 | ; Redirect a resource to a local "goto" file |
46 | ; Redirect a resource to a local "goto" file |
47 | Foobar/Devices.html="?goto=oidplus:resources$Foobar/Manuals/Devices.html" |
47 | Foobar/Devices.html="?goto=oidplus:resources$Foobar/Manuals/Devices.html" |
48 | 48 | ||
- | 49 | Securing resources: |
|
- | 50 | If you want that a resource is only visible to RAs or Admins, |
|
- | 51 | create a file res/security.ini (not recommended) |
|
- | 52 | or userdata/resources/security.ini (recommended) with a |
|
- | 53 | content like this: |
|
- | 54 | ||
- | 55 | [Security] |
|
- | 56 | ; Document is visible for all (default) |
|
- | 57 | rules.html=PUBLIC |
|
- | 58 | ; Document is only visible to RAs and admins |
|
- | 59 | rules.html=RA |
|
- | 60 | ; Document is only visible to admins |
|
- | 61 | rules.html=ADMIN |
|
- | 62 | ||
49 | Internationalization of *.html files: |
63 | Internationalization of *.html files: |
50 | Title: The title is taken from the HTML headline. |
64 | Title: The title is taken from the HTML headline. |
51 | To create a file with multiple languages, create them like this: |
65 | To create a file with multiple languages, create them like this: |
52 | example.html <-- this is the file in the default language ("enus" = English USA) |
66 | example.html <-- this is the file in the default language ("enus" = English USA) |
53 | example$dede.html <-- this is the file for German ("dede") |
67 | example$dede.html <-- this is the file for German ("dede") |