<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3698" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Another question...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I cannot figure out how used variables in
skin. I guess {$LastModified} and {$LastModifiedBy} are not evaluate in
the <!--function: markup...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I want do to something like</FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT> <FONT
face=Arial size=2>if <FONT face="Courier New" size=3>{$LastModifiedBy}</FONT>is
empty, then display <FONT face="Courier New"
size=3>{$LastModifiedHost}</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>but just try to display information
first.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here what I </FONT><FONT face=Arial
size=2>tried (</FONT><FONT face=Arial color=#000080 size=2><A
href="http://allaitementquebec.org/AQWiki/">http://allaitementquebec.org/AQWiki/</A><FONT
color=#000000>):</FONT></FONT></DIV>
<DIV><FONT face=Arial color=#000080 size=2><STRONG></STRONG></FONT> </DIV>
<DIV><FONT face=Arial color=#000080
size=2><STRONG>gabarit.php</STRONG></FONT></DIV>
<DIV><FONT face=Arial color=#000080
size=2>--------------------------</FONT></DIV>
<DIV><FONT face=Arial color=#000080 size=2><?php</FONT></DIV>
<DIV><FONT face=Arial color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000080 size=2>function
fctGbt_PrintInfoPage($strLastModified, $strLastModifiedBy){</FONT></DIV>
<DIV><FONT face=Arial color=#000080 size=2> //For test
(doesn't work)... later, add tested in last author and display Name or
IP<BR> print "Modifié le $strLastModified par
$strLastModifiedBy";<BR>}</FONT></DIV>
<DIV><FONT face=Arial color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000080
size=2><STRONG>gabarit.tmpl</STRONG></FONT></DIV>
<DIV><FONT face=Arial color=#000080
size=2>--------------------------</FONT></DIV>
<DIV><FONT face=Arial color=#000080 size=2><div
id="gabarit_infopage"><BR> Modifié le {$LastModified} par
{$LastModifiedBy}<br> <-Original that works
OK<BR> <!--function:fctGbt_PrintInfoPage {$LastModified}
{$LastModifiedBy}--><br>
<BR></div></FONT></DIV>
<DIV><FONT face=Arial color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000080 size=2><STRONG>Result in
Browser</STRONG></FONT></DIV>
<DIV><FONT face=Arial color=#000080
size=2>---------------------------</FONT></DIV>
<DIV><FONT color=#000080>Modifié le 08 décembre 2011 à 13h45 par Allaitement
Québec<BR>(function with arg) Modifié le Main.Accueil par 08 décembre 2011 à
13h45 Allaitement Québec</FONT></DIV></BODY></HTML>