CC-2411 : Interface for Music Folders Preferences

applying html/css changes to music folder preference page.
This commit is contained in:
Naomi Aro 2011-06-27 11:46:23 +02:00
parent c5ec6b5a53
commit 4a478117c6
6 changed files with 143 additions and 78 deletions

View file

@ -47,23 +47,5 @@ class Application_Form_WatchedDirPreferences extends Zend_Form_SubForm
}
public function setWatchedDirs() {
$watched_dirs = MusicDir::getWatchedDirs();
$i = 1;
foreach($watched_dirs as $dir) {
$text = new Zend_Form_Element_Text("watched_dir_$i");
$text->setAttrib('class', 'input_text');
$text->addFilter('StringTrim');
$text->setValue($dir->getDirectory());
$text->setDecorators(array('ViewHelper'));
$this->addElement($text);
$i = $i + 1;
}
}
}