Ejemplo n.º 1
0
    echo JHTML::_('fsjtabs.end');
} else {
    ?>
	
<?php 
    $pane =& JPane::getInstance('tabs', array('allowAllClose' => true));
    echo $pane->startPane("content-pane");
    $title = "Version";
    echo $pane->startPanel($title, 'cpanel-panel-' . $title);
    $ver_inst = FSFAdminHelper::GetInstalledVersion();
    $ver_files = FSFAdminHelper::GetVersion();
    if (FSFAdminHelper::IsFAQs()) {
        ?>
	<h3>If you like Freestyle FAQs please vote or review us at the <a href='http://extensions.joomla.org/extensions/directory-a-documentation/faq/11910' target="_blank">Joomla extensions directory</a></h3>
<?php 
    } elseif (FSFAdminHelper::IsTests()) {
        ?>
<h3>If you like Freestyle Testimonials please vote or review us at the <a href='http://extensions.joomla.org/extensions/contacts-and-feedback/testimonials-a-suggestions/11911' target="_blank">Joomla extensions directory</a></h3>
<?php 
    } else {
        ?>
<h3>If you like Freestyle FAQs, please vote or review us at the <a href='http://extensions.joomla.org/extensions/clients-a-communities/help-desk/11912' target="_blank">Joomla extensions directory</a></h3>
<?php 
    }
    echo "<h4>Currently Installed Verison : <b>{$ver_files}</b></h4>";
    if ($ver_files != $ver_inst) {
        echo "<h4>" . JText::sprintf('INCORRECT_VERSION', FSFRoute::x('index.php?option=com_fsf&view=backup&task=update')) . "</h4>";
    }
    ?>
<div id="please_wait">Please wait while fetching latest version information...</div>