Changeset 1724 for trunk/admin/include


Ignore:
Timestamp:
Jan 15, 2007, 11:44:48 PM (18 years ago)
Author:
vdigital
Message:

Feature "Admin Advices !" (Standard plugin) : May give you always now an advice on the administration page.
Quick solved list:
1 - Wording on EXIF/IPTC Advices
2 - Default language is English
3 - Some Transparency issues under IE
4 - Some Border issues
5 - PWG Menu moved from Advices Box to Intro.
6 - phpwebgallery.net URLs are available thru a new admin function pwg_URL()
7 - PWG Menu URL open in a new target (XHTML strict compliant (JS)).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r1719 r1724  
    19211921}
    19221922
     1923/**
     1924 * Refer main PhpWebGallery URLs (currently phpwebgallery.net domain)
     1925 *
     1926 * @param void
     1927 * @return array like $conf['links']
     1928 */
     1929function 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
    19231950?>
Note: See TracChangeset for help on using the changeset viewer.