From 6a697acaf2cd7cb2543b8ee1a0c1d8deba8001d7 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Fri, 7 Oct 2011 08:05:29 +0000 Subject: [PATCH] [+] BO : added action button in autocomplete module list --- admin-dev/tabs/AdminModules.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin-dev/tabs/AdminModules.php b/admin-dev/tabs/AdminModules.php index 972d1076c..fb4e1c494 100644 --- a/admin-dev/tabs/AdminModules.php +++ b/admin-dev/tabs/AdminModules.php @@ -475,7 +475,7 @@ class AdminModules extends AdminTab matchContains: true, highlightItem: true, formatItem: function(row, i, max, term) { - return "" + row.displayName + ""+((row.author != \'\') ? " '.$this->l("by").' "+ truncate_author(row.author) :"") + "
"+ row.desc +""; + return "" + row.displayName + ""+((row.author != \'\') ? " '.$this->l("by").' "+ truncate_author(row.author) :"") + "
"+ row.desc +"
"+ row.option +"
"; }, formatResult: function(row) { return row.displayName; @@ -721,7 +721,8 @@ class AdminModules extends AdminTab 'displayName' => (string)$module->displayName, 'desc' => (string)$module->description, 'name' => (string)$module->name, - 'author' => (string)$module->author + 'author' => (string)$module->author, + 'option' => $this->displayOptions($module) )).', '; $autocompleteList = rtrim($autocompleteList, ' ,').'];';