'.__('Informations').''. '

'.__('General informations').'

' ); # Version de dotclear buffer::str( '

'.sprintf(__('You are using DotClear version %s'),''.DC_VERSION.'').'

' ); # Les tables de la base de données $rs = $con->select('SHOW TABLE STATUS LIKE \''.DB_PREFIX.'%\''); buffer::str( '

'.__('DotClear tables in your database are').' :

'. ''. '' ); while ($rs->fetch()) { buffer::str( ''. ''. ''. ''. '' ); } buffer::str('
'.__('Name').''.__('Records').''.__('Size').'
'.$rs->f('name').''.$rs->f('rows').''.files::size($rs->f('Data_length')+$rs->f('Index_length')).'
'); buffer::str( '

'.__('Files informations').'

'. '

'.__('Files or directories permissions. If a file or a folder from this '. 'list is not writable, it wont prevent DotClear to work properly. It will only '. 'prevent some tools to work.').'

' ); $img_check = ''; if (is_writable(dirname(__FILE__).'/../../../conf/dotclear.ini')) { buffer::str( '

'.sprintf($img_check,'on').' '. sprintf(__('File %s is writable.'),'conf/dotclear.ini'). '

' ); } else { buffer::str( '

'.sprintf($img_check,'off').' '. sprintf(__('File %s is not writable.'),'conf/dotclear.ini'). '

' ); } if (is_writable(dirname(__FILE__).'/../../../conf/UPDATE')) { buffer::str( '

'.sprintf($img_check,'on').' '. sprintf(__('File %s is writable.'),'conf/UPDATE'). '

' ); } else { buffer::str( '

'.sprintf($img_check,'off').' '. sprintf(__('File %s is not writable.'),'conf/UPDATE'). '

' ); } if (is_writable(dc_img_root)) { buffer::str( '

'.sprintf($img_check,'on').' '. sprintf(__('Directory %s is writable.'),dc_img_root). '

' ); } else { buffer::str( '

'.sprintf($img_check,'off').' '. sprintf(__('Directory %s is not writable.'),dc_img_root). '

' ); } if (is_writable(dirname(__FILE__).'/../../../themes')) { buffer::str( '

'.sprintf($img_check,'on').' '. sprintf(__('Directory %s is writable.'),'themes/'). '

' ); } else { buffer::str( '

'.sprintf($img_check,'off').' '. sprintf(__('Directory %s is not writable.'),'themes/'). '

' ); } if (is_writable(dirname(__FILE__).'/../')) { buffer::str( '

'.sprintf($img_check,'on').' '. sprintf(__('Directory %s is writable.'),DC_ECRIRE.'/tools'). '

' ); } else { buffer::str( '

'.sprintf($img_check,'off').' '. sprintf(__('Directory %s is not writable.'),DC_ECRIRE.'/tools'). '

' ); } if (is_writable(DC_SHARE_DIR)) { buffer::str( '

'.sprintf($img_check,'on').' '. sprintf(__('Directory %s is writable.'),'share/'). '

' ); } else { buffer::str( '

'.sprintf($img_check,'off').' '. sprintf(__('Directory %s is not writable.'),'share/'). '

' ); } if (!defined('DC_UPDATE_FILE_W') || !DC_UPDATE_FILE_W) { buffer::str( '

'.__('Important').' : '. sprintf(__('the file %s is not writable. While this does not prevent '. 'DotClear from running, you should consider changing this for performance '. 'reasons (HTTP cache).'),'conf/UPDATE') ); } buffer::str( '

'.__('Server informations').'

'. '

'.sprintf(__('Your PHP version is %s'),''.phpversion().'').'

' ); if (($rs = $con->select('SELECT VERSION() AS version')) !== false) { $mysql_version = preg_replace('/-log$/','',$rs->f(0)); buffer::str( '

'.sprintf(__('Your MySQL version is %s'), ''.preg_replace('/-log$/','',$rs->f(0)).'').'

' ); $mysql_version = preg_replace('/-log$/','',$rs->f(0)); } if (!empty($_SERVER["SERVER_SOFTWARE"])) { buffer::str( '

'.sprintf(__('Your Web server is %s'), ''.$_SERVER["SERVER_SOFTWARE"].'').'

' ); } ?>