summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/templates/history.php
blob: 1b3de9ce77c0d7cf75525ff223f6d0983e809b26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
	if(isset($_['message'])){


	        if(isset($_['path'])) echo('<strong>File: '.$_['path']).'</strong><br>';
	        echo('<strong>'.$_['message']).'</strong><br>';

	}else{

	        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(' '.OC_Util::formatDate($v).' <a href="history.php?path='.urlencode($_['path']).'&revert='.$v.'" class="button">revert</a><br /><br />');
		}

	}

?>