Changeset 1311

Show
Ignore:
Timestamp:
09/06/2005 04:57:01 PM (3 years ago)
Author:
jeena
Message:

Aenderung der Kommentare ermöglicht

Location:
jlog/trunk
Files:
1 removed
2 modified

Legend:

Unmodified
Added
Removed
  • jlog/trunk/admin/comments.php

    r1292 r1311  
    7373  $l["comments_url_href"]        = $l['admin']["comments_url_href"]; 
    7474  $l["comments_url_node"]        = $l['admin']["comments_url_node"]; 
    75  
     75   
    7676        if($data['form_submitted'] == $l['comments_preview']) { 
    7777                $c['main'] .= "\n  <h2>".$l['admin']['comments_change_h']."</h2> 
  • jlog/trunk/scripts/comments.php

    r1300 r1311  
    3131        if($com_form['mail_by_comment'] == 1) $output .= "checked='checked'"; 
    3232  $output .= " value='1' /> <label for='mail_by_comment'>".$l['comments_mail_by_comment']."</label>&nbsp;"; 
    33         if(defined(JLOG_ADMIN) === false) { 
     33        if(JLOG_ADMIN === true) $output .= "\n     <input type='hidden' value='".$com_form['id']."' name='id' />\n"; 
     34        else { 
    3435                $output .= "   <input type='checkbox' id='cookie' name='cookie' "; 
    3536                if($com_form['cookie'] == 1) $output .= "checked='checked'"; 
    3637                $output .= " value='1' /> <label for='cookie'>".$l['comments_save_data']."</label>\n"; 
    3738        }   
    38         else $output .= "\n     <input type='hidden' value='".$com_form['id']."' name='id' />\n"; 
    3939  $output .= "     <input type='hidden' value='".$com_form['sid']."' name='sid' /> 
    4040    </p>