Fixed issue 8, show the featured downloads on the homepage.

This commit is contained in:
Loic d'Anterroches
2008-08-05 20:33:43 +02:00
parent 884a41fbba
commit 64f41c0cd2
4 changed files with 26 additions and 1 deletions

View File

@@ -185,6 +185,19 @@ class IDF_Views_Download
}
return substr($auto, 0, -1);
}
/**
* Get the download tags.
*
* @param IDF_Project
* @return ArrayObject The tags
*/
public static function getDownloadTags($project)
{
return $project->getTagsFromConfig('labels_downloads_predefined',
IDF_Form_UploadConf::init_predefined);
}
}
/**