[ 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: InstallFirstWebsiteSetup.class.php 29 2006-08-18 07:35:21Z matthieu_ $ 11 12 13 require_once INCLUDE_PATH."/core/include/InstallModule.class.php"; 14 require_once INCLUDE_PATH."/core/forms/FormSiteGeneral.class.php"; 15 16 class InstallFirstWebsiteSetup extends InstallModule 17 { 18 var $viewTemplate = "install/first_website_setup.tpl"; 19 20 var $stepNumber = 7; 21 22 function InstallFirstWebsiteSetup() 23 { 24 parent::InstallModule(); 25 } 26 27 function process() 28 { 29 30 $next_step = false; 31 32 $totalSites = Site::getTotalSites(); 33 if($totalSites > 0) 34 { 35 Request::redirectToModule('install_display_javascript_code'); 36 } 37 38 39 $form = new FormSiteGeneral( $this->tpl, null, Request::getCurrentUrl() . "&action=add"); 40 41 $done = $form->process(); 42 43 if($done) 44 { 45 $this->tpl->assign("img_phpmv", getCountImgHtml( $form->getSubmitValue('form_url'), $form->getSubmitValue('form_name'))); 46 47 $next_step = true; 48 } 49 50 $this->tpl->assign("show_next_step", $next_step); 51 } 52 } 53 ?>
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 |
![]() |