elofgren: USABILITY: Change tooltip references to 'stage site' to 'draft site' instead. See: http://www.elijahlofgren.com/silverstripe/consistently-use-draft-site-instead-of-stage-site/

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41837 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-15 00:24:15 +00:00
parent 9e89a46853
commit 8d3c8a51d9

View File

@ -1275,9 +1275,9 @@ class SiteTree extends DataObject {
} }
$tag = $tag =
($this->DeletedFromStage ? "del title=\"Removed from stage site\"" : ($this->DeletedFromStage ? "del title=\"Removed from draft site\"" :
($this->AddedToStage ? "ins title=\"Added to stage site\"" : ($this->AddedToStage ? "ins title=\"Added to draft site\"" :
($this->ModifiedOnStage ? "span title=\"Modified on stage site\" class=\"modified\"" : ""))); ($this->ModifiedOnStage ? "span title=\"Modified on draft site\" class=\"modified\"" : "")));
if($tag) { if($tag) {
return "<$tag>" . $this->Title . "</" . strtok($tag,' ') . ">"; return "<$tag>" . $this->Title . "</" . strtok($tag,' ') . ">";