Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Community

[maemo2midgard] Breadcrumbs problem

 

 

Maemo community RSS feed   Index | Next | Previous | View Threaded


maemo at breet

Jan 10, 2007, 4:40 AM

Post #1 of 2 (54 views)
Permalink
[maemo2midgard] Breadcrumbs problem

Hi,

I noticed that the breadcrumbs aren't links in Firefox and Opera on the
770, because the href uses single quotes instead of double qoutes. I don't
have access to the breadcrumb code, so that is why I mention in here.

Can somebody change that on test.maemo.org?

Thanks,

- Niels


henri.bergius at nemein

Jan 10, 2007, 3:46 AM

Post #2 of 2 (52 views)
Permalink
[maemo2midgard] Breadcrumbs problem [In reply to]

Niels Breet wrote:
> Hi,

Hi!

> I noticed that the breadcrumbs aren't links in Firefox and Opera on the
> 770, because the href uses single quotes instead of double qoutes. I don't
> have access to the breadcrumb code, so that is why I mention in here.

Single quotes are actually valid for XHTML...
http://lists.xml.org/archives/xml-dev/200402/msg00204.html

In any case, I've modified the breadcrumb helper code in Midgard SVN:

--- midcom.core/midcom/helper/nav.php (revision 4899)
+++ midcom.core/midcom/helper/nav.php (working copy)
@@ -515,7 +515,7 @@
{
if ($current_class !== null)
{
- $result .= "<span
class='{$current_class}'>{$data[MIDCOM_NAV_NAME]}</span>";
+ $result .= "<span
class=\"{$current_class}\">{$data[MIDCOM_NAV_NAME]}</span>";
}
else
{
@@ -524,8 +524,8 @@
}
else
{
- $result .= "<a href='{$data[MIDCOM_NAV_URL]}'"
- . (is_null($class) ? '' : " class='{$class}'")
+ $result .= "<a href=\"{$data[MIDCOM_NAV_URL]}\""
+ . (is_null($class) ? '' : " class=\"{$class}\"")
. ">{$data[MIDCOM_NAV_NAME]}</a>{$separator}";
}
}


> - Niels

/Henri

Maemo community RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.