TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 3,014
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 443
  • Total: 443

[bugtracker] css error for links - missing space before target=

Started by akyhne, May 13, 2009, 01:00:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Akyhne

This is ok. There's a space in '" ' to separate target="_blank":

<a href="'. $scripturl. '?cat='.$cn['IDtype'].'" ' .( $cn['newlink']=='1' ? 'target="_blank"' : ''). '>'.$cn['name'].'</a>';


This is not ok. A space is missing in '"' to separate target="_blank":
<a href="'. $scripturl. '?page='.$cn['IDtype'].'"' .($cn['newlink']=='1' ? 'target="_blank"' : '') . '>'.$cn['name'].'</a>';
There are 5 or 6 of these errors in TPBlocks.template.php

G6Cad

cat and page arent the same
What you show as correct are for "cat" and what you show as wrong are for "page"

IchBin

cat and page don't need to be the same G6. This person is showing an error in the code. They have given an example of code that is right, and then an example of the code that is wrong. Thanks for pointing that out akyhne, I'll try to jump in and make those changes so they get released in the next beta.

bloc

- Missing spaces in the Menu manager block code. Fixed for v1.0 beta4

IchBin

Apparently Bloc's $foo is far faster than I could have imagined.... I haven't even opened my editor yet... lol

Ken.

Ah... so...

Then...
If Bloc is the $foo Master... do this mean that IchBinâ„¢ is the Grasshopper?  ???
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

bloc

lol, saw it earlier and as it was easy corrected: quickly added. :)

IchBin

Quote from: Ken. on May 13, 2009, 05:38:33 PM
Ah... so...

Then...
If Bloc is the $foo Master... do this mean that IchBinâ„¢ is the Grasshopper?  ???
That would indeed be the case. lol

Renegd98

Quote from: IchBinâ„¢ on May 13, 2009, 06:58:12 PM
Quote from: Ken. on May 13, 2009, 05:38:33 PM
Ah... so...

Then...
If Bloc is the $foo Master... do this mean that IchBinâ„¢ is the Grasshopper?  ???
That would indeed be the case. lol

LOL... How you doing grasshopper...   :2funny:

Ianedres


G6Cad

Ah, sorry, i thought the code were diffrent for diffrent calls. Live and learn  :P

This website is proudly hosted on Crocweb Cloud Website Hosting.