mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merged revisions 47172 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.1asfonz ........ r47172 | sminnee | 2007-12-17 13:54:48 +1300 (Mon, 17 Dec 2007) | 2 lines Added simple to-do list facility to SiteTree ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48535 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e667b62537
commit
08a5d49c66
@ -88,7 +88,10 @@ class SiteTree extends DataObject {
|
||||
"Viewers" => "Enum('Anyone, LoggedInUsers, OnlyTheseUsers', 'Anyone')",
|
||||
"Editors" => "Enum('LoggedInUsers, OnlyTheseUsers', 'LoggedInUsers')",
|
||||
"ViewersGroup" => "Int",
|
||||
"EditorsGroup" => "Int"
|
||||
"EditorsGroup" => "Int",
|
||||
|
||||
// Simple task tracking
|
||||
"ToDo" => "Text",
|
||||
);
|
||||
|
||||
static $indexes = array(
|
||||
@ -1069,6 +1072,10 @@ class SiteTree extends DataObject {
|
||||
_t('SiteTree.HOMEPAGEFORDOMAIN', "Domain(s)", PR_MEDIUM, 'Listing domains that should be used as homepage')
|
||||
)
|
||||
),
|
||||
$tabToDo = new Tab($this->ToDo ? 'To-do **' : 'To-do',
|
||||
new LiteralField("ToDoHelp", _t('SiteTree.TODOHELP', "<p>You can use this to keep track of work that needs to be done to the content of your site. To see all your pages with to do information, open the 'Site Reports' window on the left and select 'To Do'</p>")),
|
||||
new TextareaField("ToDo", "")
|
||||
),
|
||||
$tabReports = new TabSet('Reports',
|
||||
$tabBacklinks =new Tab('Backlinks',
|
||||
new LiteralField("Backlinks", $backlinks)
|
||||
|
Loading…
Reference in New Issue
Block a user