Changeset 2871
- Timestamp:
- 03/11/11 10:32:58 (2 years ago)
- Location:
- alternc/trunk
- Files:
-
- 4 added
- 4 edited
-
bureau/admin/images/flag_de_DE.png (added)
-
bureau/admin/images/flag_en_US.png (added)
-
bureau/admin/images/flag_es_ES.png (added)
-
bureau/admin/images/flag_fr_FR.png (added)
-
bureau/admin/menu.php (modified) (1 diff)
-
bureau/class/lang_env.php (modified) (1 diff)
-
bureau/class/local.php (modified) (1 diff)
-
debian/changelog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/admin/menu.php
r2614 r2871 51 51 52 52 ?> 53 <p class="center"><a href="http://www.alternc.org" target="_blank"><img src="logo2.png" border="0" alt=" " /></a>53 <p class="center"><a href="http://www.alternc.org" target="_blank"><img src="logo2.png" border="0" alt="AlternC" /></a> 54 54 <br /> 55 <?php echo "$L_VERSION"; ?> 55 <?php 56 echo "$L_VERSION"; 57 echo "</p><p class='center'>"; 58 foreach($locales as $l) { ?> 59 <a href="?setlang=<?php echo $l; ?>"><img alt='<?php __($l); ?>' src='images/flag_<?php echo $l;?>.png' /></a><?php 60 } 61 ?> 56 62 </p> -
alternc/trunk/bureau/class/lang_env.php
r2860 r2871 3 3 function update_locale($langpath) { 4 4 $locales=array(); 5 $f=@fopen("/etc/locale.gen","rb"); 6 if ($f) { 7 while ($s=fgets($f,1024)) { 8 if (preg_match("/^([a-z][a-z]_[A-Z][A-Z])/",trim($s),$mat) && file_exists($langpath . '/' . $mat[1])) { 9 $locales[$mat[1]]=$mat[1]; 10 } 5 $file=file("/etc/locale.gen", FILE_SKIP_EMPTY_LINES); 6 if (! is_array($file) ) return $locales; 7 foreach ($file as $v ) { 8 if ( (preg_match("/^([a-z][a-z]_[A-Z][A-Z])/",trim($v),$mat) && file_exists($langpath . '/' . $mat[1]) ) ) { 9 $locales[$mat[1]]=$mat[1]; 11 10 } 12 fclose($f);13 11 } 14 12 return $locales; 15 13 } 14 16 15 17 16 // setlang is on the link at the login page -
alternc/trunk/bureau/class/local.php
r2675 r2871 2 2 3 3 /* Read global variables (AlternC configuration) */ 4 $L_VERSION="v. 1.0~rc 1";4 $L_VERSION="v. 1.0~rc2"; 5 5 6 6 /* To ease the transition, we define a lookup table for old names */ -
alternc/trunk/debian/changelog
r2683 r2871 1 alternc (1.0~rc2) stable; urgency=low 2 * Major patch 3 * Web & DNS file generation rebuild from scratch 4 * Drop of apache 1 support 5 * Big changes in database schema (domaines, sub_domaines, *_standby) 6 * Major changes 7 * Drop mass virtual hosting, now use full vhost 8 * New features 9 * Domains type are dynamic, the administrator can create domaine type with his own apache template 10 * Advanced DNS options (ipv6, cname, txt, mx) 11 * Possibility to create a temporary mail 12 * Bugfixes 13 * Too many to be listed (we change the update_domaines.sh) 14 * Dash compatibility 15 * Use iana.org to have whois server list up to date 16 17 -- Alan Garcia <fufroma@mailfr.com> Fri, 11 Mars 2011 10:24:30 +0200 18 1 19 alternc (1.0~rc1) stable; urgency=low 2 20
Note: See TracChangeset
for help on using the changeset viewer.
