Modified:
/trunk/apps/core/modules/account/actions/actions.class.php
/trunk/apps/core/modules/account/templates/validateAccountSuccess.php
=======================================
--- /trunk/apps/core/modules/account/actions/actions.class.php Thu Sep 23
04:43:09 2010
+++ /trunk/apps/core/modules/account/actions/actions.class.php Thu Sep 23
13:13:12 2010
@@ -55,7 +55,7 @@
curl_setopt($ch, CURLOPT_URL,$url);
$res = curl_exec ($ch);
- $this->country =
Doctrine::getTable("country")->findByCode($res)->getFirst();
+ $this->country = $res;
//
}
=======================================
--- /trunk/apps/core/modules/account/templates/validateAccountSuccess.php
Thu Sep 23 12:15:02 2010
+++ /trunk/apps/core/modules/account/templates/validateAccountSuccess.php
Thu Sep 23 13:13:12 2010
@@ -19,7 +19,7 @@
<tr><td>Pais</td><td><img src='/images/country/<?php echo
$countryCode;?>.png' /> <?php echo $country;?><td></tr>
<tr><td>Correo electrónico</td><td><?php echo $email;?></td></tr>
<tr><td>Nombre de usuario</td><td><div><input id="username"
value="<?php echo $username;?>" type="text" class="ui-widget-content
ui-corner-all"><span id="usernamestat" style="float:right" class="ui-icon
ui-icon-check"></span></div></td></tr>
- <tr><td>Pais</td><td><img class="listaFotos ui-state-default
ui-corner-all" src="/images/flags/<?php echo
strtolower($country->getCode()); ?>.png" /> <?php echo
format_country($country->getCode()); ?></td></tr>
+ <tr><td>Pais</td><td><img class="listaFotos ui-state-default
ui-corner-all" src="/images/flags/<?php echo strtolower($country); ?>.png"
/> <?php echo format_country($country); ?></td></tr>
<tr><td>Contraseña</td><td><input id="pass1" type="password"
class="check text ui-widget-content ui-corner-all"></td></tr>
<tr><td>Confirma contraseña</td><td><input id="pass2"
type="password" class="check text ui-widget-content
ui-corner-all"></td></tr>
<tr><td>Fecha de nacimiento</td><td><div id="birthday"></div></td></tr>