Skip to content

Commit 6b8d1ec

Browse files
committed
Added $id variables in all files and removed $TITLE
Titles, Descriptions and Contributers are now automatically chosen from the database based on the id given in each page. This id has now been added and the redundant title variable removed.
1 parent 17f6dd3 commit 6b8d1ec

18 files changed

+18
-18
lines changed

article/braillenote-touch-vs-esytime-1.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "BrailleNote Touch VS EsyTime (1)?";
5+
$id = 23;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head>

article/braillenote-touch-vs-esytime-2.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "BrailleNote Touch VS EsyTime (1)?";
5+
$id = 25;
66
include_once("../includes/headers.inc.php");
77
?>
88
<meta name="generator" content="LibreOffice 5.1.4.2 (Linux)"/>

article/state-of-linux-accessibility.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "State of Linux Accessibility";
5+
$id = 24;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head>

article/webbie-programs.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "The Webbie Browser and Tools";
5+
$id = 22;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head>

article/what-is-linux.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "What Is Linux?";
5+
$id = 21;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head>

blog.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "Blog";
5+
$id = 13;
66
include_once("includes/headers.inc.php");
77
?>
88
</head><body>

category/devices.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "Devices";
5+
$id = 3;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head><body>

category/downloads.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "Downloads";
5+
$id = 10;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head><body>

category/operating-systems.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "Operating Systems";
5+
$id = 7;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head><body>

category/software.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "Software";
5+
$id = 8;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head><body>

chat.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "Chat/Contact";
5+
$id = 12;
66
include_once("includes/headers.inc.php");
77
?>
88
</head><body>

contributing.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "How to Contribute";
5+
$id = 27;
66
include_once("includes/headers.inc.php");
77
?>
88
</head><body>

download/blind-installer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "What Is Linux?";
5+
$id = 26;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head>

home.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "Home";
5+
$id = 1;
66
include_once("includes/headers.inc.php");
77
?>
88
</head>

irc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "IRC";
5+
$id = 15;
66
include_once("includes/headers.inc.php");
77
?>
88
</head><body>

video/mac-os-10.12-video.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "OS10.12";
5+
$id = 18;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head><body>

video/ubuntu-17.10-video.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "Ubuntu 17.10";
5+
$id = 20;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head><body>

video/ubuntu-mate-16.04-video.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<?php
5-
$TITLE = "Ubuntu Mate 16.04";
5+
$id = 19;
66
include_once("../includes/headers.inc.php");
77
?>
88
</head><body>

0 commit comments

Comments
 (0)