*
*> PhocaDownload/ChronoForms EC Hack <*
*  12/09
*  Based on a 1.3.2 beta phocadownload
*
Author : Eric Cappannelli | eric@cappasoft.com
*
Purpose  : integrate chronoforms into phocadownload, to switch licence agreement to a 'give me your mail form'... - The technique could work with any other form module in fact, if they offert a plugin (just to have rights code to generate form).
Benefits : high level and general form management, email messages, greetings message personalized... all chrono bonus in fact...

How to install : 

A. ** INSTALL CHRONOFORMS FIRST **
A.1 Create / load at least a form...
B. Replace Phoca files,
C. On phoca backend, in file detail, licence combo propose chrono forms as licence text. Choose one of them...
D. Go to your front, phocadownload link => assigned to the new chrono licence, you should be prompted by the chrono form selected.

Files modified :

1. \components\com_phocadownload\views\file\tmpl\default.php => Main hack, comments are in the file...
2. \components\com_phocadownload\views\phocadownload\view.html.php => backenHack, to link chronoforms/phocadownload
3. \components\com_phocadownload\assets\phocadownload-grey.css => more 'sexy' form validation
4. (\components\com_phocadownload\models\play.php => lc.id AS licenseid missing lg 99 (regarding to file.php) => But it doesn't matter for my hack, i just found it while searching...)
