2012-04-26 17:32:29 +04:00
|
|
|
<div id="history">
|
2012-04-27 16:19:16 +04:00
|
|
|
|
2012-04-24 01:54:49 +04:00
|
|
|
<?php
|
2012-04-27 16:19:16 +04:00
|
|
|
|
|
|
|
if( isset( $_['message'] ) ) {
|
2012-04-24 01:54:49 +04:00
|
|
|
|
|
|
|
|
2012-04-27 16:19:16 +04:00
|
|
|
if( isset($_['path'] ) ) echo('<strong>File: '.$_['path'] ).'</strong><br>';
|
|
|
|
echo('<strong>'.$_['message'] ).'</strong><br>';
|
2012-04-24 01:54:49 +04:00
|
|
|
|
2012-04-27 16:19:16 +04:00
|
|
|
}else{
|
2012-04-24 01:54:49 +04:00
|
|
|
|
2012-04-27 16:19:16 +04:00
|
|
|
if( isset( $_['outcome_stat'] ) ) {
|
|
|
|
|
|
|
|
echo( '<div id="feedback-messages" class="'.$_['outcome_stat'].'"><h3>'.$_['outcome_msg'] ).'</h3></div><br>';
|
2012-04-24 01:54:49 +04:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-04-27 16:19:16 +04:00
|
|
|
echo( '<strong>Versions of '.$_['path'] ).'</strong><br>';
|
|
|
|
echo('<p><em>You can click on the revert button to revert to the specific verson.</em></p><br />');
|
|
|
|
|
|
|
|
foreach ( $_['versions'] as $v ) {
|
|
|
|
|
|
|
|
echo ' ';
|
|
|
|
echo OC_Util::formatDate( $v );
|
|
|
|
echo ' <a href="history.php?path='.urlencode( $_['path'] ).'&revert='. $v .'" class="button">Revert</a><br /><br />';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-04-24 01:54:49 +04:00
|
|
|
?>
|
2012-04-26 17:32:29 +04:00
|
|
|
</div>
|