Changeset 667
- Timestamp:
- Dec 30, 2004, 9:10:46 AM (20 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/config.inc.php
r650 r667 171 171 // newcat_default_uploadable : at creation, must a category be uploadable or 172 172 // not ? 173 $conf['newcat_default_uploadable'] = ' true';173 $conf['newcat_default_uploadable'] = 'false'; 174 174 175 175 // newcat_default_visible : at creation, must a category be visible or not ? -
trunk/include/functions.inc.php
r661 r667 401 401 case 'unix' : 402 402 { 403 list($year,$month,$day,$hour,$minute ,$second) =403 list($year,$month,$day,$hour,$minute) = 404 404 explode('.', date('Y.n.j.G.i', $date)); 405 405 break; -
trunk/template/default/admin/waiting.tpl
r520 r667 34 34 <!-- END picture --> 35 35 <tr> 36 <td colspan=" 5" align="center">36 <td colspan="6" align="center"> 37 37 <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" /> 38 38 </td> -
trunk/upload.php
r642 r667 123 123 $page['cat_name'] = $result['name']; 124 124 $page['cat_uploadable'] = $result['uploadable']; 125 if ( $page['cat_site_id'] != 1 126 or !$conf['upload_available'] 127 or !$page['cat_uploadable'] ) 128 { 129 echo '<div style="text-align:center;">'.$lang['upload_forbidden'].'<br />'; 130 echo '<a href="'.add_session_id( './category.php' ).'">'; 131 echo $lang['thumbnails'].'</a></div>'; 132 exit(); 133 } 125 if ($page['cat_site_id'] != 1 or !$page['cat_uploadable']) 126 { 127 echo '<div style="text-align:center;">'.$lang['upload_forbidden'].'<br />'; 128 echo '<a href="'.add_session_id( './category.php' ).'">'; 129 echo $lang['thumbnails'].'</a></div>'; 130 exit(); 131 } 134 132 } 135 133
Note: See TracChangeset
for help on using the changeset viewer.