plugin:directorylist
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:directorylist [2014-01-23 13:46] – updated info alexwenzel | plugin:directorylist [2024-01-22 16:17] (current) – Aleksandr | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : alexander.wenzel.berlin@gmail.com | email : alexander.wenzel.berlin@gmail.com | ||
type : Syntax, Action | type : Syntax, Action | ||
- | lastupdate : 2014-01-23 | + | lastupdate : 2017-10-03 |
compatible : Binky, 2013-12-08 | compatible : Binky, 2013-12-08 | ||
depends | depends | ||
Line 18: | Line 18: | ||
donationurl: | donationurl: | ||
- | screenshot_img : https://raw2.github.com/ | + | screenshot_img : https://raw.githubusercontent.com/ |
---- | ---- | ||
- | ====== About ====== | + | ===== About ===== |
Specify a directory and this plugin will list all contained items and made them downloadable. | Specify a directory and this plugin will list all contained items and made them downloadable. | ||
This is mostly used for intranets. | This is mostly used for intranets. | ||
- | |||
- | **Information: | ||
Contact me if anything. | Contact me if anything. | ||
- | ====== Installation & usage ====== | + | ===== Installation & Usage ===== |
+ | |||
+ | Please visit the github page for **detailed** information! | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ===== Discussion ===== | ||
+ | |||
+ | The plugin currently only supports the ' | ||
+ | |||
+ | By adding a new argument, ' | ||
+ | |||
+ | I've done a slight hack to get the correct url path. | ||
+ | |||
+ | Below is the diff output for my changes on the directorylist/ | ||
+ | |||
+ | <code diff> | ||
+ | 107, | ||
+ | < // check and set default: type argument | ||
+ | < if ( ! isset($data[' | ||
+ | < | ||
+ | < | ||
+ | 161c157 | ||
+ | < | ||
+ | --- | ||
+ | > | ||
+ | 210, | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | 218c211 | ||
+ | < | ||
+ | --- | ||
+ | > | ||
+ | 220, | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < if( $data[' | ||
+ | < $link .= '? | ||
+ | < } else if( $data[' | ||
+ | < $link .= ' | ||
+ | < } else if ($data[' | ||
+ | < | ||
+ | < $link .= $conf[' | ||
+ | < } else { | ||
+ | < $link .= ''; | ||
+ | < } | ||
+ | < $link .= '"'; | ||
+ | < if( $data[' | ||
+ | < $link .= ' target=" | ||
+ | < } | ||
+ | < $link .= ' title="' | ||
+ | < $link .= '>'; | ||
+ | --- | ||
+ | > $link = '<a href="? | ||
+ | > $link .= 'title="' | ||
+ | |||
+ | </ | ||
- | Please visit the github page for __detailed__ information! | + | --- [[user> |
- | https:// | + | Hi, I have accepted your pull request. Thank you |
+ | // |
plugin/directorylist.1390481191.txt.gz · Last modified: 2014-01-23 13:46 by alexwenzel