1<?php
2
3/*
4 *  pgn4web javascript chessboard
5 *  copyright (C) 2009-2012 Paolo Casaschi
6 *  see README file and http://pgn4web.casaschi.net
7 *  for credits, license and more details
8 */
9
10/*
11 *  add preset URLs for the viewer.php form using the following template
12 *  the javascript code string should be the body of a function returning the preset PGN URL string
13 *
14 *  addPresetURL($label, $javascriptCode);
15 *  addPresetURL('games of the month', 'var nowDate = new Date(); var nowMonth = nowDate.getMonth() + 1; if (nowMonth < 10) { nowMonth = "0" + nowMonth; } return "http://example.com/folder/gotm" + nowDate.getFullYear() + nowMonth + ".pgn";');
16 *
17 */
18
19
20// Deployment check: preset URLs
21
22// end DeploymentCheck
23
24
25?>
26