| [ PHPXref.com ] | [ Generated: Sun Jul 20 20:10:04 2008 ] | [ Redaxo CMS 3.2 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * 5 * @package redaxo3 6 * @version $Id: index.php,v 1.30 2006/03/22 15:30:41 kristinus Exp $ 7 */ 8 9 10 // ----- ob caching start für output filter 11 ob_start(); 12 13 // --------------------------- ini settings 14 15 // Setzten des arg_separators, falls Sessions verwendet werden, 16 // um XHTML valide Links zu produzieren 17 @ini_set( 'arg_separator.input', '&'); 18 @ini_set( 'arg_separator.output', '&'); 19 20 // --------------------------- globals 21 22 unset($REX); 23 24 // Flag ob Inhalte mit Redaxo aufgerufen oder 25 // von der Webseite aus 26 // Kann wichtig für die Darstellung sein 27 // Sollte immer false bleiben 28 29 $REX['REDAXO'] = false; 30 31 32 // Wenn $REX[GG] = true; dann wird der 33 // Content aus den redaxo/include/generated/ 34 // genommen 35 36 $REX['GG'] = true; 37 38 39 // setzte pfad und includiere klassen und funktionen 40 41 $REX['HTDOCS_PATH'] = "./"; 42 include "./redaxo/include/master.inc.php"; 43 44 45 // Starte einen neuen Artikel und setzte die aktuelle 46 // artikel id. wenn nicht vorhanden, nimm einen 47 // speziellen artikel. z.b. fehler seite oder home seite 48 49 if (!isset($article_id) or $article_id == '') $article_id = $REX['START_ARTICLE_ID']; 50 51 $REX_ARTICLE = new article; 52 $REX_ARTICLE->setCLang($clang); 53 if ($REX_ARTICLE->setArticleId($article_id)) 54 { 55 echo $REX_ARTICLE->getArticleTemplate(); 56 }elseif($REX_ARTICLE->setArticleId($REX['NOTFOUND_ARTICLE_ID'])) 57 { 58 echo $REX_ARTICLE->getArticleTemplate(); 59 }else 60 { 61 echo 'Kein Startartikel selektiert / No starting Article selected. Please click here to enter <a href="redaxo/index.php">redaxo</a>'; 62 $REX['STATS'] = 0; 63 } 64 65 // ----- caching end für output filter 66 $CONTENT = ob_get_contents(); 67 ob_end_clean(); 68 69 // ----- EXTENSION POINT 70 $CONTENT = rex_register_extension_point( 'OUTPUT_FILTER', $CONTENT); 71 72 // ----- EXTENSION POINT - keine Manipulation der Ausgaben ab hier (read only) 73 rex_register_extension_point( 'OUTPUT_FILTER_CACHE', $CONTENT, '', true); 74 75 // ----- inhalt endgueltig ausgeben 76 echo $CONTENT; 77 78 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |