Skip to content

Commit

Permalink
w3 validator fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sunil committed Jul 12, 2024
1 parent c29be91 commit 0ecd25b
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 31 deletions.
26 changes: 13 additions & 13 deletions curiosity_browser.code-workspace
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"folders": [
{
"path": "."
},
{
"path": "../phpinc"
},
{
"path": "../phpinc/space"
},
{
"path": "../../js/jsinc"
}
],
{
"path": "."
},
{
"path": "../phpinc"
},
{
"path": "../../js/jsinc"
},
{
"path": "../spaceinc"
}
],
"settings": {
"editor.detectIndentation": false
}
Expand Down
2 changes: 1 addition & 1 deletion js/pages/detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ class cDetail {

// add the image
$('#image').empty()
const oImg = $('<img/>').attr({ src: oData.i, id: 'baseimg'})
const oImg = $('<img>').attr({ src: oData.i, id: 'baseimg'})
oImg.on("load", (poEvent)=>this.OnImageLoaded(poEvent))
$('#image').append(oImg)
$("meta[property='og:image']").attr('content', cLocations.home + '/' + oData.i) // facebook tag for image
Expand Down
2 changes: 1 addition & 1 deletion php/fragments/github.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="github"><center>
<table><tr>
<td><div class="about">
<p class="credits">Data courtesy MSSS/MSL/NASA/JPL-Caltech.<br/>Please note <a href="index.php#disclaim">site disclaimer</a></p>
<p class="credits">Data courtesy MSSS/MSL/NASA/JPL-Caltech.<br>Please note <a href="index.php#disclaim">site disclaimer</a></p>
<?php if (isset($sExtraCredits)){?>
<p class="credits"><?=$sExtraCredits?>.</p>
<?php }?>
Expand Down
4 changes: 2 additions & 2 deletions php/fragments/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
$oFBAppId = cFacebook_ServerSide::getAppID();
$sFBUser = cFacebook_ServerSide::getSessionUser();
?>
<meta property="fb:app_id" content="<?= $oFBAppId->id ?>" />
<meta property="fb:app_id" content="<?= $oFBAppId->id ?>" >

<!-- CSS -->
<link rel="icon" href="<?= $home ?>/images/browser/dude.ico" type="image/x-icon" />
<link rel="icon" href="<?= $home ?>/images/browser/dude.ico" type="image/x-icon" >
<LINK href="<?= $home ?>/css/app.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="<?= $jsExtra ?>/jquery-ui/jquery-ui.min.css">
<link rel="stylesheet" href="<?= $jsExtra ?>/jquery-spinner/css/gspinner.min.css">
Expand Down
2 changes: 1 addition & 1 deletion php/pages/detail.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<head>
<?php include("$AppPhpFragments/header.php"); ?>
<LINK href="<?=$home?>/css/drag.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="<?=$jsExtra?>/sceditor/minified/themes/default.min.css" type="text/css" media="all" />
<link rel="stylesheet" href="<?=$jsExtra?>/sceditor/minified/themes/default.min.css" type="text/css" media="all" >
<title>Detail: Curiosity Browser</title>
<script src="<?=$jsExtra?>/pixlr/pixlr.js"></script>
<script src="<?=$jsinc?>/ck-inc/comments.js"></script>
Expand Down
26 changes: 13 additions & 13 deletions php/pages/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ class cIndexPageConsts
<script src="<?= $AppJSWidgets ?>/tagcloud.js"></script>
<!-- end of scripts -->

<meta property="og:title" content="Curiosity Browser - " />
<meta property="og:image" content="http://www.mars-browser.co.uk/curiosity/images/rover.png" />
<meta property="og:description" content="Be part of the greatest exploration team ever. Discover great finds in the amazing images from NASA's Curiosity Rover and share your discoveries with the world." />
<meta property="og:title" content="Curiosity Browser - " >
<meta property="og:image" content="http://www.mars-browser.co.uk/curiosity/images/rover.png" >
<meta property="og:description" content="Be part of the greatest exploration team ever. Discover great finds in the amazing images from NASA's Curiosity Rover and share your discoveries with the world." >
</head>

<body onload="$( function(){ cIndexPage.onLoadJQuery()} );">
Expand Down Expand Up @@ -96,7 +96,7 @@ class cIndexPageConsts
</td>
<td id="right-column" valign="top" style="min-width:600px">
<div class="gold" id="header-pane">
<input type="textbox" id="<?= cIndexPageConsts::ID_SEARCH ?>" maxlength="30" size="30"><button class="rightbutton" onclick="onClickSearch()" title="Search for Product">Search</button>
<input type="text" id="<?= cIndexPageConsts::ID_SEARCH ?>" size="30"><button class="rightbutton" onclick="onClickSearch()" title="Search for Product">Search</button>
<input id="<?= cIndexPageConsts::ID_CHKTHUMBS ?>" type="checkbox">Show Thumbnails&nbsp;&nbsp;&nbsp;&nbsp;
<span class="subtitle"> Status: </span><span ID="<?= cIndexPageConsts::ID_STATUS ?>" class="status">Loading...</span>
</div>
Expand All @@ -110,30 +110,30 @@ class cIndexPageConsts
You might even be the one who discovers the next great scientific discovery of Mars.
<p>
And then let everyone know about your discoveries by sharing what you find.
<p />
<p>
<b>To get started</b>
<ol>
<li>select a <span class="subtitle">SOL</span> from the left hand list, or type it in the box above. (SOL represents the number of Mars days that Curiosity has been on Mars.)</li>
<li>Then select from the <span class="subtitle">instruments</span> shown for that SOL to see the amazing images.</li>
</ol>
</div>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;
<P>&nbsp;
<P>&nbsp;
<P>&nbsp;
<P>&nbsp;
<P>&nbsp;
<div class="cookie">
<b>An Appeal from the webmaster:</b> Have you got skills in PHP, Javascript or web design, or would love a project to help develop these skills?<br>
We <b>desperately</b> need your help in developing this platform so it becomes the leading place to interact with space science images.<br>
Please join us at <a href="https://github.com/open768/curiosity_browser">Github</a> or <a href="https://www.facebook.com/mars.features/">Facebook</a>.
</div>
<p />
<p>
<div class="cookie">
We are using cookies to give you the best experience on our site. Cookies are files stored in your browser and are used by most websites to help personalise your web experience.
By continuing to use our website without changing the settings, you are agreeing to our use of cookies.
</div>
<p />
<p>
<div class="disclaim">
<div class="subtitle">Dislaimer</div>
<ul>
Expand Down

0 comments on commit 0ecd25b

Please sign in to comment.