Fixed bug #8532: enhance TYPO3 manual (inline)
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 18 Aug 2008 09:22:47 +0000 (09:22 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 18 Aug 2008 09:22:47 +0000 (09:22 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3985 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/lang/locallang_view_help.xml
typo3/sysext/t3skin/stylesheets/typo3-csh.css
typo3/view_help.php

index 083ee0b..70db178 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2008-08-14  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Fixed bug #8627: Translation of the belog-module (thanks to Christopher Stelmaszyk and Christian Kuhn)
+       * Fixed bug #8532: enhance TYPO3 manual (inline) (thanks to Steffen Kamper, Jens Hoffman and Uschi Renziehausen)
 
 2008-08-16  Stanislas Rolland  <typo3@sjbr.ca>
 
index 6f881bf..e0f3e39 100755 (executable)
@@ -12,7 +12,7 @@
                        <label index="goBack">Go back</label>
                        <label index="fullDescription">See full description of table</label>
                        <label index="fullDescription_module">See full description of module</label>
-                       <label index="goToToc">Go to TOC</label>
+                       <label index="goToToc">&lt;&lt; go to Manual Index</label>
                        <label index="to_top">To top</label>
                        <label index="TOC">Table Of Contents</label>
                        <label index="TOC_core">TYPO3 Core Features</label>
@@ -30,4 +30,4 @@
                        <label index="full_manual_chapters">Manual Chapters</label>
                </languageKey>
        </data>
-</T3locallang>
\ No newline at end of file
+</T3locallang>
index 4f9752a..1882e0a 100644 (file)
@@ -29,7 +29,7 @@ a.typo3-csh-link span.typo3-csh-inline span.header {
 
 table.typo3-csh-inline a.typo3-csh-link,
 table.typo3-csh-inline span.header {
-        height: 16px;
+               height: 16px;
 }
 
 table.typo3-csh-inline span.paragraph,
@@ -42,15 +42,97 @@ tr.c-headLineTable table.typo3-csh-inline span.paragraph {
        background-color: #fff;
 }
 
+
+/*  view_help.php */
+div.typo3-view-help h1 {
+       font-size: 150%;
+       color: #000;
+       background: #acb3bf;
+       padding: 10px;
+       text-align: left;
+       margin-bottom: 0px;
+       background: none;
+}
+
+div.typo3-view-help h2 {
+       font-size: 130%;
+       color: #fff;
+       background: #acb3bf;
+       padding: 2px 2px 2px 12px;
+       background-image: url(../icons/gfx/alt_menu_mainitem_bg.gif);
+       background-repeat: repeat-x;
+       margin-top: 0;
+}
+
 div.typo3-view-help h3 {
-       background-color:#B8BEC9;
-       background-image:url(../icons/gfx/alt_menu_mainitem_bg.gif);
-       background-repeat:repeat-x;
+       background-color: #B8BEC9;
+       background-image: url(../icons/gfx/alt_menu_mainitem_bg.gif);
+       background-repeat: repeat-x;
        color: white;
        padding: 5px;
 }
 
+div.typo3-view-help h4 {
+       padding: 2px 6px;
+       background: none;
+}
+
+div.typo3-view-help {
+       background-color: #f7f7f9;
+       margin: 0;
+       width: 100%;
+       border: 1px solid #ccc;
+}
+
+div.typo3-view-help p {
+       padding: 4px 4px 4px 12px;
+       font-size: 12px;
+       line-height: 1.4;
+}
+
 div.typo3-view-help p.c-nav a {
        background-color: transparent;
 }
 
+div.typo3-view-help div.c-toc {
+       background: none;
+       border: none;
+       padding-left: 6px;
+}
+
+div.typo3-view-help div.c-toc ul {
+       list-style: none;
+       padding: 2px 5px;
+}
+
+div.typo3-view-help div.c-toc ul li ul {
+       list-style: disc;
+       margin-left: 10px;
+}
+
+div.typo3-view-help div.c-toc ul li {
+       padding: 2px;
+}
+
+div.typo3-view-help div.c-toc a:hover,
+div.typo3-view-help .manual-title a:hover,
+div.typo3-view-help p a:hover {
+       color: red;
+}
+
+div.typo3-view-help .manual-title,
+div.typo3-view-help .introduction {
+       font-size: 1.2em;
+       line-height: 1.4;
+       padding: 0 12px 6px;
+}
+
+div.typo3-view-help .manual-title a,
+div.typo3-view-help div.c-toc a, 
+div.typo3-view-help p a {
+       text-decoration: underline;
+}
+
+div.typo3-view-help img.c-inlineimg  {
+       margin-left: 6px;
+}
index a3959f7..295dee5 100755 (executable)
@@ -300,21 +300,20 @@ class SC_view_help {
                $output = '';
                $output.= '
 
-                       <h1>'.$LANG->getLL('manual_title',1).'</h1>
-                       <p>'.t3lib_BEfunc::TYPO3_copyRightNotice().'</p>';
+                       <h1>'.$LANG->getLL('manual_title',1).'</h1>';
 
                $output.= '
 
-                       <h1>'.$LANG->getLL('introduction',1).'</h1>
+                       <h2>'.$LANG->getLL('introduction',1).'</h2>
                        <p>'.$LANG->getLL('description',1).'</p>';
 
                $output.= '
 
-                       <h1>'.$LANG->getLL('TOC',1).'</h1>'.
+                       <h2>'.$LANG->getLL('TOC',1).'</h2>'.
                        $this->render_TOC_makeTocList($tocArray);
 
                if (!$this->renderALL)  {
-               $output.= '
+                       $output.= '
                                <br/>
                                <p class="c-nav"><a href="view_help.php?renderALL=1">'.$LANG->getLL('full_manual',1).'</a></p>';
                }
@@ -322,7 +321,7 @@ class SC_view_help {
                if ($this->renderALL)   {
                        $output.= '
 
-                               <h1>'.$LANG->getLL('full_manual_chapters',1).'</h1>'.
+                               <h2>'.$LANG->getLL('full_manual_chapters',1).'</h2>'.
                                implode('
 
 
@@ -330,6 +329,8 @@ class SC_view_help {
                                ',$outputSections);
                }
 
+               $output .= '<hr /><p class="manual-title">'.t3lib_BEfunc::TYPO3_copyRightNotice().'</p>';
+
                return $output;
        }
 
@@ -885,4 +886,5 @@ $SOBE = t3lib_div::makeInstance('SC_view_help');
 $SOBE->init();
 $SOBE->main();
 $SOBE->printContent();
-?>
+
+?>
\ No newline at end of file