noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 09/86: C0OPT1 , C1MENU : improve doc


From: dwm
Subject: [Noalyss-commit] [noalyss] 09/86: C0OPT1 , C1MENU : improve doc
Date: Thu, 19 Sep 2024 02:41:47 -0400 (EDT)

sparkyx pushed a commit to branch unstable
in repository noalyss.

commit 5c8a188d5100f45064f6843edd323ecbe7796f70
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Sep 1 22:32:52 2024 +0200

    C0OPT1 , C1MENU : improve doc
---
 include/class/contact_option_ref_mtable.class.php | 11 ++++++++++-
 include/contact_option_ref.inc.php                |  2 +-
 include/lib/message_javascript.php                |  1 +
 sql/upgrade.sql                                   |  4 ++++
 4 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/include/class/contact_option_ref_mtable.class.php 
b/include/class/contact_option_ref_mtable.class.php
index 07cc21408..0f0a15668 100644
--- a/include/class/contact_option_ref_mtable.class.php
+++ b/include/class/contact_option_ref_mtable.class.php
@@ -48,6 +48,15 @@ class Contact_Option_Ref_MTable extends Manage_Table_SQL{
              ["label"=>_("Date"),"value"=>2],
              ["label"=>_("Coche"),"value"=>4]
          ]);
+         $this->set_col_tips("cor_value_select", 87);
      }
-
+    function input()
+    {
+        echo    '<p class="info">'.
+            '<a href="https://wiki.noalyss.eu/doku.php?id=menu::c0opt1"; 
target="_blank">'.
+            _("Aide : voir C0OPT1").
+            '</a>'.
+            '</p>';
+        return parent::input(); // TODO: Change the autogenerated stub
+    }
 }
diff --git a/include/contact_option_ref.inc.php 
b/include/contact_option_ref.inc.php
index 5975ae8e1..8c90a49ca 100644
--- a/include/contact_option_ref.inc.php
+++ b/include/contact_option_ref.inc.php
@@ -40,7 +40,7 @@ catch (Exception $ex)
 }
 $cn=Dossier::connect();
 echo    '<p class="info">'.
-        '<a href="https://wiki.noalyss.eu/doku.php?id=menu:cfgaction"; 
target="_blank">'.
+        '<a href="https://wiki.noalyss.eu/doku.php?id=menu:c0act"; 
target="_blank">'.
         _("Aide : voir C0ACT").
         '</a>'.
         '</p>';
diff --git a/include/lib/message_javascript.php 
b/include/lib/message_javascript.php
index 1b303d7a2..75b38033c 100644
--- a/include/lib/message_javascript.php
+++ b/include/lib/message_javascript.php
@@ -120,4 +120,5 @@ content[83]="<?php echo htmlspecialchars(_("Données 
invalides "),ENT_QUOTES)?>"
 content[84]="<?php echo htmlspecialchars(_("En Belgique, l'exercice commence 
par un report des comptes de 0 à 5, mais pas en France, ce solde est calculé 
depuis le tout premier exercice"),ENT_QUOTES)?>";
 content[85]="<?php echo htmlspecialchars(_("Solde créditeur au lieu de 
débiteur"),ENT_QUOTES)?>";
 content[86]="<?php echo htmlspecialchars(_("Solde débiteur au lieu de 
créditeur"),ENT_QUOTES)?>";
+content[87]="<?php echo htmlspecialchars(_("Uniquement pour les choix, séparer 
les valeurs possibles par un |"),ENT_QUOTES)?>";
 </script>
diff --git a/sql/upgrade.sql b/sql/upgrade.sql
index e69de29bb..0a1bfa1c3 100644
--- a/sql/upgrade.sql
+++ b/sql/upgrade.sql
@@ -0,0 +1,4 @@
+begin;
+
+select replace_menu_code('CCARDAT','C0CARD');
+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]