/[phpcompta]/phpcompta/include/ac_common.php
ViewVC logotype

Diff of /phpcompta/include/ac_common.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by sparkyx, Sat Aug 27 21:03:06 2005 UTC revision 1.36 by sparkyx, Sat Sep 3 07:18:31 2005 UTC
# Line 154  function html_page_start($p_theme="",$p_ Line 154  function html_page_start($p_theme="",$p_
154   echo "<HEAD>   echo "<HEAD>
155        <TITLE> Gnu Accountancy</TITLE>        <TITLE> Gnu Accountancy</TITLE>
156        <META http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">        <META http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">
157        <LINK REL=\"stylesheet\" type=\"text/css\" href=\"$style\">        <LINK REL=\"stylesheet\" type=\"text/css\" href=\"$style\" media=\"screen\">
158          <link rel=\"stylesheet\" type=\"text/css\" href=\"style-print.css\" media=\"print\">
159          </HEAD><script src=\"scripts.js\" type=\"text/javascript\"></script>";          </HEAD><script src=\"scripts.js\" type=\"text/javascript\"></script>";
160   echo "<BODY $p_script>";   echo "<BODY $p_script>";
161  }  }
# Line 260  function ShowItem($p_array,$p_dir='V',$c Line 261  function ShowItem($p_array,$p_dir='V',$c
261    // direction Vertical    // direction Vertical
262    if ( $p_dir == 'V') {    if ( $p_dir == 'V') {
263      foreach ($p_array as $all=>$href){      foreach ($p_array as $all=>$href){
264        $ret.='<TR><TD CLASS="'.$class.'"><A class="'.$class_ref.'" HREF="'.$href[0].'">'.$href[1].'</A></TD></TR>';        $title="";
265          if ( isset ($href[2] ))
266            $title=$href[2];
267          $ret.='<TR><TD CLASS="'.$class.'"><A class="'.$class_ref.'" HREF="'.$href[0].'" title="'.$title.'">'.$href[1].'</A></TD></TR>';
268      }      }
269    }    }
270        //direction Horizontal        //direction Horizontal
271    else if ( $p_dir == 'H' ) {    else if ( $p_dir == 'H' ) {
272      $ret.="<TR>";      $ret.="<TR>";
273      foreach ($p_array as $all=>$href){      foreach ($p_array as $all=>$href){
274          $title="";
275          if ( isset ($href[2] ))
276            $title=$href[2];
277        if ( $default== $href[0]) {        if ( $default== $href[0]) {
278        $ret.='<TD CLASS="selectedcell">'.$href[1].'</TD>';        $ret.='<TD CLASS="selectedcell">'.$href[1].'</TD>';
279    
280        } else {        } else {
281        $ret.='<TD CLASS="'.$class.'"><A class="'.$class_ref.'" HREF="'.$href[0].'">'.$href[1].'</A></TD>';        $ret.='<TD CLASS="'.$class.'"><A class="'.$class_ref.'" HREF="'.$href[0].'" title="'.$title.'">'.$href[1].'</A></TD>';
282        }        }
283      }      }
284      $ret.="</TR>";      $ret.="</TR>";

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26