1
0
mirror of https://github.com/moparisthebest/user_sql synced 2024-11-25 02:22:22 -05:00

Make the invert setting a checkbox

This commit is contained in:
Andreas Boehler 2015-05-27 22:10:28 +02:00
parent 4cd5cf7f7e
commit 5fc2571b62

View File

@ -63,7 +63,10 @@ $cfgClass = $ocVersion >= 7 ? 'section' : 'personalblock';
</select></td>
</tr>
<tr><td><label for="sql_column_active"><?php echo $l -> t('User Active Column'); ?></label></td><td><input type="text" id="sql_column_active" name="sql_column_active" value="<?php echo $_['sql_column_active']; ?>" /></td></tr>
<tr><td><label for="sql_column_active_invert"><?php echo $l -> t('Invert Active Value'); ?></label></td><td><input type="text" id="sql_column_active_invert" name="sql_column_active_invert" value="<?php echo $_['sql_column_active_invert']; ?>" /></td></tr>
<tr><td><label for="sql_column_active_invert"><?php echo $l -> t('Invert Active Value'); ?></label></td><td><input type="checkbox" id="sql_column_active_invert" name="sql_column_active_invert" value="1"<?php
if($_['sql_column_invert'])
echo ' checked';
?> title="Invert the logic of the active column (for blocked users in the SQL DB)" /></td></tr>
</table>
</fieldset>
<fieldset id="sql-3">