@@ -502,9 +502,9 @@ else if ($dopost == 'quickEdit') { | |||||
while ($trow = $dsql->GetObject()) { | while ($trow = $dsql->GetObject()) { | ||||
if ($trow->att == 'j' || $trow->att == 'p') continue; | if ($trow->att == 'j' || $trow->att == 'p') continue; | ||||
if (preg_match("#".$trow->att."#", $arcRow['flag'])) | if (preg_match("#".$trow->att."#", $arcRow['flag'])) | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}{$trow->att}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}{$trow->att}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -768,7 +768,7 @@ else if ($dopost == 'attsDlg') { | |||||
$dsql->Execute(); | $dsql->Execute(); | ||||
while ($trow = $dsql->GetObject()) { | while ($trow = $dsql->GetObject()) { | ||||
if ($trow->att == 'j' || $trow->att == 'p') continue; | if ($trow->att == 'j' || $trow->att == 'p') continue; | ||||
echo "<label class='mr-2'><input type='radio' name='flagname' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='radio' name='flagname' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -56,9 +56,9 @@ | |||||
while($trow = $dsql->GetObject()) | while($trow = $dsql->GetObject()) | ||||
{ | { | ||||
if ($trow->att=='j') | if ($trow->att=='j') | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -57,9 +57,9 @@ | |||||
if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | ||||
else $jumpclick = ''; | else $jumpclick = ''; | ||||
if (preg_match("#".$trow->att."#", $arcRow['flag'])) | if (preg_match("#".$trow->att."#", $arcRow['flag'])) | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -51,9 +51,9 @@ | |||||
while($trow = $dsql->GetObject()) | while($trow = $dsql->GetObject()) | ||||
{ | { | ||||
if ($trow->att=='j') | if ($trow->att=='j') | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -48,7 +48,7 @@ | |||||
$dsql->Execute(); | $dsql->Execute(); | ||||
while($trow = $dsql->GetObject()) | while($trow = $dsql->GetObject()) | ||||
{ | { | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -50,9 +50,9 @@ | |||||
while($trow = $dsql->GetObject()) | while($trow = $dsql->GetObject()) | ||||
{ | { | ||||
if (preg_match("#".$trow->att."#", $addRow['flag'])) | if (preg_match("#".$trow->att."#", $addRow['flag'])) | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -50,9 +50,9 @@ | |||||
while($trow = $dsql->GetObject()) | while($trow = $dsql->GetObject()) | ||||
{ | { | ||||
if ($trow->att=='j') | if ($trow->att=='j') | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -67,9 +67,9 @@ | |||||
while($trow = $dsql->GetObject()) | while($trow = $dsql->GetObject()) | ||||
{ | { | ||||
if ($trow->att=='j') | if ($trow->att=='j') | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -68,9 +68,9 @@ | |||||
if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | ||||
else $jumpclick = ''; | else $jumpclick = ''; | ||||
if (preg_match("#".$trow->att."#",$arcRow['flag'])) | if (preg_match("#".$trow->att."#",$arcRow['flag'])) | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -94,7 +94,7 @@ | |||||
while($trow = $dsql->GetObject()) | while($trow = $dsql->GetObject()) | ||||
{ | { | ||||
if ($trow->att!='j') { | if ($trow->att!='j') { | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
} | } | ||||
?> | ?> | ||||
@@ -93,9 +93,9 @@ | |||||
{ | { | ||||
if ($trow->att=='j') continue; | if ($trow->att=='j') continue; | ||||
if (preg_match("#".$trow->att."#", $arcRow['flag'])) | if (preg_match("#".$trow->att."#", $arcRow['flag'])) | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||