The official website for the open-source compatibility layer fpPS4
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

small fixes + cleaning

+8 -73
+1 -1
public_html/index.html
··· 28 28 <meta property="og:description" content="fpPS4 is an open source PS4 compatibility layer written with Free Pascal for Windows."> 29 29 <meta property="og:image" content="https://fpps4.net/images/fpPS4-icon.png"> 30 30 <meta property="og:url" content="https://fpps4.net"> 31 - <link rel="stylesheet" href="./style.css"> 31 + <link rel="stylesheet" href="./style.css?v=01"> 32 32 <link rel="stylesheet" href="./sizes.css"> 33 33 <link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet"> 34 34 <link rel="icon" href="./images/fpPS4-icon.png" type="image/png">
+1
public_html/parts/navbar.html
··· 1 1 <style> 2 2 header { 3 + user-select: none; 3 4 box-sizing: border-box; 4 5 display: flex; 5 6 position: fixed;
-72
public_html/parts/navbar_old.html
··· 1 - <style> 2 - header { 3 - display: flex; 4 - position: fixed; 5 - align-items: center; 6 - justify-content: space-between; 7 - width: 97vw; 8 - height: 3rem; 9 - margin-top: 0.5rem; 10 - background-color: var(--main1); 11 - border: 0.05rem solid var(--border); 12 - border-radius: 0.5rem; 13 - box-shadow: 0 0.31rem 0.63rem 0 rgba(0, 0, 0, 0.5); 14 - z-index: 6; 15 - transition: all ease 0.2s; 16 - } 17 - 18 - header:hover {box-shadow: 0 0.31rem 0.94rem 0.31rem rgba(0, 0, 0, 0.5);} 19 - 20 - .logo { 21 - margin: 0 3.5vw; 22 - padding: 1.25rem 0.94rem !important; 23 - text-decoration: none; 24 - font-size: 1.5rem; 25 - color: var(--text); 26 - line-height: 0%; 27 - filter: invert(1); 28 - } 29 - .logo span {filter: invert(1);} /* fix text color */ 30 - 31 - .navbar-right { 32 - display: flex; 33 - justify-content: flex-end; 34 - align-items: center; 35 - line-height: 0%; 36 - margin: 0 3.5vw; 37 - gap: 0.5vw; 38 - filter: invert(1); 39 - } 40 - 41 - .gh-logo, .dc-logo, .menu-icon, .lightModeButton, .logo { 42 - cursor: pointer; 43 - border-radius: 0.5rem; 44 - } 45 - .smolImage {height: 1.5rem; width: 1.5rem;} 46 - .bigImage {height: 2.5rem; width: 2.5rem;} 47 - .gh-logo, .dc-logo {padding: 0.38rem;} /* fix icon hover */ 48 - .dc-logo {margin-right: 1.2vw;} 49 - 50 - .lightMode .navbar-right, .lightMode .logo {filter: invert(0);} /* light mode */ 51 - .lightMode .logo span {filter: invert(0);} /* light mode */ 52 - .menu-icon:hover, .gh-logo:hover, .dc-logo:hover, .lightModeButton:hover, .logo:hover {background-color: #00000014;}/* hover effect */ 53 - </style> 54 - <a href="https://fpps4.net" class="logo"> 55 - <span style="color: #fff53c; font-weight: 500;">fp</span><span style="font-weight: 500;">PS4</span> 56 - </a> 57 - <div class="navbar-right"> 58 - <a href="https://github.com/red-prig/fpPS4" class="gh-logo"> 59 - <img src="https://fpps4.net/parts/images/github.svg" class="smolImage" alt="Github logo"> 60 - </a> 61 - <a href="https://discord.com/invite/up9qatpX7M" target="_blank" class="dc-logo"> 62 - <img src="https://fpps4.net/parts/images/discord.svg" class="smolImage" alt="Discord logo"> 63 - </a> 64 - <div onclick="toggleMenu()" class="menu-icon"> 65 - <img src="https://fpps4.net/parts/images/menu.svg" id="menu-icon" class="bigImage" alt="Menu button"> 66 - <img src="https://fpps4.net/parts/images/close.svg" id="close-icon" style="display: none;" class="bigImage" alt="Close Menu button"> 67 - </div> 68 - <div onclick="toggleLightMode()" class="lightModeButton"> 69 - <img src="https://fpps4.net/parts/images/dark_mode.svg" id="darkModeIcon" style="opacity: 0;" class="bigImage" alt="Dark mode toggle"> 70 - <img src="https://fpps4.net/parts/images/light_mode.svg" id="lightModeIcon" style="display: none;" class="bigImage" alt="Light mode toggle"> 71 - </div> 72 - </div>
+6
public_html/scripts/issue_fetcher.php
··· 93 93 $tags = implode(', ', array_column($issue['labels'], 'name')); 94 94 $updatedDate = date('d/m/Y', strtotime($issue['updated_at'])); 95 95 96 + $id = filter_var($id, FILTER_VALIDATE_INT); 97 + $title = filter_var($title, FILTER_SANITIZE_STRING); 98 + $cusaCode = filter_var($cusaCode, FILTER_SANITIZE_STRING); 99 + $tags = filter_var($tags, FILTER_SANITIZE_STRING); 100 + $updatedDate = filter_var($updatedDate, FILTER_SANITIZE_STRING); 101 + 96 102 // Remove CUSA code from the title 97 103 $clean_title = preg_replace('/\b' . preg_quote($cusaCode, '/') . '\b/', '', $title); 98 104 $clean_title = preg_replace('/\s+-\s+/', ' - ', $clean_title);