cvs: docweb /templates/all/www userlist.tpl.php

From: Date: Fri, 12 Aug 2005 10:19:35 +0000
Subject: cvs: docweb /templates/all/www userlist.tpl.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-803@lists.php.net to get a copy of this message
nlopess Fri Aug 12 06:19:35 2005 EDT Modified files: /docweb/templates/all/www userlist.tpl.php Log: show the countrie's name, not the abbreviation http://cvs.php.net/diff.php/docweb/templates/all/www/userlist.tpl.php?r1=1.1&r2=1.2&ty=u Index: docweb/templates/all/www/userlist.tpl.php diff -u docweb/templates/all/www/userlist.tpl.php:1.1 docweb/templates/all/www/userlist.tpl.php:1.2 --- docweb/templates/all/www/userlist.tpl.php:1.1 Thu Aug 11 11:25:38 2005 +++ docweb/templates/all/www/userlist.tpl.php Fri Aug 12 06:19:33 2005 @@ -1,5 +1,5 @@ <?php -global $data; +global $data, $COUNTRIES; echo <<< HTML <table border="1"> @@ -13,7 +13,7 @@ foreach ($data as $user) { - $user['country'] = empty($user['country']) ? '&nbsp;' : $user['country']; + $user['country'] = empty($user['country']) ? '&nbsp;' : $COUNTRIES[$user['country']]; echo <<< HTML <tr>

« previous php.doc.web (#803) next »