Show
Ignore:
Timestamp:
11/07/06 14:23:57 (2 years ago)
Author:
mbonetti
Message:

403 Error message, updated Vietnamese, tiny changes to Admin, API

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/admin/channels.php

    r1602 r1629  
    281281 
    282282        if ($label != 'http://' &&  substr($label, 0,4) == "http") { 
    283             $tags = $_REQUEST['channel_tags']; 
     283            $tags = @$_REQUEST['channel_tags']; 
    284284            $ret = add_channel($label,$fid,null,null,$tags); 
    285285            //var_dump($ret); 
     
    900900 
    901901    // Description 
    902     $descr = strip_tags($descr); 
     902    $descr = trim(strip_tags($descr)); 
    903903    echo "<p><label for=\"c_descr\">". __('Description:') ."</label>\n" 
    904904    ."<input type=\"text\" id=\"c_descr\" name=\"c_descr\" value=\"$descr\" /></p>\n";