2013-10-22 16:57:28 +02:00
|
|
|
<?php
|
2014-07-15 13:39:22 +02:00
|
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
2013-10-22 16:57:28 +02:00
|
|
|
|
|
|
|
class Zend_View_Helper_SelectionToolbar extends Zend_View_Helper_Abstract
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Create a selection toolbar
|
|
|
|
*
|
|
|
|
* @param $type
|
|
|
|
* @param null $target
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function selectionToolbar($type, $target = null)
|
|
|
|
{
|
2014-06-21 03:33:16 +02:00
|
|
|
return '';
|
2013-10-22 16:57:28 +02:00
|
|
|
if ($type == 'multi') {
|
2014-04-09 19:13:46 +02:00
|
|
|
return '<div class="selection-toolbar">'
|
2014-04-23 19:41:07 +02:00
|
|
|
. '<a href="' . $target . '" data-base-target="_next"> Show All </a> </div>';
|
2013-10-22 16:57:28 +02:00
|
|
|
} else {
|
|
|
|
return '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|