Пример #1
0
    /**
     * Close out the adminstrator area table.
     * @author RickG, Max Milbers
     */
    static function endAdminArea()
    {
        if (!self::$backEnd) {
            return;
        }
        self::$vmAdminAreaStarted = false;
        if (VmConfig::get('debug') == '1') {
            //TODO maybe add debuggin again here
            //		include(JPATH_VM_ADMINISTRATOR.'debug.php');
        }
        ?>
					<div class="clear"></div>
				</div>
			</div>
			<div class="clear"></div>
		</div>
	<?php 
    }
Пример #2
0
    /**
     * Close out the adminstrator area table.
     * @author RickG, Max Milbers
     */
    static function endAdminArea()
    {
        if (!self::$backEnd) {
            return;
        }
        self::$vmAdminAreaStarted = false;
        ?>

				</div>
		</div>
		<div class="clear"></div>
	<?php 
    }
    /**
     * Close out the adminstrator area table.
     * @author RickG, Max Milbers, Patrick Kohl
     * @boolean $ajaxResults, in case of raw/ajax result exist, include the file
     * Note the script must be set after joomla javascript declaration to overide it.
     */
    static function endAdminArea($ajaxResults = false)
    {
        if (!self::$backEnd) {
            echo '</div></div></div></div>';
            vmJsApi::js('jquery.ui.autocomplete.html');
            if ($ajaxResults) {
                include 'ajax/results.html.php';
            }
            include 'front/langs.html.php';
            return;
        }
        self::$vmAdminAreaStarted = false;
        if (VmConfig::get('debug') == '1') {
            //TODO maybe add debuggin again here
            //		include(JPATH_VM_ADMINISTRATOR.'debug.php');
        }
        ?>
					<div class="clear"></div>
				</div>
				<div class="clear"></div>
			</div>
		</div>
		</div>

		<?php 
        // add ajax results script
        if ($ajaxResults) {
            include 'ajax/results.html.php';
        }
    }