From c5b455694b061eff3cddd26087f81366d026c208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Fri, 2 Jan 2009 09:35:54 +0000 Subject: [PATCH] Fixing htmlspecialchars in document git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1082 44740490-163a-0410-bde0-09ae8108e29a --- docs/source/simplesamlphp-theming.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/source/simplesamlphp-theming.txt b/docs/source/simplesamlphp-theming.txt index 5f8ebb655..9fa9aa69b 100644 --- a/docs/source/simplesamlphp-theming.txt +++ b/docs/source/simplesamlphp-theming.txt @@ -52,12 +52,11 @@ In the `templates/fancytheme/includes/header.php` type in something and go to th A good start is to modify the reference to the default CSS: - <link rel="stylesheet" type="text/css" href="/<?php echo $this->data['baseurlpath']; ?>resources/default.css" /> + <link rel="stylesheet" type="text/css" href="/<?php echo $this->data['baseurlpath']; ?>resources/default.css" /> to in example: - <link rel="stylesheet" type="text/css" href="/<?php echo $this->data['baseurlpath']; ?>resources/fancytheme/default.css" /> - + <link rel="stylesheet" type="text/css" href="/<?php echo $this->data['baseurlpath']; ?>resources/fancytheme/default.css" /> Adding resource files --------------------- @@ -65,7 +64,7 @@ As discussed in the section above, you may want to point to a new CSS file, and Notice how the `baseurlpath` is made generic in the template: - href="/<?php echo $this->data['baseurlpath']; ?>resources/default.css" + href="/<?php echo $this->data['baseurlpath']; ?>resources/default.css" If you add the file `www/resources/fancytheme/default.css` it will be accessible from a URL like this: `https://sp.example.org/simplesaml/resources/fancytheme/default.css`. -- GitLab