mirror of https://git.dotclear.org/dev/dotclear
Tentative d'épurement de la liste des catégories.
parent
743f1252cb
commit
271e1954aa
|
@ -156,11 +156,11 @@ else
|
|||
}
|
||||
|
||||
echo
|
||||
'<p><label class="classic" for="cat_'.$rs->cat_id.'"><a href="category.php?id='.$rs->cat_id.'">'.html::escapeHTML($rs->cat_title).'</a></label> </p>'.
|
||||
'<p>(<a href="posts.php?cat_id='.$rs->cat_id.'">'.
|
||||
'<p class="cat-title"><label class="classic" for="cat_'.$rs->cat_id.'"><a href="category.php?id='.$rs->cat_id.'">'.html::escapeHTML($rs->cat_title).'</a></label> </p>'.
|
||||
'<p class="cat-nb-posts">(<a href="posts.php?cat_id='.$rs->cat_id.'">'.
|
||||
sprintf(($rs->nb_post > 1 ? __('%d entries') : __('%d entry') ),$rs->nb_post).'</a>'.
|
||||
', '.__('total:').' '.$rs->nb_total.')</p>'.
|
||||
'<p><span class="cat-url">'.__('URL:').' <code>'.html::escapeHTML($rs->cat_url).'</code></span></p>';
|
||||
'<p class="cat-url">'.__('URL:').' <code>'.html::escapeHTML($rs->cat_url).'</code></p>';
|
||||
|
||||
echo
|
||||
'<p class="cat-buttons">';
|
||||
|
|
|
@ -1672,9 +1672,11 @@ a.form-control {
|
|||
margin: .66em 0;
|
||||
padding: .66em 1em;
|
||||
border: 1px solid #bbb;
|
||||
border-left: 6px solid #bbb;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.cat-line label {
|
||||
margin-right: .25em;
|
||||
}
|
||||
.cat-line label a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
@ -1682,6 +1684,12 @@ a.form-control {
|
|||
margin: 0;
|
||||
display: inline-block;
|
||||
}
|
||||
p.cat-title {
|
||||
margin-right: 1em;
|
||||
}
|
||||
.cat-nb-posts a {
|
||||
color: #333;
|
||||
}
|
||||
.cat-url {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
@ -1698,9 +1706,6 @@ a.form-control {
|
|||
padding: 1px 2px 3px 2px;
|
||||
margin-right: .25em;
|
||||
}
|
||||
.cat-line label {
|
||||
margin-right: .25em;
|
||||
}
|
||||
.cat-buttons .reset {
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
|
@ -1711,14 +1716,7 @@ a.form-control {
|
|||
}
|
||||
.cat-line .cat-line {
|
||||
border: 1px solid #dfdfdf;
|
||||
border-left-width: 3px;
|
||||
}
|
||||
#categories h4 {
|
||||
margin: 0;
|
||||
}
|
||||
#categories h4 span {
|
||||
font-weight: normal;
|
||||
}
|
||||
.cat-actions {
|
||||
line-height: 2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue