Commit Graph

22862 Commits

Author SHA1 Message Date
Andrew O'Neil 4b901e21e6 Don't show classes user doesn't have permissions to change to in class dropdown
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39208 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-24 21:53:56 +00:00
Hayden Smith 2f68028829 Added a check to make sure record exists before calling hasMethod on it.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39190 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-24 03:44:03 +00:00
Hayden Smith b785d359fa Merged in Markus' changes from [37478].
Tidied up the permission checks in SiteTree->can() so they are easier to follow.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39189 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-24 03:43:21 +00:00
Andrew O'Neil 940fc3fc65 Fixed php notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39160 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-23 23:00:11 +00:00
Andrew O'Neil 4f6a8736e2 Automatically include form css
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39081 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-20 04:32:58 +00:00
Andrew O'Neil fccd958077 Move stuff out of Page.php into ContentController so they aren't needed at default install
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39074 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-20 04:05:51 +00:00
Andrew O'Neil 78ee5b5d30 Fixed php warning
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39064 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-20 02:17:40 +00:00
Andrew O'Neil 32995ceadc case changes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39058 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-20 01:43:00 +00:00
Andrew O'Neil aa5d463b8b Allow themes to have Includes in there templates
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39035 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 23:34:42 +00:00
Andrew O'Neil 97ff1db6f9 Fixed some php notices
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39034 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 23:15:05 +00:00
Andrew O'Neil fe2314a08e Add SQL_ prefix in place it was missing. (merge from gsoc branch, r38948)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39013 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 21:52:18 +00:00
Hayden Smith 4a5d9b03f8 Moved Sapphire module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:28 +00:00