can update when not need
parent
3c2ba3f279
commit
140b7a1e98
|
@ -409,16 +409,17 @@ function_name:' . $_SERVER['function_name'] . '<br>
|
|||
}
|
||||
$html .= '
|
||||
<a href="'.$preurl.'">'.getconstStr('Back').'</a> <a href="'.$_SERVER['base_path'].'">'.getconstStr('Back').getconstStr('Home').'</a><br>
|
||||
<a href="https://github.com/qkqpttgf/OneManager-php">Github</a><br>';
|
||||
if ($needUpdate) {
|
||||
$html .= '<pre>' . $_SERVER['github_version'] . '</pre>
|
||||
<a href="https://github.com/qkqpttgf/OneManager-php">Github</a><br>
|
||||
<form action="" method="post">
|
||||
<input type="submit" name="updateProgram" value="'.getconstStr('updateProgram').'">
|
||||
</form>';
|
||||
';
|
||||
if ($needUpdate) {
|
||||
$html .= '<pre>' . $_SERVER['github_version'] . '</pre>';
|
||||
} else {
|
||||
$html .= getconstStr('NotNeedUpdate');
|
||||
}
|
||||
$html .= '<br>
|
||||
$html .= '
|
||||
<input type="submit" name="updateProgram" value="'.getconstStr('updateProgram').'">
|
||||
</form>
|
||||
<table border=1 width=100%>
|
||||
<form name="common" action="" method="post">
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue