Fix style for compta style
This commit is contained in:
parent
98f3a32cbc
commit
f80facd6ae
4 changed files with 17 additions and 15 deletions
|
|
@ -75,9 +75,10 @@ ShowMenuJrnUser($g_dossier,$g_UserProperty);
|
|||
|
||||
if ( isset ( $_GET["action"] )) {
|
||||
if ( $_GET["action"] == "view" ) {
|
||||
ShowMenuRecherche($g_dossier,$g_jrn);
|
||||
|
||||
// view all the journal's operation
|
||||
echo '<DIV class="redcontent">';
|
||||
ShowMenuRecherche($g_dossier,$g_jrn);
|
||||
ViewJrn($g_dossier,$g_user,$g_jrn,"enc_jrn.php");
|
||||
echo '</DIV>';
|
||||
}
|
||||
|
|
@ -138,9 +139,10 @@ if ( isset ( $_GET["action"] )) {
|
|||
}
|
||||
if ( isset ($_POST['viewsearch']) ) {
|
||||
reset($HTTP_POST_VARS);
|
||||
ShowMenuRecherche($g_dossier,$g_jrn,$HTTP_POST_VARS);
|
||||
|
||||
echo '<DIV class="redcontent">';
|
||||
ShowMenuRecherche($g_dossier,$g_jrn,$HTTP_POST_VARS);
|
||||
|
||||
ViewJrn($g_dossier,$g_user,$g_jrn,"enc_jrn.php",$HTTP_POST_VARS);
|
||||
echo '</DIV>';
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ div.mtitle {
|
|||
|
||||
div.tmenu {
|
||||
position: absolute;
|
||||
top:10px;
|
||||
top:60px;
|
||||
left:120px;
|
||||
width:800px;
|
||||
text-align:center;
|
||||
|
|
@ -74,7 +74,7 @@ div.u_tmenu {
|
|||
|
||||
div.lmenu {
|
||||
position: absolute;
|
||||
top:100px;
|
||||
top:10px;
|
||||
left:0px;
|
||||
width:100px;
|
||||
font-size:10px;
|
||||
|
|
@ -86,12 +86,12 @@ div.lextmenu {
|
|||
left:30px;
|
||||
width:200px;
|
||||
}
|
||||
/*div.searchmenu {
|
||||
div.searchmenu {
|
||||
left:30px;
|
||||
width:95px;
|
||||
top:100px;
|
||||
position:absolute;
|
||||
}*/
|
||||
}
|
||||
div.credit{
|
||||
border-style:solid;
|
||||
border-width:1pt;
|
||||
|
|
@ -112,8 +112,8 @@ div.recherche{
|
|||
div.redcontent{
|
||||
position: absolute;
|
||||
top:100px;
|
||||
left:250px;
|
||||
width:700px;
|
||||
left:220px;
|
||||
width:500px;
|
||||
font-size:9px;
|
||||
font-family:sans-serif;
|
||||
|
||||
|
|
@ -136,7 +136,7 @@ div.ccontent{
|
|||
}
|
||||
div.rmenu {
|
||||
position: absolute;
|
||||
top:50px;
|
||||
top:110px;
|
||||
right:30px;
|
||||
width:100px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,10 +111,10 @@ if ( $g_jrn != -1 ) {
|
|||
// display jrn's menu
|
||||
include_once('user_menu.php');
|
||||
$menu_jrn=u_ShowMenuJrn($cn,$jrn_type);
|
||||
echo '<div class="searchmenu">';
|
||||
// echo '<div class="searchmenu">';
|
||||
// echo $result;
|
||||
echo $menu_jrn;
|
||||
echo '</DIV>';
|
||||
// echo '</DIV>';
|
||||
|
||||
// Execute Action for g_jrn
|
||||
|
||||
|
|
|
|||
|
|
@ -290,7 +290,6 @@ function ShowMenuRecherche($p_dossier,$p_jrn,$p_array=null)
|
|||
|
||||
if ( $p_mont_sel != "" ) $opt.='<OPTION value="'.$p_mont_sel.'" SELECTED> '.$p_mont_sel;
|
||||
|
||||
echo '<div class="searchmenu">';
|
||||
echo '<div style="border-style:outset;border-width:1pt;">';
|
||||
echo "<B>Recherche</B>";
|
||||
echo '<FORM ACTION="enc_jrn.php" METHOD="POST">';
|
||||
|
|
@ -315,7 +314,6 @@ function ShowMenuRecherche($p_dossier,$p_jrn,$p_array=null)
|
|||
echo "</TABLE>";
|
||||
echo "</FORM>";
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
|
||||
}
|
||||
/* function
|
||||
|
|
@ -373,7 +371,9 @@ function ShowMenuJrnUserImp($p_cn,$p_user,$p_dossier)
|
|||
echo '<TABLE>';
|
||||
echo '<TR><TD style="background-color:#4F8DFF;color:white;font-style:bold;align:center" COLSPAN="3" > Journaux</TD></TR>';
|
||||
include_once("postgres.php");
|
||||
if ( CheckAdmin() ==0) {
|
||||
include_once("class_user.php");
|
||||
$User=new cl_user($p_cn);
|
||||
if ( $User->Admin() ==0) {
|
||||
$Ret=ExecSql($p_cn,"select jrn_def_id,jrn_def_name,jrn_def_class_deb,jrn_def_class_cred,jrn_type_id,jrn_desc,uj_priv,
|
||||
jrn_deb_max_line,jrn_cred_max_line
|
||||
from jrn_def join jrn_type on jrn_def_type=jrn_type_id
|
||||
|
|
@ -394,7 +394,7 @@ function ShowMenuJrnUserImp($p_cn,$p_user,$p_dossier)
|
|||
for ($i=0;$i<$Max;$i++) {
|
||||
$l_line=pg_fetch_array($Ret,$i);
|
||||
// Admin have always rights
|
||||
if ( CheckAdmin() == 0 ){
|
||||
if ( $User->Admin() == 0 ){
|
||||
$right=CheckJrn($p_dossier,$p_user,$l_line['jrn_def_id']);
|
||||
}else {
|
||||
$right=3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue