|
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); ?> |