Changeset 668
- Timestamp:
- Dec 30, 2004, 9:36:48 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_modify.php
r649 r668 63 63 if ( isset( $_POST['uploadable'] ) ) 64 64 $query.= ", uploadable = '".$_POST['uploadable']."'"; 65 66 if ( isset( $_POST['commentable'] ) ) 67 $query.= ", commentable = '".$_POST['commentable']."'"; 65 68 66 69 if ( isset( $_POST['associate'] ) ) -
trunk/picture.php
r648 r668 785 785 // the picture is commentable if it belongs at least to one category which 786 786 // is commentable 787 if ($category['commentable'] )787 if ($category['commentable'] == 'true') 788 788 { 789 789 $page['show_comments'] = true; -
trunk/template/default/admin/cat_modify.tpl
r646 r668 62 62 <td><strong>{L_EDIT_COMMENTABLE} :</strong><br /><span class="small">{L_EDIT_COMMENTABLE_INFO}</span></td> 63 63 <td class="row1"> 64 <input type="radio" class="radio" name="commentable" value=" false" {COMMENTABLE_TRUE} />{L_YES} 65 <input type="radio" class="radio" name="commentable" value=" true" {COMMENTABLE_FALSE} />{L_NO}64 <input type="radio" class="radio" name="commentable" value="true" {COMMENTABLE_TRUE} />{L_YES} 65 <input type="radio" class="radio" name="commentable" value="false" {COMMENTABLE_FALSE} />{L_NO} 66 66 </td> 67 67 </tr>
Note: See TracChangeset
for help on using the changeset viewer.