// ----------------------------------------------------------------------
// ePubVersion v0.7 for eFiction 3.x
// Copyright (c) 2010 by Kirstyn Amanda Fox
// 
// http://storyportal.net/epub
//
// Based on:
// Display Word Module developed for eFiction 3.0
// Copyright (c) 2006 by Tammy Keefer
// 
// http://efiction.hugosnebula.com/
//
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------

To install this module:

1. Upload the entire epubversion folder to the the modules folder within your 
eFiction installation.

2. Go to http://www.yoursite.com/modules/epubversion/install.php where 
www.yoursite.com is your eFiction site's address.

3. Goto the main default_tpls folder.  Open up viewstory.tpl and 
storyindex.tpl and add {printepub} where you want the ePub icon/options 
to appear. 

4. Do the same for any skins with their own viewstory.tpl and/or storyindex.tpl

DO NOT move the items inside the default_tpls folder.  The script will look
for them where they're at.

You can define $epubicon in your skin's variables.php to override the 
default ePub icon if you so desire.

There is one language definition in the en.php file in the languages folder
that provides the alt text for the ePub icon.

To uninsall this module:

1. Go to http://www.yoursite.com/modules/epubversion/uninstall.php where 
www.yoursite.com is your eFiction site's address.

