Changeset 519


Ignore:
Timestamp:
Sep 7, 2004, 10:10:36 PM (20 years ago)
Author:
gweltas
Message:

Minor bugs correction

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config.inc.php

    r516 r519  
    4646$conf['slideshow_period']   = array(2,5,10);
    4747$conf['last_days']          = array(1,2,3,10,30,365);
    48 $conf['version']            = 'BSF';
     48
    4949// $conf['file_ext'] lists all extensions (case insensitive) allowed for
    5050// your PhpWebGallery installation
  • trunk/include/constants.php

    r507 r519  
    2626// +-----------------------------------------------------------------------+
    2727
    28 // Default Language
     28// Default settings
    2929define('DEFAULT_LANGUAGE', 'en_UK.iso-8859-1');
     30define('PHPWG_VERSION', 'BSF');
     31define('PHPWG_URL', 'http://www.phpwebgallery.net');
     32define('PHPWG_FORUM_URL', 'http://forum.phpwebgallery.net');
    3033
    3134// Debug Level
  • trunk/include/functions.inc.php

    r512 r519  
    278278    {
    279279      list($language_name) = @file($path.'/iso.txt');
    280       $languages[$file] = $language_name;
     280      $languages[$language_name] = $file;
    281281    }
    282282  }
     
    352352    $query.= ",'".$file."','".$category."','".$picture."');";
    353353    mysql_query( $query );
    354   }
    355 }
    356 
    357 function templatize_array( $array, $global_array_name, $handle )
    358 {
    359   global $vtp, $lang, $page, $user, $conf;
    360 
    361   foreach ( $array as $value ) {
    362   if (isset(${$global_array_name}[$value]))
    363     $vtp->setGlobalVar( $handle, $value, ${$global_array_name}[$value] );
    364354  }
    365355}
  • trunk/include/functions_html.inc.php

    r514 r519  
    134134  $templates = get_templates();
    135135
     136  $style_selected = '<select name="' . $select_name . '" >';
    136137  foreach ($templates as $template)
    137138  {
    138139    $selected = ( $template == $default_style ) ? ' selected="selected"' : '';
    139     $style_select.= '<option value="'.$template.'"'.$selected.'>';
    140     $style_select.= $template.'</option>';
    141   }
    142   return $style_select;
     140    $style_selected.= '<option value="'.$template.'"'.$selected.'>';
     141    $style_selected.= $template.'</option>';
     142  }
     143  $style_selected .= '</select>';
     144  return $style_selected;
    143145}
    144146
  • trunk/include/page_tail.php

    r516 r519  
    3434  array(
    3535    'TIME' =>  $time,
    36     'VERSION' => $conf['version'],
     36    'VERSION' => PHPWG_VERSION,
    3737    'MAIL'=>$conf['mail_webmaster'],
    3838   
  • trunk/install.php

    r518 r519  
    321321  'L_ADMIN_CONFIRM_PASSWORD'=>$lang['step2_pwd_conf'],
    322322  'L_ADMIN_CONFIRM_PASSWORD_INFO'=>$lang['step2_pwd_conf_info'],
    323   'L_ADMIN_EMAIL'=>$lang['install_mail_webmaster'],
    324   'L_ADMIN_EMAIL_INFO'=>$lang['install_mail_webmaster_info'],
     323  'L_ADMIN_EMAIL'=>$lang['conf_general_mail_webmaster'],
     324  'L_ADMIN_EMAIL_INFO'=>$lang['conf_general_mail_webmaster_info'],
    325325  'L_SUBMIT'=>$lang['Start_Install'],
    326326  'L_HELP'=>$lang['install_help'],
  • trunk/language/en_UK.iso-8859-1/admin.lang.php

    r516 r519  
    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 $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.';
     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="'.PHPWG_FORUM_URL.'" style="text-decoration:underline">forum</a> (message board) is available on the presentation site of PhpWebGallery.';
    261261
    262262// Image informations
  • trunk/language/en_UK.iso-8859-1/common.lang.php

    r516 r519  
    5454$lang['keywords'] = 'Keywords';
    5555$lang['default'] = 'Default';
     56$lang['send_mail'] = 'Contact';
     57$lang['webmaster'] = 'Webmaster';
    5658
    5759//Properties
     
    145147$lang['recent_image'] = 'Image within the';
    146148$lang['days'] = 'days';
    147 $lang['send_mail'] = 'Contact';
    148 $lang['webmaster'] = 'webmaster';
     149
    149150$lang['title_send_mail'] = 'A comment on your site';
    150151$lang['sub-cat'] = 'subcategories';
     
    159160$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Information about PhpWebGallery</div>
    160161<ul>
    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>
     162  <li>This website uses the version '.PHPWG_VERSION.' of "<a href="'.PHPWG_URL.'" style="text-decoration:underline">PhpWebGallery</a>. PhpWebGallery is a web application giving you the possibility to create an online images gallery easily.</li>
    162163  <li>Technicaly, PhpWebGallery is fully developped with PHP (the elePHPant) with a MySQL database (the SQuirreL).</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>
     164  <li>If you have any suggestions or comments, please visit <a href="'.PHPWG_URL.'" style="text-decoration:underline">PhpWebGallery</a> official site, and its dedicated <a href="'.PHPWG_FORUM_URL.'" style="text-decoration:underline">forum</a>.</li>
    164165</ul>';
    165166$lang['about_return'] = 'Back';
  • trunk/language/en_UK.iso-8859-1/install.lang.php

    r518 r519  
    3333$lang['Start_Install'] = 'Start Install';
    3434$lang['reg_err_mail_address'] = 'mail address must be like xxx@yyy.eee (example : jack@altern.org)';
     35$lang['mail_webmaster'] = 'Webmaster mail adress';
     36$lang['mail_webmaster_info'] = 'Visitors will be able to contact site administrator with this mail';
     37$lang['reg_err_mail_address'] = 'e-mail address refused, it must be like name@server.com';
    3538
    3639$lang['install_webmaster'] = 'webmaster login';
    3740$lang['install_webmaster_info'] = 'It will be shown to the visitors. It is necessary for website administration';
    38 $lang['install_mail_webmaster'] = $lang['conf_general_mail_webmaster'];
    39 $lang['install_mail_webmaster_info'] = $lang['conf_general_mail_webmaster_info'];
    4041
    4142$lang['step1_confirmation'] = 'Parameters are correct';
     
    4445$lang['step1_err_copy_2'] = 'The next step of the installation is now possible';
    4546$lang['step1_err_copy_next'] = 'next step';
     47$lang['step1_err_copy'] = 'Copy the text between hyphens and paste it into the file "include/mysql.inc.php"(Warning : mysql.inc.php must only contain what is in blue, no line return or space character)';
     48
    4649$lang['step1_host'] = 'MySQL host';
    4750$lang['step1_host_info'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
  • trunk/template/default/default.css

    r514 r519  
    145145}
    146146
     147.row1,.row2 {
     148  text-align:left;
     149  padding:5px 0px 5px 0px;
     150  height:20px;
     151}
     152
     153.row1 {
     154  background-color:#505050;
     155}
     156
    147157.throw {
    148158  color:#FFFFCC;
Note: See TracChangeset for help on using the changeset viewer.