Index: trunk/extensions/IncludeWP/IncludeWP.settings.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | * Changing one of these settings can be done by copieng or cutting it, |
10 | 10 | * and placing it in LocalSettings.php, AFTER the inclusion of this extension. |
11 | 11 | * |
12 | | - * @file IncludeWP_Settings.php |
| 12 | + * @file IncludeWP.Settings.php |
13 | 13 | * @ingroup IncludeWP |
14 | 14 | * |
15 | 15 | * @licence GNU GPL v3 |
Index: trunk/extensions/IncludeWP/IncludeWP.class.php |
— | — | @@ -72,6 +72,7 @@ |
73 | 73 | |
74 | 74 | $params['wiki']->setDefault( $egIncWPDefaultWiki ); |
75 | 75 | $params['wiki']->addCriteria( new CriterionInArray( array_keys( $egIncWPWikis ) ) ); |
| 76 | + $params['wiki']->addManipulations( new ParamManipulationFunctions( 'strtolower' ) ); |
76 | 77 | |
77 | 78 | $params['paragraphs'] = new Parameter( 'paragraphs', Parameter::TYPE_INTEGER ); |
78 | 79 | $params['paragraphs']->setDefault( $egIncWPParagraphs ); |
— | — | @@ -128,7 +129,7 @@ |
129 | 130 | array( |
130 | 131 | 'id' => 'includewp-article-' . $nr, |
131 | 132 | 'class' => 'includewp-article', |
132 | | - 'style' => $parameters['height'] > 0 ? 'width:100%; max-height: ' . $parameters['height'] . 'px; overflow: auto' : 'width:100%' |
| 133 | + 'style' => $parameters['height'] > 0 ? 'width:auto; max-height: ' . $parameters['height'] . 'px; overflow: auto' : 'width:auto' |
133 | 134 | ), |
134 | 135 | '' |
135 | 136 | ); |