Skip to content

Commit

Permalink
v0.78.9 Tegaki動画再生画面のviewportを調整。
Browse files Browse the repository at this point in the history
  • Loading branch information
satopian committed Jun 28, 2023
1 parent 839ce6e commit 0820fac
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
5 changes: 3 additions & 2 deletions petitnote/index.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
//Petit Note (c)さとぴあ @satopian 2021-2023
//1スレッド1ログファイル形式のスレッド式画像掲示板
$petit_ver='v0.78.8';
$petit_lot='lot.20230627';
$petit_ver='v0.78.9';
$petit_lot='lot.20230628';
$lang = ($http_langs = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? $_SERVER['HTTP_ACCEPT_LANGUAGE'] : '')
? explode( ',', $http_langs )[0] : '';
$en= (stripos($lang,'ja')!==0);
Expand Down Expand Up @@ -2410,6 +2410,7 @@ function res (){
}
if (!$flag) {//見つからなければカウントを続ける
$j = $count_alllog;
//見つからなかった時の$iは初期値の0。
}
$articles[$count_alllog]=$line;
if($j+20<$count_alllog){//+20件でbreak
Expand Down
2 changes: 1 addition & 1 deletion petitnote/save.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function chibi_die($message) {
$imgext='.png';
/* ---------- 投稿者情報記録 ---------- */
$userdata = "$u_ip\t$u_host\t$u_agent\t$imgext";
$tool = 'chi';
$tool = (string)filter_input(INPUT_GET, 'tool');
$repcode = (string)filter_input(INPUT_GET, 'repcode');
$stime = (string)filter_input(INPUT_GET, 'stime',FILTER_VALIDATE_INT);
$resto = (string)filter_input(INPUT_GET, 'resto',FILTER_VALIDATE_INT);
Expand Down
2 changes: 1 addition & 1 deletion petitnote/saveneo.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
if($sendheader){
$sendheader = str_replace("&amp;", "&", $sendheader);
parse_str($sendheader, $u);
$tool = 'neo';
$tool = isset($u['tool']) ? $u['tool'] : '';
$usercode = isset($u['usercode']) ? $u['usercode'] : '';
$resto = isset($u['resto']) ? $u['resto'] : '';
$repcode = isset($u['repcode']) ? $u['repcode'] : '';
Expand Down
2 changes: 1 addition & 1 deletion petitnote/template/basic/paint_klecks.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title><?=h($boardname)?></title>

<!-- this is important -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">

<style>
:not(input){
Expand Down
3 changes: 2 additions & 1 deletion petitnote/template/basic/paint_tegaki.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<title><?=h($boardname)?></title>
<script src="app/tegaki/tegaki.js?<?=h($parameter_day)?><?=h($petit_lot)?>"></script>
<link rel="stylesheet" href="app/tegaki/tegaki.css?<?=h($parameter_day)?><?=h($petit_lot)?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,maximum-scale=1.0">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">

<style>
:not(input){
-moz-user-select: none;
Expand Down
2 changes: 1 addition & 1 deletion petitnote/template/basic/tgkr_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title><?=h($boardname)?></title>
<script src="app/tegaki/tegaki.js?<?=h($parameter_day)?><?=h($petit_lot)?>"></script>
<link rel="stylesheet" href="app/tegaki/tegaki.css?<?=h($parameter_day)?><?=h($petit_lot)?>">
<meta name="viewport" content="width=<?=h($picw+100)?>, initial-scale=1">
<meta name="viewport" content="width=<?=h($picw+100)?>, initial-scale=1.0,maximum-scale=1.0">
<style>
:not(input){
-moz-user-select: none;
Expand Down

0 comments on commit 0820fac

Please sign in to comment.