#Spaltenwerte sollen erhalten bleiben
TCEMAIN.table.tt_content.useColumnsForDefaultValues =
TCAdefaults.tt_content.colPos = 

#Kopierverhalten ohne copy
TCEMAIN.table.tt_content.disablePrependAtCopy = 1
TCEMAIN.table.pages.disablePrependAtCopy = 1

### spalten anpassen
# labels fuer spalten
TCEFORM.tt_content.colPos.altLabels.0 = Normal
TCEFORM.tt_content.colPos.altLabels.2 = Rechts

# Nur Spalten "Normal" "links" "Rechts" in Seitenansicht anzeigen
mod.SHARED.colPos_list = 0,1,2

# Entfernen der Spalten "Links" und "Rand" aus BE-Formularen
TCEFORM.tt_content.colPos.removeItems = 3

### Ueberschriften anpassen
# Labels fuer Ueberschriften
TCEFORM.tt_content.header_layout.altLabels.1 = Hauptüberschrift
TCEFORM.tt_content.header_layout.altLabels.2 = Absatzüberschrift 1
TCEFORM.tt_content.header_layout.altLabels.3 = Absatzüberschrift 2
TCEFORM.tt_content.header_layout.altLabels.4 = Absatzüberschrift 3
TCEFORM.tt_content.header_layout.altLabels.5 = Absatzüberschrift 4

# zusaetzliche Ueberschriften
#TCEFORM.tt_content.header_layout.addItems.8 = H4 HG graublau
#TCEFORM.tt_content.header_layout.addItems.60 = H4 HG Presse
#TCEFORM.tt_content.header_layout.addItems.61 = H4 HG Magazin
#TCEFORM.tt_content.header_layout.addItems.62 = H4 HG Gallerie
#TCEFORM.tt_content.header_layout.addItems.63 = H5 Trenner

### Rahmen anpassen
# Labels fuer Rahmen 

TCEFORM.tt_content.section_frame.altLabels.10	= Box grün
TCEFORM.tt_content.section_frame.altLabels.11	= Box weiî
TCEFORM.tt_content.section_frame.altLabels.12	= Box hellgrün
TCEFORM.tt_content.section_frame.altLabels.20	= Box permanent

TCEFORM.tt_content.menu_type.altLabels.1	= Menü der Unterseiten (exkl. "Nicht im Menü")
TCEFORM.tt_content.menu_type.altLabels.4	= Menü der Unterseiten (inkl. "Nicht im Menü")
/*
# zusaetzliche Rahmen
TCEFORM.tt_content.section_frame.addItems.3 = Linie davor
TCEFORM.tt_content.section_frame.addItems.22 = Linkbox Startseite
TCEFORM.tt_content.section_frame.addItems.23 = Seitenkopf
TCEFORM.tt_content.section_frame.addItems.24 = Randspalte 1/3
TCEFORM.tt_content.section_frame.addItems.25 = Spalte 2/3
*/

TCEFORM.tt_content.menu_type.addItems.8 = Themenliste
/*
TCEFORM.tt_content.menu_type.addItems.9 = Liste d. Unterseiten (mit Seiteninformationen)
TCEFORM.tt_content.menu_type.addItems.10 = Liste d. Unterseiten (mit Inhaltselementinformationen)
TCEFORM.tt_content.menu_type.addItems.11 = Gliederungsmenue
TCEFORM.tt_content.menu_type.addItems.12 = Servicemenue
*/


### empfohlen aus css_styled_content: contentfelder entfernen
TCEFORM.tt_content {
	text_properties.disabled=1
	text_align.disabled=1
	text_color.disabled=1
	text_face.disabled=1
	text_size.disabled=1
	image_frames.disabled = 1

	sys_language_uid.disabled=1
	spaceBefore.disabled =1
	spaceAfter.disabled =1
	header_position.disabled =1
               
	CType.removeItems = div,rte,script,splash
}

#########################
# htmlarea RTE anpassen #
#########################

# RTE Klasse des Interface (Ausrichtung)
# bestimmt die Formatierung nur in den Auswahllisten
RTE.classes {
	#style_eins {
	#	name = Line before
	#	value = font-size: 15px; font-weight: bold; color: #221e1f; border-top: 1px solid #dcdcdd; margin: 3px 10px 3px 10px; padding-bottom: 3px;
	#}
	#style_zwei {
	#	name = Line after
	#	value = font-size: 15px; font-weight: bold; color: #221e1f; border-bottom: 1px solid #dcdcdd; margin: 3px 10px 10px 10px; padding-bottom: 3px;
	#}
	#style_drei {
	#	name = Hintergrund rot
	#	value = font-size: 11px; font-weight: bold; color: #221e1f; background-color: #C80331; padding: 2px 10px 2px 10px; margin-bottom: 3px; margin-top: 3px;
	#}
}

# Entfernt das Bild vor den Links
RTE.classesAnchor {
	internalLink {
		class = internal-link
		type = page
		image >
	}
	externalLink {
		class = external
		type = url
		image >
	}
	download {
		class = download
		type = file
		#image = fileadmin/tpl/bundnet/img/download.gif
		image >
	}
	mail {
		class = mail
		type = mail
		image >
	}
}



## RTE Konfiguration
RTE.default {
	# Zuweisung der CSS-Datei fuer Darstellung im htmlArea
	contentCSS = fileadmin/tpl/bundnet/css/bund_htmlarea.css
	useCSS = 1

       
	## Markup options
	# reinigt aus Word per copy'n'paste eingef.texte
	enableWordClean = 1
	# entfernt <br /> am Ende von Absaetzen
	removeTrailingBR = 0
	removeComments = 1
	removeTags = center, font, o:p, sdfield, strike,u
	removeTagsAndContents = script

	# Buttons die gezeigt/versteckt werden
	showButtons = bar, bgcolor, blockstylelabel, blockstyle, formatblock, removeformat, bar, bold, italic, insertcharacter, orderedlist, unorderedlist, bar, link, chMode, copy, cut, paste, findreplace, bar, undo, redo, about, linebreak, bar, left, center, right, table, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
	hideButtons = subscript, superscript, emoticon, space, lefttoright, righttoleft, indent, outdent, textcolor, linebreak, line, underline, strikethrough, justifyfull, inserttag, fontstyle, fontsize, textstylelabel, textstyle, image, bar

	# Bestimmung der Reihenfolge der Buttons; space, bar und linebreak als Trenner
	toolbarOrder = bar, blockstylelabel, blockstyle, space, formatblock, removeformat, bar, bold, italic, bgcolor, orderedlist, unorderedlist,bar, left, center, right, linebreak, bar, insertcharacter, image, table, link, line, bar, chMode, copy, cut, paste, findreplace, bar, undo, redo, about, linebreak, tableproperties, bar, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, bar, columninsertbefore, columninsertafter, columndelete, columnsplit, bar, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge

	# H? die RTE Icons gruppiert zusammen
	keepButtonGroupTogether = 1

	# blendet Statusbar in htmlarea aus
	showStatusBar =  0
        
	hidePStyleItems = h6, h5, h4, ,pre, address
        
	# blendet Auswahlfelder unter Texteingabefeld aus
	hideFontFaces = *
	hideFontSizes = 1
	disableColorSelector = 1

	## Use stylesheet file rather than the above mainStyleOverride and inlineStyle properties to style the contents (htmlArea RTE only)
	ignoreMainStyleOverride = 1
       
	proc {
		# tags die erlaubt / verboten sind
		allowTags =  h1, h2, h3, h4, h5, h6, p, br, span, ul, ol, li, re, blockquote, strong, em, u, a, img, nobr, hr, tt, q, cite, abbr, acronym, center, pre, b, i
		#denyTags = font,table,tbody,tr,th,td,sub,sup,strike,div
		denyTags = table,tbody,tr,th,td,sub,sup,strike

		# br wird nicht zu p konvertiert
		dontConvBRtoParagraph = 1

		# tags sind erlaubt ausserhalb von p, div
		allowTagsOutside = img,hr,pre,strong,b,i,span

		# erlaubte attribute in p, div tags
		keepPDIVattribs = class,style

		# List all class selectors that are allowed on the way to the database
		allowedClasses (
			external, internal,download, mail, download_extern
		)       

		# html parser einstellungen
		HTMLparser_rte {
			# tags die erlaubt/verboten sind
			allowTags < RTE.default.proc.allowTags
			denyTags < RTE.default.proc.denyTags

			# tags die untersagt sind
			#removeTags = font
                        
			allowedClasses < RTE.default.proc.allowedClasses

			# entfernt html-kommentare
			removeComments = 1

			# tags die nicht uebereinstimmen werden nicht entfernt (protect / 1 / 0)
			keepNonMatchedTags = 0
			tags {
				b.remap = strong
			}
		}


		# Content to database
		entryHTMLparser_db = 1
		entryHTMLparser_db {
			# tags die erlaubt/verboten sind
			allowTags < RTE.default.proc.allowTags
			denyTags < RTE.default.proc.denyTags

			# CLEAN TAGS
			noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br, center
			allowedClasses < RTE.default.proc.allowedClasses
			rmTagIfNoAttrib = div,font
			htmlSpecialChars = 0
			## align attribute werden erlaubt
			tags {
				p.fixAttrib.align.unset >
				p.allowedAttribs = class, style
				span.fixAttrib.align.unset >
				span.fixAttrib >
				span.allowedAttribs = class, style
				div.fixAttrib.align.unset >
				hr.allowedAttribs = class
				#table.allowedAttribs = class
				#td.allowedAttribs = class, rowspan, colspan

				# b und i tags werden ersetzt (em / strong)
				b.remap = strong
				i.remap = em
				

 				## img tags werden erlaubt
				img >
			}
		}
	}

	# Classes: Absaetze
	classesParagraph = 
	classesCharacter = 
	classesTable =
	classesTD =
	classesTR =
	classesImage =


	# Classes (These classes should also be in the list of allowedClasses)
	classesAnchor = external,internal,download,mail,download_extern
	classesAnchor.default {
		page = internal
		url = download_extern
		file = download
		mail = mail
	}

	# zeigt alle CSS-Klassen die in formate.css vorhanden sind
	showTagFreeClasses = 0

	# Do not allow insertion of the following tags
	hideTags = font


}

#RTE.config.tt_content.bodytext.proc.allowedClasses = roteSchrift, sehrGross 

# Use same processing as on entry to database to clean content pasted into the editor
RTE.default.enableWordClean.HTMLparser < RTE.default.proc.entryHTMLparser_db

