|
From: Verdon V. <ve...@us...> - 2008-11-22 20:54:23
|
Update of /cvsroot/phpwebsite-comm/modules/rolodex/class In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20584/class Modified Files: RDX_Forms.php Log Message: more 1.3 tweaks Index: RDX_Forms.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/rolodex/class/RDX_Forms.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** RDX_Forms.php 20 Nov 2008 22:49:33 -0000 1.26 --- RDX_Forms.php 22 Nov 2008 20:54:11 -0000 1.27 *************** *** 1356,1370 **** { $tpl['TITLE'] = dgettext('rolodex', 'Important Information'); ! $tpl['INFO_1_LABEL'] = dgettext('rolodex', 'About this module:'); ! $tpl['INFO_1'] = dgettext('rolodex', 'Rolodex is a new module for phpwebsite 1.5 or better. It is a complete rewrite of my earlier module phpwsbusinesses, for the earlier series of phpws. If you were familiar with that module, you will be familiar with many of Rolodex\'s features.'); ! $tpl['INFO_2_LABEL'] = null; ! $tpl['INFO_2'] = dgettext('rolodex', 'Roldex brings many new features and is even more configurable than phpwsbusinesses. Rolodex also takes full advantage of the new phpws core Demographics module. That module allows the sharing of user demographic information across all modules in a phpws.'); ! $tpl['INFO_3_LABEL'] = dgettext('rolodex', 'Bugs:'); ! $tpl['INFO_3'] = sprintf(dgettext('rolodex', 'Please report any bugs or observations of this module in %s this post at phpwsforums.com %s'), '<a href="http://phpwsforums.com/showthread.php?t=5969" target="new">', '</a>'); ! $tpl['INFO_4_LABEL'] = null; ! $tpl['INFO_4'] = null; ! $tpl['INFO_5_LABEL'] = null; ! $tpl['INFO_5'] = null; $tpl['DONATE'] = sprintf(dgettext('rolodex', 'If you would like to help out with the ongoing development of Rolodex, or other modules by Verdon Vaillancourt, %s click here to donate %s (opens in new browser window).'), '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=donations%40verdon%2eca&item_name=Rolodex%20Module%20Development&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=CA&bn=PP%2dDonationsBF&charset=UTF%2d8" target="new">', '</a>'); --- 1356,1370 ---- { + $filename = 'mod/rolodex/docs/README'; + if (@fopen($filename, "rb")) { + $handle = fopen($filename, "rb"); + $readme = fread($handle, filesize($filename)); + fclose($handle); + } else { + $readme = dgettext('rolodex', 'Sorry, the readme file does not exist.'); + } + $tpl['TITLE'] = dgettext('rolodex', 'Important Information'); ! $tpl['INFO'] = $readme; $tpl['DONATE'] = sprintf(dgettext('rolodex', 'If you would like to help out with the ongoing development of Rolodex, or other modules by Verdon Vaillancourt, %s click here to donate %s (opens in new browser window).'), '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=donations%40verdon%2eca&item_name=Rolodex%20Module%20Development&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=CA&bn=PP%2dDonationsBF&charset=UTF%2d8" target="new">', '</a>'); |