Skip to content

Commit

Permalink
Add icons to HTML pages
Browse files Browse the repository at this point in the history
  • Loading branch information
reedy committed Jul 19, 2023
1 parent 66dcf11 commit e98d1b2
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions down.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<html>
<head>
<title>OpenFlights is currently down for scheduled maintenance</title>
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
</head>
<body>
<center>
<p><img src="img/openflights-logo.png" alt="OpenFlights logo"/></p>
Expand Down
1 change: 1 addition & 0 deletions help/airline.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="/css/style_reset.min.css" type="text/css">
<link rel="stylesheet" href="/openflights.css" type="text/css">
<link rel="gettext" type="application/x-po" href="/locale/<?php echo $locale; ?>/LC_MESSAGES/messages.po" />
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions help/airport.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="/css/style_reset.min.css" type="text/css">
<link rel="stylesheet" href="/openflights.css" type="text/css">
<link rel="gettext" type="application/x-po" href="/locale/<?php echo $locale; ?>/LC_MESSAGES/messages.po" />
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions help/csv.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="/css/style_reset.min.css" type="text/css">
<link rel="stylesheet" href="/openflights.css" type="text/css">
<link rel="gettext" type="application/x-po" href="/locale/<?php echo $locale; ?>/LC_MESSAGES/messages.po" />
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions help/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="/css/style_reset.min.css" type="text/css">
<link rel="stylesheet" href="/openflights.css" type="text/css">
<link rel="gettext" type="application/x-po" href="/locale/<?php echo $locale; ?>/LC_MESSAGES/messages.po" />
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions help/privacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="/css/style_reset.min.css" type="text/css">
<link rel="stylesheet" href="/openflights.css" type="text/css">
<link rel="gettext" type="application/x-po" href="/locale/<?php echo $locale; ?>/LC_MESSAGES/messages.po" />
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions help/resetpw.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" href="/css/style_reset.min.css" type="text/css">
<link rel="stylesheet" href="/openflights.css" type="text/css">
<link rel="gettext" type="application/x-po" href="/locale/<?php echo $locale; ?>/LC_MESSAGES/messages.po" />
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions help/time.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" href="/openflights.css" type="text/css">
<link rel="stylesheet" href="/css/help.css" type="text/css">
<link rel="gettext" type="application/x-po" href="/locale/<?php echo $locale; ?>/LC_MESSAGES/messages.po" />
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions help/trip.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="/css/style_reset.min.css" type="text/css">
<link rel="stylesheet" href="/openflights.css" type="text/css">
<link rel="gettext" type="application/x-po" href="/locale/<?php echo $locale; ?>/LC_MESSAGES/messages.po" />
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions html/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="/css/style_reset.min.css" type="text/css">
<link rel="stylesheet" href="/openflights.css" type="text/css">
<link rel="gettext" type="application/x-po" href="/locale/<?php echo $locale; ?>/LC_MESSAGES/messages.po" />
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions html/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<link rel="stylesheet" href="/css/signup.css" type="text/css">
<link rel="stylesheet" href="/openflights.css" type="text/css">
<link rel="gettext" type="application/x-po" href="/locale/<?php echo $locale;?>/LC_MESSAGES/messages.po" />
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
<script type="text/javascript" src="/js/md5.min.js"></script>
<script type="text/javascript" src="/js/functions.js"></script>
<script type="text/javascript" src="/js/Gettext.min.js"></script>
Expand Down
1 change: 1 addition & 0 deletions html/trip.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<link rel="stylesheet" href="/css/style_reset.min.css" type="text/css">
<link rel="stylesheet" href="/openflights.css" type="text/css">
<link rel="gettext" type="application/x-po" href="/locale/<?php echo $locale; ?>/LC_MESSAGES/messages.po" />
<link rel="icon" type="image/png" href="/img/icon_favicon.png"/>
<script type="text/javascript" src="/js/Gettext.min.js"></script>
<script type="text/javascript" src="/js/trip.js"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion php/locale.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

// This probably isn't necessary, and the function should just be removed.
// But in modern packaged PHP (Debian and Ubuntu, at least), php-common includes
// getttext (though, potentially not enabled by default). Composer at install time
// gettext (though, potentially not enabled by default). Composer at install time
// But not run time, requires ext-gettext to be installed anyway, but of course,
// it could be technically ignored by `--ignore-platform-reqs`...
if (!function_exists('_')) {
Expand Down

0 comments on commit e98d1b2

Please sign in to comment.