Ignore:
Timestamp:
02/21/06 23:37:55 (7 years ago)
Author:
anarcat
Message:

[project @ alternc: changeset 2003-06-10 07:31:36 by root]
Modifs selected + langues stats

Original author: root
Date: 2003-06-10 07:31:37

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bureau/class/m_stats.php

    r102 r105  
    11<?php 
    22/* 
    3  $Id: m_stats.php,v 1.4 2003/06/10 06:45:20 root Exp $ 
     3 $Id: m_stats.php,v 1.5 2003/06/10 07:31:36 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    5757  /** Nom des langues disponibles */ 
    5858  var $langname=array( 
    59                       "FR"=>"Français", 
    60                       "EN"=>"English" 
     59                      "FR"=>"French", 
     60                      "EN"=>"English", 
     61                      "DE"=>"German", 
     62                      "ES"=>"Spanish", 
    6163                      ); 
    6264 
     
    166168    reset($r); 
    167169    while (list($key,$val)=each($r)) { 
    168       if ($current==$val) $c=" selected"; else $c=""; 
     170      if ($current==$val) $c=" selected=\"selected\""; else $c=""; 
    169171      echo "<option$c>$val</option>"; 
    170172    } 
     
    180182    reset($this->langname); 
    181183    while (list($key,$val)=each($this->langname)) { 
    182       if ($current==$val) $c=" selected"; else $c=""; 
     184      if ($current==$val) $c=" selected=\"selected\""; else $c=""; 
    183185      echo "<option value=\"$key\"$c>$val</option>"; 
    184186    } 
Note: See TracChangeset for help on using the changeset viewer.