Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: kamil-tekiela Date: 2023-12-07T15:01:52+01:00
Commit: https://github.com/php/web-php/commit/00342c402f889aacab76f0ce6ecc9cecbfbbe256 Raw diff: https://github.com/php/web-php/commit/00342c402f889aacab76f0ce6ecc9cecbfbbe256.diff Fix: Remove vim instruction (#880) Changed paths: M build-setup.php M downloads.php M error.php M get-involved.php M gpg-keys.php M include/ip-to-country.inc M include/langchooser.inc M include/layout.inc M include/shared-manual.inc M include/version.inc M index.php M js/common.js M js/search.js M search.php M styles/theme-base.css M styles/theme-medium.css M submit-event.php Diff: diff --git a/build-setup.php b/build-setup.php index 417ab85944..6c248da2a1 100644 --- a/build-setup.php +++ b/build-setup.php @@ -173,5 +173,3 @@ </div> <?php site_footer(['sidebar' => $SIDEBAR_DATA]); - -/* vim: set et ts=4 sw=4 ft=php: : */ diff --git a/downloads.php b/downloads.php index 9dc2f23def..eaf7452d24 100644 --- a/downloads.php +++ b/downloads.php @@ -1,4 +1,4 @@ -<?php // vim: et +<?php $_SERVER['BASE_PAGE'] = 'downloads.php'; include_once __DIR__ . '/include/prepend.inc'; include_once __DIR__ . '/include/gpg-keys.inc'; diff --git a/error.php b/error.php index 7291bfc012..ca63e9af42 100644 --- a/error.php +++ b/error.php @@ -713,6 +713,3 @@ '/search.php?show=' . $fallback . '&lang=' . urlencode($LANG) . '&pattern=' . substr($_SERVER['REQUEST_URI'], 1), ); -/* - * vim: set et ts=4 sw=4 ft=php: : - */ diff --git a/get-involved.php b/get-involved.php index adfcc6a2de..8df36b5069 100644 --- a/get-involved.php +++ b/get-involved.php @@ -81,5 +81,3 @@ '; site_footer(['sidebar' => $SIDEBAR_DATA]); - -/* vim: set et ts=4 sw=4 ft=php: : */ diff --git a/gpg-keys.php b/gpg-keys.php index eaea085365..7cad2a0e6e 100644 --- a/gpg-keys.php +++ b/gpg-keys.php @@ -1,4 +1,4 @@ -<?php // vim: et +<?php $_SERVER['BASE_PAGE'] = 'gpg-keys.php'; include_once __DIR__ . '/include/prepend.inc'; include_once __DIR__ . '/include/gpg-keys.inc'; diff --git a/include/ip-to-country.inc b/include/ip-to-country.inc index 746d2ca50d..b348a00991 100644 --- a/include/ip-to-country.inc +++ b/include/ip-to-country.inc @@ -219,5 +219,3 @@ function i2c_realip() // Return with the found IP or the remote address return $ip ?: $_SERVER['REMOTE_ADDR']; } - -/* vim: set et ts=4 sw=4 ft=php: : */ diff --git a/include/langchooser.inc b/include/langchooser.inc index 09ef06b545..f86ef8e83f 100644 --- a/include/langchooser.inc +++ b/include/langchooser.inc @@ -201,5 +201,3 @@ function language_accept_order($a, $b) if ($a[1] == $b[1]) { return 0; } return ($a[1] > $b[1]) ? -1 : 1; } - -/* vim: set noet ts=4 sw=4 ft=php: : */ diff --git a/include/layout.inc b/include/layout.inc index 0b85862704..89b1d2dbe7 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -609,5 +609,3 @@ function doc_toc_title($lang, $index, $file, $elm = "dt"): void { } echo "<$elm><a href='/manual/$lang/$link'>$title</a></$elm>\n"; } - -/* vim: set et ts=4 sw=4 ft=php: : */ diff --git a/include/shared-manual.inc b/include/shared-manual.inc index ff8f81f889..a686b15cef 100644 --- a/include/shared-manual.inc +++ b/include/shared-manual.inc @@ -412,5 +412,3 @@ function relTime(DateTime $date) { } return $out; } - -/* vim: set et ts=4 sw=4: */ diff --git a/include/version.inc b/include/version.inc index 8f21b0e85a..75afdc8463 100644 --- a/include/version.inc +++ b/include/version.inc @@ -1,4 +1,4 @@ -<?php // vim: et +<?php /* The format is: * array( * "major release number" => array( diff --git a/index.php b/index.php index 9500af78b6..6d0f708c44 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,4 @@ -<?php // vim: et +<?php (function ($uri): void { // Special redirect cases not able to be captured in error.php $shortcuts = [ diff --git a/js/common.js b/js/common.js index 052c34e743..1fc6b4494f 100644 --- a/js/common.js +++ b/js/common.js @@ -739,5 +739,3 @@ function getLanguage() { $link.attr('href', $link.attr('href') + window.location.hash); }); })(jQuery); - -// vim: set ts=4 sw=4 et: diff --git a/js/search.js b/js/search.js index e441760069..37fc0ea16f 100644 --- a/js/search.js +++ b/js/search.js @@ -401,5 +401,3 @@ return this; }; })(jQuery); - -// vim: set ts=4 sw=4 et: diff --git a/search.php b/search.php index b5aa1ce0ba..fb963474c4 100644 --- a/search.php +++ b/search.php @@ -1,4 +1,4 @@ -<?php // vim: et +<?php $_SERVER['BASE_PAGE'] = 'search.php'; include_once __DIR__ . '/include/prepend.inc'; diff --git a/styles/theme-base.css b/styles/theme-base.css index 01164945cb..ad37598b06 100644 --- a/styles/theme-base.css +++ b/styles/theme-base.css @@ -1,4 +1,3 @@ -/* vim: set et ts=4 sw=4 fdm=marker nocin: : */ /*! * Bootstrap v2.3.2 * @@ -1895,5 +1894,3 @@ aside.tips div.inner { /* }}} */ - -/* vim: set ts=2 sw=2 et: */ diff --git a/styles/theme-medium.css b/styles/theme-medium.css index 1dc7a9130f..a193ed89eb 100644 --- a/styles/theme-medium.css +++ b/styles/theme-medium.css @@ -603,4 +603,3 @@ div.elephpants img:focus { .thanks__description { margin: 0 } -/* vim: set ts=2 sw=2 et: */ diff --git a/submit-event.php b/submit-event.php index 7dd800b9d4..55b51ce8a0 100644 --- a/submit-event.php +++ b/submit-event.php @@ -274,5 +274,4 @@ function display_options($options, $current): void } } -/* vim: set et ts=4 sw=4 ft=php: : */ ?> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php