Closed Bug 280093 Opened 20 years ago Closed 20 years ago

Update "Add to Sidbar" HTML text and JS addsidebar() function

Categories

(Bugzilla :: Bugzilla-General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: benc, Assigned: annevk)

References

()

Details

Attachments

(2 files, 1 obsolete file)

If you look in lxr, you see that "Add to sidebar", which appears on the home
page says:

 80     <li id="sidebar"><a href="javascript:addSidebar()">Add to Sidebar</a>
(Requires Mozilla or Netscape 6)</li>

We should mention Netscape 7 and Firefox, and at least update the reference to
Netscape 7.x.

Also, it might be nice to add some browser detection. When I use Camino, it
sends me to the mozilla link, thinking I can get an extension, from searching
the Camino-product, I don't think this exists.
see also bug 280092 for bmo-specific stuff related to this issue.
Attached patch patch #1 (obsolete) — Splinter Review
This fixes the link. (It was a 301.) Removes some invalid markup (per HTML 4.01
Strict). And updates the line about which browser you need.
Assignee: general → bug
Status: NEW → ASSIGNED
Attachment #172871 - Flags: review?(justdave)
Attachment #172871 - Flags: review?(justdave) → review?(myk)
Comment on attachment 172871 [details] [diff] [review]
patch #1

>-<script type="text/javascript" language="JavaScript">
>+<script type="text/javascript">

Why remove the language attributes on all the script tags?  Aren't they
necessary for backwards compatibility?


>-      document.location.href = "http://www.mozilla.org/binaries.html";
>+      document.location.href = "http://www.mozilla.org/releases/";

Since the panel works with Firefox, we should recommend that and point this to
http://www.mozilla.org/ rather than the releases/ subdirectory, which is
specific to the Mozilla application suite.


>-    <li id="sidebar"><a href="javascript:addSidebar()">Add to Sidebar</a> (Requires Mozilla or Netscape 6)</li>
>+    <li id="sidebar"><a href="javascript:addSidebar()">Add to Sidebar</a> (Requires a Mozilla based browser like Mozilla Firefox)</li>

Nits: 

Requires -> requires

Mozilla based -> Mozilla-based or Mozilla
Attachment #172871 - Flags: review?(myk) → review-
Myk, that does not break backcompat. See also bug 280410.
Attached patch patch #2Splinter Review
I would love to remove the useless <div class="intro"></div> and <div
class="outro"></div> as well by the way.
Attachment #172871 - Attachment is obsolete: true
Attachment #174362 - Flags: review?(myk)
Comment on attachment 174362 [details] [diff] [review]
patch #2

r=myk

The Harisovs will be removing the intro and outro tags, I think, per bug
278125, comment 16.
Attachment #174362 - Flags: review?(myk) → review+
Flags: approval+
Checking in template/en/default/index.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/index.html.tmpl,v  <--  
index.html.tmpl
new revision: 1.19; previous revision: 1.18
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.20
Blocks: 280092
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: