CVS update: /cowiki/includes/cowiki/class/lib/
[email protected] 5 Apr 2005 22:35:17 -0000
| Newsgroups | gmane.comp.php.cowiki.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: dgorski Date: 05/04/05 15:35:17 Modified: /cowiki/includes/cowiki/class/lib/ class.Mailer.php Log: Set default values for 'formatString()' File Changes: Directory: /cowiki/includes/cowiki/class/lib/ ============================================= File [changed]: class.Mailer.php Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/class/lib/class.Mailer.php?r1=1.2&r2=1.3 Delta lines: +3 -3 ------------------- --- class.Mailer.php 5 Apr 2005 22:05:24 -0000 1.2 +++ class.Mailer.php 5 Apr 2005 22:35:16 -0000 1.3 @@ -2,7 +2,7 @@ /** * - * $Id: class.Mailer.php,v 1.2 2005/04/05 22:05:24 dgorski Exp $ + * $Id: class.Mailer.php,v 1.3 2005/04/05 22:35:16 dgorski Exp $ * * This file is part of coWiki. coWiki is free software under the terms of * the GNU General Public License (GPL). Read the LICENSE file. If you did @@ -17,7 +17,7 @@ * @author Daniel T. Gorski, <[email protected]> * @copyright (C) Daniel T. Gorski, {@link http://www.develnet.org} * @license http://www.gnu.org/licenses/gpl.html - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * */ @@ -583,7 +583,7 @@ // -------------------------------------------------------------------- - public function formatString($sStr, $nLineLen, $nIndent) { + public function formatString($sStr, $nLineLen = 72, $nIndent = 0) { // Break all lines with \n $sStr = trim(wordwrap($sStr, $nLineLen, "\n", true));