- Timestamp:
- Apr 26, 2006, 11:08:44 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r1121 r1278 1570 1570 'name' => $category_name, 1571 1571 'rank' => ++$current_rank, 1572 'commentable' => $conf['newcat_default_commentable'],1572 'commentable' => boolean_to_string($conf['newcat_default_commentable']), 1573 1573 'uploadable' => 'false', 1574 1574 ); … … 1595 1595 else 1596 1596 { 1597 $insert{'visible'} = $conf['newcat_default_visible'];1597 $insert{'visible'} = boolean_to_string($conf['newcat_default_visible']); 1598 1598 } 1599 1599 … … 1607 1607 else 1608 1608 { 1609 $insert{'status'} = $conf['newcat_default_status'];1609 $insert{'status'} = boolean_to_string($conf['newcat_default_status']); 1610 1610 } 1611 1611 } 1612 1612 else 1613 1613 { 1614 $insert{'visible'} = $conf['newcat_default_visible'];1615 $insert{'status'} = $conf['newcat_default_status'];1614 $insert{'visible'} = boolean_to_string($conf['newcat_default_visible']); 1615 $insert{'status'} = boolean_to_string($conf['newcat_default_status']); 1616 1616 $insert{'global_rank'} = $insert{'rank'}; 1617 1617 } -
trunk/admin/site_update.php
r1250 r1278 248 248 'name' => str_replace('_', ' ', $dir), 249 249 'site_id' => $site_id, 250 'commentable' => $conf['newcat_default_commentable'], 250 'commentable' => 251 boolean_to_string($conf['newcat_default_commentable']), 251 252 'uploadable' => $site_is_remote 252 253 ? false 253 : $conf['newcat_default_uploadable'],254 'status' => $conf{'newcat_default_status'},255 'visible' => $conf{'newcat_default_visible'},254 : boolean_to_string($conf['newcat_default_uploadable']), 255 'status' => boolean_to_string($conf{'newcat_default_status'}), 256 'visible' => boolean_to_string($conf{'newcat_default_visible'}), 256 257 ); 257 258 -
trunk/include/config_default.inc.php
r1221 r1278 111 111 // newcat_default_commentable : at creation, must a category be commentable 112 112 // or not ? 113 $conf['newcat_default_commentable'] = 'true';113 $conf['newcat_default_commentable'] = true; 114 114 115 115 // newcat_default_uploadable : at creation, must a category be uploadable or 116 116 // not ? 117 $conf['newcat_default_uploadable'] = 'false';117 $conf['newcat_default_uploadable'] = false; 118 118 119 119 // newcat_default_visible : at creation, must a category be visible or not ? 120 120 // Warning : if the parent category is invisible, the category is 121 121 // automatically create invisible. (invisible = locked) 122 $conf['newcat_default_visible'] = 'true';122 $conf['newcat_default_visible'] = true; 123 123 124 124 // newcat_default_status : at creation, must a category be public or private … … 128 128 129 129 // newuser_default_enabled_high : at creation, must a user with enabled_high or not 130 $conf['newuser_default_enabled_high'] = 'true';130 $conf['newuser_default_enabled_high'] = true; 131 131 132 132 // level_separator : character string used for separating a category level
Note: See TracChangeset
for help on using the changeset viewer.