From 01b550f3dfd0752d6dec04a04a8c3aa50a181633 Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst <thijs@kinkhorst.com> Date: Thu, 1 Dec 2016 14:28:41 +0000 Subject: [PATCH] Fix small doc typos --- docs/simplesamlphp-theming.md | 6 +++--- modules/authX509/docs/authX509.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/simplesamlphp-theming.md b/docs/simplesamlphp-theming.md index eaf0de180..6f1d65de6 100644 --- a/docs/simplesamlphp-theming.md +++ b/docs/simplesamlphp-theming.md @@ -30,9 +30,9 @@ The `theme.use` parameter points to which theme that will be used. If some funct All required templates SHOULD be available as a base in the `templates` folder, and you SHOULD never change the base templates. To customize UI, add a new theme within a module that overrides the base templates, instead of modifying it. -### Templates that includes other files +### Templates that include other files -A template file may *include* other files. In example all the default templates will include a header and footer. In example the `login.php` template will first include `includes/header.php` then present the login page, and then include `includes/footer.php`. +A template file may *include* other files. For example all the default templates will include a header and footer: the `login.php` template will first include `includes/header.php` then present the login page, and then include `includes/footer.php`. SimpleSAMLphp allows themes to override the included templates files only, if needed. That means you can create a new theme `fancytheme` that includes only a header and footer. The header file refers to the CSS files, which means that a simple way of making a new look on SimpleSAMLphp is to create a new theme, and copy the existing header, but point to your own CSS instead of the default CSS. @@ -80,7 +80,7 @@ To override the frontpage body, add the file: In the path above `default` means that the frontpage template is not part of any modules. If you are replacing a template that is part of a module, then use the module name instead of `default`. -In example, to override the `preprodwarning` template, (the file is located in `modules/preprodwarning/templates/warning.php`), you need to add a new file: +For example, to override the `preprodwarning` template, (the file is located in `modules/preprodwarning/templates/warning.php`), you need to add a new file: modules/mymodule/themes/fancytheme/preprodwarning/warning.php diff --git a/modules/authX509/docs/authX509.md b/modules/authX509/docs/authX509.md index 1fc48a8b9..ac4a65851 100644 --- a/modules/authX509/docs/authX509.md +++ b/modules/authX509/docs/authX509.md @@ -109,7 +109,7 @@ can hack your metadata/saml20-idp-hosted.php file that way: Checking certificate expiry =========================== -To issue warnings to users whos certificate is about to expire, configure an authproc filter. +To issue warnings to users whose certificate is about to expire, configure an authproc filter. Example: -- GitLab