[interchange-cvs] interchange - racke modified 3 files

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Fri Jul 13 04:22:48 EDT 2007


User:      racke
Date:      2007-07-13 08:22:48 GMT
Modified:  .        MANIFEST
Added:     code/Filter lcfirst.filter ucfirst.filter
Log:
lcfirst/ucfirst filters added

Revision  Changes    Path
2.206     +2 -0      interchange/MANIFEST


rev 2.206, prev_rev 2.205
Index: MANIFEST
===================================================================
RCS file: /var/cvs/interchange/MANIFEST,v
retrieving revision 2.205
retrieving revision 2.206
diff -u -r2.205 -r2.206
--- MANIFEST	18 Jun 2007 09:11:48 -0000	2.205
+++ MANIFEST	13 Jul 2007 08:22:47 -0000	2.206
@@ -31,6 +31,7 @@
 code/Filter/large.filter
 code/Filter/last_non_null.filter
 code/Filter/lc.filter
+code/Filter/lcfirst.filter
 code/Filter/line.filter
 code/Filter/line2options.filter
 code/Filter/linkdecode.filter
@@ -73,6 +74,7 @@
 code/Filter/textarea_put.filter
 code/Filter/tt.filter
 code/Filter/uc.filter
+code/Filter/ucfirst.filter
 code/Filter/unix.filter
 code/Filter/upload.filter
 code/Filter/urldecode.filter



1.1                  interchange/code/Filter/lcfirst.filter


rev 1.1, prev_rev 1.0
Index: lcfirst.filter
===================================================================
# Copyright 2007 Interchange Development Group and others
# 
# 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.  See the LICENSE file for details.
# 
# $Id: lcfirst.filter,v 1.1 2007/07/13 08:22:47 racke Exp $

CodeDef lcfirst Filter
CodeDef lcfirst Description First character lower case
CodeDef lcfirst Routine <<EOR
sub {
	use locale;
	if ($Scratch->{mv_locale}) {
	    POSIX::setlocale(LC_CTYPE, $Scratch->{mv_locale});
	}
	return lcfirst(shift);
}
EOR



1.1                  interchange/code/Filter/ucfirst.filter


rev 1.1, prev_rev 1.0
Index: ucfirst.filter
===================================================================
# Copyright 2007 Interchange Development Group and others
# 
# 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.  See the LICENSE file for details.
# 
# $Id: ucfirst.filter,v 1.1 2007/07/13 08:22:47 racke Exp $

CodeDef ucfirst Filter
CodeDef ucfirst Description First character upper case
CodeDef ucfirst Routine <<EOR
sub {
	use locale;
	if ($Scratch->{mv_locale}) {
	    POSIX::setlocale(LC_CTYPE, $Scratch->{mv_locale});
	}
	return ucfirst(shift);
}
EOR








More information about the interchange-cvs mailing list