Changeset 7228
- Timestamp:
- 11/05/08 09:14:56 (2 years ago)
- Files:
-
- modules/branches/2.6/core/functions.inc.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.6/core/functions.inc.php
r7186 r7228 3045 3045 3046 3046 if (!ctype_digit(trim($channel)) || trim($channel) == '') { 3047 echo "<script>javascript:alert('"._( 'Invalid Channel Number, must be numeric and not blank')."')</script>";3047 echo "<script>javascript:alert('"._("Invalid Channel Number, must be numeric and not blank")."')</script>"; 3048 3048 return false; 3049 3049 } 3050 3050 if (trim($did) == '') { 3051 echo "<script>javascript:alert('"._( 'Invalid DID, must be a non-blank DID')."')</script>";3051 echo "<script>javascript:alert('"._("Invalid DID, must be a non-blank DID")."')</script>"; 3052 3052 return false; 3053 3053 } … … 4268 4268 $currentcomponent->setoptlistopts('call_screen', 'sort', false); 4269 4269 4270 $currentcomponent->addoptlistitem('ringtime', '0', 'Default');4270 $currentcomponent->addoptlistitem('ringtime', '0', _("Default")); 4271 4271 for ($i=1; $i <= 120; $i++) { 4272 4272 $currentcomponent->addoptlistitem('ringtime', "$i", "$i"); … … 4416 4416 $device_icon = ($device_item['devicetype'] == 'fixed') ? 'images/telephone_key.png' : 'images/telephone_edit.png'; 4417 4417 $device_label = ' '; 4418 $device_label .= _( 'Edit:');4418 $device_label .= _("Edit:"); 4419 4419 $device_label .= ' '.$device_item['id'].' '.$device_item['description']; 4420 4420 … … 4706 4706 if ($deviceInfo['device_user'] != 'none') { 4707 4707 $editURL = $_SERVER['PHP_SELF'].'?type=setup&display=users&skip=0&extdisplay='.$deviceInfo['user']; 4708 $tlabel = $deviceInfo['devicetype'] == 'adhoc' ? sprintf(_( 'Edit Default User: %s'),$deviceInfo['user']) : sprintf(_('Edit Fixed User: %s'),$deviceInfo['user']);4708 $tlabel = $deviceInfo['devicetype'] == 'adhoc' ? sprintf(_("Edit Default User: %s"),$deviceInfo['user']) : sprintf(_("Edit Fixed User: %s"),$deviceInfo['user']); 4709 4709 $label = '<span><img width="16" height="16" border="0" title="'.$tlabel.'" alt="" src="images/user_edit.png"/> '.$tlabel.'</span>'; 4710 4710 $currentcomponent->addguielem('_top', new gui_link('edit_user', $label, $editURL, true, false), 0);
