You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(120) |
Jun
(74) |
Jul
(97) |
Aug
(35) |
Sep
(35) |
Oct
(34) |
Nov
|
Dec
(6) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(18) |
Feb
(8) |
Mar
(7) |
Apr
(23) |
May
(28) |
Jun
(31) |
Jul
(27) |
Aug
(34) |
Sep
(48) |
Oct
(511) |
Nov
(197) |
Dec
(333) |
| 2005 |
Jan
(212) |
Feb
(33) |
Mar
(94) |
Apr
(51) |
May
(16) |
Jun
|
Jul
(200) |
Aug
(43) |
Sep
(88) |
Oct
(60) |
Nov
(62) |
Dec
(41) |
| 2006 |
Jan
(94) |
Feb
(49) |
Mar
(54) |
Apr
|
May
(39) |
Jun
(39) |
Jul
(61) |
Aug
(36) |
Sep
(23) |
Oct
(76) |
Nov
(73) |
Dec
(32) |
| 2007 |
Jan
|
Feb
(87) |
Mar
|
Apr
(8) |
May
(36) |
Jun
(49) |
Jul
(54) |
Aug
(8) |
Sep
(50) |
Oct
(36) |
Nov
|
Dec
(3) |
| 2008 |
Jan
(133) |
Feb
(54) |
Mar
(39) |
Apr
(2) |
May
(6) |
Jun
(74) |
Jul
(97) |
Aug
(70) |
Sep
(12) |
Oct
(20) |
Nov
(64) |
Dec
(24) |
| 2009 |
Jan
(25) |
Feb
(49) |
Mar
(18) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
(10) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(7) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Greg M. <bli...@us...> - 2008-01-03 16:29:37
|
Update of /cvsroot/phpwebsite-comm/modules/wiki/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18725/docs Modified Files: ChangeLog Log Message: Fixed image on SamplePage and SandBox pages. Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/wiki/docs/ChangeLog,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** ChangeLog 29 May 2007 02:43:22 -0000 1.43 --- ChangeLog 3 Jan 2008 16:29:39 -0000 1.44 *************** *** 10,13 **** --- 10,14 ---- Cleaned up look of about file. Requesting a restricted page forwards user to the login screen. + Fixed image on SamplePage and SandBox pages. *wiki-1.0.0 (03 Dec 2006) |
|
From: Greg M. <bli...@us...> - 2008-01-03 15:44:22
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1440 Modified Files: credits.txt Log Message: Preparing for first 2008 release. Index: credits.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/docs/credits.txt,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** credits.txt 2 Jan 2008 21:59:28 -0000 1.6 --- credits.txt 3 Jan 2008 15:44:25 -0000 1.7 *************** *** 1,5 **** ----------------------------------------------------------------------- Mailing Lists ! Copyright (c) 2003-2007 Greg Meiste ----------------------------------------------------------------------- --- 1,5 ---- ----------------------------------------------------------------------- Mailing Lists ! Copyright (c) 2003-2008 Greg Meiste ----------------------------------------------------------------------- |
|
From: Greg M. <bli...@us...> - 2008-01-03 15:44:09
|
Update of /cvsroot/phpwebsite-comm/modules/wiki/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1399 Modified Files: CREDITS Log Message: Preparing for first 2008 release. Index: CREDITS =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/wiki/docs/CREDITS,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CREDITS 31 Jan 2006 00:50:20 -0000 1.2 --- CREDITS 3 Jan 2008 15:44:09 -0000 1.3 *************** *** 3,7 **** Credits and Acknowledgements ! Wiki for phpWebSite is copyright (C) 2005-2006 by those listed in the Developers section below. --- 3,7 ---- Credits and Acknowledgements ! Wiki for phpWebSite is copyright (C) 2005-2008 by those listed in the Developers section below. |
|
From: Greg M. <bli...@us...> - 2008-01-02 22:02:32
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4991/lang Removed Files: mailinglists.en.lng mailinglists.it.lng Log Message: Committing complete rewrite which supports phpWebSite 1.x --- mailinglists.it.lng DELETED --- --- mailinglists.en.lng DELETED --- |
|
From: Greg M. <bli...@us...> - 2008-01-02 22:00:04
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/import In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/templates/import Modified Files: list.tpl Log Message: Committing complete rewrite which supports phpWebSite 1.x Index: list.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/templates/import/list.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** list.tpl 16 Mar 2004 22:00:00 -0000 1.2 --- list.tpl 2 Jan 2008 21:59:36 -0000 1.3 *************** *** 1,52 **** ! <!-- BEGIN MENU --> ! <table width="100%"> ! <tr> ! {MENU} ! </tr> ! </table> ! <!-- END MENU --> ! <!-- BEGIN TEXT --> ! <br />{TEXT}:<br /> ! <!-- END TEXT --> ! <!-- BEGIN ANNOUNCEMENTS --> ! <br /><b>{ANNOUNCE_LABEL}</b><br /> ! <table border="0" width="100%" cellspacing="1" cellpadding="3"> ! <tr> ! <!-- BEGIN ANNOUNCEMENT_TITLE --> ! <td class="bg_medium" nowrap="nowrap"><b>{ANNOUNCEMENT_TITLE}</b></td> ! <!-- END ANNOUNCEMENT_TITLE --> ! <!-- BEGIN ANNOUNCEMENT_DATE --> ! <td class="bg_medium" nowrap="nowrap" align="center"><b>{ANNOUNCEMENT_DATE}</b></td> ! <!-- END ANNOUNCEMENT_DATE --> ! </tr> ! {ANNOUNCEMENTS} ! </table> ! <!-- END ANNOUNCEMENTS --> ! <!-- BEGIN ARTICLES --> ! <br /><b>{ARTICLE_LABEL}</b><br /> ! <table border="0" width="100%" cellspacing="1" cellpadding="3"> ! <tr> ! <!-- BEGIN ARTICLE_TITLE --> ! <td class="bg_medium" nowrap="nowrap"><b>{ARTICLE_TITLE}</b></td> ! <!-- END ARTICLE_TITLE --> ! <!-- BEGIN ARTICLE_DATE --> ! <td class="bg_medium" nowrap="nowrap" align="center"><b>{ARTICLE_DATE}</b></td> ! <!-- END ARTICLE_DATE --> ! </tr> ! {ARTICLES} ! </table> ! <!-- END ARTICLES --> ! <!-- BEGIN CALENDAR --> ! <br /><b>{CALENDAR_LABEL}</b><br /> ! <table border="0" width="100%" cellspacing="1" cellpadding="3"> ! <tr> ! <!-- BEGIN CALENDAR_TITLE --> ! <td class="bg_medium" nowrap="nowrap"><b>{CALENDAR_TITLE}</b></td> ! <!-- END CALENDAR_TITLE --> ! <!-- BEGIN CALENDAR_DATE --> ! <td class="bg_medium" nowrap="nowrap" align="center"><b>{CALENDAR_DATE}</b></td> ! <!-- END CALENDAR_DATE --> ! </tr> ! {EVENTS} </table> - <!-- END CALENDAR --> --- 1,21 ---- ! <h1>{MODULE_NAME}</h1> ! ! <table cellpadding="4" cellspacing="1" width="100%"> ! <tr> ! <th>{TITLE}</th> ! <th>{CREATED}</th> ! <th>{ACTION}</th> ! </tr> ! <!-- BEGIN listrows --> ! <tr{TOGGLE}> ! <td>{TITLE}</td> ! <td>{CREATED}</td> ! <td>{ACTION}</td> ! </tr> ! <!-- END listrows --> ! <!-- BEGIN empty_message --> ! <tr{TOGGLE}> ! <td colspan="3">{EMPTY_MESSAGE}</td> ! </tr> ! <!-- END empty_message --> </table> |
|
From: Greg M. <bli...@us...> - 2008-01-02 22:00:02
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/templates Modified Files: settings.tpl Added Files: admin.tpl my_page.tpl Log Message: Committing complete rewrite which supports phpWebSite 1.x --- NEW FILE: admin.tpl --- <div class="panel-title"><h1>{TITLE}</h1></div> <div class="panel-content"> <!-- BEGIN message --><h3>{MESSAGE}</h3><!-- END message --> {CONTENT} </div> Index: settings.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/templates/settings.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** settings.tpl 3 Mar 2004 22:25:41 -0000 1.4 --- settings.tpl 2 Jan 2008 21:59:33 -0000 1.5 *************** *** 1,34 **** ! {MENU} ! <br /> ! <!-- BEGIN MSG --> ! <b>{MSG}</b><br /><br /> ! <!-- END MSG --> ! {FORM} ! <!-- BEGIN BOX --> ! {BOX_HELP}{BOX_LABEL}?: {BOX_YES} {BOX_NO}<br /> ! <!-- END BOX --> ! <!-- BEGIN FOOTER --> ! {FOOTER_HELP}{FOOTER_LABEL}: {FOOTER_YES} {FOOTER_NO}<br /> ! <!-- END FOOTER --> ! <!-- BEGIN USERSEND --> ! {USERSEND_HELP}{USERSEND_LABEL}: {USERSEND_YES_NA} {USERSEND_YES_WA} {USERSEND_NO}<br /> ! <!-- END USERSEND --> ! <!-- BEGIN ANONSUBSCRIBE --> ! {ANONSUBSCRIBE_HELP}{ANONSUBSCRIBE_LABEL}: {ANONSUBSCRIBE_YES} {ANONSUBSCRIBE_NO}<br /> ! <!-- END ANONSUBSCRIBE --> ! <!-- BEGIN SUBJECTPREFIX --> ! {SUBJECTPREFIX_HELP}{SUBJECTPREFIX_LABEL}: {SUBJECTPREFIX_YES} {SUBJECTPREFIX_NO}<br /> ! <!-- END SUBJECTPREFIX --> ! <!-- BEGIN FOOTHTML --> ! <br />{FOOTHTML_HELP}{FOOTHTML_LABEL}:<br />{FOOTHTML}<br /> ! <!-- END FOOTHTML --> ! <!-- BEGIN CONVERT_BUTTON --> ! <br />{CONVERT_HELP}{CONVERT_BUTTON}<br /> ! <!-- END CONVERT_BUTTON --> ! <!-- BEGIN FOOTPLAIN --> ! <br />{FOOTPLAIN_HELP}{FOOTPLAIN_LABEL}:<br />{FOOTPLAIN}<br /> ! <!-- END FOOTPLAIN --> ! <!-- BEGIN SUBMIT --> ! <br />{SUBMIT_BUTTON} ! <!-- END SUBMIT --> {END_FORM} --- 1,21 ---- ! {START_FORM} ! <div class="top-label"> ! <div class="padded"> ! {SHOW_BLOCK} {SHOW_BLOCK_LABEL}<br /> ! {FOOTER} {FOOTER_LABEL}<br /> ! {ANON_SUBSCRIBE} {ANON_SUBSCRIBE_LABEL}<br /> ! {SUBJECT_PREFIX} {SUBJECT_PREFIX_LABEL} ! </div> ! <div class="padded"> ! {USER_SEND_LABEL}<br /> ! {USER_SEND_1} {USER_SEND_1_LABEL}<br /> ! {USER_SEND_2} {USER_SEND_2_LABEL}<br /> ! {USER_SEND_3} {USER_SEND_3_LABEL} ! </div> ! <div class="padded">{MAX_PER_HOUR_LABEL}<br />{MAX_PER_HOUR}</div> ! <div class="padded">{MAX_AT_ONCE_LABEL}<br />{MAX_AT_ONCE}</div> ! <div class="padded">{FOOTER_HTML_MSG_LABEL}<br />{FOOTER_HTML_MSG}</div> ! <div class="padded">{FOOTER_TEXT_MSG_LABEL}<br />{FOOTER_TEXT_MSG}</div> ! <div class="padded">{SUBMIT}</div> ! </div> {END_FORM} --- NEW FILE: my_page.tpl --- <div><h1>{TITLE}</h1></div> <!-- BEGIN message --> <div class="padded"><h3>{MESSAGE}</h3></div> <!-- END message --> <div class="padded"> {CONTENT} </div> |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:59:57
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/img Modified Files: mailinglists.png Removed Files: warning.png Log Message: Committing complete rewrite which supports phpWebSite 1.x --- warning.png DELETED --- Index: mailinglists.png =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/img/mailinglists.png,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvswiTflK and /tmp/cvsUrtFVf differ |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:59:56
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/docs Modified Files: COPYING INSTALL.txt changelog.txt credits.txt Log Message: Committing complete rewrite which supports phpWebSite 1.x Index: changelog.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/docs/changelog.txt,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** changelog.txt 2 Jan 2008 20:25:38 -0000 1.43 --- changelog.txt 2 Jan 2008 21:59:28 -0000 1.44 *************** *** 7,10 **** --- 7,17 ---- + *cvs + + - Complete rewrite to support phpWebSite 1.4.0 and later + - RFE #1838405: Throttle mail sending + - RFE #1293041: Archive link from admin page + - RFE #1274788: Support bulk subscribe/unsubscribe in Subscriber Admin + *mailinglists-0.5.7 (02 Jan 2008) Index: INSTALL.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/docs/INSTALL.txt,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** INSTALL.txt 12 Sep 2005 00:36:10 -0000 1.6 --- INSTALL.txt 2 Jan 2008 21:59:28 -0000 1.7 *************** *** 6,45 **** ############################################################################### ! IMPORTANT NOTE: This is a module for phpWebSite. You have to install ! phpWebSite >= 0.9.3-4 first as the module will not work with earlier ! versions of phpWebSite. If you don't have phpWebSite installed, first ! get the code here: ! https://sourceforge.net/project/showfiles.php?group_id=15539 ! Then follow the install instructions found in the INSTALL.txt included ! in the docs directory of that download. - Once this is done then you can start installing Mailing Lists: ! 1. BACKUP YOUR DATABASE! Don't send us hate mail if this module crashes ! your website. (However, we do ask that you tell us about it.) ! 2. Download the .tar.gz from a sourceforge mirror. (There is also a .zip ! file for Windows users.) ! 3. Unpack the tarball with: ! tar -xvzf module-mailinglists-*.tar.gz ! 4. Move the new directory into your phpWebSite mod directory. ! Example: If your phpWebSite directory is /home/httpd/htdocs, you ! would run: mv mailinglists /home/httpd/htdocs/mod/mailinglists ! 5. Go to your web site and install/update Mailing Lists from Boost. ! You are golden. Mailing Lists is now installed. ! If you are having trouble with these procedures please file a Support ! Request at our sourceforge.net project site: http://sourceforge.net/tracker/?atid=765094&group_id=81360&func=browse \ No newline at end of file --- 6,54 ---- ############################################################################### ! ===== IMPORTANT ===== ! This module is for phpWebSite 1.4.0 or higher. You have to install ! phpWebSite >= 1.4.0 first - earlier versions of phpWebSite will not work. ! If you don't have phpWebSite installed, first get the latest code here: ! http://sourceforge.net/project/showfiles.php?group_id=15539 + Then follow the install instructions found in the INSTALL file included in + the docs directory of that download. Once this is done then you can start + installing Mailing Lists. ! ===== INSTALLATION ===== ! 1. BACKUP YOUR DATABASE. Never install this or any other module without ! doing this. ! 2. Download the .tar.gz or .zip file from sourceforge and unpack it. ! 3. Move the new directory into your phpwebsite mod directory. ! Example: If your phpwebsite directory is /home/httpd/htdocs, you would run: mv mailinglists /home/httpd/htdocs/mod/mailinglists ! 4. Go to your phpWS website and install or upgrade "Mailing Lists" from the ! Boost module. ! 5. (Optional, but recommended) In your site's config.php file, set the ! ALLOW_TABLE_LOCKS define to true. Table locks are used to protect this ! module's email queue. Obviously, don't set to true if your database user ! does not have permissions to lock tables. + 6. Log out and log back in to your site to reset your environment before + using the module. ! The module is now installed. You can access it by going to "Control Panel" ! and clicking on "Administration". ! ! ! ===== PROBLEMS? ===== ! ! If you are having trouble with these procedures please file a Support Request ! at our sourceforge.net project site: http://sourceforge.net/tracker/?atid=765094&group_id=81360&func=browse \ No newline at end of file Index: COPYING =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/docs/COPYING,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** COPYING 31 Aug 2005 04:24:48 -0000 1.1 --- COPYING 2 Jan 2008 21:59:28 -0000 1.2 *************** *** 58,62 **** The precise terms and conditions for copying, distribution and modification follow. ! GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION --- 58,62 ---- The precise terms and conditions for copying, distribution and modification follow. ! GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION *************** *** 294,298 **** Mailing Lists ! Copyright (C) 2003-2005 Greg Meiste This program is free software; you can redistribute it and/or modify --- 294,298 ---- Mailing Lists ! Copyright (C) 2003-2007 Greg Meiste This program is free software; you can redistribute it and/or modify Index: credits.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/docs/credits.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** credits.txt 31 Aug 2005 04:24:48 -0000 1.5 --- credits.txt 2 Jan 2008 21:59:28 -0000 1.6 *************** *** 1,5 **** ----------------------------------------------------------------------- Mailing Lists ! Copyright (c) 2003-2005 Greg Meiste ----------------------------------------------------------------------- --- 1,5 ---- ----------------------------------------------------------------------- Mailing Lists ! Copyright (c) 2003-2007 Greg Meiste ----------------------------------------------------------------------- *************** *** 14,24 **** ----------------------------------------------------------------------- - George Clark - http://www.magicgeorge.com - - TheCity1.com - http://www.thecity1.com - http://www.sports.thecity1.com - Sourceforge http://sourceforge.net --- 14,17 ---- *************** *** 26,39 **** phpWebsite Development Crew http://phpwebsite.appstate.edu - - Shaun Murray - Tester - - Robert Kennedy - Tester / Doc Writer - - Lloyd Dalton - Tester - - Andrew Zahra - Tester \ No newline at end of file --- 19,20 ---- |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:59:53
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/boost Modified Files: install.sql uninstall.php update.php Added Files: about.html boost.php controlpanel.php dependency.xml permission.php Removed Files: install.php uninstall.sql Log Message: Committing complete rewrite which supports phpWebSite 1.x Index: uninstall.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/boost/uninstall.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** uninstall.php 12 Sep 2005 00:36:09 -0000 1.7 --- uninstall.php 2 Jan 2008 21:59:24 -0000 1.8 *************** *** 10,19 **** * 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. ! * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software --- 10,19 ---- * 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. ! * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software *************** *** 24,37 **** */ ! if (!$_SESSION['OBJ_user']->isDeity()){ ! header('location:index.php'); ! exit(); ! } ! if ($status = $GLOBALS['core']->sqlImport(PHPWS_SOURCE_DIR . 'mod/mailinglists/boost/uninstall.sql', 1, 1)) { ! $content .= 'All Mailing List tables successfully removed.<br />'; ! $_SESSION['SES_MAILINGLISTS_MANAGER'] = NULL; ! } else { ! $content .= 'There was a problem accessing the database.<br />'; } --- 24,37 ---- */ ! function mailinglists_uninstall(&$content) ! { ! PHPWS_DB::dropTable('mailinglists_lists'); ! PHPWS_DB::dropTable('mailinglists_subscribers'); ! PHPWS_DB::dropTable('mailinglists_emails'); ! PHPWS_DB::dropTable('mailinglists_queue'); ! $content[] = dgettext('mailinglists', 'Database tables removed.'); ! ! return true; } --- NEW FILE: dependency.xml --- <?xml version="1.0"?> <dependency> <module> <title>core</title> <properName>phpWebSite Core</properName> <version>1.7.1</version> <url>http://phpwebsite.appstate.edu/downloads/modules/base/</url> </module> </dependency> --- NEW FILE: permission.php --- <?php /** * Mailing Lists - phpWebSite Module * * See docs/credits.txt for copyright information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Id: permission.php,v 1.1 2008/01/02 21:59:24 blindman1344 Exp $ * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ $use_permissions = TRUE; $permissions['edit_lists'] = dgettext('mailinglists', 'Edit Lists'); $permissions['delete_lists'] = dgettext('mailinglists', 'Delete Lists'); $permissions['hide_lists'] = dgettext('mailinglists', 'Hide Lists'); $permissions['send_emails'] = dgettext('mailinglists', 'Send Emails'); $permissions['saved_emails'] = dgettext('mailinglists', 'Saved Emails Admin'); $permissions['change_settings'] = dgettext('mailinglists', 'Change Settings'); $permissions['subscriber_admin'] = dgettext('mailinglists', 'Subscriber Admin'); $item_permissions = FALSE; ?> --- NEW FILE: boost.php --- <?php /** * Mailing Lists - phpWebSite Module * * See docs/credits.txt for copyright information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Id: boost.php,v 1.1 2008/01/02 21:59:24 blindman1344 Exp $ * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ $proper_name = 'Mailing Lists'; $version = '1.0.0'; $register = FALSE; $unregister = FALSE; $import_sql = TRUE; $image_dir = FALSE; $file_dir = FALSE; $version_http = 'http://www.meiste.com/phpws_updates/mailinglists.xml'; $about = TRUE; $priority = 50; $dependency = TRUE; ?> Index: update.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/boost/update.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** update.php 12 Sep 2005 00:36:09 -0000 1.19 --- update.php 2 Jan 2008 21:59:24 -0000 1.20 *************** *** 10,19 **** * 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. ! * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software --- 10,19 ---- * 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. ! * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software *************** *** 24,327 **** */ ! if (!$_SESSION['OBJ_user']->isDeity()) { ! header('location:index.php'); ! exit(); ! } ! ! // Need to do core version check ! if (version_compare($GLOBALS['core']->version, '0.9.3-4') < 0) { ! $content .= 'This module requires a phpWebSite core version of 0.9.3-4 or greater to install.<br />'; ! $content .= 'You are currently using phpWebSite core version ' . $GLOBALS['core']->version . '.<br />'; ! return; ! } ! ! // Load help information ! require_once(PHPWS_SOURCE_DIR . 'mod/help/class/CLS_help.php'); ! CLS_help::uninstall_help('mailinglists'); ! CLS_help::setup_help('mailinglists'); ! ! // Update Language ! require_once(PHPWS_SOURCE_DIR . 'mod/language/class/Language.php'); ! PHPWS_Language::uninstallLanguages('mailinglists'); ! PHPWS_Language::installLanguages('mailinglists'); ! ! $status = 1; ! ! if($currentVersion < 0.20) { ! $content .= 'Adding three new columns to the "mod_mailinglists_subscribers" table.<br />'; ! $sql = "ALTER TABLE mod_mailinglists_subscribers ADD (active smallint NOT NULL DEFAULT '1', activeKey int, dateSubscribed date NOT NULL)"; ! $GLOBALS['core']->query($sql, TRUE); ! $content .= 'Columns added successfully!<br />'; ! $content .= 'Updating current subscribers...<br />'; ! ! $sql = 'SELECT userID,listID FROM mod_mailinglists_subscribers'; ! $result = $GLOBALS['core']->getAll($sql, TRUE); ! if(sizeof($result) > 0) { ! $i = 0; ! foreach($result as $row) { ! $key = rand(1,999999999); ! $sql = 'UPDATE mod_mailinglists_subscribers SET activeKey=' . $key . ',dateSubscribed="' . date("Y-m-d") . '" WHERE userID=' . $row['userID'] . ' AND listID=' . $row['listID']; ! $GLOBALS['core']->query($sql, TRUE); ! $i++; ! } ! ! $content .= $i . ' subscribers were updated!<br />'; ! } else { ! $content .= 'No subscribers were found. Skipping this step.<br />'; ! } ! ! $content .= 'Adding columns "footer" and "footerMessage" to "mod_mailinglists_conf".'; ! $sql = "ALTER TABLE mod_mailinglists_conf ADD (footer smallint NOT NULL DEFAULT '0', footerMessage text NOT NULL)"; ! $GLOBALS['core']->query($sql, TRUE); ! $content .= '<br />Columns added successfully!<br />'; ! ! $sql = 'UPDATE mod_mailinglists_conf SET footerMessage="To unsubscribe, login to your subscription menu on our website."'; ! $GLOBALS['core']->query($sql, TRUE); ! ! $content .= 'Configuration settings updated!<br />'; ! ! $sql = 'CREATE TABLE mod_mailinglists_archives ( ! id int PRIMARY KEY, ! listID int NOT NULL, ! subject varchar(60) NOT NULL, ! message text NOT NULL, ! dateSent datetime NOT NULL ! )'; ! $GLOBALS['core']->query($sql, TRUE); ! $content .= 'Archives table created!<br />'; ! ! $content .= 'Adding 9 new columns to the "mod_mailinglists_lists" table.<br />'; ! $sql = "ALTER TABLE mod_mailinglists_lists ADD ! (archive smallint NOT NULL DEFAULT '1', ! archiveLink smallint NOT NULL DEFAULT '1', ! doubleOptIn smallint NOT NULL DEFAULT '1', ! sEmail smallint NOT NULL DEFAULT '1', ! uEmail smallint NOT NULL DEFAULT '1', ! optInMessage text NOT NULL, ! subscribeMessage text NOT NULL, ! unsubscribeMessage text NOT NULL, ! dateCreated date NOT NULL)"; ! ! $GLOBALS['core']->query($sql, TRUE); ! $content .= 'Columns added successfully!<br />'; ! $content .= 'Setting new list options for all lists.<br />'; ! ! $sql = 'SELECT id FROM mod_mailinglists_lists'; ! $result = $GLOBALS['core']->getAll($sql, TRUE); ! if(sizeof($result) > 0) { ! $i = 0; ! ! $message = "You have received this email because you have subscribed to the \\\"[LISTNAME]\\\" mailing list. There is one more step before your subscription is complete. You need to confirm your email address to us before you will begin to receive emails. To do so, please go to the following URL:\n\n"; ! $message .= "[URL]\n\nIf you have gotten this in error, please ignore this email. You will not receive future emails from us."; ! ! $sMessage = "Your subscription to the \\\"[LISTNAME]\\\" mailing list is now complete. You will begin to receive all messages we send out to this list.\n\n"; ! $sMessage .= 'To unsubscribe, just return to our website and login to your subscription menu.'; ! ! $uMessage = "Your subscription to the \\\"[LISTNAME]\\\" mailing list has been terminated. You will no longer receive messages we send out to this list.\n\n"; ! $uMessage .= 'To subscribe again, just return to our website and login to your subscription menu.'; ! ! foreach($result as $row) { ! $sql = 'UPDATE mod_mailinglists_lists SET optInMessage="' . $message . '", subscribeMessage="' . $sMessage . '", unsubscribeMessage="' . $uMessage . '", dateCreated="' . date("Y-m-d") . '" WHERE id=' . $row['id']; ! $GLOBALS['core']->query($sql, TRUE); ! $i++; ! } ! ! $content .= $i . ' mailing lists were updated!<br />'; ! } else { ! $content .= 'No mailing lists were found. Skipping this step.<br />'; ! } ! } ! ! ! if($currentVersion < 0.21) { ! $content .= 'Fixing subscribers that are not stored correctly.<br />'; ! $sql = 'SELECT userID,listID FROM mod_mailinglists_subscribers WHERE dateSubscribed="0000-00-00"'; ! $result = $GLOBALS['core']->getAll($sql, TRUE); ! if(sizeof($result) > 0) { ! $i = 0; ! foreach($result as $row) { ! $key = rand(1,999999999); ! $sql = 'UPDATE mod_mailinglists_subscribers SET activeKey=' . $key . ',dateSubscribed="' . date("Y-m-d") . '" WHERE userID=' . $row['userID'] . ' AND listID=' . $row['listID']; ! $GLOBALS['core']->query($sql, TRUE); ! $i++; ! } ! ! $content .= $i . ' subscribers were fixed!<br />'; ! } else { ! $content .= 'No subscribers needed to be fixed.<br />'; ! } ! } ! ! ! if($currentVersion < 0.30) { ! $sql = "CREATE TABLE mod_mailinglists_useroptions ( ! id int PRIMARY KEY, ! userID int NOT NULL, ! htmlEmail smallint NOT NULL DEFAULT '1' ! )"; ! $GLOBALS['core']->query($sql, TRUE); ! ! $numUsers = $GLOBALS['core']->sqlMaxValue(mod_users, user_id); ! ! for($i=1; $i<=$numUsers; $i++) { ! $GLOBALS['core']->sqlInsert(array('userID'=>$i,'htmlEmail'=>1), 'mod_mailinglists_useroptions'); ! } ! ! $sql = "ALTER TABLE mod_mailinglists_archives ADD (sentBy varchar(20) NOT NULL DEFAULT 'Unknown')"; ! $GLOBALS['core']->query($sql, TRUE); ! ! $sql = 'ALTER TABLE mod_mailinglists_saves ADD (htmlMessage text NOT NULL)'; ! $GLOBALS['core']->query($sql, TRUE); ! ! $sql = 'UPDATE mod_mailinglists_saves SET htmlMessage=message'; ! $GLOBALS['core']->query($sql, TRUE); ! ! $sql = 'ALTER TABLE mod_mailinglists_conf ADD (footerHtmlMessage text NOT NULL)'; ! $GLOBALS['core']->query($sql, TRUE); ! ! $sql = 'UPDATE mod_mailinglists_conf SET footerHtmlMessage=footerMessage'; ! $GLOBALS['core']->query($sql, TRUE); ! ! $sql = "ALTER TABLE mod_mailinglists_lists ! ADD (lastSent datetime NOT NULL, ! lastSentBy varchar(20) NOT NULL DEFAULT 'Unknown', ! fromName varchar(255) NOT NULL, ! fromEmail varchar(255) NOT NULL)"; ! $GLOBALS['core']->query($sql, TRUE); ! ! extract(PHPWS_User::getSettings()); ! $sql = 'UPDATE mod_mailinglists_lists SET fromName="' . $_SESSION['OBJ_layout']->page_title . '", fromEmail="' . $user_contact . '"'; ! $GLOBALS['core']->query($sql, TRUE); ! ! $content .= 'Mailing Lists Updates for Version 0.3.0<br />'; ! $content .= '------------------------------------------<br />'; ! $content .= '- "From" mail header can now be set<br />'; ! $content .= '- Fixed some xhtml compliance errors<br />'; ! $content .= '- Website output now templated for easy customization<br />'; ! $content .= '- Module rights support added<br />'; ! $content .= '- Language support added<br />'; ! $content .= '- HTML support added!!!<br />'; ! $content .= '- Interface improvements<br />'; ! $content .= '- Now keeps track of the date and who sent last email<br />'; ! $content .= '- Archives now stores who sent each email<br />'; ! $content .= '- Other minor tweaks<br />'; ! } ! ! ! if($currentVersion < 0.31) { ! $content .= 'Mailing Lists Updates for Version 0.3.1<br />'; ! $content .= '------------------------------------------<br />'; ! $content .= '- Script now properly checks to see if all emails sent<br />'; ! $content .= '- FAQ doc file added<br />'; ! $content .= '- Subscription Menu now properly displays subscribed lists.<br />'; ! $content .= '- Unsubscribe will no longer send emails to unactive users.<br />'; ! } ! ! if($currentVersion < 0.32) { ! $content .= 'Mailing Lists Updates for Version 0.3.2<br />'; ! $content .= '------------------------------------------<br />'; ! $content .= '- Admin can now add all the website users to a mailing list.<br />'; ! $content .= '- Footers can now have an unsubscribe link.<br />'; ! } ! ! if($currentVersion < 0.33) { ! $content .= 'Mailing Lists Updates for Version 0.3.3<br />'; ! $content .= '------------------------------------------<br />'; ! $content .= '- Now compatible with phpWebSite 0.9.3-2<br />'; ! $content .= '- Minor bug fixed with saved emails.<br />'; ! } ! ! if(in_array($currentVersion, array('0.10', '0.11', '0.20', '0.21', '0.22', '0.30', '0.31', '0.32', '0.33'))) { ! $currentVersion = '0.3.3'; ! } ! ! // Begin using version_compare() ! ! if(version_compare($currentVersion, '0.4.0') < 0) { ! $sql = "ALTER TABLE mod_mailinglists_conf ADD (userSend smallint NOT NULL DEFAULT '0', anonSubscribe smallint NOT NULL DEFAULT '0')"; ! $GLOBALS['core']->query($sql, TRUE); ! ! $sql = "CREATE TABLE mod_mailinglists_anon_subscribers ( ! id int PRIMARY KEY, ! email varchar(50) NOT NULL, ! html int NOT NULL DEFAULT '1', ! listID int NOT NULL, ! active smallint NOT NULL DEFAULT '1', ! activeKey int, ! dateSubscribed date NOT NULL ! )"; ! $GLOBALS['core']->query($sql, TRUE); ! ! $sql = "CREATE TABLE mod_mailinglists_limbo ( ! id int PRIMARY KEY, ! listID int NOT NULL, ! subject varchar(60) NOT NULL, ! message text NOT NULL, ! htmlMessage text NOT NULL, ! sentBy varchar(20) NOT NULL DEFAULT 'Unknown' ! )"; ! $GLOBALS['core']->query($sql, TRUE); ! ! $content .= 'Mailing Lists Updates for Version 0.4.0<br />'; ! $content .= '------------------------------------------<br />'; ! $content .= '- Subscriber Admin has been added.<br />'; ! $content .= '- Help module utilized.<br />'; ! $content .= '- Anonymous visitors can now subscribe to mailing lists.<br />'; ! $content .= '- Registered subscribed users can now send messages to the list.<br />'; ! } ! ! if(version_compare($currentVersion, '0.4.1') < 0) { ! $sql = 'ALTER TABLE mod_mailinglists_lists ADD (subjectPrefix varchar(65) NOT NULL)'; ! $GLOBALS['core']->query($sql, TRUE); ! ! $sql = 'SELECT id,name FROM mod_mailinglists_lists'; ! $result = $GLOBALS['core']->getAll($sql, TRUE); ! if(sizeof($result) > 0) { ! foreach($result as $row) { ! $sql = 'UPDATE mod_mailinglists_lists SET subjectPrefix="[' . $row['name'] . ']" WHERE id=' . $row['id']; ! $GLOBALS['core']->query($sql, TRUE); ! } ! } ! ! $sql = "ALTER TABLE mod_mailinglists_conf ADD (subjectPrefix smallint NOT NULL DEFAULT '1')"; ! $GLOBALS['core']->query($sql, TRUE); ! ! $content .= '<br />Mailing Lists Updates for Version 0.4.1<br />'; ! $content .= '------------------------------------------<br />'; ! $content .= '- Subject prefixes now possible.<br />'; ! $content .= '- Subscriber Admin bug fixes.<br />'; ! $content .= '- Fixed update script to support table prefixes.<br />'; ! } ! ! if(version_compare($currentVersion, '0.5.0') < 0) { ! $sql = 'UPDATE mod_mailinglists_archives SET subject="(No Subject)" WHERE subject=""'; ! $GLOBALS['core']->query($sql, TRUE); ! ! $content .= '<br />Mailing Lists Updates for Version 0.5.0<br />'; ! $content .= '------------------------------------------<br />'; ! $content .= '- Interface improvements<br />'; ! $content .= '- Improved Subscriber Admin<br />'; ! $content .= '- Messages can now be imported from modules<br />'; ! $content .= '- Fixed bug with HTML emails on certain servers<br />'; ! $content .= '- Email subjects now required<br />'; ! } ! ! if(version_compare($currentVersion, '0.5.1') < 0) { ! $content .= '<br />Mailing Lists Updates for Version 0.5.1<br />'; ! $content .= '------------------------------------------<br />'; ! $content .= '- Add All Users no longer adds unapproved users.<br />'; ! $content .= '- Fixed the relative link problem.<br />'; ! $content .= '- One anonymous user can now subscribe to multiple lists.<br />'; ! $content .= '- Email links in HTML emails no longer "mungled"<br />'; ! $content .= '- Better sanity checks on email send form<br />'; ! $content .= '- HTML email preview feature added<br />'; ! $content .= '- Modified how announcements were imported for compatibility with 0.9.3-3<br />'; ! } ! ! if(version_compare($currentVersion, '0.5.2') < 0) { ! $content .= '<br />Mailing Lists Updates for Version 0.5.2<br />'; ! $content .= '------------------------------------------<br />'; ! $content .= '- Now compatible with phpWebSite 0.10.0<br />'; ! $content .= '- Properly handles lists with ID > 9<br />'; } --- 24,31 ---- */ ! function mailinglists_update(&$content, $currentVersion) ! { ! /* Can not update from versions earlier than 1.0.0. */ ! return true; } --- install.php DELETED --- Index: install.sql =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/boost/install.sql,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** install.sql 1 Sep 2005 02:39:29 -0000 1.7 --- install.sql 2 Jan 2008 21:59:24 -0000 1.8 *************** *** 19,104 **** -- $Id$ ! CREATE TABLE mod_mailinglists_subscribers ( ! userID int NOT NULL, ! listID int NOT NULL, ! active smallint NOT NULL DEFAULT '1', ! activeKey int, ! dateSubscribed date NOT NULL, ! PRIMARY KEY (userID,listID), ! KEY userID (userID), ! KEY listID (listID) ! ); ! ! CREATE TABLE mod_mailinglists_lists ( ! id int PRIMARY KEY, ! name varchar(60) NOT NULL, ! status varchar(4) NOT NULL, ! description text NOT NULL, ! archive smallint NOT NULL DEFAULT '1', ! archiveLink smallint NOT NULL DEFAULT '1', ! doubleOptIn smallint NOT NULL DEFAULT '1', ! sEmail smallint NOT NULL DEFAULT '1', ! uEmail smallint NOT NULL DEFAULT '1', ! optInMessage text NOT NULL, ! subscribeMessage text NOT NULL, ! unsubscribeMessage text NOT NULL, ! dateCreated date NOT NULL, ! lastSent datetime NOT NULL, ! lastSentBy varchar(20) NOT NULL DEFAULT 'Unknown', ! fromName varchar(255) NOT NULL, ! fromEmail varchar(255) NOT NULL, ! subjectPrefix varchar(65) NOT NULL ! ); ! ! CREATE TABLE mod_mailinglists_useroptions ( ! id int PRIMARY KEY, ! userID int NOT NULL, ! htmlEmail smallint NOT NULL DEFAULT '1' ! ); ! ! CREATE TABLE mod_mailinglists_conf ( ! personal varchar(4) NOT NULL, ! footer smallint NOT NULL DEFAULT '0', ! footerMessage text NOT NULL, ! footerHtmlMessage text NOT NULL, ! userSend smallint NOT NULL DEFAULT '0', ! anonSubscribe smallint NOT NULL DEFAULT '0', ! subjectPrefix smallint NOT NULL DEFAULT '1' ! ); ! ! INSERT INTO mod_mailinglists_conf VALUES ('on', '0', 'To unsubscribe:\n[URL]', '<i>To unsubscribe, <a href=\"[URL]\">click here</a>.</i>', '0', '0', '1'); ! ! CREATE TABLE mod_mailinglists_saves ( ! id int PRIMARY KEY, ! name varchar(40) NOT NULL, ! message text NOT NULL, ! htmlMessage text NOT NULL ); ! CREATE TABLE mod_mailinglists_archives ( ! id int PRIMARY KEY, ! listID int NOT NULL, ! subject varchar(60) NOT NULL, ! message text NOT NULL, ! dateSent datetime NOT NULL, ! sentBy varchar(20) NOT NULL DEFAULT 'Unknown' ); ! CREATE TABLE mod_mailinglists_anon_subscribers ( ! id int PRIMARY KEY, ! email varchar(50) NOT NULL, ! html int NOT NULL DEFAULT '1', ! listID int NOT NULL, ! active smallint NOT NULL DEFAULT '1', ! activeKey int, ! dateSubscribed date NOT NULL ); ! CREATE TABLE mod_mailinglists_limbo ( ! id int PRIMARY KEY, ! listID int NOT NULL, ! subject varchar(60) NOT NULL, ! message text NOT NULL, ! htmlMessage text NOT NULL, ! sentBy varchar(20) NOT NULL DEFAULT 'Unknown' ); --- 19,71 ---- -- $Id$ ! CREATE TABLE mailinglists_lists ( ! id INT NOT NULL, ! name VARCHAR(60) NOT NULL, ! description TEXT NULL, ! active SMALLINT NOT NULL DEFAULT '1', ! archive_link SMALLINT NOT NULL DEFAULT '1', ! double_opt_in SMALLINT NOT NULL DEFAULT '1', ! s_email SMALLINT NOT NULL DEFAULT '1', ! u_email SMALLINT NOT NULL DEFAULT '1', ! opt_in_msg TEXT NOT NULL, ! subscribe_msg TEXT NOT NULL, ! unsubscribe_msg TEXT NOT NULL, ! created INT NOT NULL DEFAULT '0', ! from_name VARCHAR(255) NOT NULL, ! from_email VARCHAR(255) NOT NULL, ! subject_prefix VARCHAR(65) NOT NULL, ! PRIMARY KEY (id) ); ! CREATE TABLE mailinglists_subscribers ( ! id INT NOT NULL, ! user_id INT NOT NULL DEFAULT '0', ! email VARCHAR(100) NULL, ! list_id INT NOT NULL DEFAULT '0', ! html SMALLINT NOT NULL DEFAULT '1', ! active SMALLINT NOT NULL DEFAULT '1', ! active_key INT NOT NULL, ! subscribed INT NOT NULL, ! PRIMARY KEY (id) ); ! CREATE TABLE mailinglists_emails ( ! id INT NOT NULL, ! list_id INT NOT NULL DEFAULT '0', ! subject VARCHAR(60) NOT NULL, ! msg_text TEXT NOT NULL, ! msg_html TEXT NULL, ! created INT NOT NULL DEFAULT '0', ! user_id INT NOT NULL DEFAULT '0', ! approved INT NOT NULL DEFAULT '0', ! PRIMARY KEY (id) ); ! CREATE TABLE mailinglists_queue ( ! id INT NOT NULL, ! list_id INT NOT NULL DEFAULT '0', ! subscriber_id INT NOT NULL DEFAULT '0', ! email_id INT NOT NULL DEFAULT '0', ! email_address VARCHAR(100) NULL, ! PRIMARY KEY (id) ); --- NEW FILE: controlpanel.php --- <?php /** * Mailing Lists - phpWebSite Module * * See docs/credits.txt for copyright information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Id: controlpanel.php,v 1.1 2008/01/02 21:59:24 blindman1344 Exp $ * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ $link[] = array('label' => dgettext('mailinglists', 'Mailing Lists'), 'restricted' => TRUE, 'url' => 'index.php?module=mailinglists', 'description' => dgettext('mailinglists', 'Create and manage Mailing Lists. Send mass mailings here!'), 'image' => 'mailinglists.png', 'tab' => 'admin' ); ?> --- NEW FILE: about.html --- <html> <head> <title>Mailing Lists</title> <link rel="stylesheet" type="text/css" href="themes/default/style.css" /> <link rel="stylesheet" type="text/css" href="themes/default/default.css" /> </head> <body class="padded"> <h1>Mailing Lists</h1> <h3>By Greg Meiste</h3> <p>Lets you create and manage Mailing Lists and send mass mailings to subscribers.</p> <p class="align-center padded"><input type="button" onclick="window.close()" value="Close" /></p> </body> </html> --- uninstall.sql DELETED --- |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:59:50
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572 Modified Files: README index.php Log Message: Committing complete rewrite which supports phpWebSite 1.x Index: README =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/README,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README 31 Aug 2005 04:24:47 -0000 1.1 --- README 2 Jan 2008 21:59:23 -0000 1.2 *************** *** 29,31 **** VERSION ------- ! Version is listed as $version in conf/boost.php \ No newline at end of file --- 29,31 ---- VERSION ------- ! Version is listed as $version in boost/boost.php \ No newline at end of file Index: index.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/index.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** index.php 2 Jan 2008 19:22:06 -0000 1.26 --- index.php 2 Jan 2008 21:59:23 -0000 1.27 *************** *** 24,447 **** */ ! if (!isset($GLOBALS['core'])){ ! header('location:../../'); ! exit(); ! } ! ! /* Check to see if Mailinglist session is set and set it if it's not. */ ! if(!isset($_SESSION['SES_MAILINGLISTS_MANAGER'])) { ! $_SESSION['SES_MAILINGLISTS_MANAGER'] = new PHPWS_mailinglists; } ! if(isset($_REQUEST['op'])) { ! $noPermission = $_SESSION['translate']->it('Incorrect permissions to view.'); ! ! switch($_REQUEST['op']) { ! case 'admin': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu(); ! break; ! ! case 'config': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showConfig(); ! break; ! ! case 'user': ! if(isset($_SESSION['OBJ_user']->username)) { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showUserMenu(); ! } else { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showAnonMenu(); ! } ! break; ! ! case 'savedEmails': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showSavedEmails(); ! break; ! ! case 'addList': ! if($_SESSION['OBJ_user']->allow_access('mailinglists', 'create_lists')) { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->edit(); ! } ! else { ! $GLOBALS['CNT_mailinglists_menu']['content'] = $noPermission; ! } ! break; ! ! case 'doAddList': ! { ! $message = "You have received this email because you have subscribed to the \"[LISTNAME]\" mailing list. There is one more step before your subscription is complete. You need to confirm your email address to us before you will begin to receive emails. To do so, please go to the following URL:\n\n"; ! $message .= "[URL]\n\nIf you have gotten this in error, please ignore this email. You will not receive future emails from us."; ! ! $sMessage = "Your subscription to the \"[LISTNAME]\" mailing list is now complete. You will begin to receive all messages we send out to this list.\n\n"; ! $sMessage .= 'To unsubscribe, just return to our website and login to your subscription menu.'; ! ! $uMessage = "Your subscription to the \"[LISTNAME]\" mailing list has been terminated. You will no longer receive messages we send out to this list.\n\n"; ! $uMessage .= 'To subscribe again, just return to our website and login to your subscription menu.'; ! ! $prefix = '[' . $listName . ']'; ! ! $GLOBALS['core']->sqlInsert(array('name'=>$listName,'status'=>'off','description'=>$description,'archive'=>$archive,'archiveLink'=>$archiveLink,'doubleOptIn'=>$doubleOptIn,'sEmail'=>$sEmail,'uEmail'=>$uEmail,'optInMessage'=>$message,'subscribeMessage'=>$sMessage,'unsubscribeMessage'=>$uMessage,'dateCreated'=>date("Y-m-d"),'lastSentBy'=>'N/A','fromName'=>$fromName,'fromEmail'=>$fromEmail,'subjectPrefix'=>$prefix), 'mod_mailinglists_lists'); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu($_SESSION['translate']->it('List Added')); ! } ! break; ! ! case 'chgConfig': ! if(isset($_POST['convert'])){ ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showConfig($_SESSION['translate']->it('HTML Converted'), $personal, $footer, $footerHtmlMessage); ! } ! else { ! $GLOBALS['core']->sqlUpdate(array('personal'=>$personal, 'footer'=>$footer, 'footerMessage'=>$footerMessage, 'footerHtmlMessage'=>$footerHtmlMessage, 'userSend'=>$userSend, 'anonSubscribe'=>$anonSubscribe, 'subjectPrefix'=>$subjectPrefix), 'mod_mailinglists_conf'); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showConfig($_SESSION['translate']->it('Settings Updated')); ! } ! break; ! ! case 'listShowHide': ! if($list != NULL) { ! $result = $GLOBALS['core']->sqlSelect('mod_mailinglists_lists', 'id', $list[0]); ! if($result[0]['status'] == 'on') { ! $GLOBALS['core']->sqlUpdate(array('status'=>'off'), 'mod_mailinglists_lists', 'id', $list[0]); ! } ! else { ! $GLOBALS['core']->sqlUpdate(array('status'=>'on'), 'mod_mailinglists_lists', 'id', $list[0]); ! } ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu($_SESSION['translate']->it('List Status Changed')); ! } ! else ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu($_SESSION['translate']->it('Please select a mailing list.')); ! break; ! ! case 'subscribe': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscribeUser($user, $list); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showUserMenu(); ! break; ! ! case 'unsubscribe': ! $result = $GLOBALS['core']->sqlSelect('mod_mailinglists_subscribers', array('userID'=>$user, 'listID'=>$list, 'active'=>'1')); ! $GLOBALS['core']->sqlDelete('mod_mailinglists_subscribers', array('userID'=>$user,'listID'=>$list)); ! if($result != NULL) { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->sendUnsubscribeEmail($user, $list); ! } ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showUserMenu(); ! break; ! ! case 'deleteList': ! if($list != NULL) ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showDeleteList($list[0]); ! else ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu($_SESSION['translate']->it('Please select a mailing list.')); ! break; ! ! case 'doDeleteList': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->doDeleteList($list); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu($_SESSION['translate']->it('List Deleted')); ! break; ! ! case 'editList': ! if($_SESSION['OBJ_user']->allow_access('mailinglists', 'edit_lists')) { ! if($list != NULL) ! $_SESSION['SES_MAILINGLISTS_MANAGER']->edit($list[0]); ! else ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu($_SESSION['translate']->it('Please select a mailing list.')); ! } ! else { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu($noPermission); ! } ! break; ! ! case 'doEditList': ! $GLOBALS['core']->sqlUpdate(array('name'=>$listName,'description'=>$description,'archive'=>$archive,'archiveLink'=>$archiveLink,'doubleOptIn'=>$doubleOptIn,'sEmail'=>$sEmail,'uEmail'=>$uEmail,'optInMessage'=>$optInMessage,'subscribeMessage'=>$subscribeMessage,'unsubscribeMessage'=>$unsubscribeMessage,'fromName'=>$fromName,'fromEmail'=>$fromEmail,'subjectPrefix'=>$subjectPrefix), 'mod_mailinglists_lists', 'id', $list); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu($_SESSION['translate']->it('List Updated')); ! break; ! ! case 'sendEmail': ! if($list != NULL) { ! $result = $GLOBALS['core']->sqlSelect('mod_mailinglists_lists', array('id'=>$_REQUEST['list'][0])); ! if($mladmin != NULL) ! { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showEmailForm($list, NULL, NULL, NULL, 0); ! } ! else ! { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showEmailForm($list[0]); ! } ! } ! else ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu($_SESSION['translate']->it('Please select a mailing list.')); ! break; ! ! case 'loadEmail': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showLoadEmail($list); ! break; ! ! case 'doLoadEmail': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showEmailForm($list,$email); ! break; ! ! case 'addEmail': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showEditEmail(); ! break; ! ! case 'doAddEmail': ! if(isset($_POST['convert'])){ ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showEditEmail(NULL, $emailSubject, $htmlMessage); ! } ! else { ! $GLOBALS['core']->sqlInsert(array('name'=>$emailSubject, 'message'=>$message, 'htmlMessage'=>$htmlMessage), 'mod_mailinglists_saves'); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showSavedEmails($_SESSION['translate']->it('Email Added Successfully')); ! } ! break; ! ! case 'deleteEmail': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showDeleteEmail($email); ! break; ! ! case 'addAllUsers': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showAddAllUsers($list[0]); ! break; ! ! case 'doAddAllUsers': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->doAddAllUsers($list); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu($_SESSION['translate']->it('All users added')); ! break; ! ! case 'doDeleteEmail': ! $GLOBALS['core']->sqlDelete('mod_mailinglists_saves', array('id'=>$email)); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showSavedEmails($_SESSION['translate']->it('Email Deleted')); ! break; ! ! case 'editEmail': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showEditEmail($email); ! break; ! ! case 'doEditEmail': ! if(isset($_POST['convert'])){ ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showEditEmail($email, $emailSubject, $htmlMessage); ! } ! else { ! $GLOBALS['core']->sqlUpdate(array('name'=>$emailSubject,'message'=>$message,'htmlMessage'=>$htmlMessage), 'mod_mailinglists_saves', 'id', $email); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showSavedEmails($_SESSION['translate']->it('Email Edited Successfully')); ! } ! break; ! ! case 'doSendEmail': ! $result = $GLOBALS['core']->sqlSelect('mod_mailinglists_conf'); ! if(isset($_POST['convert'])){ ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showEmailForm($list, NULL, $emailSubject, $htmlMessage, $mladmin); ! } ! else if(isset($_POST['preview'])){ ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showEmailForm($list, NULL, NULL, NULL, $mladmin); ! } ! else if(!strlen($emailSubject)) { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showEmailForm($list, NULL, NULL, NULL, $mladmin); ! } ! else if(($mladmin) || ($result[0]['userSend'] == 2)){ ! $_SESSION['SES_MAILINGLISTS_MANAGER']->doSendEmail($list); ! } ! else { ! $newID = $GLOBALS['core']->sqlInsert(array('listID'=>$list, 'subject'=>$emailSubject, 'message'=>$message, 'htmlMessage'=>$htmlMessage, 'sentBy'=>$_SESSION['OBJ_user']->username), 'mod_mailinglists_limbo', 0, 1); ! ! $result = $GLOBALS['core']->sqlSelect('mod_mailinglists_lists', 'id', $list); ! require_once (PHPWS_SOURCE_DIR . 'mod/approval/class/Approval.php'); ! $emailInfo = '<b>' . $_SESSION['translate']->it('Subject') . ':</b> ' . $emailSubject . '<br />'; ! $emailInfo .= '<b>' . $_SESSION['translate']->it('Sent By') . ':</b> ' . $_SESSION['OBJ_user']->username . '<br />'; ! $emailInfo .= '<b>' . $_SESSION['translate']->it('List Name') . ':</b> ' . $result[0]['name']; ! PHPWS_Approval::add($newID, $emailInfo, 'mailinglists'); ! ! $GLOBALS['CNT_mailinglists_menu']['content'] = $_SESSION['translate']->it('The email was successfully submitted to the database.'); ! } ! break; ! ! case 'archives': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showArchives($_REQUEST['list']); ! break; ! ! case 'archivedEmail': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showArchivedEmail($_REQUEST['email'], $_REQUEST['list']); ! break; ! ! case 'user_options': ! $GLOBALS['core']->sqlUpdate(array('htmlEmail'=>$htmlEmail), 'mod_mailinglists_useroptions', 'userID', $userID); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showUserMenu($_SESSION['translate']->it('User options updated.')); ! break; ! ! case 'confirm': ! { ! $title = $_SESSION['translate']->it('Mailing List Subscription Confirmation'); ! ! $result = $GLOBALS['core']->sqlSelect('mod_mailinglists_subscribers', array('userID'=>$_REQUEST['user'], 'listID'=>$_REQUEST['list'], 'activeKey'=>$_REQUEST['key'])); ! if($result != NULL) { ! if($result[0]['active']) { ! $content = $_SESSION['translate']->it('Your subscription has already been activated. You may delete the confirmation email.'); ! } ! else { ! $GLOBALS['core']->sqlUpdate(array('active'=>1), 'mod_mailinglists_subscribers', array('userID'=>$_REQUEST['user'], 'listID'=>$_REQUEST['list'], 'activeKey'=>$_REQUEST['key'])); ! $content = $_SESSION['translate']->it('Thank you! Your subscription has been activated.'); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->sendSubscribeEmail($_REQUEST['user'],$_REQUEST['list']); ! } ! } ! else { ! $content = $_SESSION['translate']->it('ERROR!') . '<br /><br />'; ! $content .= $_SESSION['translate']->it('The information you supplied was not found in our database.'); ! $content .= '<br />' . $_SESSION['translate']->it('Please contact us if you believe this is an error.'); ! } ! ! $GLOBALS['CNT_mailinglists_menu']['title'] = $title; ! $GLOBALS['CNT_mailinglists_menu']['content'] = $content; ! } ! break; ! ! case 'remove': ! { ! $title = $_SESSION['translate']->it('Mailing List Removal'); ! ! $result = $GLOBALS['core']->sqlSelect('mod_mailinglists_subscribers', array('userID'=>$_REQUEST['user'], 'listID'=>$_REQUEST['list'], 'activeKey'=>$_REQUEST['key'])); ! if($result != NULL) { ! $GLOBALS['core']->sqlDelete('mod_mailinglists_subscribers', array('userID'=>$_REQUEST['user'], 'listID'=>$_REQUEST['list'], 'activeKey'=>$_REQUEST['key'])); ! $content = $_SESSION['translate']->it('Your subscription has been cancelled.'); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->sendUnsubscribeEmail($_REQUEST['user'],$_REQUEST['list']); ! } ! else { ! $content = $_SESSION['translate']->it('ERROR!') . '<br /><br />'; ! $content .= $_SESSION['translate']->it('The information you supplied was not found in our database.'); ! $content .= '<br />' . $_SESSION['translate']->it('Please contact us if you believe this is an error.'); ! } ! ! $GLOBALS['CNT_mailinglists_menu']['title'] = $title; ! $GLOBALS['CNT_mailinglists_menu']['content'] = $content; ! } ! break; ! ! case 'subscriberAdmin': ! if($_SESSION['OBJ_user']->allow_access('mailinglists', 'subscriber_admin')) { ! ! if(isset($_REQUEST['subscribe'])) ! { ! $result = $GLOBALS['core']->sqlSelect('mod_users', array('username'=>$_REQUEST['subscriber'])); ! if($result != NULL) { ! if(!($GLOBALS['core']->sqlSelect('mod_mailinglists_subscribers', array('userID'=>$result[0]['user_id'], 'listID'=>$_REQUEST['list'])))) { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscribeUser($result[0]['user_id'], $_REQUEST['list']); ! ! $optionCheck = $GLOBALS['core']->sqlSelect('mod_mailinglists_useroptions', 'userID', $result[0]['user_id']); ! if($optionCheck == NULL) { ! $GLOBALS['core']->sqlInsert(array('userID'=>$result[0]['user_id'], 'htmlEmail'=>1), 'mod_mailinglists_useroptions'); ! } ! ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscriberAdmin($_REQUEST['list'],$_SESSION['translate']->it('List Updated')); ! } ! else { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscriberAdmin($_REQUEST['list'],$_SESSION['translate']->it('User already subscribed to list')); ! } ! } ! else { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscriberAdmin($_REQUEST['list'],$_SESSION['translate']->it('User not found')); ! } ! } ! else if(isset($_REQUEST['unsubscribe'])) ! { ! $result = $GLOBALS['core']->sqlSelect('mod_users', array('username'=>$_REQUEST['subscriber'])); ! if($result != NULL) { ! if($GLOBALS['core']->sqlSelect('mod_mailinglists_subscribers', array('userID'=>$result[0]['user_id'], 'listID'=>$_REQUEST['list']))) { ! $GLOBALS['core']->sqlDelete('mod_mailinglists_subscribers', array('userID'=>$result[0]['user_id'], 'listID'=>$_REQUEST['list'])); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscriberAdmin($_REQUEST['list'],$_SESSION['translate']->it('List Updated')); ! } ! else { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscriberAdmin($_REQUEST['list'],$_SESSION['translate']->it('User was not subscribed to list')); ! } ! } ! else { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscriberAdmin($_REQUEST['list'],$_SESSION['translate']->it('User not found')); ! } ! } ! else if(isset($_REQUEST['anon_remove'])) ! { ! if($GLOBALS['core']->sqlSelect('mod_mailinglists_anon_subscribers', array('email'=>$_REQUEST['email'], 'listID'=>$_REQUEST['list']))) { ! $GLOBALS['core']->sqlDelete('mod_mailinglists_anon_subscribers', array('email'=>$_REQUEST['email'], 'listID'=>$_REQUEST['list'])); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscriberAdmin($_REQUEST['list'],$_SESSION['translate']->it('List Updated')); ! } ! else { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscriberAdmin($_REQUEST['list'],$_SESSION['translate']->it('User was not subscribed to list')); ! } ! } ! else if(isset($_REQUEST['anon_add'])) ! { ! $_REQUEST['emailAddress'] = $_REQUEST['email']; ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscribeAnon(1); ! } ! else if($list != NULL) { ! if (is_array($_REQUEST['list'])) { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscriberAdmin($_REQUEST['list'][0]); ! } ! else { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscriberAdmin($_REQUEST['list']); ! } ! } ! else { ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showMenu($_SESSION['translate']->it('Please select a mailing list.')); ! } ! ! } ! else { ! $GLOBALS['CNT_mailinglists_menu']['content'] = $noPermission; ! } ! break; ! ! case 'doAnonSubscribe': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->subscribeAnon(); ! break; ! ! case 'confirmAnon': ! { ! $title = $_SESSION['translate']->it('Mailing List Subscription Confirmation'); ! ! $result = $GLOBALS['core']->sqlSelect('mod_mailinglists_anon_subscribers', array('listID'=>$_REQUEST['list'], 'activeKey'=>$_REQUEST['key'])); ! if($result != NULL) { ! if($result[0]['active']) { ! $content = $_SESSION['translate']->it('Your subscription has already been activated. You may delete the confirmation email.'); ! } ! else { ! $GLOBALS['core']->sqlUpdate(array('active'=>1), 'mod_mailinglists_anon_subscribers', array('listID'=>$_REQUEST['list'], 'activeKey'=>$_REQUEST['key'])); ! $content = $_SESSION['translate']->it('Thank you! Your subscription has been activated.'); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->sendSubscribeEmail($result[0]['email'],$_REQUEST['list'],1); ! } ! } ! else { ! $content = $_SESSION['translate']->it('ERROR!') . '<br /><br />'; ! $content .= $_SESSION['translate']->it('The information you supplied was not found in our database.'); ! $content .= '<br />' . $_SESSION['translate']->it('Please contact us if you believe this is an error.'); ! } ! ! $GLOBALS['CNT_mailinglists_menu']['title'] = $title; ! $GLOBALS['CNT_mailinglists_menu']['content'] = $content; ! } ! break; ! ! case 'removeAnon': ! { ! $title = $_SESSION['translate']->it('Mailing List Removal'); ! ! $result = $GLOBALS['core']->sqlSelect('mod_mailinglists_anon_subscribers', array('id'=>$_REQUEST['user'], 'listID'=>$_REQUEST['list'], 'activeKey'=>$_REQUEST['key'])); ! if($result != NULL) { ! $GLOBALS['core']->sqlDelete('mod_mailinglists_anon_subscribers', array('id'=>$_REQUEST['user'], 'listID'=>$_REQUEST['list'], 'activeKey'=>$_REQUEST['key'])); ! $content = $_SESSION['translate']->it('Your subscription has been cancelled.'); ! $_SESSION['SES_MAILINGLISTS_MANAGER']->sendUnsubscribeEmail($result[0]['email'],$_REQUEST['list'],1); ! } ! else { ! $content = $_SESSION['translate']->it('ERROR!') . '<br /><br />'; ! $content .= $_SESSION['translate']->it('The information you supplied was not found in our database.'); ! $content .= '<br />' . $_SESSION['translate']->it('Please contact us if you believe this is an error.'); ! } ! ! $GLOBALS['CNT_mailinglists_menu']['title'] = $title; ! $GLOBALS['CNT_mailinglists_menu']['content'] = $content; ! } ! break; ! ! case 'showImport': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showImport($list); ! break; ! case 'doImport': ! $_SESSION['SES_MAILINGLISTS_MANAGER']->showEmailForm($list,NULL,NULL,NULL,1,array('module'=>$_REQUEST['mod'],'id'=>$_REQUEST['id'])); ! break; } } --- 24,45 ---- */ ! if (!defined('PHPWS_SOURCE_DIR')) ! { ! include '../../config/core/404.html'; ! exit(); } ! if (isset($_REQUEST['user_op'])) ! { ! PHPWS_Core::initModClass('mailinglists', 'MyPage.php'); ! $template['TITLE'] = dgettext('mailinglists', 'Mailing Lists'); ! MailingLists_MyPage::action($template['TITLE'], $template['CONTENT']); ! Layout::add(PHPWS_Template::process($template, 'layout', 'box.tpl'), 'mailinglists', 'bodybox', true); } + else + { + PHPWS_Core::initModClass('mailinglists', 'MailingListsManager.php'); + MailingLists_Manager::action(); } |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:59:36
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/subscribers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/templates/subscribers Added Files: list.tpl Log Message: Committing complete rewrite which supports phpWebSite 1.x --- NEW FILE: list.tpl --- <table cellpadding="4" cellspacing="1" width="100%"> <tr> <th>{USER}</th> <th>{SUBSCRIBED} {SUBSCRIBED_SORT}</th> <th>{ACTIVE} {ACTIVE_SORT}</th> <th>{HTML} {HTML_SORT}</th> <th>{ACTION}</th> </tr> <!-- BEGIN listrows --> <tr{TOGGLE}> <td>{USER}</td> <td>{SUBSCRIBED}</td> <td>{ACTIVE}</td> <td>{HTML}</td> <td>{ACTION}</td> </tr> <!-- END listrows --> <!-- BEGIN empty_message --> <tr{TOGGLE}> <td colspan="5">{EMPTY_MESSAGE}</td> </tr> <!-- END empty_message --> </table> <!-- BEGIN navigation --> <div class="align-center"> {TOTAL_ROWS}<br /> {PAGE_LABEL} {PAGES}<br /> {LIMIT_LABEL} {LIMITS} </div> <!-- END navigation --> <!-- BEGIN search --> <div class="align-right"> {SEARCH} </div> <!-- END search --> <hr /> {START_FORM} <div class="top-label"> <div class="padded">{SUBSCRIBERS}<br />{SUBSCRIBE} {UNSUBSCRIBE}<br /><br />{ADD_ALL}</div> </div> {END_FORM} |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:59:35
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/list In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/templates/list Added Files: edit.tpl list.tpl public_list.tpl Log Message: Committing complete rewrite which supports phpWebSite 1.x --- NEW FILE: list.tpl --- <table cellpadding="4" cellspacing="1" width="100%"> <tr> <th>{NAME} {NAME_SORT}</th> <th>{SUBSCRIBERS}</th> <th>{CREATED} {CREATED_SORT}</th> <th>{LAST_SENT}</th> <th>{ACTIVE} {ACTIVE_SORT}</th> <th>{ACTION}</th> </tr> <!-- BEGIN listrows --> <tr{TOGGLE}> <td>{NAME}</td> <td>{SUBSCRIBERS}</td> <td>{CREATED}</td> <td>{LAST_SENT}</td> <td>{ACTIVE}</td> <td>{ACTION}</td> </tr> <!-- END listrows --> <!-- BEGIN empty_message --> <tr{TOGGLE}> <td colspan="6">{EMPTY_MESSAGE}</td> </tr> <!-- END empty_message --> </table> <!-- BEGIN navigation --> <div class="align-center"> {TOTAL_ROWS}<br /> {PAGE_LABEL} {PAGES}<br /> {LIMIT_LABEL} {LIMITS} </div> <!-- END navigation --> <!-- BEGIN search --> <div class="align-right"> {SEARCH} </div> <!-- END search --> --- NEW FILE: edit.tpl --- {START_FORM} <div class="top-label"> <div class="padded"> {NAME_LABEL}<br />{NAME} <!-- BEGIN name-error --><div class="mailinglists-error">{NAME_ERROR}</div><!-- END name-error --> </div> <div class="padded">{DESCRIPTION_LABEL}<br />{DESCRIPTION}</div> <div class="padded"> {FROM_NAME_LABEL}<br />{FROM_NAME} <!-- BEGIN from-name-error --><div class="mailinglists-error">{FROM_NAME_ERROR}</div><!-- END from-name-error --> </div> <div class="padded"> {FROM_EMAIL_LABEL}<br />{FROM_EMAIL} <!-- BEGIN from-email-error --><div class="mailinglists-error">{FROM_EMAIL_ERROR}</div><!-- END from-email-error --> </div> <div class="padded"> {ARCHIVE_LINK} {ARCHIVE_LINK_LABEL}<br /> {DOUBLE_OPT_IN} {DOUBLE_OPT_IN_LABEL}<br /> {S_EMAIL} {S_EMAIL_LABEL}<br /> {U_EMAIL} {U_EMAIL_LABEL} </div> <!-- BEGIN subject-prefix --> <div class="padded">{SUBJECT_PREFIX_LABEL}<br />{SUBJECT_PREFIX}</div> <!-- END subject-prefix --> <div class="padded">{OPT_IN_MSG_LABEL}<br />{OPT_IN_MSG}</div> <div class="padded">{SUBSCRIBE_MSG_LABEL}<br />{SUBSCRIBE_MSG}</div> <div class="padded">{UNSUBSCRIBE_MSG_LABEL}<br />{UNSUBSCRIBE_MSG}</div> <div class="padded">{SUBMIT}</div> </div> {END_FORM} --- NEW FILE: public_list.tpl --- <table cellpadding="4" cellspacing="1" width="100%"> <tr> <th>{NAME} {NAME_SORT}</th> <th>{DESCRIPTION} {DESCRIPTION_SORT}</th> <th>{STATUS}</th> <th>{ACTION}</th> </tr> <!-- BEGIN listrows --> <tr{TOGGLE}> <td>{NAME}</td> <td>{DESCRIPTION}</td> <td>{STATUS}</td> <td>{ACTION}</td> </tr> <!-- END listrows --> <!-- BEGIN empty_message --> <tr{TOGGLE}> <td colspan="4">{EMPTY_MESSAGE}</td> </tr> <!-- END empty_message --> </table> <!-- BEGIN navigation --> <div class="align-center"> {TOTAL_ROWS}<br /> {PAGE_LABEL} {PAGES}<br /> {LIMIT_LABEL} {LIMITS} </div> <!-- END navigation --> <!-- BEGIN search --> <div class="align-right"> {SEARCH} </div> <!-- END search --> |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:59:32
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/email In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/templates/email Added Files: edit.tpl list.tpl view.tpl Log Message: Committing complete rewrite which supports phpWebSite 1.x --- NEW FILE: list.tpl --- <table cellpadding="4" cellspacing="1" width="100%"> <tr> <th>{SUBJECT} {SUBJECT_SORT}</th> <th>{CREATED} {CREATED_SORT}</th> <th>{ACTION}</th> </tr> <!-- BEGIN listrows --> <tr{TOGGLE}> <td>{SUBJECT}</td> <td>{CREATED}</td> <td>{ACTION}</td> </tr> <!-- END listrows --> <!-- BEGIN empty_message --> <tr{TOGGLE}> <td colspan="3">{EMPTY_MESSAGE}</td> </tr> <!-- END empty_message --> </table> <!-- BEGIN navigation --> <div class="align-center"> {TOTAL_ROWS}<br /> {PAGE_LABEL} {PAGES}<br /> {LIMIT_LABEL} {LIMITS} </div> <!-- END navigation --> <!-- BEGIN search --> <div class="align-right"> {SEARCH} </div> <!-- END search --> --- NEW FILE: view.tpl --- <h1>{SUBJECT}</h1> {MESSAGE} --- NEW FILE: edit.tpl --- {START_FORM} <div class="top-label"> <!-- BEGIN email-options --> <div class="padded">{OPTIONS}</div> <!-- END email-options --> <div class="padded"> {SUBJECT_LABEL}<br />{SUBJECT} <!-- BEGIN subject-error --><div class="mailinglists-error">{SUBJECT_ERROR}</div><!-- END subject-error --> </div> <div class="padded">{MSG_HTML_LABEL}<br />{MSG_HTML}</div> <!-- BEGIN body-error --> <div class="padded"><div class="mailinglists-error">{BODY_ERROR}</div></div> <!-- END body-error --> <div class="padded">{MSG_TEXT_LABEL}<br />{MSG_TEXT}</div> <div class="padded">{SUBMIT}</div> </div> {END_FORM} |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:59:32
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/blocks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/templates/blocks Added Files: anon.tpl user.tpl Log Message: Committing complete rewrite which supports phpWebSite 1.x --- NEW FILE: anon.tpl --- <div class="mailinglists-sideblock"> <div class="box"> <div class="box-title"><h1>{TITLE}</h1></div> <div class="box-content"> {START_FORM} <!-- BEGIN list-id --> {LIST_ID_LABEL}<br />{LIST_ID}<br /><br /> <!-- END list-id --> {EMAIL_LABEL}<br />{EMAIL}<br />{HTML} {HTML_LABEL}<br /><br /> {SUBMIT} {END_FORM} </div> </div> </div> --- NEW FILE: user.tpl --- <div class="mailinglists-sideblock"> <div class="box"> <div class="box-title"><h1>{TITLE}</h1></div> <div class="box-content"> <!-- BEGIN listrows --> {LIST_NAME}<br /> <!-- END listrows --> <!-- BEGIN empty_message --> {EMPTY_MESSAGE}<br /> <!-- END empty_message --> <br />{MENU_LINK} </div> </div> </div> |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:59:29
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/locale/en_US/LC_MESSAGES In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/locale/en_US/LC_MESSAGES Added Files: mailinglists.po Log Message: Committing complete rewrite which supports phpWebSite 1.x --- NEW FILE: mailinglists.po --- # Mailing Lists - phpWebSite Module # # See docs/credits.txt for copyright information # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License 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. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2008-01-02 11:16-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" msgid "Action" msgstr "" msgid "Active" msgstr "" msgid "Add all users" msgstr "" msgid "Allow anonymous users to subscribe to lists" msgstr "" msgid "Allow registered website users send messages" msgstr "" msgid "Approval" msgstr "" #, php-format msgid "Approval (%s)" msgstr "" msgid "Approve" msgstr "" msgid "Archive" msgstr "" #, php-format msgid "Archive for %s" msgstr "" msgid "Are you sure you want to permanently delete this mailing list?" msgstr "" msgid "Are you sure you want to permanently delete this saved email?" msgstr "" msgid "Are you sure you want to subscribe all site users to this list?" msgstr "" msgid "Are you sure you want to unsubscribe from this mailing list?" msgstr "" msgid "Are you sure you want to unsubscribe this user from the list?" msgstr "" msgid "Attach a subject prefix to list messages" msgstr "" msgid "Attach footer to all emails" msgstr "" msgid "Blog" msgstr "" msgid "Change Settings" msgstr "" msgid "Choose a List" msgstr "" #, php-format msgid "Confirmation Email: %s" msgstr "" msgid "Create and manage Mailing Lists. Send mass mailings here!" msgstr "" msgid "Created" msgstr "" msgid "Database tables removed." msgstr "" msgid "Delete" msgstr "" msgid "Delete Lists" msgstr "" msgid "Description" msgstr "" msgid "Double Opt-In" msgstr "" msgid "Double Opt-In Confirmation Email" msgstr "" msgid "Edit" msgstr "" msgid "Edit Lists" msgstr "" msgid "Edit Mailing List" msgstr "" msgid "Edit Saved Email" msgstr "" msgid "Email Address" msgstr "" msgid "Email From Address" msgstr "" msgid "Email From Name" msgstr "" msgid "Email approved" msgstr "" msgid "Email could not be approved" msgstr "" msgid "Email could not be saved" msgstr "" msgid "Email could not be sent" msgstr "" msgid "Email deleted" msgstr "" msgid "Email ready for approval" msgstr "" msgid "Email rejected" msgstr "" msgid "Email saved" msgstr "" msgid "Email sent" msgstr "" msgid "Error occurred while changing format" msgstr "" msgid "Error occurred while subscribing" msgstr "" msgid "Error occurred while unsubscribing" msgstr "" msgid "Error updating subscriber list" msgstr "" msgid "Error! Invalid key." msgstr "" msgid "Error! The email address you submitted is already in use." msgstr "" msgid "Error! The email address you submitted is malformed." msgstr "" msgid "Footer Message (HTML)" msgstr "" msgid "Footer Message (Plain Text)" msgstr "" msgid "Format changed" msgstr "" msgid "HTML" msgstr "" msgid "HTML Format" msgstr "" msgid "Hide Lists" msgstr "" msgid "Import" msgstr "" msgid "Import From Module" msgstr "" msgid "Import Saved Email" msgstr "" msgid "Inactive" msgstr "" msgid "Last Email" msgstr "" msgid "List activation changed" msgstr "" msgid "List activation could not be changed" msgstr "" msgid "List could not be saved" msgstr "" msgid "List deleted" msgstr "" msgid "List saved" msgstr "" msgid "Mailing Lists" msgstr "" msgid "Manage Mailing List Subscriptions" msgstr "" msgid "Manage Mailing Lists" msgstr "" msgid "Manage Saved Emails" msgstr "" msgid "Manage Subscriptions" msgstr "" msgid "Maximum number of emails to send at once (0 for unlimited)" msgstr "" msgid "Maximum number of emails to send per hour (0 for unlimited)" msgstr "" msgid "Message (HTML)" msgstr "" msgid "Message (Plain Text)" msgstr "" msgid "N/A" msgstr "" msgid "Name" msgstr "" msgid "New Mailing List" msgstr "" msgid "New Saved Email" msgstr "" msgid "No" msgstr "" msgid "No archived emails." msgstr "" msgid "No blog entries found." msgstr "" msgid "No emails waiting for approval." msgstr "" msgid "No lists available at this time." msgstr "" msgid "No mailing lists found." msgstr "" msgid "No saved emails found." msgstr "" msgid "No subscribers." msgstr "" msgid "No supported modules installed." msgstr "" msgid "Object incomplete." msgstr "" msgid "Please check your email to confirm your subscription." msgstr "" msgid "Please try again later." msgstr "" msgid "Public Archive Link" msgstr "" msgid "Reject" msgstr "" #, php-format msgid "Removed from %s" msgstr "" msgid "Save New Email" msgstr "" msgid "Save New List" msgstr "" msgid "Saved Emails Admin" msgstr "" msgid "Send Email" msgstr "" msgid "Send Email (Do Not Click Twice)" msgstr "" #, php-format msgid "Send Email to %s" msgstr "" msgid "Send Email: Import From Module" msgstr "" msgid "Send Email: Import Saved Email" msgstr "" msgid "Send Emails" msgstr "" msgid "Sent" msgstr "" msgid "Settings" msgstr "" msgid "Show on homepage" msgstr "" msgid "Status" msgstr "" msgid "Subject" msgstr "" msgid "Subject Prefix" msgstr "" msgid "Subscribe" msgstr "" msgid "Subscribe Email" msgstr "" msgid "Subscribed" msgstr "" #, php-format msgid "Subscribed (%s)" msgstr "" msgid "Subscribed to list" msgstr "" msgid "Subscriber Admin" msgstr "" #, php-format msgid "Subscriber Admin for %s" msgstr "" msgid "Subscriber list updated" msgstr "" msgid "Subscriber unsubscribed" msgstr "" msgid "Subscribers" msgstr "" msgid "Text" msgstr "" msgid "Text Format" msgstr "" msgid "Thank you! Your subscription has been activated." msgstr "" msgid "There was an error saving the settings." msgstr "" msgid "Title" msgstr "" msgid "Unsubscribe" msgstr "" msgid "Unsubscribe Email" msgstr "" msgid "Unsubscribed from list" msgstr "" msgid "Update Email" msgstr "" msgid "Update List" msgstr "" msgid "Update Settings" msgstr "" msgid "User" msgstr "" msgid "Verifying" msgstr "" msgid "View" msgstr "" msgid "View Email" msgstr "" #, php-format msgid "Welcome to %s" msgstr "" msgid "Yes" msgstr "" msgid "Yes: Approval Required" msgstr "" msgid "Yes: Without Approval" msgstr "" msgid "You are not subscribed to any mailing lists." msgstr "" msgid "You must have a message body." msgstr "" msgid "You must have a name." msgstr "" msgid "You must have a subject." msgstr "" msgid "You must have an email from address." msgstr "" msgid "You must have an email from name." msgstr "" msgid "Your Mailing Lists" msgstr "" msgid "Your settings have been successfully saved." msgstr "" msgid "Your subscription has already been activated." msgstr "" msgid "Your subscription has already been terminated." msgstr "" msgid "Your subscription has been terminated." msgstr "" |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:59:28
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/inc Added Files: close.php errorDefines.php init.php my_page.php settings.php Removed Files: runtime.php Log Message: Committing complete rewrite which supports phpWebSite 1.x --- NEW FILE: init.php --- <?php /** * Mailing Lists - phpWebSite Module * * See docs/credits.txt for copyright information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Id: init.php,v 1.1 2008/01/02 21:59:30 blindman1344 Exp $ * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ PHPWS_Core::configRequireOnce('mailinglists', 'config.php'); PHPWS_Core::requireInc('mailinglists', 'errorDefines.php'); PHPWS_Core::initModClass('mailinglists', 'Runtime.php'); ?> --- NEW FILE: my_page.php --- <?php /** * Mailing Lists - phpWebSite Module * * See docs/credits.txt for copyright information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Id: my_page.php,v 1.1 2008/01/02 21:59:30 blindman1344 Exp $ * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ function my_page() { PHPWS_Core::initModClass('mailinglists', 'MyPage.php'); return MailingLists_MyPage::show(); } ?> --- runtime.php DELETED --- --- NEW FILE: close.php --- <?php /** * Mailing Lists - phpWebSite Module * * See docs/credits.txt for copyright information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Id: close.php,v 1.1 2008/01/02 21:59:30 blindman1344 Exp $ * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ MailingLists_Runtime::showBlock(); MailingLists_Runtime::sendEmail(); ?> --- NEW FILE: settings.php --- <?php /** * Mailing Lists - phpWebSite Module * * See docs/credits.txt for copyright information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Id: settings.php,v 1.1 2008/01/02 21:59:30 blindman1344 Exp $ * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ $settings = array('show_block' => 1, 'footer' => 1, 'anon_subscribe' => 0, 'subject_prefix' => 1, 'user_send' => 0, 'max_per_hour' => 0, 'max_at_once' => 50, 'footer_text_msg' => "To unsubscribe from this list:\n[URL]", 'footer_html_msg' => '<p><em>To unsubscribe from this list, <a href="[URL]">click here</a>.</em></p>', 'this_hour' => 0, 'sent_this_hour' => 0); ?> --- NEW FILE: errorDefines.php --- <?php /** * Mailing Lists - phpWebSite Module * * See docs/credits.txt for copyright information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Id: errorDefines.php,v 1.1 2008/01/02 21:59:30 blindman1344 Exp $ * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ define('MAILINGLISTS_OBJ_INCOMPLETE', -1); ?> |
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3572/conf Added Files: config.php error.php Removed Files: approval.php boost.php controlpanel.php help.php layout.php module_rights.txt Log Message: Committing complete rewrite which supports phpWebSite 1.x --- boost.php DELETED --- --- layout.php DELETED --- --- approval.php DELETED --- --- module_rights.txt DELETED --- --- controlpanel.php DELETED --- --- NEW FILE: config.php --- <?php /** * Mailing Lists - phpWebSite Module * * See docs/credits.txt for copyright information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Id: config.php,v 1.1 2008/01/02 21:59:27 blindman1344 Exp $ * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ /* Date format to use within the Mailing Lists module. */ define('MAILINGLISTS_DATE_FORMAT', '%m/%d/%Y %r'); /* Default values for new Mailing Lists. */ define('MAILINGLISTS_DEFAULT_OPT_IN_MSG', "You have received this email because you have subscribed to the \"[LISTNAME]\" mailing list. There is one more step before your subscription is complete. You need to confirm your email address to us before you will begin to receive emails. To do so, please go to the following URL:\n\n[URL]\n\nIf you have gotten this in error, please ignore this email. You will not receive future emails from us."); define('MAILINGLISTS_DEFAULT_SUBSCRIBE_MSG', "Your subscription to the \"[LISTNAME]\" mailing list is now complete. You will begin to receive all messages we send out to this list.\n\nTo unsubscribe, just return to our website and login to your subscription menu."); define('MAILINGLISTS_DEFAULT_UNSUBSCRIBE_MSG', "Your subscription to the \"[LISTNAME]\" mailing list has been terminated. You will no longer receive messages we send out to this list.\n\nTo subscribe again, just return to our website and login to your subscription menu."); /* Number of lines for an email body textarea. */ define('MAILINGLISTS_TEXTAREA_ROWS', 10); ?> --- NEW FILE: error.php --- <?php /** * Mailing Lists - phpWebSite Module * * See docs/credits.txt for copyright information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Id: error.php,v 1.1 2008/01/02 21:59:27 blindman1344 Exp $ * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ $errors[MAILINGLISTS_OBJ_INCOMPLETE] = dgettext('mailinglists', 'Object incomplete.'); ?> --- help.php DELETED --- |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:55:49
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/list In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2035/list Log Message: Directory /cvsroot/phpwebsite-comm/modules/mailinglists/templates/list added to the repository |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:55:45
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/subscribers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2035/subscribers Log Message: Directory /cvsroot/phpwebsite-comm/modules/mailinglists/templates/subscribers added to the repository |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:55:42
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/email In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2035/email Log Message: Directory /cvsroot/phpwebsite-comm/modules/mailinglists/templates/email added to the repository |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:55:41
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/blocks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2035/blocks Log Message: Directory /cvsroot/phpwebsite-comm/modules/mailinglists/templates/blocks added to the repository |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:52:52
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/tab In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv817/tab Removed Files: active.tpl inactive.tpl Log Message: Removing old templates to prepare for 1.0.0 import. --- inactive.tpl DELETED --- --- active.tpl DELETED --- |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:52:51
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/subscriberAdmin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv817/subscriberAdmin Removed Files: row.tpl user.tpl Log Message: Removing old templates to prepare for 1.0.0 import. --- row.tpl DELETED --- --- user.tpl DELETED --- |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:52:50
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/savedemails In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv817/savedemails Removed Files: edit.tpl list.tpl listrow.tpl Log Message: Removing old templates to prepare for 1.0.0 import. --- list.tpl DELETED --- --- listrow.tpl DELETED --- --- edit.tpl DELETED --- |
|
From: Greg M. <bli...@us...> - 2008-01-02 21:52:49
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/manager In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv817/manager Removed Files: list.tpl row.tpl Log Message: Removing old templates to prepare for 1.0.0 import. --- row.tpl DELETED --- --- list.tpl DELETED --- |