-
Notifications
You must be signed in to change notification settings - Fork 25
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
85 changed files
with
3,447 additions
and
2,287 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
*~ | ||
\#* | ||
*.bak | ||
.idea/ | ||
|
||
tests/_output/* | ||
.idea/ | ||
tests/_output/* |
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 |
---|---|---|
|
@@ -17,11 +17,11 @@ | |
* @author trabis <[email protected]> | ||
*/ | ||
|
||
include_once __DIR__ . '/admin_header.php'; | ||
require_once __DIR__ . '/admin_header.php'; | ||
|
||
publisherCpHeader(); | ||
PublisherUtility::cpHeader(); | ||
//publisher_adminMenu(-1, _AM_PUBLISHER_CLONE); | ||
publisherOpenCollapsableBar('clone', 'cloneicon', _AM_PUBLISHER_CLONE, _AM_PUBLISHER_CLONE_DSC); | ||
PublisherUtility::openCollapsableBar('clone', 'cloneicon', _AM_PUBLISHER_CLONE, _AM_PUBLISHER_CLONE_DSC); | ||
|
||
if ('submit' === XoopsRequest::getString('op', '', 'POST')) { | ||
if (!$GLOBALS['xoopsSecurity']->check()) { | ||
|
@@ -76,9 +76,9 @@ | |
} | ||
|
||
// End of collapsable bar | ||
publisherCloseCollapsableBar('clone', 'cloneicon'); | ||
PublisherUtility::closeCollapsableBar('clone', 'cloneicon'); | ||
|
||
include_once __DIR__ . '/admin_footer.php'; | ||
require_once __DIR__ . '/admin_footer.php'; | ||
|
||
// work around for PHP < 5.0.x | ||
/* | ||
|
@@ -164,7 +164,7 @@ public static function createLogo($dirname) | |
// unset($func); | ||
} | ||
|
||
if (!file_exists($imageBase = $GLOBALS['xoops']->path('modules/' . $dirname . '/assets/images/logo_module.png')) | ||
if (!file_exists($imageBase = $GLOBALS['xoops']->path('modules/' . $dirname . '/assets/images/logoModule.png')) | ||
|| !file_exists($font = $GLOBALS['xoops']->path('modules/' . $dirname . '/assets/images/VeraBd.ttf')) | ||
) { | ||
return false; | ||
|
@@ -189,7 +189,7 @@ public static function createLogo($dirname) | |
//imagefill($imageModule, 0, 0, $white); | ||
//imagecolortransparent($imageModule, $white); | ||
|
||
imagepng($imageModule, $GLOBALS['xoops']->path('modules/' . $dirname . '/assets/images/logo_module.png')); | ||
imagepng($imageModule, $GLOBALS['xoops']->path('modules/' . $dirname . '/assets/images/logoModule.png')); | ||
imagedestroy($imageModule); | ||
|
||
return true; | ||
|
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
Oops, something went wrong.