foreach ($msgids as $id=>$msgid) {
$msg = new BananaSpoolHead($dates[$id], $subjects[$id], $froms[$id]);
- $refs[$id] = str_replace('><', '> <', $refs[$id]);
- $msgrefs = preg_split("/[ \t]/", strtr($refs[$id], $this->ids));
- $parents = preg_grep('/^\d+$/', $msgrefs);
- $msg->parent = array_pop($parents);
- $msg->parent_direct = preg_match('/^\d+$/', array_pop($msgrefs));
+ if (isset($ref[$id])) {
+ $refs[$id] = str_replace('><', '> <', $refs[$id]);
+ $msgrefs = preg_split("/[ \t]/", strtr($refs[$id], $this->ids));
+ $parents = preg_grep('/^\d+$/', $msgrefs);
+ $msg->parent = array_pop($parents);
+ $msg->parent_direct = preg_match('/^\d+$/', array_pop($msgrefs));
+ } else {
+ $msg->parent = null;
+ $msg->parent_direct = null;
+ }
if (isset($this->overview[$id])) {
$msg->desc = $this->overview[$id]->desc;
margin: 1em 0em;
}
+/****
+ * Bicolor table
+ */
+
table.bicol {
border-collapse: collapse;
border: 1px solid #a2c2e1;
table.bicol td { padding: 0px 4px; }
-table.cadre_a_onglet{
+/****
+ * Tabs
+ */
+
+table.cadre_a_onglet {
width: 100%;
border-width: 0;
padding : 0;
display : block;
margin : 0;
padding : 0;
+ margin-left: 3px;
}
#onglet li {
border-color : #a2c2e1;
border-bottom-color : #a2c2e1;
width: auto;
- height: 5ex;
+ height: 3.5ex;
text-align: center;
+ font-size: 80%;
+ vertical-align: middle;
}
#onglet li:hover { background : #d6e1ec; }
#onglet li.actif {
+ font-weight: bold;
background-color: #fff;
- border-bottom-color : #eceade;
+ border-bottom-color : #fff;
}
#onglet li a {
- font-size: 80%;
font-weight : normal;
text-decoration : none;
}