Commit Graph

256 Commits

Author SHA1 Message Date
Will Rossiter
284f5ee453 NOTFORMERE: BUGFIX: fixed layout issue when tinymce event handler was not removed before the load request. BUGFIX: removed back button display when no history existed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@96959 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:28 +13:00
Will Rossiter
8a831c79c5 BUGFIX: Fixed bugs in content differencer, and improved styling. BUGFIX: fixed notice when getting title of member which didnt exist. Merged from trunk r77661.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@81942 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:25 +13:00
Saophalkun Ponlu
233f5e79e9 Removed broken link style
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@77755 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:23 +13:00
Andrew O'Neil
1f3b3f49cd Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@77326 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:22 +13:00
Sean Harvey
30c95b1a65 MINOR Tweaked font size to be consistent with the other text in the CMS for TableField items and the URL field
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@77239 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:22 +13:00
Andrew O'Neil
3760e6b8c4 BUGFIX: #4082 - Translatable CMS fields layout broken in IE6
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@77111 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:22 +13:00
Hamish Friedlander
29ab106af8 ENHANCEMENT: Correct issue with SiteTree filtering not persisting and add drop down for page type and clear button. Part of a re-work of the search system
@todo: Tests, speed optimisation, proper connection of filtering with tree control checkboxes

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@76779 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:20 +13:00
Will Rossiter
617a60de49 BUGFIX: fixed treedropdownfield cropping long names off
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@76435 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:19 +13:00
Will Rossiter
664a5e113a MINOR: fixed sitetree checkboxs layout in IE
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@76434 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:19 +13:00
Sam Minnee
812fad5964 BUGFIX: Fix modeladmin scrollbars in ie7
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@76268 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:19 +13:00
Sean Harvey
a0f7e9f1a7 Reverted r69828
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75812 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:18 +13:00
Sam Minnee
820d6b92cd ENHANCEMENT: Added 'show deleted pages' function to CMS, with a restore page option.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75737 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:17 +13:00
Sean Harvey
fbf54ad2aa Merged r75696 from cms/trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75703 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:16 +13:00
Ingo Schommer
74fad6a1d0 Merging refactored Translatable from trunk, and related changes to CMSMain
------------------------------------------------------------------------
r69959 | ischommer | 2009-01-11 01:15:30 +1300 (Sun, 11 Jan 2009) | 18 lines

Merged, debugged and enhanced Translatable patches from branches/translatable at r64523, r64523, 64523, thanks wakeless!
API CHANGE Changed Translatable schema from auxilliary tables (SiteTree_lang, SiteTree_lang_Live) to automatically filtered records on the original table (SiteTree, SiteTree_Live), using $Lang and $OriginalID properties. Incompatible update to old schema, migration script is in the works.
API CHANGE Removed Translatable::get_one(), Translatable::write()
ENHANCEMENT Simplified Translatable tree generation by using getSiteTreeFor() in CMSMain->createtranslation()
ENHANCEMENT Added AllChildrenIncludingDeleted(), augmentNumChildrenCountQuery(),  augmentAllChildrenIncludingDeleted(), augmentStageChildren() to Translatable class to allow for more stable tree generation.
ENHANCEMENT Moved definition of Translatable schema from augmentDatabase() to Translatable->extraStatics()
ENHANCEMENT Changes to the CMS language selection refresh the whole admin interface instead of the tree only. This way we can add a URL parameter ?lang=<lang> to /admin, which makes the specific language bookmarkable and reloadable. Changes to LangSelector.js
ENHANCEMENT Added fallback to ModelAsController->getNestedController() to fetch page with matching URLSegment but different language in case no page is found in the current language.
ENHANCEMENT Added helper methods to Translatable: getTranslation(), hasTranslation(), isTranslation(), findOriginalIDs()
ENHANCEMENT Getters and setters for Translatable->getOriginalPage() etc.
ENHANCEMENT Hooking Translatable into ModelAsController and ContentController initialization in order to call choose_site_lang()
ENHANCEMENT Simplified Translatable->augmentSQL(), augmentWrite() by not using auxilliary tables
ENHANCEMENT Showing clickable links for Translations in Translatable->updateCMSFields()
BUGFIX Modifying Hierarchy/SiteTree Children getters to accept optional "context" which can be used to set a language explicitly through the $Lang property, rather than implicitly reyling on the static Translatable::current_lang()
BUGFIX Fixed TranslatableTest to work with new datamodel
BUGFIX Temporarily disabled cookie/session selection in Translatable::choose_site_lang() until we have a good test suite for the side effects.
MINOR Added "untranslated" CSS styles to tree nodes and marking them as inactive/grey

------------------------------------------------------------------------
r70307 | ischommer | 2009-01-16 17:16:19 +1300 (Fri, 16 Jan 2009) | 2 lines

ENHANCEMENT Simplifying creation logic of new languages in CMS by reloading complete interface, rather than refreshing partial interface, language dropdown etc.
API CHANGE Removed CMSMain->switchlanguage()
------------------------------------------------------------------------
r70308 | ischommer | 2009-01-16 17:17:37 +1300 (Fri, 16 Jan 2009) | 2 lines

ENHANCEMENT Moved language selector in CMS above tree for better visibility, added padding and adjusted dropdown width
ENHANCEMENT Removed "Translating mode" status message above edit form - should be clear by the language dropdown above the CMS tree now
------------------------------------------------------------------------
r70322 | ischommer | 2009-01-19 13:09:55 +1300 (Mon, 19 Jan 2009) | 1 line

BUGFIX Ensuring that new pages can't be created when in translation mode by disabling the "create..." tree action
------------------------------------------------------------------------
r70323 | ischommer | 2009-01-19 13:11:08 +1300 (Mon, 19 Jan 2009) | 1 line

BUGFIX Fixed expanded/unexpanded flags on new tree items - was showing expanded styling (plus icon) with newly created pages
------------------------------------------------------------------------
r70324 | ischommer | 2009-01-19 13:26:02 +1300 (Mon, 19 Jan 2009) | 1 line

BUGFIX Making sure that LeftAndMain->CurrentPage() respects language settings - was returning pages in different language from session after switching between languages in cms
------------------------------------------------------------------------
r71297 | sharvey | 2009-02-03 18:12:42 +1300 (Tue, 03 Feb 2009) | 1 line

BUGFIX Only show the LangSelector dropdown if there's multiple languages available on the site
------------------------------------------------------------------------
r73343 | ischommer | 2009-03-19 06:14:02 +1300 (Thu, 19 Mar 2009) | 1 line

BUGFIX Changed CSS selector for TranslationTab javascript behaviour to be less specific
------------------------------------------------------------------------
r73344 | ischommer | 2009-03-19 06:14:59 +1300 (Thu, 19 Mar 2009) | 1 line

BUGFIX Checking for existence of original before trying to get translation in LeftAndMain->currentPage()
------------------------------------------------------------------------
r73345 | ischommer | 2009-03-19 06:18:52 +1300 (Thu, 19 Mar 2009) | 3 lines

ENHANCEMENT Showing all available languages in language selector above sitetree in CMS - you can now create new pages in completely new languages without any relation to an "original"
ENHANCEMENT Added CMSMain->IsTranslatableEnabled
API CHANGE Removed CMSMain->switchlanguage() - createTranslation() is sufficient for new, ajax refreshing of CMS state got way too complicated for switching languages, we now just reload the entire CMS with a different ?lang GET parameter
------------------------------------------------------------------------
r73469 | ischommer | 2009-03-20 21:49:27 +1300 (Fri, 20 Mar 2009) | 1 line

ENHANCEMENT Adjusted CMSMain and LeftAndMain to use locales instead of short lang codes when reading and writing translations. See r73468 for details on the underlying Translatable datamodel change
------------------------------------------------------------------------
r74071 | ischommer | 2009-04-04 10:24:59 +1300 (Sat, 04 Apr 2009) | 1 line

BUGFIX Fixed Form_EditForm_Locale reference in LeftAndMain_right.js (used to be Form_EditForm_Lang)
------------------------------------------------------------------------
r74072 | ischommer | 2009-04-04 10:26:51 +1300 (Sat, 04 Apr 2009) | 1 line

MINOR Using Translatable::choose_site_locale() instead of choose_site_lang() in LeftAndMain->init()
------------------------------------------------------------------------
r74951 | ischommer | 2009-04-22 16:23:56 +1200 (Wed, 22 Apr 2009) | 1 line

BUGFIX Fixed CMSMainTest->testThatGetCMSFieldsWorksOnEveryPageType() - was comparing a string $class with instanceof() instead of comparing the actually created instance
------------------------------------------------------------------------



git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74988 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:13 +13:00
Hamish Friedlander
429749535b MINOR: Add disabled class to InlineFormAction, adjust Folder to use InlineFormAction rather than LiteralField for "Delete unused thumbnails" button.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74168 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:11 +13:00
Will Rossiter
5bec1d7088 BUGFIX: fixed choppy gradient (or lack thereof) in the tinymce window
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@73608 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:10 +13:00
Sam Minnee
d1c52def2f Fixed issue with ModelAdmin tab CSS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@73452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:09 +13:00
Andrew O'Neil
699eda53be FEATURE: #3659 - Update key to show what purple means (ezero)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@72804 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:07 +13:00
James Kirkus-Lamont
07c83610a0 restored image panel showing 3 across (#3670)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@72602 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:06 +13:00
James Kirkus-Lamont
c17bc65432 BUGFIX: removed doubled up pipes and border on switch view links in footer.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@71797 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:06 +13:00
James Kirkus-Lamont
5a7b5fd7fa BUGFIX: cms ui, fixed loading spinner style
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@71177 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:05 +13:00
James Kirkus-Lamont
cf372d1e05 BUGIX: CMS UI search spinner style tweak
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@71170 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:05 +13:00
James Kirkus-Lamont
0105f36866 BUGIX: CMS UI changed search spinner, hide search button while processing (better interaction feedback)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@71169 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:05 +13:00
James Kirkus-Lamont
d8687d4063 BUGFIX: CMS UI site content > search > add criteria select element now returns back to prompt & tweaked layout
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70994 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:04 +13:00
Ingo Schommer
9526f6e138 BUGFIX #3430 page versions don't appear automatically in Safari - versions DOM panel was floated behind the edit form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70781 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:04 +13:00
Will Rossiter
5759314893 BUGFIX: show flash icon and box if flash file exists. MINOR: created a default editor.css file which has base css styles for the CMS.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70691 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:03 +13:00
James Kirkus-Lamont
cc066c7657 BUGFIX: cms ui remove errant dashed borders in IE6
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70682 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:02 +13:00
James Kirkus-Lamont
7efb4ba97e BUGFIX: cms ui text size in righthand image panel
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70681 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:02 +13:00
Sean Harvey
2de201df55 BUGFIX Fixed newsletter send button alignment
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70671 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:02 +13:00
Will Rossiter
57cd6c03cd MINOR: removed dulicate css code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70664 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:02 +13:00
Will Rossiter
64956adc07 MINOR: tinymce toolbar improvements. Fixed gradient image and border issue
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70662 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:01 +13:00
Ingo Schommer
c33d56a7b7 MINOR #3416 MCE Editor Minor Beautification (thanks ajshort!)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70657 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:01 +13:00
James Kirkus-Lamont
3386df063e BUGFIX: autocomplete style change.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70604 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:01 +13:00
James Kirkus-Lamont
5a2a262256 BUGFIX: cms ui fix files & images table styling
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70602 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:01 +13:00
James Kirkus-Lamont
5c1693c9a6 BUGFIX: cms ui removed backgound from delete button on files & images
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70601 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:01 +13:00
James Kirkus-Lamont
5f51bfe7d9 BUGFIX: cms ui fixing up treetool
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70583 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:00 +13:00
James Kirkus-Lamont
85a9b878d8 BUGFIX: cms ui removed extra padding from bottom of tools
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70573 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:00 +13:00
James Kirkus-Lamont
c1237db4b7 BUGFIX: cms ui fix styling of tools on files & images section
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70572 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:00 +13:00
James Kirkus-Lamont
9ac2df7b6d BUGFIX: cms ui padding on tree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70561 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:58 +13:00
James Kirkus-Lamont
e1f7f5703d BUGFIX: cms ui padding on tree in right pane (eg. image selector)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70541 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:58 +13:00
James Kirkus-Lamont
a03ef0e9b9 BUGFIX: cms ui tidying up tree tools
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70507 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:57 +13:00
James Kirkus-Lamont
0e0b20a8f9 BUGFIX: cms ui tidying up padding of tree tools elements
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70496 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:56 +13:00
James Kirkus-Lamont
13a08bbedb BUGFIX: cms ui fix specifivity of alignment of radio buttons and labels in right pane
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70495 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:56 +13:00
James Kirkus-Lamont
b87645c19d BUGFIX: cms ui fix alignment of radio buttons and labels in right pane
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70486 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:56 +13:00
James Kirkus-Lamont
c2b5cdbc64 BUGFIX: cms ui site tree tools style fix
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70479 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:56 +13:00
Sean Harvey
f09ee232fa BUGFIX Fixed float issue caused by change in r70303
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70474 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:56 +13:00
James Kirkus-Lamont
e30a18ca3b BUGFIX: site tree form element alignment
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70404 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:56 +13:00
James Kirkus-Lamont
37b0ae4eeb BUGFIX: cms ui sitetree tools padding
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70396 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:56 +13:00
James Kirkus-Lamont
a9733bc767 BUGFIX: cms ui sitetree padding across cms sections
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70393 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:55 +13:00
James Kirkus-Lamont
295c204585 BUGFIX: cms ui form site tree input alignments
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70389 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:55 +13:00