[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4787 - in phpcompta/tags/rel600: html include/template
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4787 - in phpcompta/tags/rel600: html include/template |
Date: |
Thu, 22 Mar 2012 20:35:43 +0100 (CET) |
Author: danydb
Date: 2012-03-22 20:35:42 +0100 (Thu, 22 Mar 2012)
New Revision: 4787
Modified:
phpcompta/tags/rel600/html/ajax_ledger.php
phpcompta/tags/rel600/html/style-color.css
phpcompta/tags/rel600/html/style-epad.css
phpcompta/tags/rel600/html/style-light.css
phpcompta/tags/rel600/html/style.css
phpcompta/tags/rel600/include/template/ledger_detail_file.php
Log:
558 Agrandir zone document
Modified: phpcompta/tags/rel600/html/ajax_ledger.php
===================================================================
--- phpcompta/tags/rel600/html/ajax_ledger.php 2012-03-22 19:17:37 UTC (rev
4786)
+++ phpcompta/tags/rel600/html/ajax_ledger.php 2012-03-22 19:35:42 UTC (rev
4787)
@@ -48,8 +48,8 @@
exit();
}
global $g_parameter;
-
-
+
+
$action=$_REQUEST['act'];
$jr_id=$_REQUEST['jr_id'];
$div=$_REQUEST['div']; /* the div source and target for javascript */
@@ -188,15 +188,16 @@
echo "<html><head>";
$repo=new Database();
$theme=$repo->get_value("select the_filestyle from theme where
the_name=$1",array($_SESSION['g_theme']));
- echo " <LINK REL=\"stylesheet\" type=\"text/css\" href=\"$theme\"
media=\"screen\">";
- echo "</head>";
+ echo "<LINK REL=\"stylesheet\" type=\"text/css\" href=\"$theme\"
media=\"screen\">";
+ echo "</head><body>";
echo '<div class="op_detail_frame">';
-
+ echo "<h2>Document</h2>";
if ( $access=='W')
{
echo '<FORM METHOD="POST" ENCTYPE="multipart/form-data"
id="form_file">';
+
$sp=new ISpan('file'.$div);
-
$sp->style="display:none;width:155;height:15;background-color:red;color:white;font-size:10";
+
$sp->style="display:none;background-color:red;color:white;font-size:12px";
$sp->value="Chargement";
echo $sp->input();
echo HtmlInput::hidden('act','loadfile');
@@ -228,12 +229,12 @@
$repo=new Database();
$theme=$repo->get_value("select the_filestyle from theme where
the_name=$1",array($_SESSION['g_theme']));
echo " <LINK REL=\"stylesheet\" type=\"text/css\" href=\"$theme\"
media=\"screen\">";
- echo "</head><body>";
+ echo "</head><body class=\"op_detail_frame\" >";
+ echo "<h2>Document</h2>";
echo '<div class="op_detail_frame">';
-
$x='';
if ($access=='W')
- $x=sprintf('<a class="mtitle" style="margin-right:12"
href="ajax_ledger.php?gDossier=%d&div=%s&jr_id=%s&act=rmf" onclick="return
confirm(\'Effacer le document ?\')">enlever</a>',
+ $x=sprintf('<a class="notice"
style="margin-left:12;margin-right:12"
href="ajax_ledger.php?gDossier=%d&div=%s&jr_id=%s&act=rmf" onclick="return
confirm(\'Effacer le document ?\')">enlever</a>',
$gDossier,$div,$jr_id);
echo $x;
$filename= $obj->det->jr_pj_name;
@@ -267,16 +268,13 @@
$repo=new Database();
$theme=$repo->get_value("select the_filestyle from theme where
the_name=$1",array($_SESSION['g_theme']));
echo " <LINK REL=\"stylesheet\" type=\"text/css\" href=\"$theme\"
media=\"screen\">";
- echo "</head>";
+ echo "</head><body class=\"op_detail_frame\">";
+ echo "<h2>Document</h2>";
echo '<div class="op_detail_frame">';
- $x=sprintf('<a class="mtitle" style="margin-right:12px"
href="ajax_ledger.php?gDossier=%d&div=%s&jr_id=%s&act=rmf" onclick="return
confirm(\'Effacer le document ?\')">enlever</a>',
+ $x=sprintf('<a class="mtitle" class="notice"
style="margin-left:12;margin-right:12px"
href="ajax_ledger.php?gDossier=%d&div=%s&jr_id=%s&act=rmf" onclick="return
confirm(\'Effacer le document ?\')">enlever</a>',
$gDossier,$div,$jr_id);
echo $x;
$filename= $obj->det->jr_pj_name;
- if ( strlen($obj->det->jr_pj_name) > 20 )
- {
- $filename=substr($obj->det->jr_pj_name,1,20);
- }
$h=sprintf('<a class="mtitle"
href="show_pj.php?gDossier=%d&jrn=%d&jr_grpt_id=%d">%s</a>',
$gDossier,$ledger,$obj->det->jr_grpt_id,h($filename));
echo $h;
@@ -294,9 +292,9 @@
$repo=new Database();
$theme=$repo->get_value("select the_filestyle from theme where
the_name=$1",array($_SESSION['g_theme']));
echo " <LINK REL=\"stylesheet\" type=\"text/css\" href=\"$theme\"
media=\"screen\">";
- echo "</head>";
+ echo "</head><body class=\"op_detail_frame\">";
+ echo "<h2>Document</h2>";
echo '<div class="op_detail_frame">';
-
echo '<FORM METHOD="POST" ENCTYPE="multipart/form-data"
id="form_file">';
$sp=new ISpan('file'.$div);
$sp->style="display:none;width:155;height:15;background-color:red;color:white;font-size:10";
@@ -368,7 +366,7 @@
$cn->exec_sql("select comptaproc.jrn_add_note($1,$2)",
array($jr_id,$_POST['jrn_note']));
$rapt=$_POST['rapt'];
-
+
if ( $g_parameter->MY_UPDLAB=='Y' && isset ($_POST['j_id']))
{
$a_rowid=$_POST["j_id"];
Modified: phpcompta/tags/rel600/html/style-color.css
===================================================================
--- phpcompta/tags/rel600/html/style-color.css 2012-03-22 19:17:37 UTC (rev
4786)
+++ phpcompta/tags/rel600/html/style-color.css 2012-03-22 19:35:42 UTC (rev
4787)
@@ -886,7 +886,7 @@
border-right:1px solid #b4bbc2;
padding: 5px;
}
-div.op_detail_frame {
+body.op_detail_frame ,div.op_detail_frame {
background-color:#e4e7ed;
height:100%; width:100%;
Modified: phpcompta/tags/rel600/html/style-epad.css
===================================================================
--- phpcompta/tags/rel600/html/style-epad.css 2012-03-22 19:17:37 UTC (rev
4786)
+++ phpcompta/tags/rel600/html/style-epad.css 2012-03-22 19:35:42 UTC (rev
4787)
@@ -881,7 +881,7 @@
border-right:1px solid #b4bbc2;
padding: 5px;
}
-div.op_detail_frame {
+body.op_detail_frame ,div.op_detail_frame {
background-color:#e4e7ed;
height:100%; width:100%;
Modified: phpcompta/tags/rel600/html/style-light.css
===================================================================
--- phpcompta/tags/rel600/html/style-light.css 2012-03-22 19:17:37 UTC (rev
4786)
+++ phpcompta/tags/rel600/html/style-light.css 2012-03-22 19:35:42 UTC (rev
4787)
@@ -882,7 +882,7 @@
border-right:1px solid #b4bbc2;
padding: 5px;
}
-div.op_detail_frame {
+body.op_detail_frame,div.op_detail_frame {
background-color:#e4e7ed;
height:100%; width:100%;
Modified: phpcompta/tags/rel600/html/style.css
===================================================================
--- phpcompta/tags/rel600/html/style.css 2012-03-22 19:17:37 UTC (rev
4786)
+++ phpcompta/tags/rel600/html/style.css 2012-03-22 19:35:42 UTC (rev
4787)
@@ -877,7 +877,7 @@
border-right:1px solid #b4bbc2;
padding: 5px;
}
-div.op_detail_frame {
+body.op_detail_frame,div.op_detail_frame {
background-color:#e4e7ed;
height:100%; width:100%;
Modified: phpcompta/tags/rel600/include/template/ledger_detail_file.php
===================================================================
--- phpcompta/tags/rel600/include/template/ledger_detail_file.php
2012-03-22 19:17:37 UTC (rev 4786)
+++ phpcompta/tags/rel600/include/template/ledger_detail_file.php
2012-03-22 19:35:42 UTC (rev 4787)
@@ -1,5 +1,5 @@
<?
-/**
+/**
address@hidden show an iframe, the iframe contains either
* - a input type to save a file
* - a file name (which can be opened or removed
@@ -7,5 +7,5 @@
$str='?'.dossier::get()."&div=$div&act=file&jr_id=$jr_id";
?>
<div class="noprint">
-<iframe frameborder=0 scrolling="no"
style="border:0;width:248;height:22;overflow:hidden" src="<? echo
'ajax_ledger.php'.$str; ?>"> </iframe>
+<iframe frameborder=0 scrolling="no" style="margin:0;padding:
0;border:0;width:100%;height:90;overflow:hidden" src="<? echo
'ajax_ledger.php'.$str; ?>"></iframe>
</div>
\ No newline at end of file
---
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] r4787 - in phpcompta/tags/rel600: html include/template,
phpcompta-dev <=