import v1.1.0_RC2 | 2009-09-20
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
|
||||
class Monkeys_Form_Decorator_Composite extends Zend_Form_Decorator_Abstract
|
||||
implements Zend_Form_Decorator_Marker_File_Interface // to avoid Zend_Form_Element_File to whine
|
||||
|
@ -35,7 +35,7 @@ class Monkeys_Form_Element_Country extends Zend_Form_Element_Select
|
||||
|
||||
translate('-- Select a Country --');
|
||||
$this->addMultiOption(0, '-- Select a Country --');
|
||||
$this->addMultiOptions(Zend_Locale::getCountryTranslationList(Zend_Registry::get('Zend_Locale')));
|
||||
$this->addMultiOptions(Zend_Locale::getTranslationList('territory', Zend_Registry::get('Zend_Locale')));
|
||||
asort($this->options);
|
||||
}
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ class Monkeys_Form_Element_Language extends Zend_Form_Element_Select
|
||||
|
||||
translate('-- Select a Language --');
|
||||
$this->addMultiOption(0, '-- Select a Language --');
|
||||
$this->addMultiOptions(Zend_Locale::getLanguageTranslationList(Zend_Registry::get('Zend_Locale')));
|
||||
$this->addMultiOptions(Zend_Locale::getTranslationList('language', Zend_Registry::get('Zend_Locale')));
|
||||
asort($this->options);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user