Line 67... |
Line 67... |
67 |
$ligne=fgets($pointeur, 4096);
|
67 |
$ligne=fgets($pointeur, 4096);
|
68 |
if ($ligne)
|
68 |
if ($ligne)
|
69 |
{
|
69 |
{
|
70 |
if ($cols == 1) { echo "<tr>";}
|
70 |
if ($cols == 1) { echo "<tr>";}
|
71 |
$categorie=trim(basename($ligne));
|
71 |
$categorie=trim(basename($ligne));
|
72 |
echo "<td><a href='bl_categories_help.php?cat=$categorie' target='cat_help' onclick=window.open('bl_categories_help.php','cat_help','width=600,height=450,toolbar=no,scrollbars=no,resizable=yes') title='categories help page'>$categorie</a><br>";
|
72 |
echo "<td><a href='bl_categories_help.php?liste=bl&cat=$categorie' target='cat_help' onclick=window.open('bl_categories_help.php','cat_help','width=600,height=450,toolbar=no,scrollbars=yes,resizable=yes') title='categories help page'>$categorie</a><br>";
|
73 |
echo "<input type='checkbox' name='chk-$categorie'";
|
73 |
echo "<input type='checkbox' name='chk-$categorie'";
|
74 |
// si la ligne est commentée -> categorie non selectionnée
|
74 |
// si la ligne est commentée -> categorie non selectionnée
|
75 |
if (preg_match('/^#/',$ligne, $r)) { echo ">";}
|
75 |
if (preg_match('/^#/',$ligne, $r)) { echo ">";}
|
76 |
else { echo "checked>"; }
|
76 |
else { echo "checked>"; }
|
77 |
echo "</td>";
|
77 |
echo "</td>";
|
Line 136... |
Line 136... |
136 |
$ligne=fgets($pointeur, 4096);
|
136 |
$ligne=fgets($pointeur, 4096);
|
137 |
if ($ligne)
|
137 |
if ($ligne)
|
138 |
{
|
138 |
{
|
139 |
if ($cols == 1) { echo "<tr>";}
|
139 |
if ($cols == 1) { echo "<tr>";}
|
140 |
$categorie=trim(basename($ligne));
|
140 |
$categorie=trim(basename($ligne));
|
141 |
echo "<td><a href='bl_categories_help.php?cat=$categorie' target='cat_help' onclick=window.open('bl_categories_help.php','cat_help','width=600,height=150,toolbar=no,scrollbars=no,resizable=yes') title='categories help page'>$categorie</a><br>";
|
141 |
echo "<td><a href='bl_categories_help.php?liste=wl&cat=$categorie' target='cat_help' onclick=window.open('bl_categories_help.php','cat_help','width=600,height=450,toolbar=no,scrollbars=yes,resizable=yes') title='categories help page'>$categorie</a><br>";
|
142 |
echo "<input type='checkbox' name='chk-$categorie'";
|
142 |
echo "<input type='checkbox' name='chk-$categorie'";
|
143 |
// si la ligne est commentée -> categorie non selectionnée
|
143 |
// si la ligne est commentée -> categorie non selectionnée
|
144 |
if (preg_match('/^#/',$ligne, $r)) { echo ">";}
|
144 |
if (preg_match('/^#/',$ligne, $r)) { echo ">";}
|
145 |
else { echo "checked>"; }
|
145 |
else { echo "checked>"; }
|
146 |
echo "</td>";
|
146 |
echo "</td>";
|