$Content?>
Agile Toolkit can be instructed to look into multiple folders for your templates. Add the following function into your API class:
function addDefaultLocations($base_directory){ if($this->locale){ $this->addLocation('locale/'.$this->locale,array( 'php'=>'lib', 'page'=>'page', 'template'=>'templates', ))->setBasePath($base_directory.'/locale/'.$this->locale); } } /?>Next you will need to set property $locale='ru' and create folder locale/ru/templates/... This will now be used to locate templates first and when not found, default locations will be checked.
$Next?>