Changeset 1724 for trunk/admin/include
- Timestamp:
- Jan 15, 2007, 11:44:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r1719 r1724 1921 1921 } 1922 1922 1923 /** 1924 * Refer main PhpWebGallery URLs (currently phpwebgallery.net domain) 1925 * 1926 * @param void 1927 * @return array like $conf['links'] 1928 */ 1929 function pwg_URL() 1930 { 1931 global $lang_info; 1932 $urls = array( 1933 'WIKI' => 'http://phpwebgallery.net/doc/', 1934 'HOME' => 'http://phpwebgallery.net/', 1935 'DEMO' => 'http://demo.phpwebgallery.net/', 1936 'FORUM' => 'http://forum.phpwebgallery.net/', 1937 'BUGS' => 'http://bugs.phpwebgallery.net/', 1938 'EXTENSIONS' => 'http://phpwebgallery.net/ext', 1939 ); 1940 if ( isset($lang_info['code']) and 1941 in_array($lang_info['code'], array('fr','en')) ) 1942 { /* current wiki languages are French or English */ 1943 $urls['WIKI'] = 1944 'http://phpwebgallery.net/doc/doku.php?id='.$lang_info['code'].':start'; 1945 $urls['HOME'] = 'http://phpwebgallery.net/?lang='.$lang_info['code']; 1946 } 1947 return $urls; 1948 } 1949 1923 1950 ?>
Note: See TracChangeset
for help on using the changeset viewer.