Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [ic] reading and writing interchange's html files



Quoting Andrew Waegel (andrew@benevolent-tech.com):
> Ok, got it. If anyone's interested in making this change for themselves, 
> insert the following line of perl in lib/UI/pages/admin/page_save.html:
> 
> $def_string =~ s/\cM/\n/g;
> 
> ...right before the line that uses it:
> unshift @layout, '[' . "comment]\n$def_string zzz\n[" . "/comment]\n";

Thanks! Actually patched CVS with:

   $def_string =~ s/\r\n?/\n/g;

so that Windows and UNIX users wouldn't get their templates 
misformatted.

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun

_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: