correct some filer dialog weirdness caused by introduction of categories

Этот коммит содержится в:
Michael Johnston 2012-04-04 23:08:16 -04:00
родитель c4ca21a762
Коммит da0eb2d4c9
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -22,7 +22,8 @@ function filer_content(&$a) {
} else {
// return filer dialog
$filetags = get_pconfig(local_user(),'system','filetags');
$filetags = explode("][", trim($filetags,"[]"));
$filetags = file_tag_file_to_list($filetags,'file');
$filetags = explode(",", $filetags);
$tpl = get_markup_template("filer_dialog.tpl");
$o = replace_macros($tpl, array(
'$field' => array('term', t("Save to Folder:"), '', '', $filetags, t('- select -')),