Changeset 1205
- Timestamp:
- 08/07/2008 08:04:50 AM (11 months ago)
- Files:
-
- 1 modified
-
trunk/handlers/history/history.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/handlers/history/history.php
r1126 r1205 42 42 echo '<div class="page">'."\n"; 43 43 $start = (int) $this->GetSafeVar('start', 'get'); // @@@ accept only positive value here 44 44 45 if ($this->HasAccess("read")) { 45 46 // load revisions for this page 46 47 if ($pages = $this->LoadRevisions($this->tag, $start)) 47 48 { 49 $note = ''; 48 50 $output = ""; 49 51 $additional_output = ''; … … 75 77 $deleted = array_diff($bodyB, $bodyA); 76 78 77 if (strlen($pageA['note']) == 0) 78 { 79 $note = ''; 80 } 81 else 79 if (strlen($pageA['note']) > 0) 82 80 { 83 81 $note = '['.$this->htmlspecialchars_ent($pageA['note']).']';