Changeset 8569

Show
Ignore:
Timestamp:
01/07/10 15:28:00 (3 years ago)
Author:
mbrevda
Message:

revert accidental check ins in r8568

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.7/core/page.did.php

    r8568 r8569  
    270270      </td> 
    271271    </tr> 
    272     <tr class="pm_opts" <?php echo $privacyman == '0' ? 'style="display:none"':''?>> 
    273       <td><a href="#" class="info"><?php echo _("Max attempts")?><span><?php echo _('This sets the amount of atempts the caller has to enter a valid callerID')?></span></a>:</td> 
    274       <td> 
    275         <select name="pmmaxretries" tabindex="<?php echo ++$tabindex;?>"> 
    276           <?php 
    277             if(!isset($pmmaxretries)){$pmmaxretries=3;} 
    278             for($i=1;$i<11;$i++){ 
    279               echo '<option value="'.$i.'"'.($pmmaxretries == $i ? 'SELECTED' : '').' >'.$i.'</option>'; 
    280             } 
    281           ?> 
    282         </select>  
    283       </td> 
    284     </tr>  
    285     <tr class="pm_opts" <?php echo $privacyman == '0' ? 'style="display:none"':''?>> 
    286       <td><a href="#" class="info"><?php echo _("Min Length")?><span><?php echo _('This sets the minimum amount of digits a callerID needs to contain in order to be valid')?></span></a>:</td> 
    287       <td> 
    288         <select name="pmminlength" tabindex="<?php echo ++$tabindex;?>"> 
    289           <?php 
    290             if(!isset($pmminlength)){$pmminlength=10;} 
    291             for($i=1;$i<16;$i++){ 
    292               echo '<option value="'.$i.'"'.($pmminlength == $i ? 'SELECTED' : '').' >'.$i.'</option>'; 
    293             } 
    294           ?> 
    295         </select>  
    296       </td> 
    297     </tr>  
     272     
    298273<?php 
    299274  // implementation of module hook 
     
    374349} 
    375350 
    376 $(document).ready(function() { 
    377   //show/hide privacy manager options 
    378   $('select[name=privacyman]').change(function(){ 
    379     if($(this).val()==0){$('.pm_opts').fadeOut();} 
    380     if($(this).val()==1){$('.pm_opts').fadeIn();} 
    381   }); 
    382 }); 
    383  
    384351//--> 
    385352</script>