mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r434
Чистка кеша git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@434 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
838dffe759
commit
33f8120497
3 changed files with 7 additions and 9 deletions
|
@ -31,7 +31,7 @@ switch($mode)
|
|||
|
||||
$datastore->clean();
|
||||
|
||||
$this->response['datastore_html'] = 'datastore î÷èùåí';
|
||||
$this->response['cache_html'] = 'datastore очищен';
|
||||
break;
|
||||
|
||||
case 'delete_profile':
|
||||
|
|
|
@ -56,8 +56,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.5 Beta';
|
||||
$bb_cfg['tp_release_state'] = 'R432';
|
||||
$bb_cfg['tp_release_date'] = '06-06-2012';
|
||||
$bb_cfg['tp_release_state'] = 'R434';
|
||||
$bb_cfg['tp_release_date'] = '27-06-2012';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
|
|
@ -63,7 +63,6 @@ table.forumline { margin: 0 auto; }
|
|||
<!--========================================================================-->
|
||||
<script type="text/javascript">
|
||||
ajax.manage_user = function(mode) {
|
||||
$('#cache').html('<i class="loading-1">{L_LOADING}</i>');
|
||||
ajax.exec({
|
||||
action : 'manage_user',
|
||||
mode : mode,
|
||||
|
@ -71,9 +70,8 @@ ajax.manage_user = function(mode) {
|
|||
});
|
||||
}
|
||||
ajax.callback.manage_user = function(data) {
|
||||
$('#cache').toggle().html(data.cache_html);
|
||||
$('#cache_clear').toggle().html(data.cache_html);
|
||||
}
|
||||
$('#cache_clear').html(data.cache_html);
|
||||
}
|
||||
</script>
|
||||
<br />
|
||||
|
||||
|
@ -81,8 +79,8 @@ ajax.callback.manage_user = function(data) {
|
|||
<tr>
|
||||
<td><b>{L_CLEAR_CACHE}:</b></td>
|
||||
<td>
|
||||
<a href="{U_CLEAR_DATASTORE}">{L_DATASTORE}</a>,
|
||||
<a href="#" id="cache" onclick="ajax.manage_user('clear_cache'); return false;">{L_ALL_CACHE}</a><span id="cache_clear" class="seed bold"></span>,
|
||||
<a href="#" onclick="ajax.manage_user('clear_datastore'); return false;">{L_DATASTORE}</a>,
|
||||
<a href="#" onclick="ajax.manage_user('clear_cache'); return false;">{L_ALL_CACHE}</a> <span id="cache_clear" class="seed bold"></span>,
|
||||
<a href="{U_CLEAR_TPL_CACHE}">{L_TEMPLATES}</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue