色んな修正
このコミットが含まれているのは:
コミット
ce09abf802
|
@ -16,7 +16,7 @@
|
||||||
'datagrid', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt',
|
'datagrid', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt',
|
||||||
'em', 'embed', 'eventsource',
|
'em', 'embed', 'eventsource',
|
||||||
'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'frame', 'frameset',
|
'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'frame', 'frameset',
|
||||||
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html',
|
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', /*'html',*/
|
||||||
'i', /*'iframe',*/ 'img', 'input', 'ins', 'isindex', 'kbd', 'keygen',
|
'i', /*'iframe',*/ 'img', 'input', 'ins', 'isindex', 'kbd', 'keygen',
|
||||||
'label', 'legend', 'li', 'link',
|
'label', 'legend', 'li', 'link',
|
||||||
'map', 'mark', 'menu', 'meta', 'meter',
|
'map', 'mark', 'menu', 'meta', 'meter',
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
$file = striptags($file); // 危険なタグの削除
|
$file = striptags($file); // 危険なタグの削除
|
||||||
|
|
||||||
// ヘッダーの追加
|
// ヘッダーの追加
|
||||||
$file = "<div style=\"background-color: #320202; display: block; border: 4px #ff3b3b groove; color: #ea8181; padding: 10px; z-index: 999999; position: fixed; left: 0; top: 0; width: 100%;\">保存サイトでアーカイブしました。Archived with Hozon Site.<br /><a style=\"color: #ffeb3b;\" href=\"/\">トップページへ</a></div><div style=\"padding-top: 74px;\">".$file.'</div>';
|
$file = "<!DOCTYPE html><html><head><meta charset=\"utf-8\" /><head><body><div style=\"background-color: #320202; display: block; border: 4px #ff3b3b groove; color: #ea8181; padding: 10px; z-index: 999999; position: fixed; left: 0; top: 0; width: 100%;\">保存サイトでアーカイブしました。Archived with Hozon Site.<br /><a style=\"color: #ffeb3b;\" href=\"/\">トップページへ</a></div><div style=\"padding-top: 74px;\">".$file.'</div></body></html>';
|
||||||
|
|
||||||
// 保存
|
// 保存
|
||||||
file_put_contents($path, $file);
|
file_put_contents($path, $file);
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
既に保存されたページ:<br />
|
既に保存されたページ:<br />
|
||||||
<?php
|
<?php
|
||||||
foreach ($exists as $e) {
|
foreach ($exists as $e) {
|
||||||
echo '<a href="/archive/'.$e.'/'.$url.'index.html">'.date('Y年-m月-d日 H:i:s', $e).'</a>';
|
echo '<a href="/archive/'.$e.'/'.$url.'/index.html">'.date('Y年m月d日 H:i:s', $e).'</a>';
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
新しいイシューから参照