]>
src.bluestatic.org Git - isso.git/blob - docs/printertest.php
3 error_reporting(E_ALL
);
5 define('ISSO_MT_START', microtime());
6 define('ISSO', getcwd());
8 require_once ISSO
. '/App.php';
9 require_once ISSO
. '/Printer.php';
10 require_once ISSO
. '/Functions.php';
16 <tab key="tab1" target="tab1.php">This is Tab One</tab>
17 <tab key="tab2" target="tab2.php">Tab 2</tab>
18 <tab key="tab3" target="tab3.php">3</tab>
22 <link target="toplink1.php">Top Link 1</link>
23 <link target="toplink2.php">Top Link 2</link>
27 <section key="beginning" name="Beginning Section">
28 <link key="first" target="firstlink.php">First Link</link>
29 <link key="second" target="secondlink.php">Second Link</link>
32 <section key="ending" name="Last Section">
33 <link key="third" target="thirdlink.php">Third Link</link>
36 <section inherits="beginning,ending" key="combined" name="Combined View">
37 <link key="fifth" target="fifthlink.php">This is the fifth link</link>
45 $navigator = new BSPrinterNavigation($xml);
47 $navigator->addFocus('tab2');
48 $navigator->addSection('combined');
50 BSApp
::set_debug(true);
51 BSPrinter
::set_stylesheet('printer.css.php');
52 BSPrinter
::set_realm('Printer Test');
54 BSPrinterRootPage
::make('Title')->setNavigator($navigator)