Show
Ignore:
Timestamp:
01/12/08 13:12:26 (4 years ago)
Author:
p_lindheimer
Message:

Merged revisions 5572 via svnmerge from
http://svn.freepbx.org/modules/branches/2.4

........

r5572 | pnlarsson | 2008-01-12 08:48:07 -0800 (Sat, 12 Jan 2008) | 1 line


Fixes #2607, Custom trunks stripped of starting A or M or P

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.3

    • Property svnmerge-integrated changed from /modules/branches/2.2:1-3588,3615-3635,3637-3638,3640,3674,3680,3686,3692,3702,3706,3710,3716,3758,3760,3762-3765,3767-3785,3787-3789,3801,3810,3828,3831,3839,3860,3866,3875,3877,3887,3899,3911,3913,3943,3982-3983,3990,3998,4007,4022-4023,4089,4092,4098,4265,4285 /modules/branches/2.4:1-5079,5090,5093,5097-5118,5120-5170,5172,5174,5176-5182,5184-5199,5202-5203,5205-5211,5239,5271-5272,5312,5383,5516,5544 to /modules/branches/2.2:1-3588,3615-3635,3637-3638,3640,3674,3680,3686,3692,3702,3706,3710,3716,3758,3760,3762-3765,3767-3785,3787-3789,3801,3810,3828,3831,3839,3860,3866,3875,3877,3887,3899,3911,3913,3943,3982-3983,3990,3998,4007,4022-4023,4089,4092,4098,4265,4285 /modules/branches/2.4:1-5079,5090,5093,5097-5118,5120-5170,5172,5174,5176-5182,5184-5199,5202-5203,5205-5211,5239,5271-5272,5312,5383,5516,5544,5572
  • modules/branches/2.3/core/page.routing.php

    r4987 r5576  
    512512        foreach ($trunks as $name=>$display_description) { 
    513513          if ($trunkstate[$name] == 'off') { 
    514             echo "<option id=\"trunk".$key."\" name=\"trunk".$key."\" value=\"".$name."\" style=\"background: #FFF;\" ".($name == $trunk ? "selected" : "").">".$display_description."</option>"; 
     514            echo "<option id=\"trunk".$key."\" name=\"trunk".$key."\" value=\"".$name."\" style=\"background: #FFF;\" ".($name == $trunk ? "selected" : "").">".str_replace('AMP:', '', $display_description)."</option>"; 
    515515          } else { 
    516             echo "<option id=\"trunk".$key."\" name=\"trunk".$key."\" value=\"".$name."\" style=\"background: #DDD;\" ".($name == $trunk ? "selected" : "").">".$display_description."</option>"; 
     516            echo "<option id=\"trunk".$key."\" name=\"trunk".$key."\" value=\"".$name."\" style=\"background: #DDD;\" ".($name == $trunk ? "selected" : "").">".str_replace('AMP:', '', $display_description)."</option>"; 
    517517          } 
    518518        } 
     
    556556        foreach ($trunks as $name=>$display_description) { 
    557557          if ($trunkstate[$name] == 'off') { 
    558           echo "<option value=\"".$name."\">".ltrim($display_description,"AMP:")."</option>"; 
     558          echo "<option value=\"".$name."\">".str_replace('AMP:', '', $display_description)."</option>"; 
    559559          } else { 
    560560          echo "<option value=\"".$name."\" style=\"background: #DDD;\" >*".ltrim($display_description,"AMP:")."*</option>";