DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/AppServ/www/news/administrator/components/com_youtubegallery/views/categoryform/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/news/administrator/components/com_youtubegallery/views/categoryform/view.html.php
<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
 
// import Joomla view library
jimport('joomla.application.component.view');



 
/**
 * Youtube Category Form
 */
class YoutubeGalleryViewCategoryForm extends JView
{
        function display($tpl = null)
        {
		global $mainframe;
		

		$row =& $this->get('Data');

		//$this->assignRef('tableid',	$row->id);
		
		
		$isNew= ($row->id < 1);
		$this->assignRef('isNew',$isNew);

		$text = $isNew ? JText::_( 'NEW' ) : JText::_( 'EDIT' );
		JToolBarHelper::title(   JText::_( 'YouTube Gallery - Category', 'generic.png' ).': <small><small>[ '. $text.' ]</small></small>' );
		JToolBarHelper::apply();
		JToolBarHelper::save();
		if ($isNew)  {
			JToolBarHelper::cancel();
		} else {
			// for existing items the button is renamed `close`
			JToolBarHelper::cancel( 'cancel', 'Close' );
		}

		$Model =& $this->getModel();
		$this->assignRef('Model',		$Model);
		
    
       	$this->assignRef('row',$row);
		
		
		
        parent::display($tpl);
        }
}


?>

Anon7 - 2022
AnonSec Team