Commit Graph

624 Commits

Author SHA1 Message Date
Ingo Schommer
e817a013d8 BUGFIX Fixed ModelAdmin import success message (too few arguments for sprintf())
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@68331 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:46 +13:00
Brian Calhoun
709e352bbc Added ability for comment authors to leave a URL as a separate form field
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@68326 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:46 +13:00
Ingo Schommer
f461b91eba BUGFIX Moved creation of "help" menu entry from cms/_config.php to LeftAndMain::init() to get localized titles (locale isn't set at _config.php level)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@68177 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:45 +13:00
Ingo Schommer
c09aed0fda BUGFIX Fixed i18n display of menu titles rendered by CMSMenu in LeftAndMain->MainMenu()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@68176 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:45 +13:00
Ingo Schommer
9402758823 BUGFIX Changing i18n entity format in CMSMenu->provideI18nEntities() to have actual class as namespace (related: r66264)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@68159 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:45 +13:00
Sean Harvey
74545e682c MINOR Removed whitespace after ?> end PHP tag
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@67468 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:44 +13:00
Ingo Schommer
9c81737a57 BUGFIX Moving Requirements::combine_files() calls from cms/_config.php to LeftAndMain->init() to avoid side-effects in non-CMS contexts. Examples:
- including prototype.js in a website had caused jQuery to be loaded as well through base.js
- including greybox.js had caused the screen to become unscrollable because of an (unrelated) inclusion of LeftAndMain.js which sets <body> to overflow:hidden on javascript page load

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@67401 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:44 +13:00
Ingo Schommer
f45662cab1 MINOR ImageEditor indentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@67230 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:44 +13:00
Sam Minnee
6d45e58587 Added ModelAdmin:: for changing the class used to generate results tables
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@67165 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:44 +13:00
Ingo Schommer
23b0fc4d35 BUGFIX Fixed StaticExporter output format
ENHANCEMENT Using TEMP_FOLDER for StaticExporter
MINOR Documentation for StaticExporter

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@67083 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:43 +13:00
Ingo Schommer
12dc778cf5 ENHANCEMENT Disallowing CMSMain->revert() if SiteTree->canPublish() is not granted (used to be SiteTree->canEdit()). If a user isn't allowed to publish, he shouldn't be allowed to revert the live state of a page either.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@67072 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:43 +13:00
Ingo Schommer
832cd7c1e9 ENHANCEMENT Moving "save" and "delete" cms actions from CMSMain->EditForm() into SiteTree->getCMSActions() to make them decoratable (e.g. disallow delete action) and easier to cover with unit tests. Leaving fallback "save" and "delete" actions in CMSMain in case no actions are defined (necessary e.g. for Group class in SecurityAdmin)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@67061 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:43 +13:00
Sam Minnee
fc14227238 BUGFIX: Fixed warning on AssetAdmin (merged from trunk)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:42 +13:00
Sean Harvey
13d0f09717 ENHANCEMENT Just redirect back after "import" action called, and set the session message on the Form object instead of hardcoded ID
MINOR phpDoc comments for ModelAdmin->import()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66803 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:42 +13:00
Sean Harvey
02be93a3ca MINOR Added code example of $model_importers array item
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66800 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:42 +13:00
Sean Harvey
7db5f7b2e9 BUGFIX Fixed importer not working because of i18n_singular_name(), just use the class name of the model instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66799 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:42 +13:00
Sean Harvey
45c0564c9d BUGFIX Made use of Convert::raw2att() before returning the ModelName for Import spec fields
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66793 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:42 +13:00
Sean Harvey
811cdb66a3 BUGFIX Fixed "Show specification..." link not working because ModelName had spaces in it
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66791 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:42 +13:00
Ingo Schommer
96f6ffb74c BUGFIX Only including ModelAdmin->ImportForm() if an actual importer was specified
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66784 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:42 +13:00
Saophalkun Ponlu
8bff580b44 MINOR Reverted reference to jquery-packed.js which causes problems by double minification in cms (see r66735)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66747 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:41 +13:00
Saophalkun Ponlu
a4b3b95872 MINOR: fixed path include for jquery
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66735 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:41 +13:00
Sam Minnee
70ad5368cd BUGFIX: Fixed redirection to help page bug that intermittently appears
BUGFIX: Add LeftAndMain:$url_rule to minimise bugs in modules

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66701 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:41 +13:00
Sean Harvey
21fa7b24f7 MINOR Removed unused action "waitingon" from CMSMain::$allowed_actions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66643 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:40 +13:00
Sean Harvey
d1ed61a5f4 MINOR Removed TaskList remnants of old cms workflow code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66642 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:40 +13:00
Sam Minnee
856e01b156 Allow passing of columns to ColumnSelectionField() and allow different ColumnSelectionField() values to influence the result columsn
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66626 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:40 +13:00
Sean Harvey
b1218f85da MINOR Readd of end php tag as per coding conventions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66615 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:40 +13:00
Sean Harvey
2c1374a35d MINOR Added missing end php tag for ImageEditor, as per coding conventions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66614 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:40 +13:00
Sean Harvey
42c40aeba3 MINOR Removed whitespace after end php tag for AssetTableField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66613 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:40 +13:00
Sean Harvey
43598d35e1 MINOR Added php end tag to AssetAdmin, coding conventions
MINOR Fixed tabbing for various functions
MINOR Removed commented out code that shouldn't be lying around

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66612 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:40 +13:00
Ingo Schommer
dde4a07058 ENHANCEMENT Optionally getting all columns in ModelAdmin->getResultColumns() - not just the columns ticked in the UI (useful for CSV export)
ENHANCEMENT Defaulting to show all columns in ModelAdmin CSV export, ignoring user selection of result table columns (users can always limit CSV columns by manually deleting them e.g. in Excel)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66596 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:40 +13:00
Andrew O'Neil
3aa7ad3212 Fix incorrect logic in r66544
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66546 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:40 +13:00
Andrew O'Neil
cc982ec915 Make sure only fields that exist can be autocompleted on MemberTableFields, and never autocomplete on password.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66544 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:40 +13:00
Normann Lou
018e153197 APICHANG: if a DataObject has getCMSActions, its model admin should be able to add them.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66392 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:39 +13:00
Sean Harvey
0b1392a688 MINOR SecurityAdmin code formatting cleanup
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66386 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:39 +13:00
Sean Harvey
4a60bb53d9 MINOR Removed old references to "rightbottom", which is now obsolete and caused a big box to appear in the CMS sometimes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66385 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:39 +13:00
Sam Minnee
cad3903459 Fix to LeftAndMain to ensure that jquery doesn't break other admin sections
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66350 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:39 +13:00
Sean Harvey
77ea25ca07 MINOR Removed old workflow instances in the cms module. See ticket #3044
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66310 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:38 +13:00
Ingo Schommer
6a21094048 BUGFIX Improved reliability of LeftAndMain->CMSVersion() - not failing on empty $URL$ placeholder with subversion path to determine version numbers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66274 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:38 +13:00
Sam Minnee
45c4d670b6 API CHANGE: Revamped CMSMenu system to not instantiate any objects, so that _config.php doesn't get fskd
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66264 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:38 +13:00
Ingo Schommer
8bc9fa1723 MINOR Fixed class naming in LeftAndMainDecorator.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66167 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:37 +13:00
Andrew O'Neil
53f59b6593 FEATURE #1531 - Allow moving files in root assets file (hamish)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66163 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:37 +13:00
Ingo Schommer
5c97a59a5c BUGFIX Disabled js code in CMSMain->switchlanguage() which was assuming wrong DOM structure (TODO: Replace with more robust selectors)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66136 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:37 +13:00
Will Rossiter
2a309755d9 Merged pre-2.3-oct08 into branches/2.3 (via trunk)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66086 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:37 +13:00
Sam Minnee
325ef6fe34 BUGFIX #3065: Fixed restore page
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66067 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:37 +13:00
Sam Minnee
555ee1549b BUGFIX #3063: Allow old-school method of adding menu items to LeftAndMiain:
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66062 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:37 +13:00
Sam Minnee
0d00fcf798 BUGFIX #3073: Fixed LeftAndMain::deleteitems()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@65944 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:36 +13:00
Sam Minnee
16d96c7f36 FEATURE #1614: Allow use of admin/addpage?ParentID=(ID)&PageType=(Class) url to quick-add pages
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@65904 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:36 +13:00
Sam Minnee
f001eee5fe BUGFIX #2706: Fixed JS error in multi-nested pages deletion
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@65896 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:36 +13:00
Sam Minnee
2738afa74e BUGFIX: Ensure that menu items of the same priority show the first added item closes to the left
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@65863 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:35 +13:00
Sean Harvey
33467b2011 ENHANCEMENT Added error messages to flash uploader panel, to be consistent with the image uploader one
BUGFIX Fixed flash uploader not searching for the correct files, due to changes in r65820


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@65827 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:35 +13:00
Sean Harvey
454fabf534 Merged in image search capabilities from trunk version - r65820, r65823
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@65824 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:35 +13:00
Sam Minnee
9182bbb410 Fixed fatal error in CommentTableField:
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-13 02:18:49 +00:00
Sam Minnee
f44d7e00bf Added livequery to leftandmain install
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65718 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-12 22:28:24 +00:00
Sam Minnee
c2fe5b15ae FEATURE #594: Added javascript-on-demand support
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65689 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-12 04:31:53 +00:00
Normann Lou
7016541b65 APICHANGE: even when no results found, the HTTPResponse should return a "200" HTTPResponse rather than "404" HTTPResponse, otherwise, the right panel didn't refresh the result table, and the error message shows up.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65669 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-12 02:18:11 +00:00
Sean Harvey
827224b47f BUGFIX Removed offending $this->canEdit() which returned a boolean, not appropriate to be passed into Member::mapInCMSGroups()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65612 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-11 20:45:11 +00:00
Sam Minnee
d03e189f63 Replaced 300-second 'long execution' times with unlimited
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65529 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 05:06:08 +00:00
Sam Minnee
e28bfb2730 Merged branches/2.2
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65524 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 04:07:03 +00:00
Ingo Schommer
7e072ad785 BUGFIX Fixed Translatable::default_lang() call in CMSMain
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65515 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 01:48:43 +00:00
Ingo Schommer
df7092163f ENHANCEMENT Using currently used content languages for options in the TinyMCE spellchecker (see http://open.silverstripe.com/ticket/2498#comment:2)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65513 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 01:47:13 +00:00
Sam Minnee
3546ec275b BUGFIX: Fixed bug with // placement in CMSMenu Director rule generation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65502 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 01:01:09 +00:00
Ingo Schommer
231e3f0003 ENHANCEMENT Allowing strings instead of arrays in ModelAdmin::$managed_models to make it less error-prone for beginners
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65463 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-09 14:34:05 +00:00
Ingo Schommer
6db9650b32 ENHANCEMENT Adjusted AssetAdmin to Folder->can*() changes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65455 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-07 12:21:41 +00:00
Ingo Schommer
62a36c6828 ENHANCEMENT Added LeftAndMainDecorator
API CHANGE Deprecated DataObjectDecorator->augmentInit(), use LeftAndMainDecorator->init()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65454 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-07 12:21:10 +00:00
Sean Harvey
0e727e458d MINOR Tidied up ThumbnailStripField->getimages() formatting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65446 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-07 03:05:43 +00:00
Sean Harvey
22a4079277 MINOR Tidied up ThumbnailStripField->getflash() formatting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65445 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-07 03:04:28 +00:00
Sean Harvey
58c1695c39 MINOR Tidied up ThumbnailStripField->getimages() formatting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65444 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-07 02:57:48 +00:00
Sean Harvey
a0c87179e5 MINOR Tidied up messy code formatting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65418 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-06 23:47:28 +00:00
Sean Harvey
e052d533f9 MINOR Tidied up AssetAdmin->SiteTreeAsUL()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65409 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-06 22:56:24 +00:00
Sean Harvey
97c2f470e0 Removed redundant code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65407 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-06 22:51:30 +00:00
Will Rossiter
0ef452c524 FEATURE: merged back patch for image editor. Currently completely broken on trunk this patch does nothing to fix it sadly. I think its a prototype thing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65351 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-06 02:04:03 +00:00
Ingo Schommer
85daead336 BUGFIX Making ModelAdmin labels in left panel translatable again (regression from moving them into one common panel)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65336 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-05 23:23:23 +00:00
Saophalkun Ponlu
86017a5ae9 IMPROVEMENT moved managed models' forms to one panel (ticket #2898)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65289 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-05 08:55:07 +00:00
Sam Minnee
750353dcd6 BUGFIX #2630 - Removed notice-level error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65271 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-05 04:20:35 +00:00
Sam Minnee
c98c6c387e Added deprecation method for LeftAndMain::add_menu_item()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65252 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-05 02:28:11 +00:00
Sam Minnee
cac5594e35 MINOR: Removed redundant code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65233 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-04 23:31:42 +00:00
Ingo Schommer
59d9f2b3d8 BUGFIX Remove LeftAndMain entry from CMSMenu (#3014). Thanks to hamish for the patch!
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65214 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-04 13:56:40 +00:00
Ingo Schommer
bcfa95887f BUGFIX Only enforcing record-level permissions in LeftAndMain if passed ID is numeric to avoid breaking AssetAdmin with string-based IDs (regression from r65152). See #3017
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65213 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-04 13:53:11 +00:00
Ingo Schommer
6eadbbff7f ENHANCEMENT Updated LeftAndMain->getMenuTitle() to use classname as fallback if $menu_title is not defined - one less thing to specify in a minimalist ModelAdmin subclass
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65181 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-04 01:46:58 +00:00
Ingo Schommer
f2bf599795 BUGFIX Calling parent constructor on ModelAdmin classes so $this->class gets set properly and doesn't confuse the RequestHandler
BUGFIX Add magic methods on ModelAdmin to $allowed_actions (regression from r64988)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65180 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-04 01:32:45 +00:00
Sean Harvey
6afd96eba4 Reverted previous change, as MemberTableField has it's own use of sourceFilter - not the most documentation situation however.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65175 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-03 23:30:16 +00:00
Sean Harvey
0c650b20fb BUGFIX MemberTableField use of sourceFilter should be treated as a string, not an array as per the API of TableListField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65174 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-03 23:23:20 +00:00
Sean Harvey
bd10591e7c ENHANCEMENT Added filter/search capability to AssetTableField, this is similar to MemberTableField, except you search by file name.
ENHANCEMENT Refactored CSS applied to filter boxes by using common selector

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65173 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-03 23:09:49 +00:00
Ingo Schommer
9bf3245939 BUGFIX Enforce permission checks in LeftAndMain and CMSMain through SiteTree->canView()/canEdit()/canAddChildren()/canPublish()/canDelete() (see #2701)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65152 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-03 14:56:36 +00:00
Sean Harvey
8d6d5c2501 MINOR Code formatting in CMSMenuItem
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65126 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-03 02:07:03 +00:00
Ingo Schommer
386c586b38 BUGFIX Setting menu titles for CMSMenu items in LeftAndMain::init() to get translated values for the current user locale (see #2873)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65106 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-02 22:45:49 +00:00
Ingo Schommer
e1d5fc9db6 BUGFIX Fixed menu titles entity references in CMSMain and AssetAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65104 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-02 22:45:05 +00:00
Ingo Schommer
2cdf57053f FEATURE Added CMSMenu and CMSMenuItem and adjusted existing LeftAndMain subclasses to use new notation.See #2872 (thanks to hamish for the patch!)
API CHANGE Removed LeftAndMain::add_menu_item(), LeftAndMain::remove_menu_item(), LeftAndMain::replace_menu_item(), LeftAndMain::clear_menu()
MINOR Disabled LeftAndMainTest, now covered by CMSMenuTest

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65095 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-02 21:27:55 +00:00
Ingo Schommer
18912d2cb7 ENHANCEMENT Added fieldLabels() overloading to various DataObject subclasses. Use this method instead of directly calling _t() in getCMSFields(), and use fieldLabel('MyField') to get the label for a specific FormField. This way, we can transparently support formfield scaffolding and re-use the labels for search fields automatically.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65073 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-02 20:04:26 +00:00
Ingo Schommer
e2ca30f78a BUGFIX Using SiteTree::get_by_url() (see r65060)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65061 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-02 00:24:46 +00:00
Ingo Schommer
dbcd2f6c2b ENHANCEMENT Using safer get_by_id() call in SecurityAdmin->getMemberForm()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65027 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-01 13:55:23 +00:00
Sean Harvey
aa3437c4d4 MINOR Renamed variable to avoid confusion in SecurityAdmin->SiteTreeAsUL()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64986 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-31 02:45:19 +00:00
Sam Minnee
dd8b5bafa4 API CHANGE #2857 - Renamed RequestHandlingData to RequestHandler
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64954 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-30 22:03:32 +00:00
Sean Harvey
2795dae693 BUGFIX Fixed old references to GenericDataAdmin in ModelAdmin.php and ModelAdmin_Results.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64754 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-24 03:45:39 +00:00
Sean Harvey
21a61404ba MINOR Code formatting cleanup in AssetAdmin->addfolder()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64733 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-24 01:23:52 +00:00
Normann Lou
0f4698726a APICHANGE: delete GenericDataAdmin, RelatedDataEditor, DropdownField_WithAdd and their related code (js, css, etc) from cms, sapphire, "GenericDataAdmin" name space has also been deleted from lang files. They are all added in the new module "genericdataadmin"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64528 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-20 00:20:00 +00:00
Sean Harvey
3579cea26e MINOR phpDoc changes in LeftAndMain - removal of @usedby which doesn't exist, replaced with @uses on the remote function
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64503 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-18 22:34:02 +00:00
Ingo Schommer
118efae75d BUGFIX Adjusted HeaderField and LabelField implementation to new constructor arguments (see r64421)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64423 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 13:27:12 +00:00
Ingo Schommer
62e7970a3a API CHANGE Removed MemberList, use MemberTableField
API CHANGE Removed CMSMain->getMembersByGroup()
API CHANGE Removed SecurityAdmin->listmembers()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64398 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 10:48:48 +00:00
Sean Harvey
901b285ce6 MINOR Removed deprecated method addmember() from CMSMain - this should be contained on SecurityAdmin instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64396 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 09:46:37 +00:00
Sean Harvey
1acd10f35a MINOR phpDoc for CMSMain->PageTypes()
MINOR Code syntax formatting for CMSMain->PageTypes()
MINOR Removed commented out code in CMSMain->PageTypes()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64395 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 09:37:28 +00:00
Ingo Schommer
86b81b81f5 MINOR Misc deprecation fixes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64385 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 08:45:14 +00:00
Sam Minnee
156fb6cf19 API CHANGE #551: Move code from CMSMain to SiteTree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64350 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 03:21:49 +00:00
Hayden Smith
b0abb54e93 Included jquery.js before prototype.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64340 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 02:10:13 +00:00
Hayden Smith
365622c0c9 Implemented a jQuery based version of documents.getElementsBySelector
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64339 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 02:09:46 +00:00
Sean Harvey
d66ee2f738 API CHANGE Removed deprecated methods related to CanCMS and CanCMSAdmin which are now removed from the Group class in favour of the Permission system
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64332 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 01:01:59 +00:00
Ingo Schommer
08b1d974ac ENHANCMENT Making ModelAdmin translatable (#2874)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64070 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-10 12:15:31 +00:00
Sean Harvey
8cd9b6f4d9 BUGFIX Removed $_ALL_CLASSES in ReportAdmin::has_reports() - this doesn't need to be here anymore, due to changes in ManifestBuilder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64038 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-10 01:45:14 +00:00
Sean Harvey
8b194ab627 MINOR Documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63985 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-09 05:54:55 +00:00
Sean Harvey
f8a02ca736 BUGFIX Fixes so ?flush=1 doesn't stop showing the Reports tab in CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63983 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-09 05:48:28 +00:00
Sean Harvey
58077f8851 MINOR Removed unnecessary $this->extend() on SSReport->getCMSFields()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63982 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-09 05:47:27 +00:00
Sean Harvey
f40c5f7544 MINOR Updated inconsistent documentation on SSReport
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63961 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-09 02:54:09 +00:00
Sean Harvey
ab6a3eae72 MINOR Updated SSReport class documentation to make sense
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63959 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-09 02:53:05 +00:00
Sean Harvey
c784fdc875 MINOR Documentation and @package phpDoc code additions to ReportAdmin and SSReport
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63958 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-09 02:52:08 +00:00
Sean Harvey
47ca384912 ENHANCEMENT Pulled out Report::has_reports() which was hardcoded into LeftAndMain, and put into cms/_config.php which makes more sense
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63955 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-09 02:45:01 +00:00
Andrew O'Neil
114d6f00bf MINOR: Change memory limit to -1 on publishall to stop sapphire running out of memory on unit tests.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63897 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 21:33:07 +00:00
Sam Minnee
2ab29ed99b Removed legacy Report.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63843 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 04:33:31 +00:00
Sean Harvey
20e266d5cb BUGF Renamed Report class to SSReport, file name wasn't altered but class name was
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63842 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 04:31:29 +00:00
Sean Harvey
ed4103bc11 MINOR Renamed Report to SSReport as it was conflicting with project code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63840 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 04:28:23 +00:00
Sean Harvey
a0c107a338 BUGFIX MemberTableField_Popup had an odd way of overloading saveComplexTableField() - this should be on MemberTableField instead, since that's the direct subclass of ComplexTableField for where saveComplexTableField() is defined. This broke the "Add Member" button in CMS Security, probably due to the way the form URLs have been changed. See ticket #2907 for the reported problem.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63828 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 03:46:19 +00:00
Hayden Smith
690cebdccd Merged from branches/nzct-trunk. Use 'svn log -c <changeset> -g' for full commit message. Merge includes stability fixes and minor refactor of TableListField and ComplexTableField.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63807 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 02:00:39 +00:00
Sean Harvey
e6815f2156 BUGFIX Side reports weren't working on initial opening of the side tab
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63804 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 01:49:49 +00:00
Sean Harvey
d1572b1272 BUGFIX Fixed blatant error where $SNG_member wasn't defined
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63799 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 01:00:08 +00:00
Sean Harvey
5aac6f5693 BUGFIX MemberTableField->AddLink() was calling &methodName=add - this should be just "add", as per changes to the forum URLs in sapphire
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63793 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 00:07:53 +00:00
Sean Harvey
6d5d988b08 MINOR Line break between static variables on SecurityAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63790 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 23:27:07 +00:00
Sean Harvey
b4fb295a37 BUGFIX Removed query that was causing issues displaying members in the security groups. Open ticket #2591
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63786 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 23:01:46 +00:00
Sean Harvey
5e0277cea4 BUGFIX URLs to security groups in CMS were not linked correctly. Removed Director::link() references and replaced with strings. Director::link() is deprecated and shouldn't be used.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63785 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 22:59:47 +00:00
Sean Harvey
f5194a6e0b MINOR Removed useless Requirements calls to javascript
MINOR Documentation
MINOR Code formatting cleanup

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63753 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 05:59:03 +00:00
Sean Harvey
9a667bbd2a MINOR Very minor whitespace change
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63752 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 05:57:28 +00:00
Sean Harvey
c39cbbe58a ENHANCEMENT Added missing "abstract" Report class to compliment ReportAdmin. Currently it is unclear what abstract base class you're supposed to implement from.
BUGFIX Use of getOwnerID() in ReportAdmin which doesn't make sense, since ID() is sufficient.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63748 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 05:32:09 +00:00
Sam Minnee
cc4673ff7e Added get data to a form submission of SearchForm/search, so that ResultAssembly is passed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63733 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 03:55:43 +00:00
Ingo Schommer
4541dbb04e ENHANCEMENT Removed overloaded MemberTableField->DetailForm() and reduced overloaded constructor logic - same behaviour found in parent classes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63626 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 16:33:37 +00:00
Ingo Schommer
c3244cc821 BUGFIX typo mentioned in #2775
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63611 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 09:54:59 +00:00
Sam Minnee
33229e74b8 Updated file functions to use HTTPRequest::send_file
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63583 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 02:26:43 +00:00
Ingo Schommer
e434ade827 ENHANCEMENT Removed project-specific requirements from CMSMain
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63572 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 01:22:34 +00:00
Ingo Schommer
ee4c409e56 ENHANCEMENT Started using ss.i18n clientside javascript in LeftAndMain classes (only a fraction made translatable)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63569 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 00:48:34 +00:00
Sean Harvey
1c9c600e68 MINOR phpdoc tweaks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63491 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-02 00:34:41 +00:00
Sean Harvey
ffc40288b5 MINOR Code formatting inconsistency
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63459 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 09:56:55 +00:00
Sean Harvey
f60c0c7ed7 MINOR Converted spaces to tabs for code syntax consistency in ReportAdmin.
MINOR Added TODOs for areas of code that needs some work, either in documentation or code cleanup.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63458 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 09:54:39 +00:00
Sean Harvey
e0982889b5 BUGFIX AssetAdmin->Link() returned a trailing slash that was not necessary. See ticket #2884
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63457 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 06:44:56 +00:00
Sean Harvey
03c1d1e001 MINOR Committed missing files related to r63452
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63456 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 06:43:15 +00:00
Sean Harvey
6172ab900c MINOR Fixed wrong position of return array() in ReportAdmin->showWithEditForm()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63453 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 04:52:10 +00:00
Sean Harvey
8c3bbdcf27 BUGFIX Fixed ReportAdmin breakages - changes to HTTPRequest required that show($params) be changes to show($request) and then check $request->allParams() for the URL parameters - this caused major breakages as this code was not updated to reflect the new URL handling changes.
ENHANCEMENT Better URL handling. Instead of "admin/showreport/something", we do "admin/report/show/something", which is more consistent with the rest of the CMS.

MINOR Documentation and TODO for ReportAdmin methods

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 04:49:08 +00:00
Saophalkun Ponlu
456c9a7cfd removed debug::show
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63383 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-30 03:15:36 +00:00
Saophalkun Ponlu
9381860e9a layout fix: make the status message and ajax button stay in fixed position (ticket #2876)
- position: fixed for #statusMessage  and ajaxActions in ModelAdmin
- commented out this.style.position = "absolute"; in LeftAndMain.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63382 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-30 03:04:35 +00:00
Sam Minnee
2954514b4c ENHANCEMENT #2172: Added counts to comment admin submenu items
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63327 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-30 00:05:22 +00:00
Ingo Schommer
b464952522 BUGFIX wrong jsparty PATH references
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63295 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-29 18:49:35 +00:00
Ingo Schommer
d129a22691 BUGFIX Fixed ModelAdmin Requirements path references
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63294 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-29 17:26:02 +00:00
Ingo Schommer
e254ac5d54 MINOR Documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63293 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-29 17:21:32 +00:00
Sean Harvey
8920edb85f ENHANCEMENT Moved UserDefinedForm and related code, templates, CSS and javascript out of cms and sapphire classes into userforms/trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63249 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-29 03:18:23 +00:00