Skip to content

Commit ad01644

Browse files
committed
Major updates for lots of things, most notably MW theme (currently broken)
1 parent 84cfe80 commit ad01644

File tree

1,731 files changed

+80150
-95334
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,731 files changed

+80150
-95334
lines changed

LICENSE

100644100755
File mode changed.

README.md

100644100755
File mode changed.

w/LocalSettings.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
# ini_set( 'memory_limit', '20M' );
2525

2626
include_once ($IP . '/extensions/di/iwDrupal.php');
27-
include_once ($IP . '/skins/brlcad/brlcad.php');
27+
# include_once ($IP . '/skins/brlcad/brlcad.php');
28+
# include_once ($IP . '/skins/Brlcadnew.php');
29+
2830

2931
if ( $wgCommandLineMode ) {
3032
if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
@@ -118,7 +120,7 @@
118120

119121
## Default skin: you can change the default skin. Use the internal symbolic
120122
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
121-
$wgDefaultSkin = 'brlcad';
123+
$wgDefaultSkin = 'modern';
122124

123125
# logo for certain error pages
124126
$wgLogo = '../images/logo/BRL-CAD_256x212.png';

w/extensions/ImageSizeCSS/ImageSizeCSS.php

100644100755
File mode changed.

w/skins/Modern.php

+40-2
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,49 @@ function execute() {
6565
?>
6666

6767
<!-- heading -->
68-
<div id="mw_header"><h1 id="firstHeading" lang="<?php
68+
<div id="mw_header"><div id="header-square"> </div><h1 id="firstHeading" lang="<?php
6969
$this->data['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getCode();
7070
$this->html( 'pageLanguage' );
7171
?>"><span dir="auto"><?php $this->html('title') ?></span></h1></div>
72-
72+
<div class="h-container">
73+
<div class="id_logo" id='logo'>
74+
<a href="<?php echo $wgScriptPath . "../wp" ; ?>">
75+
<span class="circle" href="#">
76+
<img width="40px" height="40px" src=<?php echo $this->getSkin()->getSkinStylePath( 'logo_70.png'); ?> />
77+
</span>
78+
</a>
79+
</div>
80+
81+
<header class="head">
82+
<nav class="navbar">
83+
<ul class="navigation id_main-nav" id="main-nav">
84+
<li><a href="<?php echo $wgScriptPath . "../gallery" ; ?>">
85+
<img class = "icon" src=<?php echo $this->getSkin()->getSkinStylePath( 'gallery.png'); ?> />
86+
Gallery</a></li>
87+
<li><a href="<?php echo $wgScriptPath . "../wp/blog" ?>">
88+
<img class = "icon" src=<?php echo $this->getSkin()->getSkinStylePath( 'wiki.png'); ?> />
89+
Blog</a></li>
90+
<li><a href="<?php echo $wgScriptPath ?>">
91+
<img class = "icon" src=<?php echo $this->getSkin()->getSkinStylePath( 'contribute.png'); ?> />
92+
Community</a></li>
93+
<li><a href="<?php echo $wgScriptPath . "../wiki/Documentation" ?>">
94+
<img class = "icon" src=<?php echo $this->getSkin()->getSkinStylePath( 'documentation.png'); ?> />
95+
Documentation</a></li>
96+
<li><a href="<?php echo $wgScriptPath . "../wp/Download" ?>">
97+
<img class = "icon" src=<?php echo $this->getSkin()->getSkinStylePath( 'download-2.png'); ?> />
98+
Download</a></li>
99+
<li class="selected">
100+
<a href="<?php echo $wgScriptPath . "../wp/" ?>#about">
101+
<img class = "icon" src=<?php echo $this->getSkin()->getSkinStylePath( 'home.png'); ?> />
102+
About
103+
</a>
104+
</li>
105+
</ul>
106+
107+
</nav>
108+
</header>
109+
</div>
110+
73111
<div id="mw_main">
74112
<div id="mw_contentwrapper">
75113
<!-- navigation portlet -->

0 commit comments

Comments
 (0)