From ebf1501f6d253ef906c44bae278a2f80ffcb9f54 Mon Sep 17 00:00:00 2001 From: Ben Coburn Date: Thu, 7 Dec 2006 08:49:06 +0100 Subject: changelog type strings replaced with constants Using more verbose constant names in the place of single character strings should make the code much more readable. This does not change the behavior of the changelog. darcs-hash:20061207074906-05dcb-0bdc35e7241bf14063b2b43a6ff26d8a3c307cb9.gz --- lib/plugins/revert/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/plugins/revert/admin.php') diff --git a/lib/plugins/revert/admin.php b/lib/plugins/revert/admin.php index b9c196297..5c5d98ab6 100644 --- a/lib/plugins/revert/admin.php +++ b/lib/plugins/revert/admin.php @@ -132,7 +132,7 @@ class admin_plugin_revert extends DokuWiki_Admin_Plugin { $cnt++; $date = date($conf['dformat'],$recent['date']); - echo ($recent['type']==='e') ? '
  • ' : '
  • '; + echo ($recent['type']===DOKU_CHANGE_TYPE_MINOR_EDIT) ? '
  • ' : '
  • '; echo '
    '; echo ''; echo ' '; -- cgit v1.2.3