HEX
Server: Apache
System: Linux webm005.cluster114.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: epubdjye (129326)
PHP: 8.5.7
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/epubdjye/www17/old/administrator/components/com_acymailing/buttons/acyactions.php
<?php
/**
 * @copyright	Copyright (C) 2009-2012 ACYBA SARL - All rights reserved.
 * @license		http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
 */
defined('_JEXEC') or die('Restricted access');
?>
<?php
class JButtonAcyactions extends JButton
{
	var $_name = 'Acyactions';
	function fetchButton( $type='Acyactions')
	{
		JHTML::_('behavior.modal','a.modal');
		$url = JURI::base()."index.php?option=com_acymailing&ctrl=filter&tmpl=component";
		$top = 0; $left = 0;
		$width = 700;
		$height = 500;
		$text	= JText::_('ACTIONS');
		$class	= "icon-32-acyaction";
		$js = "i = 0;
			mylink = 'index.php?option=com_acymailing&ctrl=filter&tmpl=component&subid=';
			while(window.document.getElementById('cb'+i)){
				if(window.document.getElementById('cb'+i).checked) mylink += window.document.getElementById('cb'+i).value+',';
				i++;
			}
			this.href= mylink;
			";
		$html	= "<a class=\"modal\" onclick=\"$js\" href=\"$url\" rel=\"{handler: 'iframe', size: {x: $width, y: $height}}\">\n";
		$html .= "<span class=\"$class\" title=\"$text\"></span>$text</a>\n";
		return $html;
	}
	function fetchId($name)
	{
		return "toolbar-popup-Acyactions";
	}
}