Restore wiki behavior with three tables

This commit is contained in:
leosw
2019-01-30 19:49:26 +01:00
parent 55ed7db3c4
commit 50e8552059
2 changed files with 45 additions and 30 deletions

View File

@@ -15,7 +15,7 @@
<select id="wikihistory">
<? $i = 0;
foreach ($wikiHistory->objs as $row) { ?>
<option <?=$row->id==$wikiPage->id?'selected':''?> value="<?=$i?>"><?=$row->is_archive=="f"?'&bull; ':''?><? echo strftime('%d/%m/%Y %H:%M:%S',strtotime($row->update_date)) ?></option>
<option <?=$row->version_id==$wikiPage->version_id?'selected':''?> value="<?=$i?>"><?=$row->is_archive=="f"?'&bull; ':''?><? echo strftime('%d/%m/%Y %H:%M:%S',strtotime($row->update_date)) ?></option>
<? $i++;
} ?>
</select>