forked from extern/egroupware
removed countryset
This commit is contained in:
parent
cce7e20b2b
commit
aeb4efaae8
@ -1,39 +0,0 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare *
|
||||
* http://www.phpgroupware.org *
|
||||
* Written by Mark Peters <skeeter@phpgroupware.org> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
function country_set($config)
|
||||
{
|
||||
$country = array(
|
||||
'user_choice' => 'Users Choice',
|
||||
'force_select' => 'Force Selectbox'
|
||||
);
|
||||
|
||||
$out = '';
|
||||
while (list ($key, $value) = each ($country))
|
||||
{
|
||||
if ($config['countrylist'] == $key)
|
||||
{
|
||||
$selected = ' selected';
|
||||
}
|
||||
else
|
||||
{
|
||||
$selected = '';
|
||||
}
|
||||
$descr = lang($value);
|
||||
|
||||
$out .= '<option value="' . $key . '"' . $selected . '>' . $descr . '</option>' . "\n";
|
||||
}
|
||||
return $out;
|
||||
}
|
||||
?>
|
@ -13,22 +13,10 @@
|
||||
<!-- BEGIN body -->
|
||||
|
||||
<tr class="row_on">
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr class="row_off">
|
||||
<td>{lang_Enter_the_title_for_your_site}.</td>
|
||||
<td><input name="newsettings[site_title]" value="{value_site_title}"></td>
|
||||
</tr>
|
||||
|
||||
<tr class="row_on">
|
||||
<td>{lang_Country_Selection} ({lang_Text_Entry}/{lang_SelectBox}):</td>
|
||||
<td>
|
||||
<select name="newsettings[countrylist]">
|
||||
{hook_country_set}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="row_off">
|
||||
<td>{lang_Use_cookies_to_pass_sessionid}:</td>
|
||||
<td>
|
||||
|
Loading…
Reference in New Issue
Block a user