Changeset 13773 for trunk/include


Ignore:
Timestamp:
Mar 27, 2012, 10:05:37 PM (12 years ago)
Author:
rvelices
Message:
  • remove unnecessary classes switchSelected switchUnselected (same effect acheved through visibility)
  • remove unused css
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/picture_comment.inc.php

    r13225 r13773  
    241241  {
    242242    $key = get_ephemeral_key(3, $page['image_id']);
     243    $content = '';
     244    if ('reject'===@$comment_action)
     245    {
     246      $content = htmlspecialchars( stripslashes($comm['content']) );
     247    }
    243248    $template->assign('comment_add',
    244249        array(
    245250          'F_ACTION' => $url_self,
    246251          'KEY' => $key,
    247           'CONTENT' => null,
     252          'CONTENT' => $content,
    248253          'SHOW_AUTHOR' => !is_classic_user()
    249254        ));
Note: See TracChangeset for help on using the changeset viewer.