mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
Admin UI improvements and fixes; introducing 'lanlist' field type; 'multiple' dropdown option possible now but incomplete (batch, filter related work required)
This commit is contained in:
@@ -536,5 +536,17 @@ class language{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function getLanSelectArray($force = false)
|
||||
{
|
||||
if($force ||null === $this->_select_array)
|
||||
{
|
||||
$lanlist = explode(',', e_LANLIST);
|
||||
$this->_select_array = array();
|
||||
foreach ($lanlist as $lan)
|
||||
{
|
||||
$this->_select_array[$this->convert($lan)] = $this->toNative($lan);
|
||||
}
|
||||
}
|
||||
return $this->_select_array;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user