• R/O
  • HTTP
  • SSH
  • HTTPS

YANMAH2-season2-: Commit


Commit MetaInfo

Révision9a5c42c57496cb620d0ac1c78ef1d49dae269c68 (tree)
l'heure2014-12-31 13:44:07
AuteurKana Koda <kodakana@user...>
CommiterKana Koda

Message de Log

apple-touch-icon を更新。不要になったコードの整理。

Change Summary

Modification

--- a/about.php
+++ b/about.php
@@ -1,6 +1,6 @@
11 <?php
22 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
3-//(c) 2012 YANMAH2 project
3+//(c) 2014 YANMAH2 project
44 //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).
55 ?>
66 <?php
@@ -42,7 +42,9 @@ $echo = <<<EOL
4242 <title>{$product_name_abbr} について - {$site_name}</title>
4343 <link rel="stylesheet" href="{$style_sheet}" />
4444 <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
45- <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /></head>
45+ <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
46+ <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
47+</head>
4648 <body>
4749 <div id="page">
4850 EOL;
Binary files a/apple-touch-icon.png and b/apple-touch-icon.png differ
--- a/coco.php
+++ b/coco.php
@@ -97,7 +97,9 @@ $echo = <<<EOL
9797 <title>{$page_head} - {$site_name} {$site_name_caption}</title>
9898 <link rel="stylesheet" href="{$style_sheet}" />
9999 <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
100- <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /></head>
100+ <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
101+ <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
102+</head>
101103 <body>
102104 EOL;
103105 ?>
--- a/config.php
+++ b/config.php
@@ -1,6 +1,6 @@
11 <?php
22 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
3-//(c) 2012 YANMAH2 project
3+//(c) 2014 YANMAH2 project
44 //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).
55 ?>
66 <?php
@@ -156,7 +156,9 @@ $echo = <<<EOL
156156 <title>{$page_head} - {$site_name} {$site_name_caption}</title>
157157 <link rel="stylesheet" href="{$style_sheet}" />
158158 <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
159- <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /></head>
159+ <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
160+ <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
161+</head>
160162 <body>
161163 <div id="page">
162164 EOL;
--- a/entries.php
+++ b/entries.php
@@ -183,6 +183,7 @@ $echo = <<<EOL
183183 <link rel="stylesheet" href="{$style_sheet}" />
184184 <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
185185 <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
186+ <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
186187
187188 EOL;
188189 if (isset($starisjs) && $starisjs == '1'){
--- a/entry.php
+++ b/entry.php
@@ -94,6 +94,7 @@ $echo = <<<EOL
9494 <link rel="stylesheet" href="{$style_sheet}" />
9595 <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
9696 <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
97+ <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
9798
9899 EOL;
99100 if (isset($starisjs) && $starisjs == '1'){
--- a/keywords.php
+++ b/keywords.php
@@ -102,7 +102,9 @@ $echo = <<<EOL
102102 <title>{$page_head} - {$site_name}{$site_name_caption}</title>
103103 <link rel="stylesheet" href="{$style_sheet}" />
104104 <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
105- <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /></head>
105+ <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
106+ <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
107+</head>
106108 <body>
107109 <div id="page">
108110 EOL;
--- a/login.php
+++ b/login.php
@@ -64,6 +64,7 @@ $echo = <<<EOL
6464 <link rel="stylesheet" href="{$style_sheet}" />
6565 <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
6666 <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
67+ <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
6768 </head>
6869 <body>
6970 <div id="page">
--- a/post_processor.php
+++ b/post_processor.php
@@ -1,6 +1,6 @@
11 <?php
22 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
3-//(c) 2012 YANMAH2 project
3+//(c) 2014 YANMAH2 project
44 //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).
55 ?>
66 <?php defined("HELLO") or exit(); ?>
@@ -11,11 +11,11 @@ if ($post_posting == 'favo'){
1111 $post_entry = $_POST['entry'];
1212 $api = "{$api_base_url}favorites/create/{$post_entry}.xml?body_formats=html_touch,api";
1313 unset($_POST['entry']);
14-} elseif ($post_posting == 'hateb'){
15- $post_url = $_POST['url'];
16- $post_comment = $_POST['comment'];
17- $api = "http://b.hatena.ne.jp/atom/post";
18- unset($_POST['url'], $_POST['comment']);
14+// } elseif ($post_posting == 'hateb'){
15+// $post_url = $_POST['url'];
16+// $post_comment = $_POST['comment'];
17+// $api = "http://b.hatena.ne.jp/atom/post";
18+// unset($_POST['url'], $_POST['comment']);
1919 } else {
2020 if ($_POST['status'] == ''){
2121 if (isset($_POST['keyword']) && $_POST['keyword'] != ''){
@@ -68,7 +68,7 @@ $_SESSION['post_to'] = 'haiku';
6868 $post_return = preg_replace("/^([^#]+)(#.*)/u", "\${1}", $post_return);
6969 // $_SESSION['post_session'] = $json['session'];
7070 }
71-} elseif ($post_posting == 'hateb'){
71+}/* elseif ($post_posting == 'hateb'){
7272 $_SESSION['post_to'] = 'hateb';
7373 $post_comment = mb_convert_encoding($post_comment, 'UTF-8', $charcode);
7474 $body = <<<EOL
@@ -88,7 +88,7 @@ EOL;
8888 $_SESSION['post_result_mes'] = 'ブックマークを投稿しました。';
8989 $_SESSION['post_body'] = $xml['body'];
9090 }
91-}
91+}*/
9292 // if ($device_who == 'android' && preg_match("/(1\.6)|(1\.5)/", $_SERVER['HTTP_USER_AGENT'])){
9393 // $post_return = htmlspecialchars($post_return, ENT_QUOTES);
9494 // echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n";
Afficher sur ancien navigateur de dépôt.