mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-06 23:56:36 +02:00
remove latest version checker
This commit is contained in:
parent
2a2d81ce78
commit
805308a013
|
@ -4,13 +4,13 @@ $CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":false,"hide_Cols":
|
|||
|
||||
|
||||
/**
|
||||
* H3K | Tiny File Manager V2.4.7
|
||||
* H3K | Tiny File Manager V2.4.8
|
||||
* CCP Programmers | ccpprogrammers@gmail.com
|
||||
* https://tinyfilemanager.github.io
|
||||
*/
|
||||
|
||||
//TFM version
|
||||
define('VERSION', '2.4.7');
|
||||
define('VERSION', '2.4.8');
|
||||
|
||||
//Application Title
|
||||
define('APP_TITLE', 'Tiny File Manager');
|
||||
|
@ -1557,7 +1557,6 @@ if (isset($_GET['help'])) {
|
|||
<ul class="list-group list-group-flush">
|
||||
<li class="list-group-item"><a href="https://github.com/prasathmani/tinyfilemanager/wiki" target="_blank"><i class="fa fa-question-circle"></i> <?php echo lng('Help Documents') ?> </a> </li>
|
||||
<li class="list-group-item"><a href="https://github.com/prasathmani/tinyfilemanager/issues" target="_blank"><i class="fa fa-bug"></i> <?php echo lng('Report Issue') ?></a></li>
|
||||
<li class="list-group-item"><a href="javascript:latest_release_info('<?php echo VERSION; ?>');"><i class="fa fa-link"> </i> <?php echo lng('Check Latest Version') ?></a></li>
|
||||
<?php if(!FM_READONLY) { ?>
|
||||
<li class="list-group-item"><a href="javascript:show_new_pwd();"><i class="fa fa-lock"></i> <?php echo lng('Generate new password hash') ?></a></li>
|
||||
<?php } ?>
|
||||
|
@ -3892,12 +3891,6 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
}
|
||||
}
|
||||
}
|
||||
//Check latest version
|
||||
function latest_release_info(v) {
|
||||
if(!!window.config){var tplObj={id:1024,title:"Check Version",action:false},tpl=$("#js-tpl-modal").html();
|
||||
if(window.config.version!=v){tplObj.content=window.config.newUpdate;}else{tplObj.content=window.config.noUpdate;}
|
||||
$('#wrapper').append(template(tpl,tplObj));$("#js-ModalCenter-1024").modal('show');}else{fm_get_config();}
|
||||
}
|
||||
function show_new_pwd() { $(".js-new-pwd").toggleClass('hidden'); }
|
||||
//Save Settings
|
||||
function save_settings($this) {
|
||||
|
|
Loading…
Reference in a new issue