noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 23/29: Cosmetic : ledger name


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 23/29: Cosmetic : ledger name
Date: Wed, 4 Nov 2020 11:08:45 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit e5b8e5af5a35a8985978428a4bc3e9c62d6b953e
Author: Dany wm De Bontridder <danydb@noalyss.eu>
AuthorDate: Sun Nov 1 18:19:24 2020 +0100

    Cosmetic : ledger name
---
 html/ajax_misc.php                      | 2 +-
 include/cfgledger.inc.php               | 4 ++--
 include/class/acc_ledger_fin.class.php  | 2 +-
 include/compta_fin.inc.php              | 2 +-
 include/compta_fin_rec.inc.php          | 2 +-
 include/compta_ods.inc.php              | 2 +-
 include/opening.inc.php                 | 2 +-
 include/operation_ods_confirm.inc.php   | 2 +-
 include/operation_ods_new.inc.php       | 2 +-
 include/template/form_ledger_detail.php | 2 +-
 include/template/form_ledger_fin.php    | 2 +-
 11 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/html/ajax_misc.php b/html/ajax_misc.php
index 77f49a0..2db616d 100644
--- a/html/ajax_misc.php
+++ b/html/ajax_misc.php
@@ -540,7 +540,7 @@ EOF;
             if ( count($ajrn)==1)
             {
                 echo '<div>';
-                echo '<h2 id="info">'.$ajrn[0]['jrn_def_name'].'</h2>';
+                echo '<h1 >'.$ajrn[0]['jrn_def_name'].'</h1>';
                 if ( trim($ajrn[0]['jrn_def_description']) != "") {
                     echo '<p style="border:1px 
solid;margin-top:0px">'.$ajrn[0]['jrn_def_description'].'</p>';
                 }
diff --git a/include/cfgledger.inc.php b/include/cfgledger.inc.php
index 7984d48..fe8ea12 100644
--- a/include/cfgledger.inc.php
+++ b/include/cfgledger.inc.php
@@ -79,9 +79,9 @@ if ($action_frm == 'delete' )
                $ledger->delete_ledger();
                $sa="";
                echo '<div id="jrn_name_div">';
-               echo '<h2 id="jrn_name">';
+               echo '<h1 id="jrn_name">';
                 printf(_(" %s est effacé"),h($name));
-                echo "</h2>";
+                echo "</h1>";
                echo '</div>';
                 $show_menu=1;
        }
diff --git a/include/class/acc_ledger_fin.class.php 
b/include/class/acc_ledger_fin.class.php
index 15c3812..50db843 100644
--- a/include/class/acc_ledger_fin.class.php
+++ b/include/class/acc_ledger_fin.class.php
@@ -478,7 +478,7 @@ class Acc_Ledger_Fin extends Acc_Ledger
                $r.='';
                $r.='<fieldset><legend>Banque, caisse </legend>';
                $r.= '<div id="jrn_name_div">';
-               $r.='<h2 id="jrn_name" style="display:inline">' . 
$this->get_name() . '</h2>';
+               $r.='<h1 id="jrn_name" style="display:inline">' . 
$this->get_name() . '</h1>';
                $r.= '</div>';
                $r.='<TABLE  width="100%">';
                //  Date
diff --git a/include/compta_fin.inc.php b/include/compta_fin.inc.php
index b15f39d..5a60d62 100644
--- a/include/compta_fin.inc.php
+++ b/include/compta_fin.inc.php
@@ -108,7 +108,7 @@ if ( isset($_POST['confirm']))
        if ( !isset($correct))
        {
                echo '<div id="jrn_name_div">';
-               echo '<h2 id="jrn_name" style="display:inline">' . 
$Ledger->get_name() . '</h2>';
+               echo '<h1 id="jrn_name" style="display:inline">' . 
$Ledger->get_name() . '</h1>';
                echo '</div>';
 
                echo '<div class="content">';
diff --git a/include/compta_fin_rec.inc.php b/include/compta_fin_rec.inc.php
index d393658..7ca464e 100644
--- a/include/compta_fin_rec.inc.php
+++ b/include/compta_fin_rec.inc.php
@@ -182,7 +182,7 @@ $wLedger = $Ledger->select_ledger('FIN', 3,FALSE);
 if ($wLedger == null)
        exit('Pas de journal disponible');
 echo '<div id="jrn_name_div">';
-echo '<h2 id="jrn_name" style="display:inline">' . $Ledger->get_name() . 
'</h2>';
+echo '<h1 id="jrn_name" style="display:inline">' . $Ledger->get_name() . 
'</h1>';
 echo '</div>';
 $wLedger->javascript = "onchange='this.form.submit()';";
 echo $wLedger->input();
diff --git a/include/compta_ods.inc.php b/include/compta_ods.inc.php
index c6360da..40496cf 100644
--- a/include/compta_ods.inc.php
+++ b/include/compta_ods.inc.php
@@ -101,7 +101,7 @@ elseif (isset($_POST['save']))
                printf('<a class="detail" style="display:inline" 
href="javascript:modifyOperation(%d,%d)">%s</a><hr>', $jr_id, dossier::id(), 
$ledger->internal);
 
                // show feedback
-               echo '<div id="jrn_name_div">'; echo '<h2 id="jrn_name"  
style="display:inline">' . $ledger->get_name() . '</h2>'; echo '</div>';
+               echo '<div id="jrn_name_div">'; echo '<h1 id="jrn_name"  
style="display:inline">' . $ledger->get_name() . '</h1>'; echo '</div>';
                echo $ledger->confirm($_POST, true);
                  // extourne
                 if (isset($_POST['reverse_ck']))
diff --git a/include/opening.inc.php b/include/opening.inc.php
index 0332888..9e38be0 100644
--- a/include/opening.inc.php
+++ b/include/opening.inc.php
@@ -90,7 +90,7 @@ if (isset($_POST['save']))
                 $jr_id, dossier::id(), $ledger->internal);
 
         // show feedback
-        echo '<div id="jrn_name_div">'; echo '<h2 id="jrn_name" 
style="display:inline">'.$ledger->get_name().'</h2>'; echo '</div>';
+        echo '<div id="jrn_name_div">'; echo '<h1 id="jrn_name" 
style="display:inline">'.$ledger->get_name().'</h1>'; echo '</div>';
         echo $ledger->confirm($_POST, true);
     }
     catch (Exception $e)
diff --git a/include/operation_ods_confirm.inc.php 
b/include/operation_ods_confirm.inc.php
index 8007ef4..e29348e 100644
--- a/include/operation_ods_confirm.inc.php
+++ b/include/operation_ods_confirm.inc.php
@@ -30,7 +30,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas 
permis');
 echo '<div class="content">';
 echo h2(_("Confirmation"),'class="info"');
 echo '<div id="jrn_name_div">';
-echo '<h2 id="jrn_name" style="display:inline">' . $ledger->get_name() . 
'</h2>';
+echo '<h1 id="jrn_name" style="display:inline">' . $ledger->get_name() . 
'</h1>';
 echo '</div>';
 
 echo '<div id="warning_ven_id" class="notice" style="width: 50%; margin-left: 
0px; float: right;">';
diff --git a/include/operation_ods_new.inc.php 
b/include/operation_ods_new.inc.php
index c106732..03e6378 100644
--- a/include/operation_ods_new.inc.php
+++ b/include/operation_ods_new.inc.php
@@ -49,7 +49,7 @@ echo '<div class="content">';
 
 
 echo '<div id="jrn_name_div">';
-echo '<h2 id="jrn_name" style="display:inline">' . $ledger->get_name() . 
'</h2>';
+echo '<h1 id="jrn_name" style="display:inline">' . $ledger->get_name() . 
'</h1>';
 echo '</div>';
 
 // Show the predef operation
diff --git a/include/template/form_ledger_detail.php 
b/include/template/form_ledger_detail.php
index 5801ab2..8af1f56 100644
--- a/include/template/form_ledger_detail.php
+++ b/include/template/form_ledger_detail.php
@@ -3,7 +3,7 @@
 //see licence.txt
 ?>
        <div id="jrn_name_div">
-       <h2 id="jrn_name"> <?php echo $this->get_name()?></h2>
+       <h1 id="jrn_name"> <?php echo $this->get_name()?></h1>
 </div>
 <table>
     <tr>
diff --git a/include/template/form_ledger_fin.php 
b/include/template/form_ledger_fin.php
index ef12d18..187889c 100644
--- a/include/template/form_ledger_fin.php
+++ b/include/template/form_ledger_fin.php
@@ -3,7 +3,7 @@
 //see licence.txt
 ?><fieldset>
        <div id="jrn_name_div">
-       <h2  id="jrn_name"> <?php echo $this->get_name()?></h2>
+       <h1  id="jrn_name"> <?php echo $this->get_name()?></h1>
 </div>
 <legend><?php echo $f_legend ?> </legend>
 <?php 



reply via email to

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