| [ Index ] |
|
Code source de phpMyVisites 2.3 |
1 <?php 2 /* 3 * phpMyVisites : website statistics and audience measurements 4 * Copyright (C) 2002 - 2006 5 * http://www.phpmyvisites.net/ 6 * phpMyVisites is free software (license GNU/GPL) 7 * Authors : phpMyVisites team 8 */ 9 10 // $Id: ViewSettings.class.php 29 2006-08-18 07:35:21Z matthieu_ $ 11 12 13 require_once INCLUDE_PATH."/core/include/ViewModule.class.php"; 14 require_once INCLUDE_PATH."/core/views/ViewDataArray.class.php"; 15 16 /** 17 * View class 18 * displays all settings datas (Browsers, OS, plugins, etc...) 19 * 20 */ 21 class ViewSettings extends ViewModule 22 { 23 var $viewTemplate = "common/viewsettings_all.tpl"; 24 25 26 function ViewSettings( ) 27 { 28 parent::ViewModule( "settings"); 29 } 30 31 function process() 32 { 33 $o_mod = new ViewDataArray( null ); 34 $o_mod->init( $this->request);//, $this->tpl); 35 $a_dataToLoad = array( 36 'config' => 'settingsconfig', 37 'os' => 'settingsos', 38 'osinterest' => 'settingsosinterest', 39 'browserstype' => 'settingsbrowserstype', 40 'browsers' => 'settingsbrowsers', 41 'browsersinterest' => 'settingsbrowsersinterest', 42 'plugins' => 'settingsplugins', 43 'resolutions' => 'settingsresolutions', 44 'resolutionsinterest' => 'settingsresolutionsinterest', 45 'normalwidescreen' => 'settingsnormalwidescreen', 46 ); 47 48 foreach($a_dataToLoad as $key => $value) 49 { 50 $this->tpl->assign( $key, $o_mod->showAll( $value , true , true)); 51 } 52 $ctrl =& ApplicationController::getInstance(); 53 $o_request =& $ctrl->getRequest(); 54 $o_request->setModuleName( 'view_settings' ); 55 56 } 57 } 58 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
| Généré le : Mon Nov 26 14:10:01 2007 | par Balluche grâce à PHPXref 0.7 |
|