summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/templates/history.php
diff options
context:
space:
mode:
authorSam Tuke <sam@donttravelempty.com>2012-04-26 16:48:43 +0100
committerSam Tuke <sam@donttravelempty.com>2012-04-26 16:48:43 +0100
commitc693ee2adb1b8b251d7905791eeca0946c31c68b (patch)
tree10adcf853dff62b6a842728ce023b49c54eba9e2 /apps/files_versions/templates/history.php
parent6312067ab58b3d7121ed8e3211030f77eda699bd (diff)
downloadnextcloud-server-c693ee2adb1b8b251d7905791eeca0946c31c68b.tar.gz
nextcloud-server-c693ee2adb1b8b251d7905791eeca0946c31c68b.zip
added available version names to files dropdown menu via new ajax script
Diffstat (limited to 'apps/files_versions/templates/history.php')
-rw-r--r--apps/files_versions/templates/history.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/files_versions/templates/history.php b/apps/files_versions/templates/history.php
index d33d2b0f68b..92a3eb9c07e 100644
--- a/apps/files_versions/templates/history.php
+++ b/apps/files_versions/templates/history.php
@@ -10,8 +10,12 @@
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 />');
+ 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 />';
+
}
}