Changeset 13865 for trunk/picture.php


Ignore:
Timestamp:
Apr 2, 2012, 10:49:46 PM (12 years ago)
Author:
rvelices
Message:
  • comment edit form looks ok now with the new comment layout
  • removed unused css / simplify it
  • simplified jquery drop boxes ...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r13736 r13865  
    333333      redirect($url_self);
    334334    }
    335     case 'edit_comment' :
    336     {
    337       check_pwg_token();
     335    case 'edit_comment':
     336    {
    338337      include_once(PHPWG_ROOT_PATH.'include/functions_comment.inc.php');
    339338      check_input_parameter('comment_to_edit', $_GET, false, PATTERN_ID);
     
    344343        if (!empty($_POST['content']))
    345344        {
     345          check_pwg_token();
    346346          $comment_action = update_user_comment(
    347347            array(
     
    375375          }
    376376          unset($_POST['content']);
    377           break;
    378377        }
    379378        else
    380379        {
    381380          $edit_comment = $_GET['comment_to_edit'];
    382           break;
    383381        }
    384382      }
     383      break;
    385384    }
    386385    case 'delete_comment' :
Note: See TracChangeset for help on using the changeset viewer.