[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5581 - in phpcompta/tags/rel670: html/js include/templa
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5581 - in phpcompta/tags/rel670: html/js include/template |
Date: |
Sat, 7 Dec 2013 23:07:16 +0100 (CET) |
Author: danydb
Date: 2013-12-07 23:07:15 +0100 (Sat, 07 Dec 2013)
New Revision: 5581
Modified:
phpcompta/tags/rel670/html/js/scripts.js
phpcompta/tags/rel670/include/template/letter_all.php
phpcompta/tags/rel670/include/template/letter_prop.php
Log:
Fix some cosmetic bug, works with IE11
Modified: phpcompta/tags/rel670/html/js/scripts.js
===================================================================
--- phpcompta/tags/rel670/html/js/scripts.js 2013-12-07 20:27:36 UTC (rev
5580)
+++ phpcompta/tags/rel670/html/js/scripts.js 2013-12-07 22:07:15 UTC (rev
5581)
@@ -811,7 +811,8 @@
style:
';position:absolute;width:60%;z-index:20;margin-left:20%',
drag: 1
};
- var y=calcy(posY);
+ //var y=calcy(posY);
+ var y=posY;
if (json_obj.div != '')obj.cssclass="";
obj.style="top:"+y+obj.style;
add_div(obj);
Modified: phpcompta/tags/rel670/include/template/letter_all.php
===================================================================
--- phpcompta/tags/rel670/include/template/letter_all.php 2013-12-07
20:27:36 UTC (rev 5580)
+++ phpcompta/tags/rel670/include/template/letter_all.php 2013-12-07
22:07:15 UTC (rev 5581)
@@ -42,7 +42,7 @@
<?php
for ($i=0;$i<count($this->content);$i++):
$class="";
-if ( ($i % 2) == 0 ) $class="odd";
+$class= ( ($i % 2) == 0 ) ? "odd":"even";
?>
<tr <?php echo "class=\"$class\""; ?> >
<td>
Modified: phpcompta/tags/rel670/include/template/letter_prop.php
===================================================================
--- phpcompta/tags/rel670/include/template/letter_prop.php 2013-12-07
20:27:36 UTC (rev 5580)
+++ phpcompta/tags/rel670/include/template/letter_prop.php 2013-12-07
22:07:15 UTC (rev 5581)
@@ -47,7 +47,7 @@
for ($i=0;$i<count($this->content);$i++):
$class="";
-if ( ($i % 2) == 0 ) $class="odd";
+$class= ( ($i % 2) == 0 ) ? "odd":"even";
if ( $i < $linked_limit ) $class="even";
if ($linked_limit != 0 && $i==$linked_limit)
{
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5581 - in phpcompta/tags/rel670: html/js include/template,
phpcompta-dev <=