-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Invision upgrade CSS error (#1)
* Fix css load error during upgrades * Formatting
- Loading branch information
1 parent
0cfc5f2
commit c2f015d
Showing
12 changed files
with
94 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
"10001": "1.0.1", | ||
"10002": "1.0.2", | ||
"10003": "1.0.3", | ||
"10004": "1.0.4" | ||
"10004": "1.0.4", | ||
"10005": "1.0.5" | ||
} |
4 changes: 2 additions & 2 deletions
4
dev/css/global/fontawesome.css → dev/css/front/stripeverification.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
//<?php | ||
|
||
/* To prevent PHP errors (extending class does not exist) revealing path */ | ||
if (! \defined('\IPS\SUITE_UNIQUE_KEY')) { | ||
exit; | ||
} | ||
|
||
/** | ||
* @mixin \IPS\Theme\class_core_front_global | ||
*/ | ||
class stripeverification_hook_css extends _HOOK_CLASS_ | ||
{ | ||
/* !Hook Data - DO NOT REMOVE */ | ||
public static function hookData() | ||
{ | ||
return array_merge_recursive([ | ||
'globalTemplate' => [ | ||
0 => [ | ||
'selector' => 'html > head', | ||
'type' => 'add_inside_end', | ||
'content' => '<link rel=\'stylesheet\' href=\'{expression="\IPS\Http\Url::external(reset(\IPS\Theme::i()->css(\'stripeverification.css\', \'stripeverification\', \'front\')))->setQueryString(\'v\',\IPS\Theme::i()->cssCacheBustKey())"}\' media=\'all\'> | ||
', | ||
], | ||
], | ||
], parent::hookData()); | ||
} | ||
/* End Hook Data */ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"id": 10005, | ||
"name": "1.0.5", | ||
"steps": { | ||
"queries": false, | ||
"lang": false, | ||
"theme": true, | ||
"themeSettings": false, | ||
"javascript": false, | ||
"emailTemplates": false, | ||
"hooks": true, | ||
"acpSearchKeywords": false, | ||
"settings": false, | ||
"tasks": false, | ||
"modules": false, | ||
"widgets": false, | ||
"customOptions": false, | ||
"customRoutines": false | ||
}, | ||
"forceMainUpgrader": false, | ||
"forceManualDownloadNoCiC": false, | ||
"forceManualDownloadCiC": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"added": [ | ||
"css" | ||
], | ||
"edited": [], | ||
"removed": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"html": { | ||
"added": [], | ||
"edited": [], | ||
"removed": [] | ||
}, | ||
"css": { | ||
"added": [ | ||
"front\/stripeverification.css" | ||
], | ||
"edited": [], | ||
"removed": [ | ||
"global\/fontawesome.css" | ||
] | ||
}, | ||
"resources": { | ||
"added": [], | ||
"edited": [], | ||
"removed": [] | ||
} | ||
} |