Skip to content

Commit

Permalink
More reasonable defaults and updated urls and the name
Browse files Browse the repository at this point in the history
  • Loading branch information
Toomas Romer committed Aug 28, 2015
1 parent 56617f7 commit dacc76e
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions wpPlugin/pgnviewer.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php
/*
Plugin Name: pgnviewer
Plugin URI: http://pgnview.com
Plugin Name: Pgn Viewer
Plugin URI: http://pgnview.edicypages.com/
Description: Allows to add PGN files to your blog posts that are converted to interactive boards. Easy to share your chess games with your friends.
Version: WP_VERSION
Author: Toomas Römer
Author URI: http://toomasr.com/
Author URI: http://toomasr.com/
*/

/* Copyright 2010 Toomas Römer (email : toomasr[at]gmail)
Expand Down Expand Up @@ -47,15 +47,10 @@ function tr_pgnview_callback($str) {

$opts = array();
// jspgnviewer options
$opts['imagePrefix'] = $siteurl."/wp-content/plugins/pgnviewer/img/zurich/";
$opts['showMovesPane'] = true;
$opts['commentFontSize'] = '10pt';
$opts['moveFontColor'] = '#af0000';
$opts['commentFontColor'] = '#006699';
$opts['squareSize'] = '32px';
$opts['markLastMove'] = false;
$opts['blackSqColor'] = "url(\"$siteurl/wp-content/plugins/pgnviewer/img/zurich/board/darksquare.gif\")";
$opts['lightSqColor'] = "url(\"$siteurl/wp-content/plugins/pgnviewer/img/zurich/board/lightquare.gif\")";
$opts['squareBorder'] = '0px solid #000000';
$opts['moveBorder'] = '1px solid #cccccc';
// end of jspgnviewer options
Expand Down

0 comments on commit dacc76e

Please sign in to comment.