[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: etemplate/inc class.html.inc.php,1.15,1.16 class
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.html.inc.php,1.15,1.16 class.uietemplate.inc.php,1.48,1.49 |
Date: |
Fri, 18 Oct 2002 17:33:43 -0400 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv27124
Modified Files:
class.html.inc.php class.uietemplate.inc.php
Log Message:
fix to distinguish between entities (eg. ü) and accesskeys lik &Delete
Index: class.html.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.html.inc.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** class.html.inc.php 17 Oct 2002 22:07:00 -0000 1.15
--- class.html.inc.php 18 Oct 2002 21:33:39 -0000 1.16
***************
*** 128,132 ****
$lang = lang($lang);
}
! if (($accesskey = strstr($lang,'&')) && $accesskey[1] != ' ')
{
$lang_u =
str_replace('&'.$accesskey[1],'<u>'.$accesskey[1].'</u>',$lang);
--- 128,133 ----
$lang = lang($lang);
}
! if (($accesskey = strstr($lang,'&')) && $accesskey[1] != ' ' &&
! (($pos = strpos($accesskey,';')) === False || $pos > 5))
{
$lang_u =
str_replace('&'.$accesskey[1],'<u>'.$accesskey[1].'</u>',$lang);
Index: class.uietemplate.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.uietemplate.inc.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -r1.48 -r1.49
*** class.uietemplate.inc.php 18 Oct 2002 20:19:58 -0000 1.48
--- class.uietemplate.inc.php 18 Oct 2002 21:33:39 -0000 1.49
***************
*** 769,773 ****
$label = lang($label);
}
! if (($accesskey = strstr($label,'&')) &&
$accesskey[1] != ' ' && $form_name != '')
{
$label =
str_replace('&'.$accesskey[1],'<u>'.$accesskey[1].'</u>',$label);
--- 769,774 ----
$label = lang($label);
}
! if (($accesskey = strstr($label,'&')) &&
$accesskey[1] != ' ' && $form_name != '' &&
! (($pos = strpos($accesskey,';')) === False
|| $pos > 5))
{
$label =
str_replace('&'.$accesskey[1],'<u>'.$accesskey[1].'</u>',$label);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.html.inc.php,1.15,1.16 class.uietemplate.inc.php,1.48,1.49,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: infolog/inc class.boinfolog.inc.php,1.26,1.27 class.solink.inc.php,1.8,1.9 class.uiinfolog.inc.php,1.52,1.53
- Next by Date:
[Phpgroupware-cvs] CVS: infolog/templates/default index.xet,1.1,1.2
- Previous by thread:
[Phpgroupware-cvs] CVS: infolog/inc class.boinfolog.inc.php,1.26,1.27 class.solink.inc.php,1.8,1.9 class.uiinfolog.inc.php,1.52,1.53
- Next by thread:
[Phpgroupware-cvs] CVS: infolog/templates/default index.xet,1.1,1.2
- Index(es):