<?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
<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;
<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;
?>
<?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
<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;
<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'){
<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'){
<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;
<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">
<?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(); ?>
$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'] != ''){
$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
$_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";