This commit is contained in:
brol 2015-07-21 12:48:46 +02:00
parent b2be082c62
commit 6d234c4171
5 changed files with 39 additions and 46 deletions

View File

@ -1,3 +1,7 @@
v0.9 - 19-07-2015 - Pierre Van Glabek
* héritabe thème mustek
* dc2.8 requis
v0.8.1 - 22-04-2015 - Pierre Van Glabeke v0.8.1 - 22-04-2015 - Pierre Van Glabeke
* modif url support * modif url support
* modif tpl (validation html5) * modif tpl (validation html5)

View File

@ -24,12 +24,12 @@ $this->registerModule(
/* Author */ /* Author */
"Jean-Christian Denis, Pierre Van Glabeke", "Jean-Christian Denis, Pierre Van Glabeke",
/* Version */ /* Version */
'0.8.1', '0.9',
/* Properties */ /* Properties */
array( array(
'permissions' => 'admin', 'permissions' => 'admin',
'type' => 'plugin', 'type' => 'plugin',
'dc_min' => '2.7', 'dc_min' => '2.8',
'support' => 'http://forum.dotclear.org/viewtopic.php?id=40000', 'support' => 'http://forum.dotclear.org/viewtopic.php?id=40000',
'details' => 'http://plugins.dotaddict.org/dc2/details/disclaimer' 'details' => 'http://plugins.dotaddict.org/dc2/details/disclaimer'
) )

View File

@ -91,9 +91,7 @@ class urlDisclaimer extends dcUrlHandlers
{ {
$url = $core->blog->getQmarkURL().'pf='.basename(dirname(__FILE__)); $url = $core->blog->getQmarkURL().'pf='.basename(dirname(__FILE__));
echo echo
"<style type=\"text/css\">\n@import url(". '<link rel="stylesheet" type="text/css" media="screen" href="'.$url."/css/disclaimer.css\" />\n";
$url.
"/css/disclaimer.css);\n</style>\n";
} }
/** /**

View File

@ -63,7 +63,7 @@
</div> </div>
<div id="disclaimer-form"> <div id="disclaimer-form">
<form action="{{tpl:DisclaimerFormURL}}" method="post" id="comment-form"> <form action="{{tpl:DisclaimerFormURL}}" method="post" id="comment-form" role="form">
<p class="disclaimer-accept">{{tpl:lang Accept terms of uses}}</p> <p class="disclaimer-accept">{{tpl:lang Accept terms of uses}}</p>
<p class="buttons"> <p class="buttons">

View File

@ -1,42 +1,37 @@
<!DOCTYPE html> {{tpl:extends parent="__layout.html"}}
<html lang="{{tpl:BlogLanguage}}">
<head>
<meta charset="UTF-8" />
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
<title>{{tpl:lang Disclaimer}} - {{tpl:BlogName encode_html="1"}}</title> <tpl:Block name="head-title">
<meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> <title>{{tpl:lang Disclaimer}} - {{tpl:BlogName encode_html="1"}}</title>
<meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> </tpl:Block>
<meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
<meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Disclaimer}} - {{tpl:BlogName encode_html="1"}}" /> <tpl:Block name="meta-robots">
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
</tpl:Block>
<tpl:Block name="meta-entry">
<meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription encode_html="1" cut_string="180" remove_html="1"}}" />
<meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
<meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
</tpl:Block>
<tpl:Block name="dc-entry">
<meta property="dc.title" content="{{tpl:lang Disclaimer}} - {{tpl:BlogName encode_html="1"}}" />
<meta property="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription encode_html="1" cut_string="180" remove_html="1"}}" />
<meta property="dc.language" content="{{tpl:BlogLanguage}}" /> <meta property="dc.language" content="{{tpl:BlogLanguage}}" />
<meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" /> <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
<meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> </tpl:Block>
<meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
<meta property="dc.type" content="text" />
<meta property="dc.format" content="text/html" />
<link rel="stylesheet" type="text/css" href="{{tpl:BlogThemeURL}}/style.css" media="screen" /> <tpl:Block name="head-linkrel">
<link rel="stylesheet" type="text/css" href="{{tpl:BlogQmarkURL}}pf=print.css" media="print" /> <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
</tpl:Block>
<link rel="stylesheet" type="text/css" href="{{tpl:BlogQmarkURL}}pf=disclaimer/css/disclaimer.css" media="screen" /> <tpl:Block name="html-head">
{{tpl:parent}}
</tpl:Block>
<script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf={{tpl:BlogJsJQuery}}/jquery.js"></script> <tpl:Block name="body-tag"><body class="dc-disclaimer"></tpl:Block>
<script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf={{tpl:BlogJsJQuery}}/jquery.cookie.js"></script>
{{tpl:include src="_head.html"}}
</head>
<body class="dc-disclaimer">
<div id="page">
{{tpl:include src="_top.html"}}
<div id="wrapper">
<div id="main" role="main">
<div id="content">
<tpl:Block name="main-content">
<div id="content-info"> <div id="content-info">
<h2>{{tpl:DisclaimerTitle}}</h2> <h2>{{tpl:DisclaimerTitle}}</h2>
</div> </div>
@ -47,7 +42,7 @@
</div> </div>
<div id="disclaimer-form"> <div id="disclaimer-form">
<form action="{{tpl:DisclaimerFormURL}}" method="post" id="comment-form"> <form action="{{tpl:DisclaimerFormURL}}" method="post" id="comment-form" role="form">
<p class="disclaimer-accept">{{tpl:lang Accept terms of uses}}</p> <p class="disclaimer-accept">{{tpl:lang Accept terms of uses}}</p>
<p class="buttons"> <p class="buttons">
@ -58,11 +53,7 @@
</div> </div>
</div> </div>
</div> </tpl:Block>
</div>
</div> <!-- End #wrapper -->
{{tpl:include src="_footer.html"}} <tpl:Block name="wrapper-sidebar">
</div> <!-- End #page --> </tpl:Block>
</body>
</html>