Hello every body,
newbie, i'm trying to make a php file making a xul window for FF browser. The
code is correct, and the window works but in PSPAD all the lines above the
second xml-stylesheet appear in read. I suppose it is because PSPad thinks tha
the end of the line cite:
--------------------------------------------------------------------------------
?>--------------------------------------------------------------------------------
 is considered as end of php script ? Is
there any way to make it good ? Sorry for my english, i'm french !!

Best regards,
Christophe Charron

<?php
header('Content-type: application/vnd.mozilla.xul+xml');
echo <<<END
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="_graal.css" type="text/css"?>
<window title="test" id="test"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";>
<vbox id="hbox_panneaudegauche" flex="1">
  <vbox flex="1" id="aaj_utilisateurs_01" />
  <splitter />
  <hbox flex="1">
  <vbox id="aaj_utilisateurs_02" flex="1" />
  <spacer flex="1" />
    <vbox flex="5">
      <vbox id="vb_boutons_standards" />
    </vbox>
  </hbox>
</vbox>
</window>
END;
?>


-- 
<http://forum.pspad.com/read.php?2,30985,30985>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem