Changeset 7845

Show
Ignore:
Timestamp:
06/20/09 16:27:52 (1 year ago)
Author:
p_lindheimer
Message:

typo in jpimpl field and validation on context

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/sipsettings/functions.inc.php

    r7844 r7845  
    398398 
    399399      case 'sip_language': 
    400         $msg = sprintf(_("Language must be alphanumeric and installed"),$key); 
     400        $msg = ("Language must be alphanumeric and installed"); 
     401        $save_settings[] = array($key,$db->escapeSimple($vd->is_alphanumeric($val,$key,$msg)),'0',NORMAL); 
     402      break; 
     403 
     404      case 'context': 
     405        $msg = sprintf(_("%s must be alphanumeric"),$key); 
    401406        $save_settings[] = array($key,$db->escapeSimple($vd->is_alphanumeric($val,$key,$msg)),'0',NORMAL); 
    402407      break; 
  • modules/branches/2.6/sipsettings/page.sipsettings.php

    r7844 r7845  
    9999  $sip_settings['jbenable']          = isset($_POST['jbenable']) ? $_POST['jbenable'] : 'no'; 
    100100  $sip_settings['jbforce']           = isset($_POST['jbforce']) ? $_POST['jbforce'] : 'no'; 
    101   $sip_settings['jpimpl']            = isset($_POST['jpimpl']) ? $_POST['jpimpl'] : 'fixed'; 
     101  $sip_settings['jbimpl']            = isset($_POST['jbimpl']) ? $_POST['jbimpl'] : 'fixed'; 
    102102  $sip_settings['jbmaxsize']         = isset($_POST['jbmaxsize']) ? htmlspecialchars($_POST['jbmaxsize']) : '200'; 
    103103  $sip_settings['jbresyncthreshold'] = isset($_POST['jbresyncthreshold']) ? htmlspecialchars($_POST['jbresyncthreshold']) : '1000';