Post by ogun » Fri Aug 17, 2007 9:31 am

Is anyone else looking at tweaks for HTML validation? Been trying to get green across the board in 'Tidy', .e.g. in 'library\environment\url.php':
[php]
    if ($action) {
//$link .= '&action=' . $action;
      $link .= '&action=' . $action;
    }
   
foreach ($query as $key => $value) {
if ($value) {
//$link .= '&' . $key . '=' . urlencode($value);
    $link .= '&' . $key . '=' . urlencode($value);
  }
}
[/php]
providing a summary attribute for tables, titles for links etc,.
Last edited by ogun on Fri Aug 17, 2007 9:36 am, edited 1 time in total.

Active Member

Posts

Joined
Tue Aug 14, 2007 6:04 am

Post by Daniel » Fri Aug 17, 2007 4:25 pm

I have tried somthing like this before and found that the redirects cause problems.

You can try user / instead of & and then altering the request class to read the /.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: No registered users and 1 guest