cvs: pearweb /include pear-format-html.php
| From: | Jon Parise | Date: | Thu, 19 Jan 2006 05:50:41 +0000 |
| Subject: | cvs: pearweb /include pear-format-html.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-37649@lists.php.net to get a copy of this message | ||
jon Thu Jan 19 05:50:41 2006 UTC
Modified files:
/pearweb/include pear-format-html.php
Log:
Adding the BSD and MIT licenses to get_license_link().
http://cvs.php.net/viewcvs.cgi/pearweb/include/pear-format-html.php?r1=1.180&r2=1.181&diff_format=u
Index: pearweb/include/pear-format-html.php
diff -u pearweb/include/pear-format-html.php:1.180 pearweb/include/pear-format-html.php:1.181
--- pearweb/include/pear-format-html.php:1.180 Mon Dec 5 06:43:59 2005
+++ pearweb/include/pear-format-html.php Thu Jan 19 05:50:41 2006
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-format-html.php,v 1.180 2005/12/05 06:43:59 jon Exp $
+ $Id: pear-format-html.php,v 1.181 2006/01/19 05:50:41 jon Exp $
*/
PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'error_handler');
@@ -730,6 +730,16 @@
$link = 'http://www.gnu.org/licenses/lgpl.html';
break;
+ case 'BSD' :
+ case 'BSD License' :
+ $link = 'http://www.opensource.org/licenses/bsd-license.php';
+ break;
+
+ case 'MIT' :
+ case 'MIT License' :
+ $link = 'http://www.opensource.org/licenses/mit-license.php';
+ break;
+
default :
$link = '';
break;