|
This file holds all the paths to each page as pages are typically referred to by a single name and not a path,
partially as a security measure as page paths are not being passed via the URL,
and as an implementation for flexibility as it allows for a new page to be created and only the entry in the pages file to be changed instead of multiple pieces of code needing to be altered.
The following is an example of a pages.txt file -:
Template=body.html
StartPage=<!Constant PagesPath>login/login.htm
ChooseLocation=<!Constant PagesPath>chooseloc/chooseloc.htm
Login=<!Constant PagesPath>login/login.htm
Logout=<!Constant Scripts>logout.ips
Entry=<!Constant PagesPath>entry/entry.htm
DailyRoutine=<!Constant PagesPath>daily-routine/daily-routine.htm
ManageEquipment=<!Constant PagesPath>equipment-manage/equipment-manage.htm
Reports=<!Constant PagesPath>reports/reports.htm
Settings=<!Constant PagesPath>settings/settings.htm
|