1

Add pgn4web v2.80.

This commit is contained in:
vonavi
2014-02-12 23:44:20 +02:00
parent 0b04482d3a
commit 354d5af4b6
1952 changed files with 130486 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
/*
* pgn4web javascript chessboard
* copyright (C) 2009-2012 Paolo Casaschi
* see README file and http://pgn4web.casaschi.net
* for credits, license and more details
*/
/*
* add preset URLs for the viewer.php form using the following template
* the javascript code string should be the body of a function returning the preset PGN URL string
*
* addPresetURL($label, $javascriptCode);
* 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";');
*
*/
/* start of preset URLs */
/* end of preset URLs */
?>