diff --git a/doc/developper/Doxyfile b/doc/developper/Doxyfile
index bbe229171..766c242a6 100644
--- a/doc/developper/Doxyfile
+++ b/doc/developper/Doxyfile
@@ -31,7 +31,7 @@ PROJECT_NAME = noalyss
# This could be handy for archiving the generated documentation or
# if some version control system is used.
-PROJECT_NUMBER = Version-7.2
+PROJECT_NUMBER = Version-8.1
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
diff --git a/html/ajax_misc.php b/html/ajax_misc.php
index f0cd81541..1286976b5 100644
--- a/html/ajax_misc.php
+++ b/html/ajax_misc.php
@@ -552,7 +552,7 @@ EOF;
echo '
';
echo '
'.$ajrn[0]['jrn_def_name'].'
';
if ( trim($ajrn[0]['jrn_def_description']) != "") {
- echo '
'.$ajrn[0]['jrn_def_description'].'
';
+ echo '
'.$ajrn[0]['jrn_def_description'].'
';
}
echo '
';
}
diff --git a/html/do.php b/html/do.php
index 2b677236c..bd80cfb75 100644
--- a/html/do.php
+++ b/html/do.php
@@ -254,29 +254,20 @@ if (isset($_REQUEST['ac']))
pm_id_v3,pm_id_v2,pm_id_v1
from v_menu_profile where code= upper($1) and p_id=$2',
array($AC,$user_profile));
-
try {
- if ( count($amenu_id) != 1 ) {
- // if AC is a simple code and this menu can be accessed
- // we should find the first menu which used it and change the
- // request AC to it
- $pm_id=$cn->get_array('select pm_id from profile_menu '
- . ' where lower(me_code)=lower($1) and p_id=$2',
- array($AC,$user_profile));
- if ( count($pm_id) > 0 ) {
- show_menu($pm_id[0]['pm_id']);
- return;
- } else {
- throw new Exception(_('Erreur menu'),10);
- }
+ if (count($amenu_id) == 0 ) { throw new Exception(_('Erreur menu'),10);}
+ if ( count($amenu_id)> 1) {
+ $tmp=$amenu_id[0];
+ $amenu_id=[];
+ $amenu_id[0]=$tmp;
}
$amenu_id=complete_default_menu($amenu_id,$user_profile);
$AC=rebuild_access_code($amenu_id);
put_global(array(array("key"=>"ac","value"=>$AC)));
- $module_id=$cn->get_value('select
+ $module_id=$cn->get_value('select distinct
case when pm_id_v3 = 0 then (case when pm_id_v2 = 0 then pm_id_v1 else pm_id_v2 end) else pm_id_v3 end
from
v_menu_profile
diff --git a/html/fid_card.php b/html/fid_card.php
index 23080cc93..91ec491af 100644
--- a/html/fid_card.php
+++ b/html/fid_card.php
@@ -106,7 +106,9 @@ else
{
if (isset($_REQUEST['type']))
{
- if ($_REQUEST['type']=='gl' || $_REQUEST['type']=='') $filter_card='';
+ if ($_REQUEST['type']=='gl' || $_REQUEST['type']=='') {
+ $filter_card='';
+ }
else
{
$get_cred='jrn_def_fiche_cred';
@@ -168,7 +170,7 @@ if ($sql != false && sizeof($sql) != 0 )
echo '';
if (count($sql) > 12)
{
- printf ('...'._('Résultat limité à 12').' ...');
+ printf ('...'._('Résultat limité à %s').' ...',$limit);
}
}
else
diff --git a/html/image/logo8000.png b/html/image/logo8100.png
similarity index 51%
rename from html/image/logo8000.png
rename to html/image/logo8100.png
index ee5fc4bda..da1ccdf25 100644
Binary files a/html/image/logo8000.png and b/html/image/logo8100.png differ
diff --git a/html/index.css b/html/index.css
index 313560e97..0e0b06718 100644
--- a/html/index.css
+++ b/html/index.css
@@ -142,7 +142,7 @@ BODY {
position:absolute;
z-index:-1;
height:auto;
- width:10%;
+ width:125px;
left:1%;
top:30px;
@@ -196,11 +196,12 @@ BODY {
}
#recover_link {
position:absolute;
- margin-top:397px;
+ /*! margin-top:397px; */
left:1px;
background-color: white;
bottom: initial;
width: 20rem;
+ bottom: 30px;
}
}
@media only screen and (min-width : 1100px) {
@@ -228,9 +229,9 @@ BODY {
width: 24rem;
}
#recover_link {
- position:absolute;
- top:397px;
+ position:fixed;
left:539px;
+ bottom:2px;
background-color: white;
width:auto;
@@ -274,9 +275,9 @@ BODY {
width: 24rem;
}
#recover_link {
- position:absolute;
- top:55%;
+ position:fixed;
left:55%;
+ bottom:20px;
background-color: white;
margin-top:0px;
}
diff --git a/html/index.php b/html/index.php
index b6ce4ccb4..c8b8b65bd 100644
--- a/html/index.php
+++ b/html/index.php
@@ -191,7 +191,7 @@ if (isset ($_REQUEST['reconnect']) && isset ($_REQUEST['backurl'])) {
}
echo '
-
+
';
}
else
@@ -285,17 +288,20 @@ case 'file':
{
// Not possible to remove the file thanks a modal dialog box,
// because of the frameset
- $x=sprintf(''."x".'',
- $gDossier,$div,$jr_id);
-
+
+ $x=Icon_Action::trash(uniqid(),
+ sprintf("if (confirm(content[47])) {document.location.href='ajax_misc.php?op=ledger&gDossier=%d&div=%s&jr_id=%s&act=rmf'}",
+ $gDossier,$div,$jr_id));
+
}
$filename= $obj->det->jr_pj_name;
- if ( strlen($obj->det->jr_pj_name) > 20 )
+ if ( strlen($obj->det->jr_pj_name) > 60 )
{
- $filename=mb_substr($obj->det->jr_pj_name,0,23);
+ $filename=mb_substr($obj->det->jr_pj_name,0,60);
}
echo HtmlInput::show_receipt_document($jr_id,h($filename));
echo $x;
+ echo '';
echo '';
echo '