phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: wiki/parse html.php,1.4,1.5


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: wiki/parse html.php,1.4,1.5
Date: Tue, 04 Mar 2003 16:52:55 -0500

Update of /cvsroot/phpgroupware/wiki/parse
In directory subversions:/tmp/cvs-serv13672

Modified Files:
        html.php 
Log Message:
have wiki-links underlined in spite of the phpgw-css-style


Index: html.php
===================================================================
RCS file: /cvsroot/phpgroupware/wiki/parse/html.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** html.php    4 Mar 2003 20:55:15 -0000       1.4
--- html.php    4 Mar 2003 21:52:51 -0000       1.5
***************
*** 88,113 ****
  function html_table_cell_end()
    { return '</td>'; }
! function html_time($time/*stamp*/)
  {
    global $TimeZoneOff;
!   if($time/*stamp*/ == '') { return 'never'; }
! /*$time = mktime(substr($timestamp, 8, 2),  substr($timestamp, 10, 2),
!                  substr($timestamp, 12, 2), substr($timestamp, 4, 2),
!                  substr($timestamp, 6, 2),  substr($timestamp, 0, 4));*/
    return date('D, d M Y H:i:s', $time + $TimeZoneOff * 60);
  }
! function html_gmtime($time/*stamp*/)
  {
- /*$time = mktime(substr($timestamp, 8, 2),  substr($timestamp, 10, 2),
-                  substr($timestamp, 12, 2), substr($timestamp, 4, 2),
-                  substr($timestamp, 6, 2),  substr($timestamp, 0, 4));*/
    return gmdate('Y-m-d', $time) . 'T' . gmdate('H:i:s', $time) . 'Z';
  }
! function html_timestamp($time/*stamp*/)
  {
    global $TimeZoneOff;
! /*  $time = mktime(substr($timestamp, 8, 2),  substr($timestamp, 10, 2),
!                  substr($timestamp, 12, 2), substr($timestamp, 4, 2),
!                  substr($timestamp, 6, 2),  substr($timestamp, 0, 4)); */
    return date('Y.m.d H:i:s', $time + $TimeZoneOff * 60);
  }
--- 88,106 ----
  function html_table_cell_end()
    { return '</td>'; }
! function html_time($time)
  {
    global $TimeZoneOff;
!   if($time == '') { return 'never'; }
!   
    return date('D, d M Y H:i:s', $time + $TimeZoneOff * 60);
  }
! function html_gmtime($time)
  {
    return gmdate('Y-m-d', $time) . 'T' . gmdate('H:i:s', $time) . 'Z';
  }
! function html_timestamp($time)
  {
    global $TimeZoneOff;
!   
    return date('Y.m.d H:i:s', $time + $TimeZoneOff * 60);
  }
***************
*** 135,139 ****
      if($SeparateLinkWords && $page == $appearance)
        { $appearance = html_split_name($page); }
!     return '<a href="' . viewURL($page) . $anchor . '"' . $hover . '>'
             . $appearance . $anchor_appearance . '</a>';
    }
--- 128,132 ----
      if($SeparateLinkWords && $page == $appearance)
        { $appearance = html_split_name($page); }
!     return '<a href="' . viewURL($page) . $anchor . '"' . $hover . ' 
class="wiki">'
             . $appearance . $anchor_appearance . '</a>';
    }
***************
*** 149,153 ****
  function html_interwiki($url, $text)
  {
!   return '<a href="' . $url . '">' . $text . '</a>';
  }
  function html_twin($base, $ref)
--- 142,146 ----
  function html_interwiki($url, $text)
  {
!   return '<a href="' . $url . '" class="wiki">' . $text . '</a>';
  }
  function html_twin($base, $ref)
***************
*** 155,159 ****
    global $pagestore;
  
!   return '<a href="' . $pagestore->interwiki($base) . $ref . '">' .
           '<span class="twin"><em>[' . $base . ']</em></span></a>';
  }
--- 148,152 ----
    global $pagestore;
  
!   return '<a href="' . $pagestore->interwiki($base) . $ref . '" 
class="wiki">' .
           '<span class="twin"><em>[' . $base . ']</em></span></a>';
  }
***************
*** 192,196 ****
  {
    return '<tr><td colspan="3"><strong><a href="' . historyURL($page, 1) .
!          '">' .  'See complete list (' . $count .
           ' entries)</a></strong></td></tr>';
  }
--- 185,189 ----
  {
    return '<tr><td colspan="3"><strong><a href="' . historyURL($page, 1) .
!          '" class="wiki">' .  'See complete list (' . $count .
           ' entries)</a></strong></td></tr>';
  }





reply via email to

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