Skip to content
Snippets Groups Projects
Commit 03751a3e authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #45275 remove useless code

parent 46454583
Branches
Tags
4 merge requests!2080Sandbox detach zf from storm,!2061Master,!1989Dev#45275 3155 contractuel application nouvelle methode d edition par lot des articles aux collections,!1959Dev#45275 3155 contractuel application nouvelle methode d edition par lot des articles aux collections
Pipeline #74 passed with stage
in 8 minutes and 9 seconds
......@@ -6,7 +6,6 @@ if (Class_AdminVar::isBibNumEnabled())
'url=' . $this->url(array('action' => 'add_categorie',
'id' => null))
);
echo $this->admin_MultipleSelectorWidget($this->multi_selection);
echo $this->getHelper('TreeView')
->renderItemWithIconeSupport()
->treeView($this->categories,
......
<?php
echo
$this->admin_MultipleSelectorWidget($this->multi_selection)
. $this->renderForm($this->form);
?>
......@@ -90,7 +90,7 @@ abstract class ZendAfi_Controller_Plugin_MultiSelection_Abstract {
}
$this->_view->multi_selection = $this->_getMultiSelection();
$this->renderScript('edit-multiple-models.phtml');
$this->renderScript('plugins/multiSelection/edit.phtml');
}
......
......@@ -29,7 +29,6 @@ class ZendAfi_View_Helper_Admin_ListViewMode extends ZendAfi_View_Helper_BaseHel
$html = $this->getSearchFormHTML()
. $this->getBreadcrumbHTML()
. $this->getMultipleSelectorWidgetHTML()
. $this->getCategoriesHTML()
. $this->getItemsHTML()
. $this->getItemsPaginatorHTML();
......@@ -84,11 +83,6 @@ class ZendAfi_View_Helper_Admin_ListViewMode extends ZendAfi_View_Helper_BaseHel
}
protected function getMultipleSelectorWidgetHTML() {
return $this->view->admin_MultipleSelectorWidget($this->_list->getMultiSelection());
}
protected function getCategoriesHTML() {
if ($this->_list->getSearchValue())
return '';
......
......@@ -22,7 +22,7 @@
class ZendAfi_View_Helper_Admin_MultipleSelectorWidget extends ZendAfi_View_Helper_BaseHelper {
public function admin_MultipleSelectorWidget($multi_selection) {
public function Admin_MultipleSelectorWidget($multi_selection) {
if(!$multi_selection)
return '';
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment