<?php
/**
 * Vishelp view for Visforms
 *
 * @author       Aicha Vack
 * @package      Joomla.Administrator
 * @subpackage   com_visforms
 * @link         http://www.vi-solutions.de 
 * @license      GNU General Public License version 2 or later; see license.txt
 * @copyright    2012 vi-solutions
 * @since        Joomla 1.6 
 */
defined('_JEXEC') or die('Direct Access to this location is not allowed.');

/**
 * vishelp view
 *
 * @package      Joomla.Administrator
 * @subpackage   com_visforms
 * @since        Joomla 1.6 
 */
class VisformsViewVishelp extends JViewLegacy
{
  /**
   * HTML view display method
   *
   * @access  public
   * @param   string  $tpl  The name of the template file to parse
   * @return  void
   * @since   1.5.5
   */
  function display($tpl = null)
  {
    VisformsHelper::addSubmenu('vishelp');
    $this->sidebar = JHtmlSidebar::render();
      
    $document = JFactory::getDocument();
	$css = '.icon-visform {background:url(../administrator/components/com_visforms/images/visforms_logo_32.png) no-repeat;}'.
            ' [class^="icon-visform"] {display: block; float: left; height: 32px; line-height: 32px; width: 32px;}'.
           '  .visformbottom {	text-align: center;	padding-top: 15px;	color: #999;}';
	$document->addStyleDeclaration($css);
	JToolbarHelper::title(JText::_( 'COM_VISFORMS_VISHELP' ), 'visform' );
	
	parent::display($tpl);
  }
}