-
Notifications
You must be signed in to change notification settings - Fork 6
/
jforeground.php
66 lines (59 loc) · 2.39 KB
/
jforeground.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
/**
* jForeground Skin
*
* @file
* @ingroup Skins
* @author Garrick Van Buren, Jamie Thingelstad, Tom Hutchison
* @license 2-clause BSD
*/
if( !defined( 'MEDIAWIKI' ) ) {
die( 'This is a skin to the MediaWiki package and cannot be run standalone.' );
}
$wgExtensionCredits['skin'][] = array(
'path' => __FILE__,
'name' => 'Jforeground',
'url' => 'http://github.com/Hutchy68/Jforeground',
'version' => 1.2,
'author' => array(
'Garrick Van Buren',
'Jamie Thingelstad',
'Tom Hutchison',
'...'
),
'descriptionmsg' => 'jforeground-desc'
);
$wgValidSkinNames['jforeground'] = 'jForeground';
$wgAutoloadClasses['SkinjForeground'] = __DIR__ . '/jForeground.skin.php';
$wgMessagesDirs['SkinjForeground'] = __DIR__ . '/i18n';
$wgExtensionMessagesFiles['SkinjForeground'] = __DIR__ . '/jForeground.i18n.php';
$wgResourceModules['skins.jforeground'] = array(
'styles' => array(
'jforeground/assets/stylesheets/normalize.css',
'jforeground/assets/stylesheets/font-awesome.css',
'jforeground/assets/stylesheets/foundation.css',
'jforeground/assets/stylesheets/jforeground.css',
'jforeground/assets/stylesheets/jforeground-print.css',
'jforeground/assets/stylesheets/jquery.autocomplete.css',
'jforeground/assets/stylesheets/responsive-tables.css',
'jforeground/assets/stylesheets/icomoon.css',
'jforeground/assets/stylesheets/joomla.css'
),
'scripts' => array(
'jforeground/assets/scripts/vendor/custom.modernizr.js',
'jforeground/assets/scripts/vendor/fastclick.js',
'jforeground/assets/scripts/vendor/responsive-tables.js',
'jforeground/assets/scripts/foundation/foundation.js',
'jforeground/assets/scripts/foundation/foundation.topbar.js',
'jforeground/assets/scripts/foundation/foundation.dropdown.js',
'jforeground/assets/scripts/foundation/foundation.section.js',
'jforeground/assets/scripts/foundation/foundation.clearing.js',
'jforeground/assets/scripts/foundation/foundation.cookie.js',
'jforeground/assets/scripts/foundation/foundation.placeholder.js',
'jforeground/assets/scripts/foundation/foundation.forms.js',
'jforeground/assets/scripts/foundation/foundation.alerts.js',
'jforeground/assets/scripts/jforeground.js'
),
'remoteBasePath' => &$GLOBALS['wgStylePath'],
'localBasePath' => &$GLOBALS['wgStyleDirectory']
);