Changeset 1385
- Timestamp:
- 06/17/2009 03:22:07 AM (15 months ago)
- Location:
- branches/1.2
- Files:
-
- 2 added
- 5 modified
-
actions/clonelink.php (added)
-
actions/editlink.php (modified) (1 diff)
-
actions/historylink.php (modified) (1 diff)
-
actions/ownerlink.php (modified) (3 diffs)
-
actions/revertlink.php (added)
-
config/options_menu.admin.inc (modified) (1 diff)
-
config/options_menu.user.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/actions/editlink.php
r1379 r1385 3 3 * Edit link menulet 4 4 */ 5 echo $this->HasAccess('write') ? '<a href="'.$this->Href('edit').'" title="Click to edit this page">Edit</a>' : '<a href="'.$this->Href('showcode').'" title="Display the markup for this page">Source</a>'; 5 if ($this->method == 'edit' || $this->method == 'showcode') 6 { 7 echo '<a href="'.$this->Href().'" title="Displayed the formatted version of this page">[Show]</a>'; 8 } 9 else 10 { 11 if ($this->HasAccess('write')) 12 { 13 echo '<a href="'.$this->Href('edit').'" title="Click to edit this page">[Edit]</a>'; 14 } 15 else 16 { 17 echo '<a href="'.$this->Href('showcode').'" title="Display the markup for this page">[Source]</a>'; 18 } 19 } 6 20 ?> -
branches/1.2/actions/historylink.php
r1379 r1385 3 3 * History link menulet 4 4 */ 5 echo '<a href="'.$this->Href('history').'" title="Click to view recent edits to this page"> PageHistory</a>'."\n";5 echo '<a href="'.$this->Href('history').'" title="Click to view recent edits to this page">History</a>'."\n"; 6 6 ?> -
branches/1.2/actions/ownerlink.php
r1383 r1385 6 6 if ($owner == '(Public)') 7 7 { 8 echo "Public page ".($this->IsAdmin() ? '<a href="'.$this->Href('acls').'"> (Edit ACLs)</a>'."\n" : "\n");8 echo "Public page ".($this->IsAdmin() ? '<a href="'.$this->Href('acls').'">[Edit ACLs]</a>'."\n" : "\n"); 9 9 } 10 10 // if owner is current user … … 13 13 if ($this->IsAdmin()) 14 14 { 15 echo 'Owner: '.$this->Link($owner, '', '', 0).' (<a href="'.$this->Href('acls').'">Edit ACLs</a>)'."\n";15 echo 'Owner: '.$this->Link($owner, '', '', 0).' <a href="'.$this->Href('acls').'">[Edit ACLs]</a>'."\n"; 16 16 } 17 17 else 18 18 { 19 echo 'You own this page (<a href="'.$this->Href('acls').'">Edit ACLs</a>)'."\n";19 echo 'You own this page <a href="'.$this->Href('acls').'">[Edit ACLs]</a>'."\n"; 20 20 } 21 21 } … … 27 27 else 28 28 { 29 echo 'Nobody'.($this->GetUser()? ' (<a href="'.$this->Href('claim').'">Take Ownership</a>)'."\n" : "\n");29 echo 'Nobody'.($this->GetUser()? ' <a href="'.$this->Href('claim').'">[Take Ownership]</a>'."\n" : "\n"); 30 30 } 31 31 } -
branches/1.2/config/options_menu.admin.inc
r1384 r1385 1 1 {{editlink}} 2 {{clonelink}} 3 {{revertlink}} 2 4 {{historylink}} 3 5 {{revisionlink}} -
branches/1.2/config/options_menu.user.inc
r1384 r1385 1 1 {{editlink}} 2 {{clonelink}} 2 3 {{historylink}} 3 4 {{revisionlink}}