Ejemplo n.º 1
0
    ?>
</B></TD>
        <TD align="center" VALIGN="TOP"><B><?php 
    echo $translator->trans("Enabled", array(), 'plugins');
    ?>
</B></TD>
        <TD align="center" VALIGN="TOP"><B><?php 
    echo $translator->trans("Uninstall", array(), 'plugins');
    ?>
</B></TD>
    </TR>
    <?php 
    $color = 0;
    foreach ($infos as $info) {
        $checked = '';
        if (CampPlugin::isPluginEnabled($info['name'])) {
            $checked = 'checked="checked"';
        }
        ?>
        <TR <?php 
        if ($color) {
            $color = 0;
            ?>
class="list_row_even"<?php 
        } else {
            $color = 1;
            ?>
class="list_row_odd"<?php 
        }
        ?>
>