phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4370 - in phpcompta/trunk: html include include/templat


From: phpcompta-dev
Subject: [Phpcompta-dev] r4370 - in phpcompta/trunk: html include include/template
Date: Wed, 16 Nov 2011 17:17:17 +0100 (CET)

Author: danydb
Date: 2011-11-16 17:17:16 +0100 (Wed, 16 Nov 2011)
New Revision: 4370

Modified:
   phpcompta/trunk/html/style.css
   phpcompta/trunk/include/anc_od.inc.php
   phpcompta/trunk/include/class_html_input.php
   phpcompta/trunk/include/template/ledger_search.php
   phpcompta/trunk/include/template/menu.php
   phpcompta/trunk/include/template/module.php
Log:
 fix cosmetic for IE7 & chrome

Modified: phpcompta/trunk/html/style.css
===================================================================
--- phpcompta/trunk/html/style.css      2011-11-16 14:57:52 UTC (rev 4369)
+++ phpcompta/trunk/html/style.css      2011-11-16 16:17:16 UTC (rev 4370)
@@ -437,7 +437,7 @@
   text-decoration: none;
   display: block;
   color: blue;
-padding: 1px ;
+padding: 0;
 
 }
 
@@ -980,15 +980,14 @@
 #direct
 {
        display:inline;
-       float:right;
+       float:left;
+       width:400px;
 
-
 }
-.direct
+#calc
 {
-               font-size:6px;
-          border:groove 1px #000000;
-       margin:1px;
+       display:inline;
+       float:left;
 }
 div#wait_box
 {
@@ -1047,7 +1046,7 @@
  border:1px solid blue;
  margin-left: 2px;
  margin-right:2px;
- margin-top:2px;
+ margin-top:0px;
  font-size:10px;
 }
 table.table_large tr.odd ,table.table_large tr.even {

Modified: phpcompta/trunk/include/anc_od.inc.php
===================================================================
--- phpcompta/trunk/include/anc_od.inc.php      2011-11-16 14:57:52 UTC (rev 
4369)
+++ phpcompta/trunk/include/anc_od.inc.php      2011-11-16 16:17:16 UTC (rev 
4370)
@@ -50,7 +50,7 @@
 // show the left menu
 //----------------------------------------------------------------------
 echo '
-<div class="content" style="width:88%;margin-left:12%">
+<div class="content" >
 <div class="lmenu">
 <table>
 <tr>

Modified: phpcompta/trunk/include/class_html_input.php
===================================================================
--- phpcompta/trunk/include/class_html_input.php        2011-11-16 14:57:52 UTC 
(rev 4369)
+++ phpcompta/trunk/include/class_html_input.php        2011-11-16 16:17:16 UTC 
(rev 4370)
@@ -397,7 +397,7 @@
     static function anchor_close($div)
     {
        $r='';
-       $r.='<div style="float:right;margin:2;">';
+       $r.='<div 
style="float:right;margin-right:2px;margin-top:1px;padding:0">';
        $r.= '<A id="close_div" HREF="javascript:void(0)" 
onclick="removeDiv(\''.$div.'\');">Fermer</A>';
        $r.='</div>';
        return $r;

Modified: phpcompta/trunk/include/template/ledger_search.php
===================================================================
--- phpcompta/trunk/include/template/ledger_search.php  2011-11-16 14:57:52 UTC 
(rev 4369)
+++ phpcompta/trunk/include/template/ledger_search.php  2011-11-16 16:17:16 UTC 
(rev 4370)
@@ -1,4 +1,4 @@
-<fieldset><legend><?=_('Critères de Recherche')?></legend>
+
 <table>
 <tr>
 <td style='text-align:right;width:30em'>
@@ -64,4 +64,4 @@
 </tr>
 
 </table>
-</fieldset>
+

Modified: phpcompta/trunk/include/template/menu.php
===================================================================
--- phpcompta/trunk/include/template/menu.php   2011-11-16 14:57:52 UTC (rev 
4369)
+++ phpcompta/trunk/include/template/menu.php   2011-11-16 16:17:16 UTC (rev 
4370)
@@ -4,7 +4,17 @@
     ?>
 <table style="<?=$style?>" >
     <? else:
-        $style="width:80%;margin-right:10%"
+switch (count($amenu))
+{
+case 4:
+case 3:
+   $width=count($amenu)*15;
+   $left=round((100-$width)/2);
+$style="width:$width%;margin-left:$left%";
+break;
+default:
+$style="";
+}
        ?>
 <table style="<?=$style?>" >
     <? endif;?>
@@ -19,7 +29,7 @@
                $class="selectedcell";
 ?>
        <td class="<?=$class?>">
-           <a class="mtitle" 
href="do.php?gDossier=<?=Dossier::id()?>&ac=<?=$_REQUEST['ac']?>">
+           <a class="mtitle" 
href="do.php?gDossier=<?=Dossier::id()?>&ac=<?=$_REQUEST['ac']?>" 
alt="<?=h($amenu[$i]['me_description'])?>" >
            <?=$amenu[$i]['me_menu']?>
            </a>
        </td>

Modified: phpcompta/trunk/include/template/module.php
===================================================================
--- phpcompta/trunk/include/template/module.php 2011-11-16 14:57:52 UTC (rev 
4369)
+++ phpcompta/trunk/include/template/module.php 2011-11-16 16:17:16 UTC (rev 
4370)
@@ -6,7 +6,9 @@
 
 if ( $cn->get_value("select count(*) from profile join profile_user using 
(p_id)
                where user_name=$1 and 
with_calc=true",array($_SESSION['g_user'])) ==1):
+  echo '<div id="calc">';
        echo IButton::show_calc();
+echo '</div>';
 endif;
 
 if ( $cn->get_value("select count(*) from profile join profile_user using 
(p_id)
@@ -19,7 +21,7 @@
                <?
 
                        $direct=new IText('ac');
-                       $direct->style='class="direct"';
+                       $direct->style='class="input_text"';
                        $direct->value='';
                        $direct->size=20;
                        echo $direct->input();
@@ -30,8 +32,8 @@
                        echo HtmlInput::submit('go','aller');
                        ?>
 
-       </form
-       <script type="text/javascript" charset="utf8" language="javascript">
+       </form>
+       <script charset="utf8" language="javascript">
 
                try {
                        new 
Ajax.Autocompleter("ac","ac_choices","direct.php?gDossier=<?=$gDossier?>",




reply via email to

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