Révision | 9a5c42c57496cb620d0ac1c78ef1d49dae269c68 (tree) |
---|---|
l'heure | 2014-12-31 13:44:07 |
Auteur | Kana Koda <kodakana@user...> |
Commiter | Kana Koda |
apple-touch-icon を更新。不要になったコードの整理。
@@ -1,6 +1,6 @@ | ||
1 | 1 | <?php |
2 | 2 | //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku |
3 | -//(c) 2012 YANMAH2 project | |
3 | +//(c) 2014 YANMAH2 project | |
4 | 4 | //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). |
5 | 5 | ?> |
6 | 6 | <?php |
@@ -42,7 +42,9 @@ $echo = <<<EOL | ||
42 | 42 | <title>{$product_name_abbr} について - {$site_name}</title> |
43 | 43 | <link rel="stylesheet" href="{$style_sheet}" /> |
44 | 44 | <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> | |
46 | 48 | <body> |
47 | 49 | <div id="page"> |
48 | 50 | EOL; |
@@ -97,7 +97,9 @@ $echo = <<<EOL | ||
97 | 97 | <title>{$page_head} - {$site_name} {$site_name_caption}</title> |
98 | 98 | <link rel="stylesheet" href="{$style_sheet}" /> |
99 | 99 | <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> | |
101 | 103 | <body> |
102 | 104 | EOL; |
103 | 105 | ?> |
@@ -1,6 +1,6 @@ | ||
1 | 1 | <?php |
2 | 2 | //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku |
3 | -//(c) 2012 YANMAH2 project | |
3 | +//(c) 2014 YANMAH2 project | |
4 | 4 | //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). |
5 | 5 | ?> |
6 | 6 | <?php |
@@ -156,7 +156,9 @@ $echo = <<<EOL | ||
156 | 156 | <title>{$page_head} - {$site_name} {$site_name_caption}</title> |
157 | 157 | <link rel="stylesheet" href="{$style_sheet}" /> |
158 | 158 | <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> | |
160 | 162 | <body> |
161 | 163 | <div id="page"> |
162 | 164 | EOL; |
@@ -183,6 +183,7 @@ $echo = <<<EOL | ||
183 | 183 | <link rel="stylesheet" href="{$style_sheet}" /> |
184 | 184 | <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /> |
185 | 185 | <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /> |
186 | + <link rel="apple-touch-icon" href="./apple-touch-icon.png" /> | |
186 | 187 | |
187 | 188 | EOL; |
188 | 189 | if (isset($starisjs) && $starisjs == '1'){ |
@@ -94,6 +94,7 @@ $echo = <<<EOL | ||
94 | 94 | <link rel="stylesheet" href="{$style_sheet}" /> |
95 | 95 | <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /> |
96 | 96 | <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /> |
97 | + <link rel="apple-touch-icon" href="./apple-touch-icon.png" /> | |
97 | 98 | |
98 | 99 | EOL; |
99 | 100 | if (isset($starisjs) && $starisjs == '1'){ |
@@ -102,7 +102,9 @@ $echo = <<<EOL | ||
102 | 102 | <title>{$page_head} - {$site_name}{$site_name_caption}</title> |
103 | 103 | <link rel="stylesheet" href="{$style_sheet}" /> |
104 | 104 | <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> | |
106 | 108 | <body> |
107 | 109 | <div id="page"> |
108 | 110 | EOL; |
@@ -64,6 +64,7 @@ $echo = <<<EOL | ||
64 | 64 | <link rel="stylesheet" href="{$style_sheet}" /> |
65 | 65 | <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /> |
66 | 66 | <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" /> |
67 | + <link rel="apple-touch-icon" href="./apple-touch-icon.png" /> | |
67 | 68 | </head> |
68 | 69 | <body> |
69 | 70 | <div id="page"> |
@@ -1,6 +1,6 @@ | ||
1 | 1 | <?php |
2 | 2 | //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku |
3 | -//(c) 2012 YANMAH2 project | |
3 | +//(c) 2014 YANMAH2 project | |
4 | 4 | //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). |
5 | 5 | ?> |
6 | 6 | <?php defined("HELLO") or exit(); ?> |
@@ -11,11 +11,11 @@ if ($post_posting == 'favo'){ | ||
11 | 11 | $post_entry = $_POST['entry']; |
12 | 12 | $api = "{$api_base_url}favorites/create/{$post_entry}.xml?body_formats=html_touch,api"; |
13 | 13 | 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']); | |
19 | 19 | } else { |
20 | 20 | if ($_POST['status'] == ''){ |
21 | 21 | if (isset($_POST['keyword']) && $_POST['keyword'] != ''){ |
@@ -68,7 +68,7 @@ $_SESSION['post_to'] = 'haiku'; | ||
68 | 68 | $post_return = preg_replace("/^([^#]+)(#.*)/u", "\${1}", $post_return); |
69 | 69 | // $_SESSION['post_session'] = $json['session']; |
70 | 70 | } |
71 | -} elseif ($post_posting == 'hateb'){ | |
71 | +}/* elseif ($post_posting == 'hateb'){ | |
72 | 72 | $_SESSION['post_to'] = 'hateb'; |
73 | 73 | $post_comment = mb_convert_encoding($post_comment, 'UTF-8', $charcode); |
74 | 74 | $body = <<<EOL |
@@ -88,7 +88,7 @@ EOL; | ||
88 | 88 | $_SESSION['post_result_mes'] = 'ブックマークを投稿しました。'; |
89 | 89 | $_SESSION['post_body'] = $xml['body']; |
90 | 90 | } |
91 | -} | |
91 | +}*/ | |
92 | 92 | // if ($device_who == 'android' && preg_match("/(1\.6)|(1\.5)/", $_SERVER['HTTP_USER_AGENT'])){ |
93 | 93 | // $post_return = htmlspecialchars($post_return, ENT_QUOTES); |
94 | 94 | // echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n"; |