phpcompta-dev
[Top][All Lists]
Advanced

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

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


From: phpcompta-dev
Subject: [Phpcompta-dev] r4515 - in phpcompta/trunk: html include
Date: Tue, 29 Nov 2011 22:07:30 +0100 (CET)

Author: danydb
Date: 2011-11-29 22:07:28 +0100 (Tue, 29 Nov 2011)
New Revision: 4515

Modified:
   phpcompta/trunk/html/
   phpcompta/trunk/html/style-color.css
   phpcompta/trunk/html/style-epad.css
   phpcompta/trunk/html/style-light.css
   phpcompta/trunk/html/style.css
   phpcompta/trunk/include/
   phpcompta/trunk/include/user_common.php
Log:
improve css


Property changes on: phpcompta/trunk/html
___________________________________________________________________
Name: svn:ignore
   - *.log
ajax
.user_login.php.swp
.~lock.a.csv#
.~lock.a.ods#
.a.csv.swp
.direct.php.swp
.style-light.css.swp
.a.swp

   + *.log
ajax
.user_login.php.swp
.~lock.a.csv#
.~lock.a.ods#
.a.csv.swp
.direct.php.swp
.style-light.css.swp
.a.swp
.htaccess.swp


Modified: phpcompta/trunk/html/style-color.css
===================================================================
--- phpcompta/trunk/html/style-color.css        2011-11-29 20:23:19 UTC (rev 
4514)
+++ phpcompta/trunk/html/style-color.css        2011-11-29 21:07:28 UTC (rev 
4515)
@@ -1090,3 +1090,15 @@
     margin: 20px;
     font-weight: bold;
 }
+a.nav,div.content a.nav,div.redcontent a.nav {
+       display:inline;
+       text-decoration:none;
+       font-size:1em;
+}
+a.nav:hover,div.content a.nav:hover,div.redcontent a.nav:hover {
+       display:inline;
+       text-decoration:none;
+       background-color:darkblue;
+       color:white;
+       font-size:1em;
+}
\ No newline at end of file

Modified: phpcompta/trunk/html/style-epad.css
===================================================================
--- phpcompta/trunk/html/style-epad.css 2011-11-29 20:23:19 UTC (rev 4514)
+++ phpcompta/trunk/html/style-epad.css 2011-11-29 21:07:28 UTC (rev 4515)
@@ -1086,3 +1086,15 @@
     margin: 20px;
     font-weight: bold;
 }
+a.nav,div.content a.nav,div.redcontent a.nav {
+       display:inline;
+       text-decoration:none;
+       font-size:1em;
+}
+a.nav:hover,div.content a.nav:hover,div.redcontent a.nav:hover {
+       display:inline;
+       text-decoration:none;
+       background-color:darkblue;
+       color:white;
+       font-size:1em;
+}
\ No newline at end of file

Modified: phpcompta/trunk/html/style-light.css
===================================================================
--- phpcompta/trunk/html/style-light.css        2011-11-29 20:23:19 UTC (rev 
4514)
+++ phpcompta/trunk/html/style-light.css        2011-11-29 21:07:28 UTC (rev 
4515)
@@ -825,7 +825,7 @@
        margin-right:3px;
        margin-left:3px;
        cursor:pointer;
-       
+
 }
 a#anchorbutton:hover, .button:hover,a.button:hover,div.content a.button:hover  
{
        cursor:pointer;
@@ -1088,3 +1088,15 @@
     margin: 20px;
     font-weight: bold;
 }
+a.nav,div.content a.nav,div.redcontent a.nav {
+       display:inline;
+       text-decoration:none;
+       font-size:1em;
+}
+a.nav:hover,div.content a.nav:hover,div.redcontent a.nav:hover {
+       display:inline;
+       text-decoration:none;
+       background-color:darkblue;
+       color:white;
+       font-size:1em;
+}
\ No newline at end of file

Modified: phpcompta/trunk/html/style.css
===================================================================
--- phpcompta/trunk/html/style.css      2011-11-29 20:23:19 UTC (rev 4514)
+++ phpcompta/trunk/html/style.css      2011-11-29 21:07:28 UTC (rev 4515)
@@ -1083,3 +1083,15 @@
     margin: 20px;
     font-weight: bold;
 }
+a.nav,div.content a.nav,div.redcontent a.nav {
+       display:inline;
+       text-decoration:none;
+       font-size:1em;
+}
+a.nav:hover,div.content a.nav:hover,div.redcontent a.nav:hover {
+       display:inline;
+       text-decoration:none;
+       background-color:darkblue;
+       color:white;
+       font-size:1em;
+}
\ No newline at end of file


Property changes on: phpcompta/trunk/include
___________________________________________________________________
Name: svn:ignore
   - .user_menu.php.swp

   + .user_menu.php.swp
.config.inc.php.swp


Modified: phpcompta/trunk/include/user_common.php
===================================================================
--- phpcompta/trunk/include/user_common.php     2011-11-29 20:23:19 UTC (rev 
4514)
+++ phpcompta/trunk/include/user_common.php     2011-11-29 21:07:28 UTC (rev 
4515)
@@ -121,7 +121,7 @@
    $step=$_SESSION['g_pagesize'];
    $page=(isset($_GET['offset']))?$_GET['page']:1;
    $offset=(isset($_GET['offset']))?$_GET['offset']:0;
- 
+
    list ($max_ligne,$list)=ListJrn($cn,$_GET['p_jrn'],$sql,null,$offset,1);
    $bar=jrn_navigation_bar($offset,$max_ligne,$step,$page);
 \endverbatim
@@ -178,6 +178,7 @@
     $end_bar  =($p_page < 11 )?20:$p_page+10;
     $end_bar  =($end_bar > $nb_page )?$nb_page:$end_bar;
 
+       $sep="";
     // Create the bar
     for ($e=$start_bar;$e<=$end_bar;$e++)
     {
@@ -188,12 +189,15 @@
             $offset=($e-1)*$step;
 
             
$go=$_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step";
-
-            $r.=sprintf('<A class="mtitle" HREF="%s" CLASS="one" %s 
>%d</A>&nbsp;',$go,$p_javascript,$e);
+                       $r.=$sep;
+            $r.=sprintf('<A class="nav" HREF="%s"  %s 
>%d</A>&nbsp;',$go,$p_javascript,$e);
+                       $sep=" &#8231;  ";
         }
         else
         {
+                       $r.=$sep;
             $r.="<b> [ $e ] </b>";
+                       $sep=" &#8231;  ";
         } //else
     } //for
     // next




reply via email to

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