| [ Index ] |
|
Code source de DokuWiki 2006-11-06 |
[Code source] [Imprimer] [Statistiques]
All output and handler function needed for the media management popup
| Author: | Andreas Gohr <andi@splitbrain.org> |
| License: | GPL 2 (http://www.gnu.org/licenses/gpl.html) |
| Poids: | 525 lignes (16 kb) |
| Inclus ou requis: | 3 fois |
| Référencé: | 0 fois |
| Nécessite: | 4 fichiers inc/search.php inc/html.php inc/confutils.php inc/JpegMeta.php |
| media_filesinuse($data,$id) X-Ref |
| Lists pages which currently use a media file selected for deletion References uses the same visual as search results and share their CSS tags except pagenames won't be links. author: Matthias Grimm <matthiasgrimm@users.sourceforge.net> |
| media_metasave($id,$auth,$data) X-Ref |
| Handles the saving of image meta data author: Andreas Gohr <andi@splitbrain.org> |
| media_metaform($id,$auth) X-Ref |
| Display the form to edit image meta data author: Andreas Gohr <andi@splitbrain.org> |
| media_delete($id,$auth) X-Ref |
| Handles media file deletions If configured, checks for media references before deletion author: Andreas Gohr <andi@splitbrain.org> return: mixed false on error, true on delete or array with refs |
| media_upload($ns,$auth) X-Ref |
| Handles media file uploads author: Andreas Gohr <andi@splitbrain.org> return: mixed false on error, id of the new file on success |
| media_filelist($ns,$auth=null,$jump='') X-Ref |
| List all files in a given Media namespace |
| media_fileactions($item,$auth) X-Ref |
| Print action links for a file depending on filetype and available permissions |
| media_printfile($item,$auth,$jump) X-Ref |
| Formats and prints one file in the list |
| media_printimgdetail($item) X-Ref |
| Prints a thumbnail and metainfos |
| media_uploadform($ns, $auth) X-Ref |
| Print the media upload form if permissions are correct author: Andreas Gohr <andi@splitbrain.org> |
| media_nstree($ns) X-Ref |
| Build a tree outline of available media namespaces author: Andreas Gohr <andi@splitbrain.org> |
| media_nstree_item($item) X-Ref |
| Userfunction for html_buildlist Prints a media namespace tree item author: Andreas Gohr <andi@splitbrain.org> |
| media_nstree_li($item) X-Ref |
| Userfunction for html_buildlist Prints a media namespace tree item opener author: Andreas Gohr <andi@splitbrain.org> |
| Généré le : Tue Apr 3 20:47:31 2007 | par Balluche grâce à PHPXref 0.7 |