Changeset 1726 for trunk/admin/include/functions.php
- Timestamp:
- Jan 16, 2007, 11:23:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r1724 r1726 1911 1911 if ($count != 0) 1912 1912 { 1913 $pwg_links = pwg_URL(); 1914 $link_fmt = '<a href="%s" onclick="window.open(this.href, \'\'); return false;">%s</a>'; 1913 1915 $header_notes[] = 1914 1916 sprintf 1915 1917 ( 1916 1918 l10n('note_check_more_info'), 1917 sprintf( '<a href="http://forum.phpwebgallery.net/" target="_blank"> %s</a>', l10n('note_check_more_info_forum')),1918 sprintf( '<a href="http://phpwebgallery.net/doc/" target="_blank"> %s</a>', l10n('note_check_more_info_wiki'))1919 sprintf($link_fmt, $pwg_links['FORUM'], l10n('note_check_more_info_forum')), 1920 sprintf($link_fmt, $pwg_links['WIKI'], l10n('note_check_more_info_wiki')) 1919 1921 ); 1920 1922 } … … 1922 1924 1923 1925 /** 1924 * Refer main PhpWebGallery URLs (currently phpwebgallery.netdomain)1926 * Refer main PhpWebGallery URLs (currently PHPWG_DOMAIN domain) 1925 1927 * 1926 1928 * @param void … … 1931 1933 global $lang_info; 1932 1934 $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',1935 'WIKI' => 'http://'.PHPWG_DOMAIN.'/doc/', 1936 'HOME' => 'http://'.PHPWG_DOMAIN.'/', 1937 'DEMO' => 'http://demo.'.PHPWG_DOMAIN.'/', 1938 'FORUM' => 'http://forum.'.PHPWG_DOMAIN.'/', 1939 'BUGS' => 'http://bugs.'.PHPWG_DOMAIN.'/', 1940 'EXTENSIONS' => 'http://'.PHPWG_DOMAIN.'/ext', 1939 1941 ); 1940 1942 if ( isset($lang_info['code']) and 1941 1943 in_array($lang_info['code'], array('fr','en')) ) 1942 1944 { /* 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']; 1945 $urls['WIKI'] .= 'doku.php?id='.$lang_info['code'].':start'; 1946 $urls['HOME'] .= '?lang='.$lang_info['code']; 1946 1947 } 1947 1948 return $urls;
Note: See TracChangeset
for help on using the changeset viewer.