Changeset 15924 for trunk/comments.php


Ignore:
Timestamp:
Jun 21, 2012, 3:39:25 PM (12 years ago)
Author:
mistic100
Message:

on comment_list add link to exit from comment edition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/comments.php

    r15578 r15924  
    364364
    365365$template->assign('navbar', $navbar);
     366
     367$url_self = PHPWG_ROOT_PATH
     368    .'comments.php'
     369  .get_query_string_diff(array('edit','delete','validate','pwg_token'));
    366370
    367371// +-----------------------------------------------------------------------+
     
    516520        $tpl_comment['CONTENT'] = $comment['content'];
    517521        $tpl_comment['PWG_TOKEN'] = get_pwg_token();
     522        $tpl_comment['U_CANCEL'] = $url_self;
    518523      }
    519524    }
Note: See TracChangeset for help on using the changeset viewer.