projects
/
diogenes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update options menu to for RSS feed options
[diogenes.git]
/
include
/
admin
/
plugins.php
diff --git
a/include/admin/plugins.php
b/include/admin/plugins.php
index
5ae4ae3
..
c529c31
100644
(file)
--- a/
include/admin/plugins.php
+++ b/
include/admin/plugins.php
@@
-30,7
+30,8
@@
if ($dir != 0)
/* plugin editor */
$editor = new Diogenes_Plugin_Editor($page->alias, $dir, $wperms);
if ($dir == 0) {
- $editor->set_mode(MODE_NOPARAMS);
+ $editor->readonly = 1;
+ $editor->hide_params(1);
}
$editor->run($page,'page_content');
$page->display('');