AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.216.86
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/dansnotreville-fr/nice/libraries/CBLib/CB/Legacy/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/dansnotreville-fr/nice/libraries/CBLib/CB/Legacy/CBtoolmenuBar.php
<?php
/**
* CBLib, Community Builder Library(TM)
* @version $Id: 6/29/14 12:59 PM $
* @copyright (C) 2004-2023 www.joomlapolis.com / Lightning MultiCom SA - and its licensors, all rights reserved
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2
*/

defined('CBLIB') or die();

/**
 * CBtoolmenuBar Class implementation
 * 
 */
class CBtoolmenuBar extends cbMenuBarBase
{
	/**
	 * displays $action toolbar button
	 *
	 * @param string $action
	 * @param string $link
	 * @param string $alt
	 * @param string $class
	 */
	public static function linkAction( $action = 'new', $link = null, $alt = 'New', $class = null )
	{
		if ( cbStartOfStringMatch( $link, 'javascript:' ) ) {
			$href		=	'#';
			$onClickJs	=	substr( $link, 11 );
		} else {
			$href		=	$link;
			$onClickJs	=	null;
		}

		CBtoolmenuBar::_output( $onClickJs, $action, $alt, $href, $class );
	}

	/**
	 * displays "edit" toolbar button
	 *
	 * @param string $task
	 * @param string $alt
	 */
	public static function editListNoSelect( $task = 'edit', $alt = 'Edit' )
	{
		CBtoolmenuBar::addToToolBar( $task, $alt, 'Edit', 'edit' );
	}
}

Anon7 - 2022
AnonSec Team