Example #1
0
    function printUnMsg($return = true)
    {
        // Title
        LinkrInstaller::loadScripts();
        echo '<div class="inst-head">Linkr ' . LINKR_VERSION_READ . '</div>';
        // Messages
        if (count($GLOBALS['LINKR_INSTALLER_MSG'])) {
            foreach ($GLOBALS['LINKR_INSTALLER_MSG'] as $msg) {
                echo '<div class="inst-msg inst-msg-' . $msg['colour'] . '">' . $msg['text'] . '</div>';
            }
        }
        // Uninstall message
        echo '<div class="inst-text">
			<h2 class="inst-title">What now?</h2>
			<div class="inst-div">
				If you\'re planning on upgrading to a newer version of Linkr, simply head on 
				to <a href="' . LINKR_URL_DOWNLOAD . '" target="_blank">the download page</a> 
				to get the latest package, and install it through this page. If instead Linkr 
				was giving you more headaches than anything else, please spare a minute of your 
				time to <a href="' . LINKR_URL_SUPPORT . '" target="_blank">leave your comments</a>.
			</div>
		</div>';
        return $return;
    }
Example #2
0
    function printUnMsg($return = true)
    {
        // Title
        LinkrInstaller::loadScripts();
        echo '<div class="inst-head">Linkr ' . LINKR_VERSION_READ . '</div>';
        // Messages
        if (count($GLOBALS['LINKR_INSTALLER_MSG'])) {
            foreach ($GLOBALS['LINKR_INSTALLER_MSG'] as $msg) {
                echo '<div class="inst-msg inst-msg-' . $msg['colour'] . '">' . $msg['text'] . '</div>';
            }
        }
        // Uninstall message
        $jc = 'http://joomlacode.org/gf/project/linkr2/frs/';
        $supp = 'http://j.l33p.com/linkr/support';
        echo '<div class="inst-text">
			<h2 class="inst-title">What now?</h2>
			<div class="inst-div">
				If you\'re planning on upgrading to a newer version of Linkr, simply head on 
				to <a href="' . $jc . '" target="_blank">JoomlaCode.org</a> to get the latest 
				package, and install it through this page. If instead Linkr was giving you 
				more headaches than anything else, please spare a minute of your time to 
				<a href="' . $supp . '" target="_blank">leave your comments</a>.
			</div>
		</div>';
        return $return;
    }