phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4369 - in phpcompta/trunk/include: . template


From: phpcompta-dev
Subject: [Phpcompta-dev] r4369 - in phpcompta/trunk/include: . template
Date: Wed, 16 Nov 2011 15:57:54 +0100 (CET)

Author: danydb
Date: 2011-11-16 15:57:52 +0100 (Wed, 16 Nov 2011)
New Revision: 4369

Modified:
   phpcompta/trunk/include/anc_group.inc.php
   phpcompta/trunk/include/anc_imp.inc.php
   phpcompta/trunk/include/dossier.inc.php
   phpcompta/trunk/include/template/menu.php
Log:
#455 am?\195?\169liorer apparence module comptabilit?\195?\169 analytique

Modified: phpcompta/trunk/include/anc_group.inc.php
===================================================================
--- phpcompta/trunk/include/anc_group.inc.php   2011-11-16 10:54:12 UTC (rev 
4368)
+++ phpcompta/trunk/include/anc_group.inc.php   2011-11-16 14:57:52 UTC (rev 
4369)
@@ -55,10 +55,10 @@
 }
 $array=$r->myList();
 
-echo '<div class="content" style="width:80%;margin-left:10%">';
+echo '<div class="content" >';
 echo '<form method="post">';
 echo dossier::hidden();
-echo '<table style="border: 2px outset blue; width: 100%;"  >';
+echo '<table class="result"  >';
 echo '<tr> <th> Code </th><th>Plan </td><th>Description</th></tr>';
 foreach ($array as $idx=>$m)
 {

Modified: phpcompta/trunk/include/anc_imp.inc.php
===================================================================
--- phpcompta/trunk/include/anc_imp.inc.php     2011-11-16 10:54:12 UTC (rev 
4368)
+++ phpcompta/trunk/include/anc_imp.inc.php     2011-11-16 14:57:52 UTC (rev 
4369)
@@ -45,11 +45,11 @@
            );
 $sub=(isset($_GET['sub']))?$_GET['sub']:'no';
 
-echo '<div class="content"  style="width:88%;margin-left:12%">';
+echo '<div class="content"  >';
 echo ShowItem($menu,"H","mtitle","mtitle",$sub);
 echo '</div>';
 
-echo '<div class="content" style="width:80%;margin-left:10%">';
+echo '<div class="content" >';
 
 $hidden=new IHidden();
 $str_hidden=$hidden->input("p_action","ca_imp");

Modified: phpcompta/trunk/include/dossier.inc.php
===================================================================
--- phpcompta/trunk/include/dossier.inc.php     2011-11-16 10:54:12 UTC (rev 
4368)
+++ phpcompta/trunk/include/dossier.inc.php     2011-11-16 14:57:52 UTC (rev 
4369)
@@ -66,6 +66,7 @@
     try
     {
         $repo->start();
+        
         $Res=$repo->exec_sql("insert into ac_dossier(dos_name,dos_description)
                            values ('".$dos."','$desc')");
         $l_id=$repo->get_current_seq('dossier_id');
@@ -150,7 +151,6 @@
 <h2> Dossier Management</h2>
 
 <?php
-$cn=new Database();
 //---------------------------------------------------------------------------
 // List of folder
 if ( $sa == 'list' )
@@ -163,7 +163,7 @@
     $compteur=1;
     $template="";
 
-    echo '<TABLE class="result" 
style="border-collapse:separate;border-spacing:4">';
+    echo '<TABLE class="table_large" >';
     $r=th('ID').th('Nom du dossier ').th('Description').th('Taille').th('Nom 
base de données');
     $r=tr($r);
     echo $r;
@@ -214,8 +214,9 @@
 // Add a new folder
 if ( $sa == 'add' )
 {
+    $repo=new Database();
     // Load the available Templates
-    $Res=$cn->exec_sql("select mod_id,mod_name,mod_desc from
+    $Res=$repo->exec_sql("select mod_id,mod_name,mod_desc from
                        modeledef order by mod_name");
     $count=Database::num_row($Res);
 

Modified: phpcompta/trunk/include/template/menu.php
===================================================================
--- phpcompta/trunk/include/template/menu.php   2011-11-16 10:54:12 UTC (rev 
4368)
+++ phpcompta/trunk/include/template/menu.php   2011-11-16 14:57:52 UTC (rev 
4369)
@@ -1,11 +1,12 @@
 <div class="topmenu">
     <? if ( count($amenu) > 4 && $idx == 0) :
-       $width = 100;
+       $style = "width:100%";
     ?>
-<table style="width:<?=$width?>%">
+<table style="<?=$style?>" >
     <? else:
+        $style="width:80%;margin-right:10%"
        ?>
-<table>
+<table style="<?=$style?>" >
     <? endif;?>
 
 




reply via email to

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