OSDN Git Service

apple-touch-icon を更新。不要になったコードの整理。
authorKana Koda <kodakana@users.sourceforge.jp>
Wed, 31 Dec 2014 04:44:07 +0000 (13:44 +0900)
committerKana Koda <kodakana@users.sourceforge.jp>
Wed, 31 Dec 2014 04:44:07 +0000 (13:44 +0900)
about.php
apple-touch-icon.png
coco.php
config.php
entries.php
entry.php
keywords.php
login.php
post_processor.php

index 2738aa5..8c8ab37 100644 (file)
--- a/about.php
+++ b/about.php
@@ -1,6 +1,6 @@
 <?php
 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
-//(c) 2012 YANMAH2 project
+//(c) 2014 YANMAH2 project
 //This program is freesoftware. you can redistribute it and/or modify it under the terms of the [GNU Affero GPL v3](http://www.gnu.org/licenses/agpl.html).
 ?>
 <?php
@@ -42,7 +42,9 @@ $echo = <<<EOL
        <title>{$product_name_abbr} について - {$site_name}</title>
        <link rel="stylesheet" href="{$style_sheet}" />
        <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
-       <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /></head>
+       <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
+       <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
+</head>
 <body>
 <div id="page">
 EOL;
index e043497..4128a99 100644 (file)
Binary files a/apple-touch-icon.png and b/apple-touch-icon.png differ
index 5afb85a..b222dc6 100644 (file)
--- a/coco.php
+++ b/coco.php
@@ -97,7 +97,9 @@ $echo = <<<EOL
        <title>{$page_head} - {$site_name} {$site_name_caption}</title>
        <link rel="stylesheet" href="{$style_sheet}" />
        <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
-       <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /></head>
+       <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
+       <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
+</head>
 <body>
 EOL;
 ?>
index f3048e4..e3f7c4e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
-//(c) 2012 YANMAH2 project
+//(c) 2014 YANMAH2 project
 //This program is freesoftware. you can redistribute it and/or modify it under the terms of the [GNU Affero GPL v3](http://www.gnu.org/licenses/agpl.html).
 ?>
 <?php
@@ -156,7 +156,9 @@ $echo = <<<EOL
        <title>{$page_head} - {$site_name} {$site_name_caption}</title>
        <link rel="stylesheet" href="{$style_sheet}" />
        <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
-       <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /></head>
+       <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
+       <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
+</head>
 <body>
 <div id="page">
 EOL;
index 24c1425..b1a7344 100644 (file)
@@ -183,6 +183,7 @@ $echo = <<<EOL
        <link rel="stylesheet" href="{$style_sheet}" />
        <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
        <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
+       <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
 
 EOL;
 if (isset($starisjs) && $starisjs == '1'){
index 1569c49..1e4f9f2 100644 (file)
--- a/entry.php
+++ b/entry.php
@@ -94,6 +94,7 @@ $echo = <<<EOL
        <link rel="stylesheet" href="{$style_sheet}" />
        <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
        <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
+       <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
 
 EOL;
 if (isset($starisjs) && $starisjs == '1'){
index d1aac3b..379aef7 100644 (file)
@@ -102,7 +102,9 @@ $echo = <<<EOL
        <title>{$page_head} - {$site_name}{$site_name_caption}</title>
        <link rel="stylesheet" href="{$style_sheet}" />
        <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
-       <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /></head>
+       <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
+       <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
+</head>
 <body>
 <div id="page">
 EOL;
index fa241cb..0e58046 100644 (file)
--- a/login.php
+++ b/login.php
@@ -64,6 +64,7 @@ $echo = <<<EOL
        <link rel="stylesheet" href="{$style_sheet}" />
        <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
        <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
+       <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
 </head>
 <body>
 <div id="page">
index 73d368d..1ea6aa2 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
-//(c) 2012 YANMAH2 project
+//(c) 2014 YANMAH2 project
 //This program is freesoftware. you can redistribute it and/ormodify it under the terms of the [GNU Affero GPL v3](http://www.gnu.org/licenses/agpl.html).
 ?>
 <?php defined("HELLO") or exit(); ?>
@@ -11,11 +11,11 @@ if ($post_posting == 'favo'){
   $post_entry = $_POST['entry'];
   $api = "{$api_base_url}favorites/create/{$post_entry}.xml?body_formats=html_touch,api";
   unset($_POST['entry']);
-} elseif ($post_posting == 'hateb'){
-  $post_url = $_POST['url'];
-  $post_comment = $_POST['comment'];
-  $api = "http://b.hatena.ne.jp/atom/post";
-  unset($_POST['url'], $_POST['comment']);
+// } elseif ($post_posting == 'hateb'){
+//   $post_url = $_POST['url'];
+//   $post_comment = $_POST['comment'];
+//   $api = "http://b.hatena.ne.jp/atom/post";
+//   unset($_POST['url'], $_POST['comment']);
 } else {
   if ($_POST['status'] == ''){
        if (isset($_POST['keyword']) && $_POST['keyword'] != ''){
@@ -68,7 +68,7 @@ $_SESSION['post_to'] = 'haiku';
          $post_return = preg_replace("/^([^#]+)(#.*)/u", "\${1}", $post_return);
 //       $_SESSION['post_session'] = $json['session'];
   }
-} elseif ($post_posting == 'hateb'){
+}/* elseif ($post_posting == 'hateb'){
   $_SESSION['post_to'] = 'hateb';
   $post_comment = mb_convert_encoding($post_comment, 'UTF-8', $charcode);
   $body = <<<EOL
@@ -88,7 +88,7 @@ EOL;
        $_SESSION['post_result_mes'] = 'ブックマークを投稿しました。';
        $_SESSION['post_body'] = $xml['body'];
   }
-}
+}*/
 // if ($device_who == 'android' && preg_match("/(1\.6)|(1\.5)/", $_SERVER['HTTP_USER_AGENT'])){
 //   $post_return = htmlspecialchars($post_return, ENT_QUOTES);
 //   echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n";