finish basic item encoding, add plugin compatibility tag, notes on improving $global_perms for edge cases

This commit is contained in:
friendica
2012-11-16 13:57:55 -08:00
parent 5d4c9f5617
commit 9a726f0308
3 changed files with 35 additions and 4 deletions

View File

@@ -204,6 +204,7 @@ function call_hooks($name, &$data = null) {
* * Version: 1.2.3
* * Author: John <profile url>
* * Author: Jane <email>
* * Compat: Red [(version)], Friendica [(version)]
* *
*/
@@ -213,7 +214,8 @@ function get_plugin_info($plugin){
'name' => $plugin,
'description' => "",
'author' => array(),
'version' => ""
'version' => "",
'compat' => ""
);
if (!is_file("addon/$plugin/$plugin.php")) return $info;
@@ -258,6 +260,7 @@ function get_plugin_info($plugin){
* * Version: 1.2.3
* * Author: John <profile url>
* * Maintainer: Jane <profile url>
* * Compat: Friendica [(version)], Red [(version)]
* *
*/
@@ -270,6 +273,7 @@ function get_theme_info($theme){
'maintainer' => array(),
'version' => "",
'credits' => "",
'compat' => "",
'experimental' => false,
'unsupported' => false
);