diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index bf79ab42d..aac5c9465 100644 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -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', "

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'

")), + new TextareaField("ToDo", "") + ), $tabReports = new TabSet('Reports', $tabBacklinks =new Tab('Backlinks', new LiteralField("Backlinks", $backlinks)