- or download this
if (row[0] eq '1') {
print "<td><form><input type="checkbox" name="trunk_usage" value="1"
+ checked>% Trunk Usage</form></td>";
- or download this
if ($widget[4] eq '1') {
print "<td><form><input type="checkbox" name="trunk_usage" value="1"
+ checked>% Trunk Usage</form></td>";
- or download this
my $sql = 'SELECT name,active
FROM comm_desk_widget_status
...
while (my ($name,$active) = $sth->fetchrow_array) {
$widget{$name} = $active;
}
- or download this
if ($widget{'percent_trunk_usage'} == 1) {
print "<td><form><input type="checkbox" name="trunk_usage" value="1"
+ checked>% Trunk Usage</form></td>";