Changeset 516


Ignore:
Timestamp:
Sep 5, 2004, 5:49:54 PM (20 years ago)
Author:
z0rglub
Message:

deletion of $confsite_url and $confforum_url and all their usage
(thus avoiding the usage of $conf in *.lang.php)

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/configuration.php

    r515 r516  
    100100{
    101101  $conf[$row['param']] = $row['value'];
    102 
     102  // if the parameter is present in $_POST array (if a form is submited), we
     103  // override it with the submited value
    103104  if (isset($_POST[$row['param']]))
    104105  {
  • trunk/include/config.inc.php

    r514 r516  
    4747$conf['last_days']          = array(1,2,3,10,30,365);
    4848$conf['version']            = 'BSF';
    49 $conf['site_url']           = 'http://www.phpwebgallery.net';
    50 $conf['forum_url']          = 'http://forum.phpwebgallery.net';
    5149// $conf['file_ext'] lists all extensions (case insensitive) allowed for
    5250// your PhpWebGallery installation
  • trunk/include/page_tail.php

    r512 r516  
    4242    'L_WEBMASTER'=>$lang['webmaster'],
    4343   
    44     'U_SITE' => $conf['site_url']
    4544    ));
    4645   
  • trunk/language/en_UK.iso-8859-1/admin.lang.php

    r512 r516  
    258258$lang['help_access'][1] = '1. Modify category informations (from the "categories" section in tha admin panel) and make it "private".';
    259259$lang['help_access'][2] = '2. On the page of permissions (for a group or a user) the private category will be shown and you\'ll be able to authorize access or not.';
    260 if (isset($conf))
    261   $lang['help_infos'][2] = 'If you have any question, do not hesitate to take a look at the forum or ask a question there. The <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> (message board) is available on the presentation site of PhpWebGallery.';
     260$lang['help_infos'][2] = 'If you have any question, do not hesitate to take a look at the forum or ask a question there. The <a href="http://forum.phpwebgallery.net" style="text-decoration:underline">forum</a> (message board) is available on the presentation site of PhpWebGallery.';
    262261
    263262// Image informations
  • trunk/language/en_UK.iso-8859-1/common.lang.php

    r512 r516  
    157157$lang['about_page_title'] = 'About PhpWebGallery';
    158158$lang['about_title'] = 'About...';
    159 if (isset($conf))
    160159$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Information about PhpWebGallery</div>
    161160<ul>
    162   <li>This website uses <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> release '.$conf['version'].'. PhpWebGallery is a web application giving you the possibility to create an online images gallery easily.</li>
     161  <li>This website uses <a href="http://www.phpwebgallery.net" style="text-decoration:underline">PhpWebGallery</a>. PhpWebGallery is a web application giving you the possibility to create an online images gallery easily.</li>
    163162  <li>Technicaly, PhpWebGallery is fully developped with PHP (the elePHPant) with a MySQL database (the SQuirreL).</li>
    164   <li>If you have any suggestions or comments, please visit <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> official site, and its dedicated <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a>.</li>
     163  <li>If you have any suggestions or comments, please visit <a href="http://www.phpwebgallery.net" style="text-decoration:underline">PhpWebGallery</a> official site, and its dedicated <a href="http://forum.phpwebgallery.net" style="text-decoration:underline">forum</a>.</li>
    165164</ul>';
    166165$lang['about_return'] = 'Back';
  • trunk/template/default/footer.tpl

    r512 r516  
    88          to show the origin of the script...-->
    99
    10       Powered by <a href="{U_SITE}" class="back">PhpWebGallery</a>
     10      Powered by <a href="http://www.phpwebgallery.net" class="back">PhpWebGallery</a>
    1111      {VERSION} ::
    1212
Note: See TracChangeset for help on using the changeset viewer.