Creating a new page new_page.txt newpage.txt

this process could use some improvement but it's not too bad

1) create a new page template:
==============================
you can skip this if you're making a listing page
otherwise, this is the content of the "main" dialog of the page.

vim default/template/html/page/example.template
-or-
vim default/theme/yourname/template/html/page/example.template

2) create a new perl page handler:
==================================
see example below

vim default/template/perl/page/example.pl
- or -
vim default/theme/yourname/template/perl/page/example.pl

example.pl should look like this :

=================
example.pl file:
=================
#!/usr/bin/perl -T

use strict;
use warnings;
use 5.010;

sub GetExamplePage { # returns example page
	require_once('dialog/query_as_dialog.pl');
	#todo if this fails, it is only a warning in log.log/

	my $html =
		GetPageHeader('example') .
		GetTemplate('html/maincontent.template') .
		GetQueryAsDialog('example') .
		GetQueryAsDialog('example') .
		GetPageFooter('example');

	# add InjectJs(...) #todo

	return $html;
}

return 1;
===================
end of example file
===================

2a) if you're making a listing page or using GetQueryAsDialog(),
you also need to create the query template:
================================================================
vim default/template/query/example.sql

- error reporting could be better right now. to rebuild this file, you need to:
	a) run `hike refresh` to propagate the change from default to config
	b) run `hike make example` to rebuild the html page (this is where you would see your error)

3) add to valid pages filter/sanity check:
==========================================
makepage.pl: add to valid pages (search for @validPages or @simplePages)

TEST 1:
	ATTENTION: REMEMBER TO RUN `hike refresh` AFTER YOU MAKE THIS CHANGE
	when you fist go to http://localhost:2784/example.html, it will show a page missing
	but after you run `hike page example`, the page should work

IF YOUR QUERY HAS ERRORS:
	YOU WILL NOT KNOW ABOUT IT UNLESS YOU RE-CHECK THE QUERY TEMPLATE
	That is, it will look like there are no results, and say:
	"This space reserved for future content."
	#todo: fix this
	#todo you will see a page with the error message
	#todo you can fix the error and run `hike page example` again to rebuild the page

4) add to valid routes filter/sanity check in route.php:
========================================================

route.php: look for $validRoutes and add "example" to the list

4a) add to valid make page names filter/sanity check in makepage.pl:
====================================================================

handle_not_found.php: add to $validMakePageNames

5) add dialog version of the page, if it's going to be linked from the menu:
============================================================================

5a) add GetExampleDialog() to dialog/example.pl
===============================================

5b) add to validDialogs in pages.pl
===================================

5c) add to validDialogs in route.php
====================================

5d) add handler in pages.pl -D
==============================
look for @queryDialogs

5e) add handler in handle_not_found.php
=======================================
look for $basicDialogs

6) ???
======

7) profit
=========

===

log of moving accessibility mode setting from settings page to its own page ;
=============================================================================

Added to MakeSummaryPages()

# Access page
my $accessPage = GetAccessPage();
PutHtmlFile("access.html", $accessPage);


Added access.template

Added GetAccessPage() 

Add default/string/en/page_intro/access
