[ Index ] |
|
Code source de Typo3 4.1.3 |
1 # Clear out any constants in this reserved room! 2 styles.content > 3 4 content { 5 # cat=content/cHeader/h0; type=int[1-5]; label=Default Header type: Enter the number of the header layout to be used by default. 6 defaultHeaderType = 1 7 # cat=advanced/links; type=small; label=Pageframe object: The name of the "contentframe". Normally set to "page" if the site has a frameset. Otherwise it should be an empty value. This is important, as it determines the target of internal links! 8 pageFrameObj = page 9 10 shortcut.tables = tt_content,tt_address,tt_links,tt_guest,tt_board,tt_calender,tt_products,tt_news,tt_rating,tt_poll 11 # cat=content; type=wrap; label= Content Element margins: Space above / below each content element (pixels of a clear-gif). 12 space = 0|0 13 14 splash.bgCol = white 15 } 16 17 18 # cat=advanced; type=int+; label= News Content PID: If your template has a column with "news"-content fetched from another page-id, this is where you enter the id-number of that page! 19 styles.content.getNews.newsPid = 0 20 21 styles.content.links { 22 keep = path 23 # cat=content/links; type=small; label= Target for external links 24 extTarget = _blank 25 target = {$PAGE_TARGET} 26 allowTags = b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6 27 } 28 29 styles.content.imgtext { 30 # TIP! if register[maxImageWidth] is set, this will override maxW 31 # cat=content,basic/cImage/a_maxw1; type=int+; label= Max Image Width: This indicates that maximum number of pixels (width) a block of images inserted as content is allowed to consume. 32 maxW = 600 33 # cat=content/cImage/a_maxw2; type=int+; label= Max Image Width (Text): Same as above, but this is the maximum width when text is wrapped around an imageblock. Default is 50% of the normal Max Image Width 34 maxWInText = 35 # cat=content/cImage/b; type=color; label= Image border color: Bordercolor of images in content elements when "Border"-option for element is set. 36 borderColor = black 37 # cat=content/cImage/b; type=int[0-100]; label= Image border thickness: Thickness of border around images in content elements when "Border"-option for element is set. 38 borderThick = 2 39 # cat=content/cImage/x; type=int[0-100]; label= Advanced, Column space: Horizontal distance between images in a block in content elements of type "Image" or "Text w/Image". 40 colSpace = 10 41 # cat=content/cImage/x; type=int[0-100]; label= Advanced, Row space: Vertical distance between images in a block in content elements of type "Image" or "Text w/Image". 42 rowSpace = 10 43 # cat=content/cImage/x; type=int[0-100]; label= Advanced, Margin to text: Horizontal distance between an imageblock and text in content elements of type "Text w/Image". 44 textMargin = 10 45 linkWrap.width = 800m 46 linkWrap.height = 600m 47 linkWrap.effects = 48 # cat=content/cImage/x; type=boolean; label= Advanced, New window: If set, every click-enlarged image will open in it's own popup window and not the current popup window (which may have a wrong size for the image to fit in) 49 linkWrap.newWindow = 0 50 # cat=content/cImage/c; type=boolean; label= Images, caption split: If this is checked, then the image caption will be split by each line and they will appear underneath the corresponding image in the imagelist. 51 captionSplit = 0 52 # cat=content/cImage/c1; type=boolean; label= Images, text split: If this is checked, then the image text (alt, title, longdesc) will be split by each line and they will appear on the corresponding images in the imagelist. 53 imageTextSplit = 0 54 # cat=content/cImage/c2; type=string; label= Images, empty title handling: How will the 'title' attribute be handled if no title is given for an image. Possible choices: "keepEmpty", "useAlt" or "removeAttr". Recommended for accessibility is "removeAttr". For correct tooltips on IE, use "keepEmpty". For previous TYPO3 behaviour, use "useAlt". 55 emptyTitleHandling = useAlt 56 57 titleInLink = 0 58 titleInLinkAndImg = 0 59 } 60 61 styles.content.uploads { 62 jumpurl_secure = 63 jumpurl_secure_mimeTypes = pdf=application/pdf, doc=application/msword 64 jumpurl = 65 } 66 67 styles.content.mailform { 68 target = {$PAGE_TARGET} 69 # cat=content/cMailform; type=; label= Message, Formmail OK: This is the message (if any) that is popped-up (JavaScript) when a user clicks "send" with an email-form 70 goodMess = 71 # cat=content/cMailform; type=; label= Message, Formmail Missing: This is the message that is popped-up when a user has NOT filled required fields in an email-form 72 badMess = 73 } 74 75 styles.content.loginform { 76 target = _top 77 # cat=content/cLogin; type=int+; label= PID of user archive: Enter the page-uid number (PID) of the sysFolder where you keep your fe_users that are supposed to login on this site. This setting is necessary, if login is going to work! 78 pid = 79 # cat=content/cLogin; type=; label= Message, Login: This is the message (if any) that is popped-up when a user logs in as a front-end user 80 goodMess = 81 } 82 83 styles.content.searchform { 84 # cat=content/cSearch; type=; label= Message, Searchform: This is the message (if any) that is popped-up when a user performs a search 85 goodMess = 86 } 87 88 styles.content.searchresult { 89 resultTarget = {$PAGE_TARGET} 90 target = {$PAGE_TARGET} 91 } 92 93 # cat=advanced/links; type=small; label= Target for internal links: Should match the name of the content PAGE-object in TypoScript when used with frames. Most cases: Set to "page" if you have frames in the template. If not, set to "" (empty) 94 PAGE_TARGET = page 95 96 [compatVersion = 3.9.0] 97 98 styles.content.imgtext > 99 styles.content.imgtext { 100 # TIP! if register[maxImageWidth] is set, this will override maxW 101 # cat=content/cImage/b1; type=int+; label= Max Image Width: This indicates that maximum number of pixels (width) a block of images inserted as content is allowed to consume. 102 maxW = 600 103 # cat=content/cImage/b2; type=int+; label= Max Image Width (Text): Same as above, but this is the maximum width when text is wrapped around an imageblock. Default is 50% of the normal Max Image Width. 104 maxWInText = 105 # cat=content/cImage/c1; type=int+; label= Default Image Width: This indicates that default number of pixels (width) a block of images inserted as content will consume, if the user didn't specify otherwise in the content object. 106 linkWrap.width = 800m 107 linkWrap.height = 600m 108 linkWrap.effects = 109 110 # cat=content/cImage/x; type=boolean; label= Advanced, New window: If set, every click-enlarged image will open in it's own popup window and not the current popup window (which may have a wrong size for the image to fit in) 111 linkWrap.newWindow = 0 112 113 captionSplit = 0 114 # cat=content/cImage/e1; type=boolean; label= Images, text split: If this is checked, then the image text (caption, alt, title, longdesc) will be split by each line and they will appear on the corresponding images in the imagelist. 115 imageTextSplit = 1 116 # cat=content/cImage/e2; type=string; label= Images, empty title handling: How will the 'title' attribute be handled if no title is given for an image. Possible choices: "keepEmpty", "useAlt" or "removeAttr". Recommended for accessibility is "removeAttr". For correct tooltips on IE, use "keepEmpty". For previous TYPO3 behaviour, use "useAlt". 117 emptyTitleHandling = removeAttr 118 # cat=content/cImage/e3; type=boolean; label= Images, title in link: Do you want the 'title' attribute to be added to the surrounding <a> tag, if present? Recommended for accessibility is "true". 119 titleInLink = 1 120 # cat=content/cImage/e4; type=boolean; label= Images, title in link and IMG: If you have the title in the <a>-tag (titleInLink=true), you don't get the 'title' in the <img>-tag. IE will not show the tooltip anymore. So to get the 'title' in <img> too (to keep IE happy), set this too. Recommended for accessibility is "false". For correct tooltips on IE, set this to "true". 121 titleInLinkAndImg = 0 122 123 # cat=content/cImage/g1; type=int[0-100]; label= Advanced, Column space: Horizontal distance between images in a block in content elements of type "Image" or "Text w/Image". If you change this manually in your CSS, you need to adjust this setting accordingly. 124 colSpace = 10 125 # cat=content/cImage/g2; type=int[0-100]; label= Advanced, Row space: Vertical distance between images in a block in content elements of type "Image" or "Text w/Image". If you change this manually in your CSS, you need to adjust this setting accordingly. 126 rowSpace = 5 127 # cat=content/cImage/g3; type=int[0-100]; label= Advanced, Margin to text: Horizontal distance between an imageblock and text in content elements of type "Text w/Image". 128 textMargin = 10 129 130 # cat=content/cImage/i1; type=color; label= Image border, color: Bordercolor of images in content elements when "Border"-option for element is set. 131 borderColor = black 132 # cat=content/cImage/i2; type=int[0-100]; label= Image border, thickness: Thickness of border around images in content elements when "Border"-option for element is set. 133 borderThick = 2 134 # cat=content/cImage/i3; type=int+; label= Image border, padding: Padding left and right to the image, around the border. 135 borderSpace = 0 136 # cat=content/cImage/i4; type=string; label= Image border CSS-selector: If you want your border to apply elsewhere, change this setting. E.g. to apply to the whole image+caption, use 'DIV.csc-textpic-border DIV.csc-textpic-imagewrap .csc-textpic-image'. 137 borderSelector = DIV.csc-textpic-border DIV.csc-textpic-imagewrap .csc-textpic-image IMG 138 } 139 140 [END] 141 142 # TYPO3 CVS ID: $Id: constants.txt 1647 2006-07-17 16:40:18Z mundaun $ 143
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Nov 25 17:13:16 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |