Skip to content

Commit 08191be

Browse files
committed
User Guide Tuning
Adjust the heading levels in the writeups for the input, loader, security and unit testing libraries, to match the other library writeups. Specifically, the class reference section in each of these was appearing as a sub-level in the toctree, when it should be at the same level. Signed-off-by:James L Parry <jim_parry@bcit.ca>
1 parent 0823ed1 commit 08191be

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

user_guide_src/source/libraries/input.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ The Input Class serves two purposes:
1717

1818
<div class="custom-index container"></div>
1919

20+
***************
21+
Input Filtering
22+
***************
23+
2024
Security Filtering
2125
==================
2226

@@ -49,6 +53,10 @@ this::
4953
Please refer to the :doc:`Security class <security>` documentation for
5054
information on using XSS Filtering in your application.
5155

56+
*******************
57+
Accessing form data
58+
*******************
59+
5260
Using POST, GET, COOKIE, or SERVER Data
5361
=======================================
5462

user_guide_src/source/libraries/loader.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ can be libraries (classes) :doc:`View files <../general/views>`,
1818

1919
<div class="custom-index container"></div>
2020

21+
**********************
2122
Application "Packages"
22-
======================
23+
**********************
2324

2425
An application package allows for the easy distribution of complete sets
2526
of resources in a single directory, complete with its own libraries,

user_guide_src/source/libraries/security.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ application, processing input data for security.
1212

1313
<div class="custom-index container"></div>
1414

15+
*************
1516
XSS Filtering
16-
=============
17+
*************
1718

1819
CodeIgniter comes with a Cross Site Scripting Hack prevention filter
1920
which can either run automatically to filter all POST and COOKIE data
@@ -57,8 +58,9 @@ browser may attempt to execute.
5758
// file failed the XSS test
5859
}
5960

61+
*********************************
6062
Cross-site request forgery (CSRF)
61-
=================================
63+
*********************************
6264

6365
You can enable CSRF protection by altering your **application/config/config.php**
6466
file in the following way::

user_guide_src/source/libraries/unit_testing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ code to determine if it is producing the correct data type and result.
1818

1919
<div class="custom-index container"></div>
2020

21+
******************************
22+
Using the Unit Testing Library
23+
******************************
24+
2125
Initializing the Class
2226
======================
2327

0 commit comments

Comments
 (0)