示例#1
0
        ?>
" href="#" onclick="recoveryItem('<?php 
        echo $extID;
        ?>
', 'LastCheckStatus_<?php 
        echo $extID;
        ?>
'); return false;"><?php 
        echo JText::_('ROLLBACK');
        ?>
</a>        </div>        </td>
        <td colspan="6" class="checkstatus" id="LastCheckStatus_<?php 
        echo $extID;
        ?>
"><?php 
        echo JaextmanagerModelDefault::getLastCheckStatus($checkLog, $extID);
        ?>
</td>
      </tr>
      <?php 
    }
    ?>
    </tbody>
    <tfoot>
      <tr>
        <td colspan="12"><?php 
    echo $this->pagination->getListFooter();
    ?>
</td>
      </tr>
    </tfoot>
示例#2
0
<?php

/**
 * ------------------------------------------------------------------------
 * JA Extenstion Manager Component for J3.x
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites: http://www.joomlart.com - http://www.joomlancers.com
 * ------------------------------------------------------------------------
 */
//no direct access
defined('_JEXEC') or die('Retricted Access');
$JaextmanagerModelDefault = new JaextmanagerModelDefault();
$checkLog = $JaextmanagerModelDefault->getListExtensionSettings();
?>
<script language="javascript">
// Proccess for check update button
//<![CDATA[
Joomla.submitbutton = function(pressbutton) {
	var form = document.adminForm;
	// Check update
	if ( pressbutton == 'checkupdate'){
		checkNewVersions();
		return;
	}
	
	// Recovery
	if ( pressbutton == 'recovery'){
		recoveryAll();