[pmwiki-users] general problem with pregreplace
Peter K.H. Gragert
p.k.h.gragert at misc.utwente.nl
Tue Apr 15 10:46:44 CDT 2014
The Choice skin contains these lines (made comment!)
/*PKHG>START
Markup('noleft', 'directives', '/\\(:noleft:\\)/ei',
"SetTmplDisplay('PageLeftFmt',0)");
$FmtPV['$RightColumn'] = "\$GLOBALS['TmplDisplay']['PageRightFmt']";
Markup('noright', 'directives', '/\\(:noright:\\)/ei',
"SetTmplDisplay('PageRightFmt',0)");
$FmtPV['$ActionBar'] = "\$GLOBALS['TmplDisplay']['PageActionFmt']";
Markup('noaction', 'directives', '/\\(:noaction:\\)/ei',
"SetTmplDisplay('PageActionFmt',0)");
$FmtPV['$TabsBar'] = "\$GLOBALS['TmplDisplay']['PageTabsFmt']";
Markup('notabs', 'directives', '/\\(:notabs:\\)/ei',
"SetTmplDisplay('PageTabsFmt',0)");
$FmtPV['$SearchBar'] = "\$GLOBALS['TmplDisplay']['PageSearchFmt']";
Markup('nosearch', 'directives', '/\\(:nosearch:\\)/ei',
"SetTmplDisplay('PageSearchFmt',0)");
$FmtPV['$TitleGroup'] = "\$GLOBALS['TmplDisplay']['PageTitleGroupFmt']";
Markup('notitlegroup', 'directives', '/\\(:notitlegroup:\\)/ei',
"SetTmplDisplay('PageTitleGroupFmt',0)");
Markup('notitle', 'directives', '/\\(:notitle:\\)/ei',
"SetTmplDisplay('PageTitleFmt',0); SetTmplDisplay('PageTitleGroupFmt',0)");
PKHG>END */
I need to know how these directives should be changed, such that the /ei
parameter is not needed
This is a general problem .. the deprecated .
On an (old?) server there is no problem (warning suppressed? Or other PHP
version?)
It occurs on a Windows 8.1 and rather new XAMPP.
So how to solve this? Any suggestion?
Thanks
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20140415/1d0f51ab/attachment.html>
More information about the pmwiki-users
mailing list