-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
63 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
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,33 @@ | ||
<?php | ||
|
||
/** | ||
* | ||
* Chevereto API | ||
* | ||
* @copyright © 2023 Lord Beaver | ||
* @license https://opensource.org/licenses/GPL-2.0 GNU General Public License version 2 | ||
* | ||
*/ | ||
|
||
namespace lordbeaver\chevereto\migrations; | ||
|
||
class chevereto_0_5_1 extends \phpbb\db\migration\migration | ||
{ | ||
public function effectively_installed() | ||
{ | ||
return isset($this->config['chevereto_version']) && version_compare($this->config['chevereto_version'], '0.5.1', '>='); | ||
} | ||
|
||
public static function depends_on() | ||
{ | ||
return array('\lordbeaver\chevereto\migrations\chevereto_0_5_0'); | ||
} | ||
|
||
public function update_data() | ||
{ | ||
return array( | ||
array('config.add', array('chevereto_pup_lang', 'auto')), | ||
array('config.update', array('chevereto_version', '0.5.1')), | ||
); | ||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{% if CHV_PUP_ENABLE and (S_VIEWTOPIC or S_POST_ACTION) %} | ||
<script async src="//{{ CHV_PUP_HOST }}/sdk/pup.js" data-url="https://{{ CHV_PUP_HOST }}/upload" data-palette="{{ CHV_PUP_COLOR }}" data-auto-insert="{{ CHV_PUP_TYPE }}" data-vendor="{{ CHV_PUP_MODE }}"></script> | ||
<script async src="//{{ CHV_PUP_HOST }}/sdk/pup.js" data-url="https://{{ CHV_PUP_HOST }}/upload" data-palette="{{ CHV_PUP_COLOR }}" data-auto-insert="{{ CHV_PUP_TYPE }}" data-vendor="{{ CHV_PUP_MODE }}" data-lang="{{ CHV_PUP_LANG }}"></script> | ||
{% endif %} |