Changeset 10990 for modules/branches/2.9/core
- Timestamp:
- 01/16/11 19:34:26 (2 years ago)
- Files:
-
- modules/branches/2.9/core/functions.inc.php (modified) (2 diffs)
- modules/branches/2.9/core/page.advancedsettings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.9/core/functions.inc.php
r10952 r10990 3355 3355 function core_advancedsettings_set_keys($key, $value){ 3356 3356 global $db; 3357 /* disable for now and anyhow change to use proper class function 3357 3358 $sql = 'UPDATE freepbx_settings set value = ? where `keyword` = ?'; 3358 3359 $res = $db->query($sql, array($value, $key)); … … 3362 3363 return true; 3363 3364 } 3365 */ 3366 return true; 3364 3367 } 3365 3368 modules/branches/2.9/core/page.advancedsettings.php
r10989 r10990 61 61 case CONF_TYPE_BOOL: 62 62 ?> 63 <input id="<?php echo $c['keyword'] ?>-true" type="radio" name="<?php echo $c['keyword'] ?>" value="1" tabindex="<?php echo ++$tabindex;?>"<?php echo $amp_conf[$c['keyword']]?"checked=\"yes\"":""?>/>63 <input class="valueinput" data-valueinput-orig="<?php echo $amp_conf[$c['keyword']]?1:0 ?>" id="<?php echo $c['keyword'] ?>-true" type="radio" name="<?php echo $c['keyword'] ?>" value="1" tabindex="<?php echo ++$tabindex;?>"<?php echo $amp_conf[$c['keyword']]?"checked=\"yes\"":""?>/> 64 64 <label for="<?php echo $c['keyword'] ?>-true"><?php echo _("True") ?></label> 65 <input id="<?php echo $c['keyword'] ?>-false" type="radio" name="<?php echo $c['keyword'] ?>" value="0" tabindex="<?php echo ++$tabindex;?>"<?php echo !$amp_conf[$c['keyword']]?"checked=\"yes\"":""?>/>65 <input class="valueinput" data-valueinput-orig="<?php echo $amp_conf[$c['keyword']]?1:0 ?>" id="<?php echo $c['keyword'] ?>-false" type="radio" name="<?php echo $c['keyword'] ?>" value="0" tabindex="<?php echo ++$tabindex;?>"<?php echo !$amp_conf[$c['keyword']]?"checked=\"yes\"":""?>/> 66 66 <label for="<?php echo $c['keyword'] ?>-false"><?php echo _("False") ?></label> 67 67 <?php
