change template titles to h3

This commit is contained in:
Jean-Christian Denis 2021-08-21 23:06:43 +02:00
parent 6ff3c0a2d3
commit ac274d3349
4 changed files with 10 additions and 9 deletions

View file

@ -1,6 +1,7 @@
2021.08.20
* update license
* fix query
* change template titles to h3
2013.10.28
* Switch to Dotclear 2.6

View file

@ -24,7 +24,7 @@ $this->registerModule(
/* Author */
"Jean-Christian Denis",
/* Version */
'2021.08.20.2',
'2021.08.20.3',
/* Properies */
array(
'permissions' => 'admin',

View file

@ -396,7 +396,7 @@ class tplSaba
if (!empty($res)) {
return '<div class="saba_opt_otp"><h2>'.__('Filter options').'</h2><ul>'.$res.'</ul></div>';
return '<div class="saba_opt_otp"><h3>'.__('Filter options').'</h3><ul>'.$res.'</ul></div>';
}
}
@ -420,7 +420,7 @@ class tplSaba
$chk = '<?php echo !empty($_ctx->saba_options["q_rev"]) ? \'checked="checked" \' : ""; ?>';
$res .= '<li><label><input name="q_rev" type="checkbox" value="1" '.$chk.'/> '.__('Reverse order').'</label></li>';
return '<div class="saba_opt_order"><h2>'.__('Filter order').'</h2><ul>'.$res.'</ul></div>';
return '<div class="saba_opt_order"><h3>'.__('Filter order').'</h3><ul>'.$res.'</ul></div>';
}
}
@ -444,7 +444,7 @@ class tplSaba
if (!empty($res)) {
return '<div class="saba_opt_cat"><h2>'.__('Filter by category').'</h2><ul>'.$res.'</ul></div>';
return '<div class="saba_opt_cat"><h3>'.__('Filter by category').'</h3><ul>'.$res.'</ul></div>';
}
}
@ -468,7 +468,7 @@ class tplSaba
if (!empty($res)) {
return '<div class="saba_opt_type"><h2>'.__('Filter by type').'</h2><ul>'.$res.'</ul></div>';
return '<div class="saba_opt_type"><h3>'.__('Filter by type').'</h3><ul>'.$res.'</ul></div>';
}
}
@ -485,7 +485,7 @@ class tplSaba
if (!empty($res)) {
return '<div class="saba_opt_age"><h2>'.__('Filter by age').'</h2><ul>'.$res.'</ul></div>';
return '<div class="saba_opt_age"><h3>'.__('Filter by age').'</h3><ul>'.$res.'</ul></div>';
}
}
@ -509,7 +509,7 @@ class tplSaba
if (!empty($res)) {
return '<div class="saba_opt_user"><h2>'.__('Filter by author').'</h2><ul>'.$res.'</ul></div>';
return '<div class="saba_opt_user"><h3>'.__('Filter by author').'</h3><ul>'.$res.'</ul></div>';
}
}

View file

@ -56,7 +56,7 @@
<form action="{{tpl:BlogURL}}" method="get" id="saba-form">
<div class="saba-opt-text">
<h2><label for="q">{{tpl:lang Advanced search}}</label></h2>
<h3><label for="q">{{tpl:lang Advanced search}}</label></h3>
<p><input name="q" type="text" size="100" maxlength="255" value="{{tpl:SabaFormSearch}}" />
<input type="submit" class="submit" value="ok" /></p>
</div>
@ -103,7 +103,7 @@
<form action="{{tpl:BlogURL}}" method="get" id="saba-form">
<div class="saba-opt-text">
<h2><label for="q">{{tpl:lang Advanced search}}</label></h2>
<h3><label for="q">{{tpl:lang Advanced search}}</label></h3>
<p><input name="q" type="text" size="10" maxlength="255" value="{{tpl:SabaFormSearch}}" />
<input type="submit" class="submit" value="ok" /></p>
</div>