-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from mambax7/master
2.1.0 Beta 2
- Loading branch information
Showing
229 changed files
with
2,865 additions
and
10,734 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
![alt XOOPS CMS](https://xoops.org/images/logoXoops4GithubRepository.png) | ||
![alt XOOPS CMS](https://xoops.org/images/logoXoopsPhp81.png) | ||
# Contributing to [XOOPS CMS](https://xoops.org) | ||
[![XOOPS CMS Module](https://img.shields.io/badge/XOOPS%20CMS-Module-blue.svg)](https://xoops.org) | ||
[![Software License](https://img.shields.io/badge/license-GPL-brightgreen.svg?style=flat)](https://www.gnu.org/licenses/gpl-2.0.html) | ||
|
||
Contributions are **welcome** and will be fully **credited**. | ||
|
||
We accept contributions via Pull Requests on [Github](https://github.com/XoopsModules25x/xoopspoll). | ||
We accept contributions via Pull Requests on [GitHub](https://github.com/XoopsModules25x/xoopspoll). | ||
|
||
## Pull Requests | ||
|
||
- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer). | ||
- **[PSR-12 Coding Standard](https://www.php-fig.org/psr/psr-12/)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer). | ||
- **Add tests!** - We encourage providing tests for your contributions. | ||
- **Document any change in behavior** - Make sure the `/docs/changelog.txt` and any other relevant documentation are up-to-date. | ||
- **Consider our release cycle** - We try to follow [Semantic Versioning v2.0.0](http://semver.org/). Randomly breaking public APIs is not an option. | ||
- **Create feature branches** - Don't ask us to pull from your master branch. | ||
- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests. | ||
- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting. | ||
|
||
**Happy coding, and _May the Source be with You_!** | ||
Happy coding, and **_May the Source be with You_**! |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php | ||
<?php declare(strict_types=1); | ||
/* | ||
You may not change or alter any portion of this comment or credits | ||
of supporting developers from this source code or any supporting source code | ||
|
@@ -13,8 +13,7 @@ | |
* Display module 'About' page in administration interface | ||
* | ||
* @copyright :: {@link https://xoops.org/ XOOPS Project} | ||
* @license :: {@link http://www.fsf.org/copyleft/gpl.html GNU public license} | ||
* @package :: xoopspoll | ||
* @license :: {@link https://www.gnu.org/licenses/gpl-2.0.html GNU GPL 2.0 or later} | ||
* @subpackage:: admin | ||
* @since :: 1.40 | ||
* @author :: Mage, Mamba | ||
|
@@ -31,7 +30,7 @@ | |
|
||
/** @var Admin $adminObject */ | ||
$adminObject->displayNavigation(basename(__FILE__)); | ||
$adminObject::setPaypal('[email protected]'); | ||
Admin::setPaypal('[email protected]'); | ||
$adminObject->displayAbout(false); | ||
|
||
require_once __DIR__ . '/admin_footer.php'; |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.