Fix title and add possibility to modify it

Signed-off-by: Sander Lepik <sander@lepik.eu>
This commit is contained in:
Sander Lepik
2016-06-22 18:38:29 +03:00
parent 55984eea1b
commit 84a26808a6
3 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
<?php <?php
//Set title for your image and mp4 hosting service
define('TITLE', 'PictShare');
//If set, can be added to any image URL to delete the image and all versions of the image //If set, can be added to any image URL to delete the image and all versions of the image
//Must be longer than 10 characters //Must be longer than 10 characters
//Usage example: //Usage example:

View File

@@ -3,7 +3,7 @@
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--> <html class="no-js"> <!--<![endif]--> <!--[if (gt IEMobile 7)|!(IEMobile)]><!--> <html class="no-js"> <!--<![endif]-->
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title><?php echo $title; ?></title> <title><?php echo TITLE; ?></title>
<meta name="description" content=""> <meta name="description" content="">
<meta name="HandheldFriendly" content="True"> <meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320"> <meta name="MobileOptimized" content="320">

View File

@@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<title>PictShare</title> <title><?php echo TITLE; ?></title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="copyright" content="Copyright <?php echo date("Y"); ?> PictShare" /> <meta name="copyright" content="Copyright <?php echo date("Y"); ?> PictShare" />
<meta id="viewport" name="viewport" content="width=<?php echo $width ?>, user-scalable=yes" /> <meta id="viewport" name="viewport" content="width=<?php echo $width ?>, user-scalable=yes" />