Hey guys,
I wanted to do the same, and I couldn't find it anywhere, so I went on a hunt.
Anyways,
File: /admin/includes/functions/general.php
Look for the function zen_get_countries
And here is how it should look like
function zen_get_countries($default = '') {
global $db;
$countries_array = array();
if ($default) {
$countries_array[] = array('id' => '',
'text' => $default);
}
$countries = $db->Execute("select countries_id, countries_name
from " . TABLE_COUNTRIES . " WHERE countries_id!='223'
order by countries_name");
$countries_array[] = array('id' => '223',
'text' => 'United States');
while (!$countries->EOF) {
$countries_array[] = array('id' => $countries->fields['countries_id'],
'text' => $countries->fields['countries_name']);
$countries->MoveNext();
}
return $countries_array;
}
Hope that helps
=]