Smarty - include in LocalSettings, updated css
authorJens Frank <jeluf@users.mediawiki.org>
Wed, 24 Mar 2004 22:02:47 +0000 (22:02 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Wed, 24 Mar 2004 22:02:47 +0000 (22:02 +0000)
config/index.php
stylesheets/montparnasse.css
stylesheets/paddington.css

index 4e2d3bf..8291146 100644 (file)
@@ -659,9 +659,13 @@ if( \$wgCommandLineMode ) {
 " . ($conf->Encoding ? "\$wgInputEncoding = \$wgOutputEncoding = \"{$conf->Encoding}\";" : "" ) . "
 
 \$wgUsePHPTal = false;
+\$wgUseSmarty = false;
 if ( \$wgUsePHPTal ) {
        ini_set( \"include_path\", \"\$IP/PHPTAL-NP-0.7.0/libs:\" . ini_get(\"include_path\") );
 }
+if ( \$wgUseSmarty ) {
+       ini_set( \"include_path\", \"\$IP/Smarty-2.6.2/libs/:\" . ini_get(\"include_path\") );
+}
 
 ";
 }
index 16b7c4e..ee2595d 100644 (file)
@@ -146,7 +146,67 @@ p.subtitle , p.languages , p.actions {
        /* Okay, we can let the others back in.... */   
        
        
-       
-       
-       
+/* Print-specific things to hide */
+.urlexpansion, .printfooter {
+        display: none;
+       }
+/* automatically generated edit summaries */
+#autocomment { color: gray; }
+
+/* Table of contents */
+#toc {
+        border: 1px solid #8888aa;
+        background-color: #f7f8ff;
+        padding: 5px;
+        font-size: 95%;
+}
+.tocindent {
+        margin-left: 2em;
+}
+.tocline {
+        margin-bottom: 0px;
+}
+.toctoggle, .editsection {
+        font-size: smaller;
+}
+
+/* images */
+div.floatright { float: right; margin: 0 0 1em 1em; }
+div.floatright p { font-style: italic; }
+div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; }
+div.floatleft p { font-style: italic; }
+
+/* thumbnails */
+div.thumbnail-none, div.thumbnail-right, div.thumbnail-left {
+        padding: 2px;
+        border:1px solid #8888aa;
+        background:#CCCCCC;
+        margin: 0.3em 0 0.5em;
+        font-size: 85%;
+        text-align: center;
+}
+
+div.thumbnail-none p, div.thumbnail-right p, div.thumbnail-left p {
+        margin-top:3px; margin-bottom:3px;
+        text-align: left;
+}
+
+div.thumbnail-right {
+        float: right;
+        margin-left:0.5em;
+}
+
+div.thumbnail-left {
+        float: left;
+        margin-right:0.5em;
+}
 
+/* table standards */
+table.rimage {
+        float:right;
+        width:1pt;
+        margin-left:1em;
+        margin-bottom:1em;
+        text-align:center;
+        font-size:smaller;
+        }
index ee456f8..c129107 100644 (file)
@@ -120,3 +120,68 @@ p.languages {
        margin-left: 148px; 
        }
 
+/* Print-specific things to hide */
+.urlexpansion, .printfooter {
+        display: none;
+}
+
+/* automatically generated edit summaries */
+#autocomment { color: gray; }
+
+/* Table of contents */
+#toc {
+        border: 1px solid #8888aa;
+        background-color: #f7f8ff;
+        padding: 5px;
+        font-size: 95%;
+}
+.tocindent {
+        margin-left: 2em;
+}
+.tocline {
+        margin-bottom: 0px;
+}
+.toctoggle, .editsection {
+        font-size: smaller;
+}
+
+/* images */
+div.floatright { float: right; margin: 0 0 1em 1em; }
+div.floatright p { font-style: italic; }
+div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; }
+div.floatleft p { font-style: italic; }
+
+/* thumbnails */
+div.thumbnail-none, div.thumbnail-right, div.thumbnail-left {
+        padding: 2px;
+        border:1px solid #8888aa;
+        background:#CCCCCC;
+        margin: 0.3em 0 0.5em;
+        font-size: 85%;
+        text-align: center;
+}
+
+div.thumbnail-none p, div.thumbnail-right p, div.thumbnail-left p {
+        margin-top:3px; margin-bottom:3px;
+        text-align: left;
+}
+
+div.thumbnail-right {
+        float: right;
+        margin-left:0.5em;
+}
+
+div.thumbnail-left {
+        float: left;
+        margin-right:0.5em;
+}
+
+/* table standards */
+table.rimage {
+        float:right;
+        width:1pt;
+        margin-left:1em;
+        margin-bottom:1em;
+        text-align:center;
+        font-size:smaller;
+        }