Skip to content

Commit

Permalink
Added a global service function
Browse files Browse the repository at this point in the history
  • Loading branch information
HyphenHook committed Apr 24, 2024
1 parent aa19eb1 commit 7457249
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion 403.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

</head>
<body>
<?php embedGoogleAnalytics(); ?>
<?php embedServices(); ?>
<div id="page" class="page">

<div class="pixfort_normal_1" id="section_header_1_dark">
Expand Down
2 changes: 1 addition & 1 deletion 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

</head>
<body>
<?php embedGoogleAnalytics(); ?>
<?php embedServices(); ?>
<div id="page" class="page">

<div class="pixfort_normal_1" id="section_header_1_dark">
Expand Down
2 changes: 1 addition & 1 deletion 500.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

</head>
<body>
<?php embedGoogleAnalytics(); ?>
<?php embedServices(); ?>
<div id="page" class="page">

<div class="pixfort_normal_1" id="section_header_1_dark">
Expand Down
2 changes: 1 addition & 1 deletion 502.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

</head>
<body>
<?php embedGoogleAnalytics(); ?>
<?php embedServices(); ?>
<div id="page" class="page">

<div class="pixfort_normal_1" id="section_header_1_dark">
Expand Down
2 changes: 1 addition & 1 deletion 503.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

</head>
<body>
<?php embedGoogleAnalytics(); ?>
<?php embedServices(); ?>
<div id="page" class="page">

<div class="pixfort_normal_1" id="section_header_1_dark">
Expand Down
2 changes: 1 addition & 1 deletion 504.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

</head>
<body>
<?php embedGoogleAnalytics(); ?>
<?php embedServices(); ?>
<div id="page" class="page">

<div class="pixfort_normal_1" id="section_header_1_dark">
Expand Down
2 changes: 1 addition & 1 deletion admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ function enableShowHideMetadataColumn() {

</head>
<body>
<?php embedGoogleAnalytics(); ?>
<?php embedServices(); ?>
<div class="container">
<div class="row">
<div class="col-sm text-center">
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

</head>
<body>
<?php embedGoogleAnalytics(); ?>
<?php embedServices(); ?>
<div id="page" class="page">

<div class="pixfort_normal_1" id="section_header_1_dark">
Expand Down
3 changes: 3 additions & 0 deletions services.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php
function embedServices() {
embedGoogleAnalytics();
}
function embedGoogleAnalytics() {
// Put your Google Analytics code inbetween the EOTs
echo <<<EOT
Expand Down

0 comments on commit 7457249

Please sign in to comment.