/***************************************************************************

* HEADER MODIFICATIONS FOR XCOMPONENTS AND TST

*

* Using a text-editor with batch-processing support, this find-and-replace

* adds the XComponents trolley initialisation function call, Brand 0 stylesheets

* and javascript library, and the TST page-header modifications to your website,

* greatly speeding-up the process of adding XComponents and TST

*

* Author: Richard Knight (RAK)

*  Digital Mail Limited 2005

***************************************************************************/



COPY AND PASTE THE FOLLOWING INTO THE find AND replace FIELDS OF YOUR

TEXT EDITOR, AND BATCH-PROCESS THE FILES THAT MAKE UP YOUR WEBSITE



Find:

-----

(?<!dmx_include_tst\(\);\s\?>\s)</head>



Replace with:

-------------

<?php

// Start XComponents: Initialise XComponents session in page, and add TST libraries

dmx_initialise_trolley();

dmx_include_tst();

?>

</head> <!-- XCom & TST modifications added -->

