[rkward-cvs] rkward/rkward/plugins/00saveload/save/skeleton code.php,1.1,1.2
Thomas Friedrichsmeier
tfry at users.sourceforge.net
Fri Apr 14 13:56:38 UTC 2006
Update of /cvsroot/rkward/rkward/rkward/plugins/00saveload/save/skeleton
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26723/save/skeleton
Modified Files:
code.php
Log Message:
Avoid generating empty lines in plugins, as those produce strange behavior
Index: code.php
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/00saveload/save/skeleton/code.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** code.php 5 Apr 2005 09:50:04 -0000 1.1
--- code.php 14 Apr 2006 13:56:36 -0000 1.2
***************
*** 6,12 ****
$vars = str_replace ("\n", "','", trim (getRK_val ("data"))) ;
?>
-
package.skeleton(name = "<? getRK("name") ; ?>", list = c('<? echo ($vars) ; ?>'), path = "<? getRK("path") ; ?>", force = "<? getRK("force") ; ?>")
-
<?
}
--- 6,10 ----
***************
*** 14,27 ****
function printout () {
// produce the output
- ?>
-
- <?
}
function cleanup () {
- ?>
-
-
- <?
}
?>
--- 12,18 ----
More information about the rkward-tracker
mailing list