-
-
Notifications
You must be signed in to change notification settings - Fork 52
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 #72 from Hystepik/Qual-rename-stancer-to-stancerdo…
…licloud Qual rename stancer module to stancerdolicloud
- Loading branch information
Showing
20 changed files
with
266 additions
and
255 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
Provides a way to make an online checkout of any membership dues, donation, customer invoice or customer order with the Stancer API. | ||
|
||
<!-- | ||
![Screenshot stancer](img/screenshot_stancer.png?raw=true "Stancer"){imgmd} | ||
![Screenshot stancerdolicloud](img/screenshot_stancerdolicloud.png?raw=true "Stancer"){imgmd} | ||
--> | ||
|
||
Other external modules are available on [Dolistore.com](https://www.dolistore.com). | ||
|
@@ -66,11 +66,11 @@ Note: If this screen tell you that there is no "custom" directory, check that yo | |
### From a GIT repository | ||
Clone the repository in ```$dolibarr_main_document_root_alt/stancer``` | ||
Clone the repository in ```$dolibarr_main_document_root_alt/stancerdolicloud``` | ||
```sh | ||
cd ....../custom | ||
git clone [email protected]:gitlogin/stancer.git stancer | ||
git clone [email protected]:gitlogin/stancerdolicloud.git stancerdolicloud | ||
``` | ||
--> | ||
|
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,6 +1,6 @@ | ||
<?php | ||
/* Copyright (C) 2004-2017 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2024 Lucas Marcouiller <lmarcouiller@dolicloud.com> | ||
* Copyright (C) 2023 Alice Adminson <myemail@mycompany.com> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -17,9 +17,9 @@ | |
*/ | ||
|
||
/** | ||
* \file stancer/admin/about.php | ||
* \ingroup stancer | ||
* \brief About page of module Stancer. | ||
* \file stancerdolicloud/admin/about.php | ||
* \ingroup stancerdolicloud | ||
* \brief About page of module StancerDolicloud. | ||
*/ | ||
|
||
// Load Dolibarr environment | ||
|
@@ -54,10 +54,10 @@ | |
// Libraries | ||
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php'; | ||
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; | ||
require_once '../lib/stancer.lib.php'; | ||
require_once '../lib/stancerdolicloud.lib.php'; | ||
|
||
// Translations | ||
$langs->loadLangs(array("errors", "admin", "stancer@stancer")); | ||
$langs->loadLangs(array("errors", "admin", "stancerdolicloud@stancerdolicloud")); | ||
|
||
// Access control | ||
if (!$user->admin) { | ||
|
@@ -83,21 +83,21 @@ | |
$form = new Form($db); | ||
|
||
$help_url = ''; | ||
$page_name = "StancerSetup"; | ||
$page_name = "StancerDolicloudSetup"; | ||
|
||
llxHeader('', $langs->trans($page_name), $help_url, '', 0, 0, '', '', '', 'mod-stancer page-admin_about'); | ||
llxHeader('', $langs->trans($page_name), $help_url, '', 0, 0, '', '', '', 'mod-stancerdolicloud page-admin_about'); | ||
|
||
// Subheader | ||
$linkback = '<a href="'.($backtopage ? $backtopage : DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1').'">'.$langs->trans("BackToModuleList").'</a>'; | ||
|
||
print load_fiche_titre($langs->trans($page_name), $linkback, 'title_setup'); | ||
|
||
// Configuration header | ||
$head = stancerAdminPrepareHead(); | ||
$head = stancerDolicloudAdminPrepareHead(); | ||
print dol_get_fiche_head($head, 'about', $langs->trans($page_name), 0, ''); | ||
|
||
dol_include_once('/stancer/core/modules/modStancer.class.php'); | ||
$tmpmodule = new modStancer($db); | ||
dol_include_once('/stancerdolicloud/core/modules/modStancerDolicloud.class.php'); | ||
$tmpmodule = new modStancerDolicloud($db); | ||
print $tmpmodule->getDescLong(); | ||
|
||
// Page end | ||
|
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
File renamed without changes.
Oops, something went wrong.