Overview
Comment: | Use a common navigation sub-template for "me" section |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA3-256: |
8c06d52f8d6a261c0b307d746d8fcdcf |
User & Date: | bohwaz on 2023-02-08 00:36:13 |
Other Links: | branch diff | manifest | tags |
Context
2023-02-08
| ||
03:36 |
Limit the duration for running an external PDF program, so we can avoid locking the server.
Also pass the current user session ID in query string of resources, so that the PDF program will be able to fetch the private resources check-in: 5503d40838 user: bohwaz tags: dev | |
00:36 | Use a common navigation sub-template for "me" section check-in: 8c06d52f8d user: bohwaz tags: dev | |
00:32 | Mention server timezone in user actions log check-in: 85980ea04d user: bohwaz tags: dev | |
Changes
Added src/templates/me/_nav.tpl version [680aee5229].
> > > > > > > | 1 2 3 4 5 6 7 | <nav class="tabs"> <ul> <li{if $current == 'me'} class="current"{/if}><a href="{$admin_url}me/">Mes informations personnelles</a></li> <li{if $current == 'security'} class="current"{/if}><a href="{$admin_url}me/security.php">Mot de passe et options de sécurité</a></li> <li{if $current == 'preferences'} class="current"{/if}><a href="{$admin_url}me/preferences.php">Préférences</a></li> </ul> </nav> |
Modified src/templates/me/edit.tpl from [0d731c955e] to [d63c67d1c3].
1 2 | {include file="_head.tpl" title="Mes informations personnelles" current="me"} | < < < < < | | 1 2 3 4 5 6 7 8 9 10 | {include file="_head.tpl" title="Mes informations personnelles" current="me"} {include file="./_nav.tpl" current="me"} {form_errors} <form method="post" action="{$self_url}"> <fieldset> <legend>Informations personnelles</legend> |
︙ | ︙ |
Modified src/templates/me/index.tpl from [c8a4df60cf] to [78eaa6c657].
1 2 | {include file="_head.tpl" title="Mes informations personnelles" current="me"} | < < < < < < | | 1 2 3 4 5 6 7 8 9 10 | {include file="_head.tpl" title="Mes informations personnelles" current="me"} {include file="./_nav.tpl" current="me"} {if $ok !== null} <p class="confirm block"> Les modifications ont bien été enregistrées. </p> {/if} |
︙ | ︙ |
Modified src/templates/me/preferences.tpl from [d5439de3ce] to [b574cf9be4].
1 2 | {include file="_head.tpl" title="Mes préférences" current="me"} | < < < < < < | | 1 2 3 4 5 6 7 8 9 10 | {include file="_head.tpl" title="Mes préférences" current="me"} {include file="./_nav.tpl" current="preferences"} {if $ok !== null} <p class="confirm block"> Les modifications ont bien été enregistrées. </p> {/if} |
︙ | ︙ |
Modified src/templates/me/security.tpl from [dc16dd7875] to [0059e9b854].
1 2 | {include file="_head.tpl" title="Mes informations de connexion et sécurité" current="me"} | < < < | < < | 1 2 3 4 5 6 7 8 9 10 | {include file="_head.tpl" title="Mes informations de connexion et sécurité" current="me"} {include file="./_nav.tpl" current="security"} {if $ok} <p class="block confirm"> Changements enregistrés. </p> {/if} |
︙ | ︙ |