Changeset 1682 for trunk/admin/include/functions.php
- Timestamp:
- Dec 28, 2006, 1:06:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r1624 r1682 1889 1889 associate_images_to_categories($images, $destinations); 1890 1890 } 1891 1892 /** 1893 * Check configuration and add notes on problem 1894 * 1895 * @param void 1896 * @return void 1897 */ 1898 function check_conf() 1899 { 1900 global $conf, $header_notes; 1901 $count = 0; 1902 1903 if (($conf['show_exif']) and (!function_exists('read_exif_data'))) 1904 { 1905 $header_notes[] = sprintf(l10n('note_check_exif'), '$conf[\'show_exif\']'); 1906 $count++; 1907 } 1908 1909 if (($conf['use_exif']) and (!function_exists('read_exif_data'))) 1910 { 1911 $header_notes[] = sprintf(l10n('note_check_exif'), '$conf[\'use_exif\']'); 1912 $count++; 1913 } 1914 1915 if ($count != 0) 1916 { 1917 $header_notes[] = 1918 sprintf 1919 ( 1920 l10n('note_check_more_info'), 1921 sprintf('<a href="http://forum.phpwebgallery.net/" target="_blank"> %s</a>', l10n('note_check_more_info_forum')), 1922 sprintf('<a href="http://phpwebgallery.net/doc/" target="_blank"> %s</a>', l10n('note_check_more_info_wiki')) 1923 ); 1924 } 1925 } 1926 1891 1927 ?>
Note: See TracChangeset
for help on using the changeset viewer.