Skip to content

Commit

Permalink
Move ID module from 113900 to 432573
Browse files Browse the repository at this point in the history
  • Loading branch information
aspangaro committed May 22, 2024
1 parent f3f4993 commit 5ec149d
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion admin/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
// Configuration header
$head = oblyon_admin_prepare_head();

print dol_get_fiche_head($head, 'about', $langs->trans("Module113900Name"), 0, "inovea@oblyon");
print dol_get_fiche_head($head, 'about', $langs->trans("Module432573Name"), 0, "inovea@oblyon");

$modClass = new modOblyon($db);
$oblyonVersion = !empty($modClass->getVersion()) ? $modClass->getVersion() : 'NC';
Expand Down
2 changes: 1 addition & 1 deletion admin/changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
// Configuration header
$head = oblyon_admin_prepare_head();

print dol_get_fiche_head($head, 'changelog', $langs->trans("Module113900Name"), 0, "inovea@oblyon");
print dol_get_fiche_head($head, 'changelog', $langs->trans("Module432573Name"), 0, "inovea@oblyon");

print '<div class="div-table-responsive-no-min">';
print '<table summary="edit" class="noborder centpercent editmode tableforfield">';
Expand Down
2 changes: 1 addition & 1 deletion admin/colors.php
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@

// Configuration header *************************
$head = oblyon_admin_prepare_head();
print dol_get_fiche_head($head, 'colors', $langs->trans('Module113900Name'), 0, 'inovea@oblyon');
print dol_get_fiche_head($head, 'colors', $langs->trans('Module432573Name'), 0, 'inovea@oblyon');

// setup page goes here *************************
print ' <script type = "text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion admin/customcss.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

// Configuration header *************************
$head = oblyon_admin_prepare_head();
print dol_get_fiche_head($head, 'customcss', $langs->trans('Module113900Name'), 0, 'inovea@oblyon');
print dol_get_fiche_head($head, 'customcss', $langs->trans('Module432573Name'), 0, 'inovea@oblyon');

$form = new Form($db);
$formfile = new FormFile($db);
Expand Down
2 changes: 1 addition & 1 deletion admin/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

// Configuration header *************************
$head = oblyon_admin_prepare_head();
print dol_get_fiche_head($head, 'dashboard', $langs->trans('Module113900Name'), 0, 'inovea@oblyon');
print dol_get_fiche_head($head, 'dashboard', $langs->trans('Module432573Name'), 0, 'inovea@oblyon');

// setup page goes here *************************
print ' <script type = "text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion admin/icons.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

// Configuration header *************************
$head = oblyon_admin_prepare_head();
print dol_get_fiche_head($head, 'icons', $langs->trans('Module113900Name'), 0, 'inovea@oblyon');
print dol_get_fiche_head($head, 'icons', $langs->trans('Module432573Name'), 0, 'inovea@oblyon');

// setup page goes here *************************
print ' <form action = "'.$_SERVER['PHP_SELF'].'" method = "POST">
Expand Down
2 changes: 1 addition & 1 deletion admin/menus.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

// Configuration header *************************
$head = oblyon_admin_prepare_head();
print dol_get_fiche_head($head, 'menus', $langs->trans('Module113900Name'), 0, 'inovea@oblyon');
print dol_get_fiche_head($head, 'menus', $langs->trans('Module432573Name'), 0, 'inovea@oblyon');

// setup page goes here *************************
// Alert
Expand Down
2 changes: 1 addition & 1 deletion admin/options.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

// Configuration header *************************
$head = oblyon_admin_prepare_head();
print dol_get_fiche_head($head, 'options', $langs->trans('Module113900Name'), 0, 'inovea@oblyon');
print dol_get_fiche_head($head, 'options', $langs->trans('Module432573Name'), 0, 'inovea@oblyon');

// setup page goes here *************************
$easyaVersion = (float) !empty($conf->global->EASYA_VERSION) ? $conf->global->EASYA_VERSION : '';
Expand Down
4 changes: 2 additions & 2 deletions core/modules/modOblyon.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function __construct($db)

$langs->loadLangs(array('oblyon@oblyon', 'inovea@oblyon'));
$this->db = $db;
$this->numero = 113900; // Unique Id for module
$this->numero = 432573; // Unique Id for module
$this->name = preg_replace('/^mod/i', '', get_class($this)); // Module label (no space allowed)
$this->editor_name = '<b>Inovea Conseil</b>';
$this->editor_web = 'https://www.inovea-conseil.com';
Expand All @@ -54,7 +54,7 @@ function __construct($db)
$this->family = 'Inovea Conseil'; // used to group modules in module setup page
$this->module_position = 10;
$this->module_position = 1;
$this->description = $langs->trans('Module113900Desc'); // Module description
$this->description = $langs->trans('Module432573Desc'); // Module description
$this->version = file_get_contents(__DIR__.'/../../VERSION'); // Version : 'development', 'experimental', 'dolibarr' or 'dolibarr_deprecated' or version
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); // llx_const table to save module status enabled/disabled
$this->special = 0; // Where to store the module in setup page (0=common,1=interface,2=others,3=very specific)
Expand Down
4 changes: 2 additions & 2 deletions langs/en_US/oblyon.lang
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Copyright (C) 2015 Nicolas Rivera <[email protected]>
# Copyright (C) 2015-2024 Alexandre Spangaro <[email protected]>
#
Module113900Name = Oblyon
Module113900Desc = Options panel allows you to personalize the Oblyon theme
Module432573Name = Oblyon
Module432573Desc = Options panel allows you to personalize the Oblyon theme

OblyonParamAction1 = Save / Restore all module parameters for
OblyonParamAction2 = <br>(after a restore refresh the page (F5) to visualize the result)
Expand Down
4 changes: 2 additions & 2 deletions langs/fr_FR/oblyon.lang
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Copyright (C) 2015 Nicolas Rivera <[email protected]>
# Copyright (C) 2015-2024 Alexandre Spangaro <[email protected]>
#
Module113900Name = Oblyon
Module113900Desc = Panneau d'options qui vous permet de personnaliser le thème Oblyon
Module432573Name = Oblyon
Module432573Desc = Panneau d'options qui vous permet de personnaliser le thème Oblyon

OblyonParamAction1 = Sauvegarder / Restaurer l'ensemble des paramètres du module
OblyonParamAction2 = <br>(après une restauration rafraichissez la page (F5) pour visualiser le résultat)
Expand Down
2 changes: 1 addition & 1 deletion lib/oblyon.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function oblyon_print_backup_restore()
oblyon_print_colgroup($metas);
print ' <tr>
<td colspan="2" class="center" style = "font-size: 14px;">
<a href = "'.DOL_URL_ROOT.'/document.php?modulepart=oblyon&file=sql/update.'.$conf->entity.'">'.$langs->trans('OblyonParamAction1').' <b><span color = "#D51123">'.$langs->trans('Module113900Name').'</span></b> <span size = "2">'.$langs->trans('OblyonParamAction2').'</span></a>
<a href = "'.DOL_URL_ROOT.'/document.php?modulepart=oblyon&file=sql/update.'.$conf->entity.'">'.$langs->trans('OblyonParamAction1').' <b><span color = "#D51123">'.$langs->trans('Module432573Name').'</span></b> <span size = "2">'.$langs->trans('OblyonParamAction2').'</span></a>
</td>
<td class="center"><button class = "butActionBackup" type = "submit" value = "bkupParams" name = "action">'.$langs->trans('OblyonParamBkup').'</button></td>
<td class="center"><button class = "butActionBackup" type = "submit" value = "restoreParams" name = "action">'.$langs->trans('OblyonParamRestore').'</button></td>
Expand Down

0 comments on commit 5ec149d

Please sign in to comment.