[TASK] Optimize layout of cshmanual popup windows 92/38292/2
authorFrank Nägler <typo3@naegler.net>
Fri, 27 Mar 2015 09:44:11 +0000 (10:44 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Fri, 27 Mar 2015 14:29:28 +0000 (15:29 +0100)
Resolves: #66086
Releases: master
Change-Id: Ic388d1ee0d48447ea3cb9af4c5cee0cd4f209805
Reviewed-on: http://review.typo3.org/38292
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/cshmanual/Classes/Controller/HelpModuleController.php

index 22cc2f0..c458f24 100644 (file)
@@ -468,7 +468,7 @@ class HelpModuleController {
                                        $imgInfo = @getimagesize($absImagePath);
                                        if (is_array($imgInfo)) {
                                                $imgFile = '../' . $imgFile;
-                                               $code .= '<br /><img src="' . $imgFile . '" ' . $imgInfo[3] . ' class="c-inlineimg" alt="" /><br />
+                                               $code .= '<br /><img src="' . $imgFile . '" ' . $imgInfo[3] . ' class="c-inlineimg img-responsive" alt="" /><br />
                                                ';
                                                $code .= '<p><em>' . htmlspecialchars($descr) . '</em></p>
                                                ';
@@ -493,11 +493,11 @@ class HelpModuleController {
        public function headerLine($str, $type = 0) {
                switch ($type) {
                        case 1:
-                               $str = '<h2 class="t3-row-header">' . htmlspecialchars($str) . '</h2>
+                               $str = '<h2>' . htmlspecialchars($str) . '</h2>
                                        ';
                                break;
                        case 0:
-                               $str = '<h3 class="divider">' . htmlspecialchars($str) . '</h3>
+                               $str = '<h3>' . htmlspecialchars($str) . '</h3>
                                        ';
                                break;
                }