mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-11-04 05:05:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			611 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			611 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
 | 
						|
 | 
						|
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)
 | 
						|
    {
 | 
						|
        return '';
 | 
						|
        if ($type == 'multi') {
 | 
						|
            return '<div class="selection-toolbar">'
 | 
						|
                . '<a href="' . $target . '" data-base-target="_next"> Show All </a> </div>';
 | 
						|
        } else {
 | 
						|
            return '';
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |