Changeset 1656

Show
Ignore:
Timestamp:
05/02/2010 03:36:59 PM (3 years ago)
Author:
DarTar
Message:

Replacing hardcoded string, refs #340

Location:
branches/1.3/templates
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/1.3/templates/default/header.php

    r1628 r1656  
    88if ($this->GetHandler() != 'edit' && $this->HasAccess("write", $this->page["tag"]))  
    99{ 
    10         $ueb .= '       <link rel="alternate" type="application/x-wiki" title="'.sprintf('Click to edit %s', $this->page["tag"]).'" href="'.$this->Href('edit', $this->page["tag"]).'"/>'."\n";  
     10        $ueb .= '       <link rel="alternate" type="application/x-wiki" title="'.sprintf(WIKKA_PAGE_EDIT_LINK_TITLE, $this->page["tag"]).'" href="'.$this->Href('edit', $this->page["tag"]).'"/>'."\n";  
    1111} 
    1212if ( substr_count($site_base, 'wikka.php?wakka=') > 0 ) $site_base = substr($site_base,0,-16); 
  • branches/1.3/templates/kubrick/header.php

    r1628 r1656  
    88if ($this->GetHandler() != 'edit' && $this->HasAccess("write", $this->page["tag"]))  
    99{ 
    10         $ueb .= '       <link rel="alternate" type="application/x-wiki" title="'.sprintf('Click to edit %s', $this->page["tag"]).'" href="'.$this->Href('edit', $this->page["tag"]).'"/>'."\n";  
     10        $ueb .= '       <link rel="alternate" type="application/x-wiki" title="'.sprintf(WIKKA_PAGE_EDIT_LINK_TITLE, $this->page["tag"]).'" href="'.$this->Href('edit', $this->page["tag"]).'"/>'."\n";  
    1111} 
    1212if ( substr_count($site_base, 'wikka.php?wakka=') > 0 ) $site_base = substr($site_base,0,-16); 
  • branches/1.3/templates/light/header.php

    r1628 r1656  
    88if ($this->GetHandler() != 'edit' && $this->HasAccess("write", $this->page["tag"]))  
    99{ 
    10         $ueb .= '       <link rel="alternate" type="application/x-wiki" title="'.sprintf('Click to edit %s', $this->page["tag"]).'" href="'.$this->Href('edit', $this->page["tag"]).'"/>'."\n";  
     10        $ueb .= '       <link rel="alternate" type="application/x-wiki" title="'.sprintf(WIKKA_PAGE_EDIT_LINK_TITLE, $this->page['tag']).'" href="'.$this->Href('edit', $this->page["tag"]).'"/>'."\n";  
    1111} 
    1212if ( substr_count($site_base, 'wikka.php?wakka=') > 0 ) $site_base = substr($site_base,0,-16);