/[cvs]/nfo/site/htdocs/index.php
ViewVC logotype

Diff of /nfo/site/htdocs/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by rabit, Wed Sep 1 09:01:44 2004 UTC revision 1.8 by rabit, Wed Sep 1 20:47:20 2004 UTC
# Line 39  $request_outputtype = (isset($_GET['ot'] Line 39  $request_outputtype = (isset($_GET['ot']
39  if(isset($_GET['li']))  if(isset($_GET['li']))
40   $common_sessiondata['userdata']['language_id'] = intval($_GET['li']);   $common_sessiondata['userdata']['language_id'] = intval($_GET['li']);
41    
 //------------------------------------------------------------------------------  
42  //- Variable defaults:  //- Variable defaults:
43    
44  if(!$request_contentkey) $request_contentkey = 'Home';  if(!$request_contentkey) $request_contentkey = 'Home';
# Line 60  if(isset($common_sessiondata['userdata'] Line 59  if(isset($common_sessiondata['userdata']
59  common_benchmark_addstep('GET/POST variable processing');  common_benchmark_addstep('GET/POST variable processing');
60    
61  //------------------------------------------------------------------------------  //------------------------------------------------------------------------------
   
62  // Dispatching the output content type:  // Dispatching the output content type:
63    
64  switch($request_outputtype) {  switch($request_outputtype) {
# Line 69  switch($request_outputtype) { Line 67  switch($request_outputtype) {
67    
68  /* --- Example: ---  /* --- Example: ---
69    
70      include($common['site']['incroot'] . 'otdef/ot_wml1.php.inc');      include($common['site']['incroot'] . 'otdef/otd_wml1.php.inc');
71      common_benchmark_addstep('OT_WML1 included');      common_benchmark_addstep('OTD_WML1 included');
72  */  */
73    
74      break;      break;
# Line 81  switch($request_outputtype) { Line 79  switch($request_outputtype) {
79    
80    default:    default:
81    
82      include($common['site']['incroot'] . 'otdef/ot_html1.php.inc');      include($common['site']['incroot'] . 'otdef/otd_html1.php.inc');
83      common_benchmark_addstep('OT_HTML1 included');      common_benchmark_addstep('OTD_HTML1 included');
84    
85  }  }
86    
87  //----------------------------------------------------------  //------------------------------------------------------------------------------
88  // Render output:  // Render output:
89    
90  if(isset($otd_render)) $otd_render($request_contentkey, $language_id);  if(isset($otd_render)) $otd_render($request_contentkey, $language_id);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed