Skip to content

Commit

Permalink
use CDN instead of local files
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushaway committed Nov 10, 2024
1 parent d71a584 commit 64dd390
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion web/install/template/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SourceBans++</title>
<link href="includes/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../scripts/fontawesome.min.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.6.0/css/all.css">
<script type="text/javascript" src="../scripts/mootools.js"></script>
<script type="text/javascript" src="./scripts/sourcebans.js"></script>
<link rel="Shortcut Icon" href="./images/favicon.ico">
Expand Down
6 changes: 0 additions & 6 deletions web/scripts/fontawesome.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion web/themes/default/core/header.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$title}</title>
<link rel="Shortcut Icon" href="themes/{$theme}/images/favicon.ico" />
<script type="text/javascript" src="./scripts/fontawesome.min.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.6.0/css/all.css">
<script type="text/javascript" src="./scripts/sourcebans.js"></script>
<link href="themes/{$theme}/css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="./scripts/mootools.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion web/themes/default/page_uploadfile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<head>
<title>Upload File : SourceBans</title>
<link rel="Shortcut Icon" href="../images/favicon.ico" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.6.0/css/all.css">
</head>
<body bgcolor="e9e9e9" style="
background-repeat: repeat-x;
Expand All @@ -25,6 +26,5 @@ Plese select the file to upload. The file must either be {$formats} file format.
margin: 0 0.5em;" type="submit"><i class="fas fa-save"></i> Save</button>

</form>
<script type="text/javascript" src="../scripts/fontawesome.min.js"></script>
</body>
</html>

0 comments on commit 64dd390

Please sign in to comment.