[ Index ]
 

Code source de phpMyVisites 2.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/core/admin/ -> AdminIndex.class.php (source)

   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: AdminIndex.class.php 160 2006-11-08 19:53:43Z cmil $
  11  
  12  
  13  
  14  require_once  INCLUDE_PATH."/core/include/AdminModule.class.php";
  15  
  16  class AdminIndex extends AdminModule
  17  {
  18      var $viewTemplate = "admin/index.tpl";
  19      
  20  	function AdminGeneralConfig()
  21      {
  22          parent::AdminModule();
  23      }
  24  
  25      
  26  	function process()
  27      {
  28          $installedPlugin = &PmvConfig::getInstance("plugin.php", false);
  29          foreach ($installedPlugin->content as $key => $value) {
  30              if (($value['type'] == "admin") || ($value['type'] == "all")) {
  31                  if ((isset($value['langPath'])) && ($value['langPath'] != "")) {
  32                      Lang::addPluginLangFile ($key."/".$value['langPath'], $value['defaultLang']);
  33                  }
  34              }
  35          }
  36          $this->tpl->assign ("installedPlugin", $installedPlugin->content);
  37      }
  38  }
  39  ?>


Généré le : Mon Nov 26 14:10:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics