Closed Bug 275906 Opened 20 years ago Closed 20 years ago

Previews page shows strings $preview_width and $preview_height

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Bugzilla-alanjstrBugs, Assigned: Bugzilla-alanjstrBugs)

References

()

Details

Attachments

(1 file)

At the bottom of the previews page, it doesn't have the variables for
$preview_width x $preview_height replaced.

Forgot to wrap the variables in <?php ?>
Also uses variables for min and max
Assignee: psychoticwolf → Bugzilla-alanjstrBugs
Status: NEW → ASSIGNED
Attachment #169503 - Flags: first-review?(psychoticwolf)
Attachment #169503 - Flags: first-review?(psychoticwolf) → first-review?(cst)
Attachment #169503 - Flags: first-review?(cst) → first-review?(cbeard)
Comment on attachment 169503 [details] [diff] [review]
wrap variables in php code

Looks fine to me. :-)

Though I do wonder why the two form lines are being split like they are, if its
for length, then perhaps there's a better way to split them to not look so,
odd. Otherwise they should be on one line. :-)
Attachment #169503 - Flags: first-review?(cbeard) → first-review+
Comment on attachment 169503 [details] [diff] [review]
wrap variables in php code

+strict size requirements of <?php echo $preview_width . " x " . 
+$preview_height; ?>.<br><br> 

You don't have to echo variables outside of quotes and concat them together.
<?php echo"$preview_width x $preview_height"; ?> is valid. Not sure if one is
faster than the other though.
Checking in mozilla/webtools/update/developers/previews.php;
/cvsroot/mozilla/webtools/update/developers/previews.php,v  <--  previews.php
new revision: 1.9; previous revision: 1.8
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
On branch:
Checking in mozilla/webtools/update/developers/previews.php;
/cvsroot/mozilla/webtools/update/developers/previews.php,v  <--  previews.php
new revision: 1.8.2.1; previous revision: 1.8
done
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: