mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
fix #402 Ajouter un flush de cache dans l'admin
This commit is contained in:
@@ -98,6 +98,10 @@ if ($parm['flush_cache'])
|
|||||||
tr.even{
|
tr.even{
|
||||||
background-color:#CCCCCC;
|
background-color:#CCCCCC;
|
||||||
}
|
}
|
||||||
|
#flush_button {
|
||||||
|
width:360px;
|
||||||
|
margin: 5px 0 5px 40px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@@ -176,7 +180,7 @@ if ($parm['flush_cache'])
|
|||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<div>
|
<div>
|
||||||
<?php echo _('admin::Le serveur memcached a ete flushe'); ?>
|
<?php echo _('all caches services have been flushed'); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -319,7 +323,7 @@ if ($parm['flush_cache'])
|
|||||||
?>
|
?>
|
||||||
<form method="post" action="sitestruct.php">
|
<form method="post" action="sitestruct.php">
|
||||||
<input type="hidden" name="flush_cache" value="1"/>
|
<input type="hidden" name="flush_cache" value="1"/>
|
||||||
<input type="submit" value="Flush Memcached"/>
|
<input id="flush_button" type="submit" value="Flush All Caches" />
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user