From 903100ecb99ab926d4ac3be4eba11ea1c9800e12 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 25 Jul 2015 21:55:05 +0200 Subject: Namespaces added --- index.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 7f3de69..e8860d7 100755 --- a/index.php +++ b/index.php @@ -7,14 +7,14 @@ header('Cache-Control: no-cache, no-store, must-revalidate'); #==================================================================================================== # Klassen und Funktionen einbinden #==================================================================================================== -require_once 'include/classes/class.bigpipe.php'; -require_once 'include/classes/class.pagelet.php'; +require_once 'include/classes/BigPipe/BigPipe.php'; +require_once 'include/classes/BigPipe/Pagelet.php'; require_once 'include/functions.php'; #==================================================================================================== # Pagelet mit rotem Hintergrund #==================================================================================================== -$PageletRed = new Pagelet(); +$PageletRed = new BigPipe\Pagelet(); $PageletRed->addHTML('
I AM JUST A PAGELET WITH RED BACKGROUND
'); $PageletRed->addCSS('static/red.php'); $PageletRed->addJS('static/delayJS.php'); @@ -23,7 +23,7 @@ $PageletRed->addJSCode("document.getElementById('red').innerHTML += ' [JS execut #==================================================================================================== # Pagelet mit blauem Hintergrund #==================================================================================================== -$PageletBlue = new Pagelet(60); +$PageletBlue = new BigPipe\Pagelet(60); $PageletBlue->addHTML('
I AM JUST A PAGELET WITH BLUE BACKGROUND
'); $PageletBlue->addCSS('static/blue.php'); $PageletBlue->addJS('static/delayJS.php'); @@ -32,7 +32,7 @@ $PageletBlue->addJSCode("document.getElementById('blue').innerHTML += ' [JS exec #==================================================================================================== # Pagelet mit grĂ¼nem Hintergrund #==================================================================================================== -$PageletGreen = new Pagelet(); +$PageletGreen = new BigPipe\Pagelet(); $PageletGreen->addHTML('
I AM JUST A PAGELET WITH GREEN BACKGROUND
'); $PageletGreen->addCSS('static/green.php'); $PageletGreen->addJS('static/delayJS.php'); @@ -73,7 +73,7 @@ echo $PageletGreen; ?> \ No newline at end of file -- cgit v1.2.3