Changeset 337


Ignore:
Timestamp:
09/22/05 13:30:23 (9 years ago)
Author:
gocher
Message:

Ticket #517
BackgroundColor? mistake

ext_example-dest.php
php's magic quotes fix

Location:
trunk/examples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/ext_example-body.html

    r336 r337  
    180180    } 
    181181    function frame_onSubmit(){ 
     182      document.getElementById('myTextarea0').value = document.getElementById('myTextarea0').value.replace(/^[\r\n]+|\s+$/, '') 
    182183      window.parent.menu.document.getElementById('myTextarea0').value = document.getElementById('myTextarea0').value; 
    183184      if (_oldSubmitHandler != null) { 
  • trunk/examples/ext_example-dest.php

    r330 r337  
    77</body> 
    88<?php 
     9if (get_magic_quotes_gpc()) { 
     10   $_REQUEST = array_map('stripslashes',$_REQUEST); 
     11} 
    912        foreach($_REQUEST as $key=>$value){ 
    1013          if(substr($key,0,10) == 'myTextarea') { 
Note: See TracChangeset for help on using the changeset viewer.