Merge branch 'devel-venus2'
This commit is contained in:
commit
652c4d33da
7 changed files with 63 additions and 4 deletions
45
.gitignore
vendored
Normal file
45
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
/include/ext/rapid-in/nbproject/private/
|
||||
*.orig
|
||||
*~
|
||||
*.patch
|
||||
*.diff
|
||||
db/
|
||||
html/tmp
|
||||
attic/*
|
||||
include/ext/amortis/*
|
||||
include/ext/import_account/*
|
||||
include/ext/rapport_avance/*
|
||||
include/ext/invoicing/*
|
||||
include/ext/import-advanced/*
|
||||
include/ext/syndicat-adherent/*
|
||||
include/ext/webservice/*
|
||||
include/ext/noalyss_document/*
|
||||
include/ext/dossier_demo/*
|
||||
include/ext/profile_mgt/*
|
||||
include/ext/doc/*
|
||||
include/ext/listing/*
|
||||
include/ext/syndicat/*
|
||||
include/ext/syndicat-tools/*
|
||||
include/ext/tool_pcmn/*
|
||||
include/ext/noalyss-timesheet/*
|
||||
include/ext/import_doli/*
|
||||
include/ext/transform/*
|
||||
include/ext/nbproject/*
|
||||
include/ext/backup_noadmin/*
|
||||
include/ext/modop/*
|
||||
include/ext/noalyss-portal-client/*
|
||||
include/ext/tva/*
|
||||
include/ext/sav/*
|
||||
include/ext/coprop/*
|
||||
include/ext/noalyss-export/*
|
||||
include/ext/plugin-portal-client/*
|
||||
include/ext/import_card/*
|
||||
include/ext/skel/*
|
||||
include/ext/syndicat-direct-debit/*
|
||||
include/ext/etat_annexe_ohada/*
|
||||
include/ext/bilan_interne/*
|
||||
include/ext/importbank/*
|
||||
include/ext/coprop-fake/*
|
||||
include/ext/tools/*
|
||||
include/ext/etat_annexe_ohada/*
|
||||
local/*
|
||||
|
|
@ -606,8 +606,8 @@ function fill_ipopcard(obj)
|
|||
var str_top="top:"+calcy(nTop)+"px";
|
||||
|
||||
var str_style=str_top+";width:45em;height:auto;position:absolute";
|
||||
|
||||
var popup={'id': content,'cssclass':'inner_box','style':str_style,'html':loading(),'drag':false};
|
||||
waiting_box();
|
||||
var popup={'id': content,'cssclass':'inner_box','style':str_style,'html':"",'drag':false};
|
||||
|
||||
add_div(popup);
|
||||
var dossier=$('gDossier').value;
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ class Card_Property
|
|||
} else {
|
||||
// if there is a class base in fiche_def_ref, this account will be the
|
||||
// the default one
|
||||
if (strlen(trim($p_fiche_def->class_base)) != 0) {
|
||||
if (noalyss_strlen(noalyss_trim($p_fiche_def->class_base)) != 0) {
|
||||
$result['msg'] .= " <span style=\"color:red\">" . _("Rappel: Poste par défaut sera ") .
|
||||
$p_fiche_def->class_base .
|
||||
" !</span> ";
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@ class Dossier
|
|||
use_id,
|
||||
use_first_name,
|
||||
use_name,
|
||||
use_email,
|
||||
use_login,
|
||||
use_active,
|
||||
use_admin,
|
||||
|
|
|
|||
|
|
@ -1579,6 +1579,16 @@ function add_http_link($text)
|
|||
return $ret;
|
||||
|
||||
}
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
//
|
||||
// PHP 8.2 fails with these functions when a NULL is given as argument
|
||||
//
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
function noalyss_strlen($p_string) :int{
|
||||
if (empty ($p_string) ) return 0;
|
||||
else return strlen($p_string);
|
||||
}
|
||||
function noalyss_trim($p_string) {
|
||||
if ($p_string===null) return "";
|
||||
else return trim($p_string);
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ class INum extends IText
|
|||
|
||||
$extra=(isset($this->extra))?$this->extra:"";
|
||||
|
||||
$this->value=str_replace('"', '', $this->value);
|
||||
$this->value=noalyss_str_replace('"', '', $this->value);
|
||||
$strAttribute=$this->get_node_attribute();
|
||||
if (!isset($this->css_size) || empty ($this->css_size))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -215,6 +215,7 @@ $header->add(_("Nom"), $url," order by use_name asc,use_first_name asc", "order
|
|||
$header->add(_('Dossier'),$url,' order by ag_dossier asc','order by ag_dossier desc',
|
||||
'da','dd');
|
||||
$header->add(_("Actif"), $url," order by use_active asc", "order by use_active desc","aa", "ad");
|
||||
$header->add(_("Email"), $url," order by use_email asc,use_name asc,use_first_name asc", "order by use_email desc,use_name desc,use_first_name desc","na", "nd");
|
||||
$ord=(isset($_REQUEST['ord']))?$_REQUEST['ord']:'la';
|
||||
$sql=$header->get_sql_order($ord);
|
||||
|
||||
|
|
@ -231,6 +232,7 @@ if ( !empty ($a_user) )
|
|||
echo '<th>'.$header->get_header(0).'</th>';
|
||||
echo '<th>'.$header->get_header(1).'</th>';
|
||||
echo th(_("Prénom"));
|
||||
echo '<th>'.$header->get_header(4).'</th>';
|
||||
echo '<th>'.$header->get_header(3).'</th>';
|
||||
echo "<th>"._('Type')."</th>";
|
||||
echo '<th>'.$header->get_header(2).'</th>';
|
||||
|
|
@ -257,6 +259,7 @@ if ( !empty ($a_user) )
|
|||
|
||||
echo td($r_user['use_name']);
|
||||
echo td($r_user['use_first_name']);
|
||||
echo td($r_user['use_email']);
|
||||
echo td($Active);
|
||||
$type=($r_user['use_admin']==1)?_("Administrateur"):_("Utilisateur");
|
||||
echo "<td>".$type."</td>";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue