Changeset 2067 for branches/branch-1_7
- Timestamp:
- Jul 19, 2007, 10:03:17 PM (17 years ago)
- Location:
- branches/branch-1_7
- Files:
-
- 5 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/admin.php
r1979 r2067 45 45 46 46 // +-----------------------------------------------------------------------+ 47 // | Check configuration and add notes on problem |48 // +-----------------------------------------------------------------------+49 50 check_conf();51 52 // +-----------------------------------------------------------------------+53 47 // | variables init | 54 48 // +-----------------------------------------------------------------------+ … … 67 61 $page['errors'] = array(); 68 62 $page['infos'] = array(); 63 64 65 if ($page['page'] == 'intro') 66 { 67 include_once(PHPWG_ROOT_PATH.'admin/include/functions_check_integrity.inc.php'); 68 check_integrity(); 69 } 69 70 70 71 $link_start = PHPWG_ROOT_PATH.'admin.php?page='; -
branches/branch-1_7/admin/include/functions.php
r1979 r2067 1953 1953 1954 1954 /** 1955 * Check configuration and add notes on problem1956 *1957 * @param void1958 * @return void1959 */1960 function check_conf()1961 {1962 global $conf, $header_notes;1963 $count = 0;1964 1965 if (($conf['show_exif']) and (!function_exists('read_exif_data')))1966 {1967 $header_notes[] = sprintf(l10n('note_check_exif'), '$conf[\'show_exif\']');1968 $count++;1969 }1970 1971 if (($conf['use_exif']) and (!function_exists('read_exif_data')))1972 {1973 $header_notes[] = sprintf(l10n('note_check_exif'), '$conf[\'use_exif\']');1974 $count++;1975 }1976 1977 if ($count != 0)1978 {1979 $pwg_links = pwg_URL();1980 $link_fmt = '<a href="%s" onclick="window.open(this.href, \'\'); return false;">%s</a>';1981 $header_notes[] =1982 sprintf1983 (1984 l10n('note_check_more_info'),1985 sprintf($link_fmt, $pwg_links['FORUM'], l10n('note_check_more_info_forum')),1986 sprintf($link_fmt, $pwg_links['WIKI'], l10n('note_check_more_info_wiki'))1987 );1988 }1989 }1990 /**1991 1955 * Refer main PhpWebGallery URLs (currently PHPWG_DOMAIN domain) 1992 1956 * -
branches/branch-1_7/admin/intro.php
r2034 r2067 279 279 $template->assign_var_from_handle('ADMIN_CONTENT', 'intro'); 280 280 281 display_check_integrity(); 282 281 283 ?> -
branches/branch-1_7/language/en_UK.iso-8859-1/admin.lang.php
r2063 r2067 608 608 $lang['is_the_default'] = 'default values'; 609 609 $lang['High filesize'] = 'High filesize'; 610 // --------- Starting below: New or revised $lang ---- from Butterfly (1.7.1)610 // --------- Starting below: New or revised $lang ---- from version 1.7.1 611 611 $lang['Guest cannot be deleted'] = 'Guest cannot be deleted'; 612 612 $lang['Default user cannot be deleted'] = 'Default user cannot be deleted'; 613 613 $lang['purge history detail'] = 'purge history detail'; 614 614 $lang['purge history summary'] = 'purge history summary'; 615 $lang['c13y_title'] = 'Check integrity'; 616 $lang['c13y_Anomaly'] = 'Anomaly'; 617 $lang['c13y_Correction'] = 'Correction'; 618 $lang['c13y_Automatic_correction'] = 'Automatic correction'; 619 $lang['c13y_Impossible_automatic_correction'] = 'Impossible automatic correction'; 620 $lang['c13y_Correction_applied_success'] = 'Correction applied with success'; 621 $lang['c13y_Correction_applied_error'] = 'Correction applied with error'; 622 $lang['c13y_Apply_selected_corrections'] = 'Apply selected corrections'; 623 $lang['c13y_anomaly_count'] = '%d anomaly has been detected.'; 624 $lang['c13y_anomalies_count'] = '%d anomalies has been detected.'; 625 $lang['c13y_anomaly_corrected_count'] = '%d anomaly has been corrected.'; 626 $lang['c13y_anomalies_corrected_count'] = '%d anomalies has been detected corrected.'; 627 $lang['c13y_anomaly_not_corrected_count'] = '%d anomaly hasn\'t been corrected.'; 628 $lang['c13y_anomalies_not_corrected_count'] = '%d anomalies hasn\'t been corrected.'; 629 $lang['c13y_more_info'] = 'Go to %s or %s for more informations'; 630 $lang['c13y_more_info_forum'] = 'the forum'; 631 $lang['c13y_more_info_wiki'] = 'the wiki'; 632 $lang['c13y_exif_anomaly'] = '%s value is not correct file because exif are not supported'; 633 $lang['c13y_exif_correction'] = '%s must be to set to false in your config_local.inc.php file'; 634 $lang['c13y_guest_non_existent'] = 'Main "guest" user don\'t exist any more'; 635 $lang['c13y_bad_guest_status'] = 'Main "guest" user status is incorrect'; 636 $lang['c13y_default_non_existent'] = 'Default user don\'t exist any more'; 637 $lang['c13y_webmaster_non_existent'] = 'Main "webmaster" user don\'t exist any more'; 638 $lang['c13y_bad_webmaster_status'] = 'Main "webmaster" user status is incorrect'; 639 $lang['c13y_user_created'] = 'User "%s" created with "%s" like password'; 640 $lang['c13y_user_status_updated'] = 'Status of user "%s" updated'; 615 641 ?> -
branches/branch-1_7/language/fr_FR.iso-8859-1/admin.lang.php
r2063 r2067 609 609 $lang['is_the_default'] = 'valeurs par défaut'; 610 610 $lang['High filesize'] = 'Taille du fichier HR'; 611 // --------- Starting below: New or revised $lang ---- from Butterfly (1.7.1)611 // --------- Starting below: New or revised $lang ---- from version 1.7.1 612 612 $lang['Guest cannot be deleted'] = 'L\'invité ne peut pas être supprimé'; 613 613 $lang['Default user cannot be deleted'] = 'L\'utilisateur par défaut ne peut pas être supprimé'; 614 614 $lang['purge history detail'] = 'purger le detail de l\'historique'; 615 615 $lang['purge history summary'] = 'purger le sommaire de l\'historique'; 616 $lang['c13y_title'] = 'Contrôle d\'intégrité'; 617 $lang['c13y_Anomaly'] = 'Anomalie'; 618 $lang['c13y_Correction'] = 'Correction'; 619 $lang['c13y_Automatic_correction'] = 'Correction automatique'; 620 $lang['c13y_Impossible_automatic_correction'] = 'Correction automatique impossible'; 621 $lang['c13y_Correction_applied_success'] = 'Correction appliquée avec succés'; 622 $lang['c13y_Correction_applied_error'] = 'Correction appliquée avec erreur'; 623 $lang['c13y_Apply_selected_corrections'] = 'Appliquer les corrections sélectionnées'; 624 $lang['c13y_anomaly_count'] = '%d anomalie a été détecté.'; 625 $lang['c13y_anomalies_count'] = '%d anomalies ont été détectées.'; 626 $lang['c13y_anomaly_corrected_count'] = '%d anomalie a été corrigée.'; 627 $lang['c13y_anomalies_corrected_count'] = '%d anomalies ont été corrigées.'; 628 $lang['c13y_anomaly_not_corrected_count'] = '%d anomalie n\'a pas pu être corrigée.'; 629 $lang['c13y_anomalies_not_corrected_count'] = '%d anomalies n\'ont pu être corrigées.'; 630 $lang['c13y_more_info'] = 'Allez sur %s ou %s pour plus d\'informations'; 631 $lang['c13y_more_info_forum'] = 'le forum'; 632 $lang['c13y_more_info_wiki'] = 'le wiki'; 633 $lang['c13y_exif_anomaly'] = 'La valeur de %s n\'est pas correcte parce que l\'exif n\'est pas supporté'; 634 $lang['c13y_exif_correction'] = '%s doit être mis à "false" dans votre fichier config_local.inc.php'; 635 $lang['c13y_guest_non_existent'] = 'L\'utilisateur "invité" principal n\'existe plus'; 636 $lang['c13y_bad_guest_status'] = 'Le statut de l\'utilisateur "invité" principal est incorrect'; 637 $lang['c13y_default_non_existent'] = 'L\'utilisateur par défaut n\'existe plus'; 638 $lang['c13y_webmaster_non_existent'] = 'L\'utilisateur "webmestre" principal n\'existe plus'; 639 $lang['c13y_bad_webmaster_status'] = 'Le statut de l\'utilisateur "webmestre" principal est incorrect'; 640 $lang['c13y_user_created'] = 'Utilisateur "%s" créé avec comme mot de passe "%s"'; 641 $lang['c13y_user_status_updated'] = 'Statut de l\'utilisateur "%s" mis à jour'; 616 642 ?>
Note: See TracChangeset
for help on using the changeset viewer.