From 13efdf6aa7d8c957f5898726725f2e2ed5c61a59 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 18 Oct 2010 20:58:51 +0000 Subject: [PATCH] plugin manager --- inc/templates/pluginform.php | 77 ++++++++++++++++++++++++++++++++++++ js/lib_ajax.js | 2 +- 2 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 inc/templates/pluginform.php diff --git a/inc/templates/pluginform.php b/inc/templates/pluginform.php new file mode 100644 index 0000000000..dccc74dae8 --- /dev/null +++ b/inc/templates/pluginform.php @@ -0,0 +1,77 @@ + + +

Plugin List

+
+ + +
+ + + + + + + + + + + \n"); + echo(""); + echo(""); + echo(""); + echo(""); + echo(""); + echo("\n"); + } + ?> + +
IdVersionDescriptionAuthor
$plugin($enabledStringOther){$pluginData['info']['version']}{$pluginData['info']['name']}{$pluginData['info']['author']}
+

Install Plugin

+
+ + + +
\ No newline at end of file diff --git a/js/lib_ajax.js b/js/lib_ajax.js index a76460632d..297f612252 100644 --- a/js/lib_ajax.js +++ b/js/lib_ajax.js @@ -67,7 +67,7 @@ OC_onload.run=function(){ } } for(index in OC_onload.items){ - if(OC_onload.items[index].call){ + if(OC_onload.items[index]&&OC_onload.items[index].call){ OC_onload.items[index].call(); } }