mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merged revisions 47156 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.1asfonz ........ r47156 | sminnee | 2007-12-17 11:21:23 +1300 (Mon, 17 Dec 2007) | 1 line Added title attributes to the SilverStripeNavigator messages ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48534 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
1e4f16aaa2
commit
e667b62537
@ -232,17 +232,17 @@ JS
|
||||
$archiveLink = "<a class=\"current\">Archived Site</a>";
|
||||
$liveLink = "<a href=\"$thisPage?stage=Live\" target=\"site\" style=\"left : -3px;\">Published Site</a>";
|
||||
$stageLink = "<a href=\"$thisPage?stage=Stage\" target=\"site\" style=\"left : -1px;\">Draft Site</a>";
|
||||
$message = "<div id=\"SilverStripeNavigatorMessage\">Archived site from<br>" . $dateObj->Nice() . "</div>";
|
||||
$message = "<div id=\"SilverStripeNavigatorMessage\" title=\"Note: this message won't be shown to your visitors\">Archived site from<br>" . $dateObj->Nice() . "</div>";
|
||||
|
||||
} else if(Versioned::current_stage() == 'Stage') {
|
||||
$stageLink = "<a class=\"current\">Draft Site</a>";
|
||||
$liveLink = "<a href=\"$thisPage?stage=Live\" target=\"site\" style=\"left : -3px;\">Published Site</a>";
|
||||
$message = "<div id=\"SilverStripeNavigatorMessage\">DRAFT SITE</div>";
|
||||
$message = "<div id=\"SilverStripeNavigatorMessage\" title=\"Note: this message won't be shown to your visitors\">DRAFT SITE</div>";
|
||||
|
||||
} else {
|
||||
$liveLink = "<a class=\"current\">Published Site</a>";
|
||||
$stageLink = "<a href=\"$thisPage?stage=Stage\" target=\"site\" style=\"left : -1px;\">Draft Site</a>";
|
||||
$message = "<div id=\"SilverStripeNavigatorMessage\">PUBLISHED SITE</div>";
|
||||
$message = "<div id=\"SilverStripeNavigatorMessage\" title=\"Note: this message won't be shown to your visitors\">PUBLISHED SITE</div>";
|
||||
}
|
||||
|
||||
if($member) {
|
||||
|
Loading…
Reference in New Issue
Block a user