# ***************************************************************************************
# Default Page TSconfig for enabling the use of images in the RTE
#
# Sets Page TSConfig for the use of images.
# Note that all these settings are already included in the "Demo" default configuration
# However, this will update the "Typical" default configuration
#
# TYPO3 CVS ID: $Id: pageTSConfig.txt 1272 2006-03-06 02:11:54Z stanrolland $
# ***************************************************************************************

	## Anchor classes configuration for use by the anchor accesibility feature (htmlArea RTE only)
	## Add inline icons to the links
RTE.classesAnchor {
	externalLink {
		image = EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/img/external_link.gif
		altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:external_link_altText
	}
	externalLinkInNewWindow {
		image = EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/img/external_link_new_window.gif
		altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:external_link_new_window_altText
	}
	internalLink {
		image = EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/img/internal_link.gif
		altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:internal_link_altText
	}
	internalLinkInNewWindow {
		image = EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/img/internal_link_new_window.gif
		altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:internal_link_new_window_altText
	}
	download {
		image = EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/img/download.gif
		altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:download_altText
	}
	mail {
		image = EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/img/mail.gif
		altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:mail_altText
	}
}

	## Default RTE configuration
RTE.default {
	
		## Enable the image button
	showButtons := addToList(image)
	
		## Tags allowed outside p & div
		## Adding img tag to the default list
	proc.allowTagsOutside := addToList(img)
	
		## Do not remove img tags
	proc.entryHTMLparser_db.tags.img >
}

RTE.default.FE.showButtons < RTE.default.showButtons
RTE.default.FE.proc.allowTagsOutside < RTE.default.proc.allowTagsOutside
RTE.default.FE.proc.entryHTMLparser_db.tags.img >
