> [LANG] Anglais
|
|
|
Ishimaru Chiaki |
|
Groupe : Acharné
Messages : 592
Enregistré le : 12/03/2008
Hors ligne Site Web
|
En éditant le fichier general.lang, j'ai trouvé d'autres erreurs, donc je mets la correction ici :
<?php
/**
* general.lang
* Lang definition file.
* Contains the english translation for Connectix Boards.
* Made by Samuel Couturier for Connectix Boards
* ::Connectix Boards 2007::
*/
$merge = array (
'langname' => 'English',
'forum' => 'forum',
'topicgroup' => 'topic group',
'topic' => 'topic',
'name' => 'Name',
'warning' => 'Warning',
'cancel' => 'Cancel',
'comment' => 'Comment',
'confirm' => 'Confirm',
'edit' => 'Edit',
'delete' => 'Delete',
'see' => 'Preview',
'class' => 'Class',
'userid' => 'User n°',
'legend' => 'Legend',
'username' => 'Username',
'password' => 'Password',
'password_confirm' => 'Password confirmation',
'login_enterinfos' => 'Please fill in your personal informations',
'login_fastconnect' => 'Fast login',
'registered' => 'Registered on',
'lastconnect' => 'Last visit',
'mail' => 'E-mail address',
'remember' => 'Remember me?',
'login_confirm' => 'Login !',
'login' => 'Login',
'search' => 'Search',
'notregistered' => 'Not registered',
'in' => 'In',
'by' => 'By',
'pages' => 'Pages',
'posts' => 'Posts',
'users' => 'Users',
'showusers' => 'Users list',
'noaccount' => 'Not registered yet?',
'register' => 'Register',
'typenumber' => 'Validation code',
'infomessage' => '(use of <a href="http://www.connectix-boards.org/index.php?page=tutos&tuto=9">bbcode</a> and smilies is allowed)',
'avatar' => 'Avatar',
'signature' => 'Signature',
'pinned' => 'Sticky',
'announcement' => 'Announcement',
'closetopic' => 'close topic',
'last' => 'End',
'first' => 'Beginning',
'yes' => 'Yes',
'no' => 'No',
'connected' => 'Connected',
'unconnected' => 'Offline',
'choose_tg' => 'Topic group',
'rules' => 'Rules',
'members' => 'Members',
'normal' => 'Normal',
'moderator' => 'Moderator',
'moderators' => 'Moderators',
'admin' => 'Administrator',
'paused' => 'The forum is under maintenance! Only administrators can log in. Other users can only see this error message!.',
'adminmessage' => 'Administrators team message',
'nomessage' => 'No message...',
'adminlink' => 'Administration',
'day' => 'day',
'hour' => 'hour',
'minute' => 'minute',
'second' => 'second',
'days' => 'days',
'hours' => 'hours',
'minutes' => 'minutes',
'seconds' => 'seconds',
'punish' => 'Moderate',
'connected_as' => 'Connected as {name}',
'logout' => 'Log out',
'pers_settings' => 'Personnal info',
'paneladmin' => 'Administration',
'modpanel' => 'Moderation',
'modpanel_nbreports' => '{nb} message(s) reported',
'welcome' => 'Welcome, you\'re not connected.',
'login' => 'Log in',
'register' => 'Register',
'forum_infos' => 'Stats',
'nobody' => 'Nobody',
'guys_connected' => '{total} people connected during the last {time} ({members} member(s) and {guests} guest(s)).',
'members_connected' => 'People connected in this section',
'members_registered' => 'There are {n} registered members.',
'total_messages' => 'Our members posted {m} messages in {s} topics.',
'members_list' => 'View the list...',
'pages_shown' => '{n} pages shown.',
'choose_language' => 'Language...',
'choose_skin' => 'Design...',
'g_mpadv' => 'You receive a private message. Go to your <a href="index.php?act=mp">inbox</a> to see it.',
'g_mpadv_javascript' => 'You received a private message. Go to your inbox to read it.',
'sc_lastmessages' => 'Last topics',
'sc_noreply' => 'Topics without replies',
'sc_newmessages' => 'New messages',
'sc_bookmarks' => 'Favourites',
'sc_tracked' => 'Notified topics',
'sc_posted' => '(where I posted)',
'visibility_hidden' => 'Hidden',
'today' => 'Today',
'yesterday' => 'Yesterday',
'backtowebsite' => 'Back to website',
'color' => 'Color',
'size' => 'Size',
'font' => 'Font',
'lost_password' => 'Forgot your password?',
'keys' => 'Groups legend',
'fastredirect' => 'Quick redirection',
'fastredirect_index' => 'Forum index',
'mp_newmessage' => '{n} new message(s)',
'mps' => 'Private messages',
'connected_people' => 'People connected',
'wm_postmessage' => 'Send message',
'wm_previsualization' => 'Preview',
'wm_moreoptions' => 'More options',
'wm_guestname' => 'Guest name',
'wm_guestidentification' => 'Post as a guest',
'wm_captcha' => 'Validation code',
'guest' => 'Guest',
'automessage_warn' => 'This is an automatic message',
'mod_editprofile' => 'Edit profile',
/* Ecriture des messages */
'form_inserturl' => 'Insert link URL',
'form_insertimg' => 'Insert image complete adress',
'form_insertmail' => 'Insert an e-mail adress',
/* Boutons */
'www' => 'Www',
'mail' => 'Mail',
'mp' => 'PM',
'bb_markread' => 'Mark all as read',
'bb_tg_poll' => 'New poll',
'bb_tg_topic' => 'New topic',
'usr_online' => 'Online',
'usr_offline' => 'Offline',
/* Réputation du membre */
'reputation' => 'Reputation',
'reput_0' => 'Perfect',
'reput_1' => 'Almost flawless',
'reput_2' => 'Sometimes disrespectful',
'reput_3' => 'To keep eyes on',
'reput_4' => 'Difficult',
'reput_5' => 'Infernal',
/* Indications de l'endroit où on est connecté */
'index' => 'index',
'index_f' => 'this forum',
'index_tg' => 'this topic group',
'index_tg_wm' => 'writing a new topic in this topic group',
'index_t' => 'this topic',
'index_t_wm' => 'writing a new message in this topic',
'index_mp' => 'private messages',
'index_register' => 'registration',
'index_report' => 'reporting a message',
'index_rules' => 'rules',
'index_search' => 'search',
'index_topiclist' => 'topic list',
'index_showusers' => 'memberlist',
'index_userpr_show' => 'viewing user profile',
'index_userpr_edit' => 'editing personal infos',
'index_validate' => 'account validation',
'index_paneladmin' => 'administration panel',
'index_login' => 'log in',
'index_modpanel' => 'moderation panel',
'index_changepass' => 'password recovery',
'index_connusers' => 'viewing connected people',
'ttl_index' => 'forum index.',
'ttl_index_f' => 'Viewing {f}.',
'ttl_index_tg' => 'Viewing topic group {tg}.',
'ttl_index_tg_wm' => 'Writing a new topic in {tg}.',
'ttl_index_t' => 'Reading a topic in {tg}.',
'ttl_index_t_wm' => 'Writing a message in {tg}.',
'ttl_index_mp' => 'Reading personal messages.',
'ttl_index_register' => 'Creating user account.',
'ttl_index_report' => 'Reporting a message to the moderators',
'ttl_index_rules' => 'Reading forum rules.',
'ttl_index_search' => 'Searching something.',
'ttl_index_topiclist' => 'Viewing a topic list.',
'ttl_index_showusers' => 'Viewing memberlist.',
'ttl_index_userpr_show' => 'Viewing a user profile.',
'ttl_index_userpr_edit' => 'Changing personal infos.',
'ttl_index_validate' => 'Validating a user account.',
'ttl_index_paneladmin' => 'Managing forum in administration panel.',
'ttl_index_login' => 'Login page.',
'ttl_index_modpanel' => 'Managing members in moderator panel.',
'ttl_index_changepass' => 'Recovering password.',
'ttl_index_connusers' => 'Viewing connected people.',
'topicgroup_noaccess' => 'topic group where you have no access'
);
$this->lang = array_merge($this->lang,$merge);
?>
userprofile.lang
<?php
/**
* userprofile.lang
* Lang definition file.
* Contains the english translation for Connectix Boards.
* Made by kestrel7e7 for Connectix Boards
* ::Connectix Boards 2007::
*/
$merge = array (
'usr_showprofile' => 'Show profile',
'usr_editprofile' => 'Edit profile',
'usr_edit_cannot' => 'You cannot edit this member\'s profile!',
'usr_modoptions' => 'Moderation options',
'usr_command' => 'Profile menu',
'usr_part_general' => 'General information',
'usr_part_changepass' => 'Change password',
'usr_part_changemail' => 'Change email address',
'usr_part_avatar' => 'Change avatar',
'usr_part_signature' => 'Change signature',
'usr_part_params' => 'Presentation parameters',
'usr_part_topicstracked' => 'Tracked topics',
'usr_part_bookmarks' => 'Favourites',
'usr_confirmpass' => 'Confirm new password',
'usr_currentavatar' => 'Current avatar',
'usr_changeavatar' => 'Change avatar',
'usr_currentsignature' => 'Current signature',
'usr_changesignature' => 'Change signature',
'usr_changesign_bb_forbidden' => 'The following bbcode is forbidden in signatures',
'usr_oldpass' => 'Old password',
'usr_newpass' => 'New password',
'usr_changepass' => 'Change password',
'userprofile' => 'User profile',
'usr_userprofile' => 'User profile',
'usr_editing_other' => 'Warning! You are editing {name}\'s profile!',
'usr_transferterror' => 'Error transferring file.',
'usr_imagetoobig' => 'The uploaded avatar image is too large',
'usr_signsuccchanged' => 'Signature successfully changed.',
'usr_badpath' => 'File path error.',
'usr_badformat' => 'Your file was rejected. The supported formats are GIF, JPEG or PNG and the image must be less than 256Kb.',
'usr_avatarsuccchanged' => 'Avatar successfully changed.',
'usr_infossuccchanged' => 'Personal information successfully changed.',
'usr_noavatar' => 'No avatar.',
'usr_gallery_empty' => 'The avatar gallery is empty.',
'usr_gallery_choose' => 'Choose an avatar from the gallery (click image to select)',
'usr_nosignature' => 'No signature.',
'usr_mail_notpublic' => 'The email address of this user is not public.',
'usr_sp_mptitle' => 'Send a PM',
'usr_sp_communication' => 'Communication',
'usr_sp_informations' => 'General information',
'usr_sp_activities' => 'Activities on the forum',
'usr_sp_msgperday' => '{msgs} message(s) per day',
'usr_sp_personalization' => 'Personnalization',
'usr_sp_noavatar' => 'No avatar.',
'usr_sp_nosignature' => 'No signature.',
'usr_sp_lastaction' => 'Last action',
'usr_sp_lastaction_not' => 'This member is not connected',
'usr_avatarurl' => 'By URL',
'usr_avatarfile' => 'By file',
'usr_birthdate' => 'Date of birth',
'usr_birthdate_info' => '(format dd-mm-yyyy)',
'usr_realname' => 'Name',
'usr_gender' => 'Sex',
'usr_gender_select' => 'Sex...',
'usr_gender_male' => 'Male',
'usr_gender_female' => 'Female',
'usr_msn' => 'MSN',
'usr_icq' => 'ICQ',
'usr_aim' => 'AIM',
'usr_yahoo' => 'Yahoo',
'usr_public_email' => 'Public email address?',
'usr_allow_massmail' => 'Accept emails from forum administrators?',
'usr_mailmp' => 'Receive email notification of new Private Messages?',
'usr_changemail_title' => 'Change email address', 'usr_changemail_infos' => 'Warning, this will deactivate your account and will send you an email (on the new address) asking for confirmation of this change. You will be logged off after pressing this button.', 'usr_changemail_done' => 'Your email address was changed. Your account was deactivated so that it can be reactivated by the email sent to you. You will now be redirected to the forum index.',
'usr_place' => 'Location',
'usr_p_pageview' => 'Page viewing parameters',
'usr_p_usrs' => 'Users per page',
'usr_p_topics' => 'Topics per page',
'usr_p_msgs' => 'Messages per page',
'usr_p_res' => 'Search results per page',
'usr_p_notice' => 'Need a number between 5 and 50',
'usr_p_timezone_change' => 'Change timezone',
'usr_p_timezone' => 'Your timezone',
'usr_p_ctsummer' => 'Use Daylight Saving Time?',
'usr_p_appear' => 'Forum appearance',
'usr_p_skin' => 'Select skin',
'usr_p_language'=> 'Language parameters',
'usr_p_lang' => 'Select language',
'confirm_infos' => 'Confirm information',
'usr_presentation' => 'Presentation',
'usr_website' => 'Website',
'usr_findposts' => 'View posts by this member',
'usr_noinfo' => 'Unknown',
'usr_badpass' => 'Old password cannot be used',
'usr_passwrongchanged' => 'The two passwords must be identical.',
'usr_passsuccchanged' => 'The password was changed.',
'usr_topicstracked_title' => 'Tracked forum topics',
'usr_topicstracked_none' => 'No tracked topics.',
'usr_topicstracked_notpossible' => 'It is currently impossible to track topics in this forum.',
'usr_bookmarks_title' => 'Favourite forum topics',
'usr_bookmarks_none' => 'No favourites.'
);
$this->lang = array_merge($this->lang,$merge);
?>
log.lang
<?php
/**
* log.lang
* Lang definition file.
* Contains the english translation for Connectix Boards.
* Made by Samuel Couturier for Connectix Boards
* ::Connectix Boards 2007::
*/
$merge = array (
'log_choosetype' => 'Select a report type...',
'log_readonly' => 'Member punishment : read only.',
'log_ban' => 'Member punishment : ban.',
'log_cancelpunish' => 'Cancel a member\'s punishment.',
'log_deletemess' => 'Deletion of a message.',
'log_deletetopic' => 'Deletion of a topic.',
'log_closetopic' => 'Closing a topic.',
'log_opentopic' => 'Reopening a topic.',
'log_pintopic' => 'Pinning a topic.',
'log_unpintopic' => 'Unpinning a topic.',
'log_unannouncetopic' => 'Recovering a topic style to normal.',
'log_displacetopic' => 'Moving a topic.',
'log_managereport' => 'Managing reported messages.',
'log_changetopictitle' => 'Changing a topic title.',
'log_editprofile_general' => 'Changing a member\'s personal information.',
'log_editprofile_avatar' => 'Changing a member\'s avatar.',
'log_editprofile_signature' => 'Changing a member\'s signature.',
'log_addnote' => 'Adding a note to a member.',
'log_reputation' => 'Changing member\'s reputation.'
);
$this->lang = array_merge($this->lang,$merge);
?>
moderators.lang (une seule erreur)
'mod_punish_info' => 'If the selected member is already punished, the new punishment will override the old one.',
rss.lang
<?php
/**
* rss.lang
* Lang definition file.
* Contains the english translation for Connectix Boards.
* Made by vAl for Connectix Boards
* ::Connectix Boards 2007::
*/
$merge = array (
'rss_replyby' => 'Reply by',
'rss_date' => 'at',
'rss_subjectby' => 'A topic by',
'rss_containing' => 'containing',
'rss_replies' => 'replies',
'rss_reply' => 'reply',
'rss_last_message' => 'The last message had been posted by',
);
$this->lang = array_merge($this->lang,$merge);
?>
search.lang
<?php
/**
* search.lang
* Lang definition file.
* Contains the english translation for Connectix Boards.
* Made by kestrel7e7 for Connectix Boards
* ::Connectix Boards 2007::
*/
$merge = array (
'src_entercrits' => 'Please specify search criteria',
'src_sortcrits' => 'Search criteria to sort results',
'src_limitcrits' => 'Limit range of search',
'src_keyscrits' => 'Criteria for search',
'src_where' => 'Where do you want to search?', 'src_where_includesub' => 'Search in sub-sections',
'src_def' => 'All',
'src_from' => 'Time period',
'src_from_oneday' => '1 Day',
'src_from_twodays' => '2 Days',
'src_from_oneweek' => '1 Week',
'src_from_twoweeks' => '2 Weeks',
'src_from_onemonth' => '1 Month',
'src_from_oneyear' => '1 year',
'src_from_all' => 'From the beginning',
'src_read' => 'Search in unread messages',
'src_sort' => 'Sort',
'src_sort_time' => 'Time',
'src_sort_title' => 'Topic title',
'src_sort_author' => 'Author',
'src_sort_tg' => 'Topic title',
'src_sort_desc' => 'Descending',
'src_sort_asc' => 'Ascending',
'src_keys' => 'Keywords',
'src_keys_joker' => 'use % to represent wildcards consisting of a letter or group of letters',
'src_position_form' => 'Select search section',
'src_position_in' => 'Search in',
'src_titles' => 'Topic titles',
'src_msgs' => 'Messages',
'src_display_form' => 'Select result display method',
'src_display_by' => 'Display by',
'src_display_topics' => 'Topics',
'src_display_msgs' => 'Messages',
'src_author_form' => 'Search for messages by author',
'src_author_form_exact' => 'exact name',
'src_author' => 'Author',
'src_submit_confirm' => 'Start search',
'src_submit' => 'Confirm',
'src_results' => 'Results of the search',
'src_infos' => 'Message information',
'src_notabene' => '3 characters minimum',
'src_noresult' => 'No result matching your search criteria has been found.',
'src_nbresults' => '{n} results for your search',
'src_results_notice' => 'Your search was carried out successfully, and gave {N} results, listed below, that satisfy your criteria. The search form is available below if you would like to refine the results',
'src_form' => 'Search form',
'src_novalidcrits' => 'Your search criteria are invalid.',
'src_novalidusername' => 'The author you seek does not exist.'
);
$this->lang = array_merge($this->lang,$merge);
?>
topic.lang
<?php
/**
* topic.lang
* Lang definition file.
* Contains the english translation for Connectix Boards.
* Made by kestrel7e7 for Connectix Boards
* ::Connectix Boards 2007::
*/
$merge = array (
't_directlink' => 'Direct link',
't_edited' => 'Edited by {user} on {date1} at {date2}.',
't_fastreply' => 'Fast reply',
't_fr_message' => 'Message',
't_track' => 'Track topic',
't_notrack' => 'Untrack topic',
't_tracked' => 'You will be notified by email when there are new replies to this topic.',
't_bookmark' => 'Add to favourites',
't_nobookmark' => 'Remove from favourites',
't_postbyguest' => 'This message was posted by a guest',
't_msg_read' => 'Read message',
't_msg_unread' => 'Unread message',
't_poll_title' => 'Poll',
't_poll_white' => 'Blank vote',
't_poll_vote' => 'Vote',
't_poll_votes' => 'vote(s)',
't_poll_votes_voted' => 'Number of valid votes',
't_poll_white_voted' => 'Number of blank votes',
't_poll_alreadyvoted' => 'You have already voted',
't_poll_notvoted' => 'You have not voted',
't_poll_notgood_voted' => 'Your poll choice resulted in error.',
't_poll_modifymode' => 'Modifiable poll',
't_poll_normalmode' => 'Normal poll',
't_poll_confirmedit' => 'Save changes to poll choices',
't_poll_changedfields' => 'The poll choices have been modified',
't_poll_poss_tooshort' => 'The poll choices must be at least 2 characters long.',
't_poll_poss_added' => 'Poll choice added',
't_poll_addposs' => 'Add poll choice',
/* Boutons */
'sb_scroll' => 'Top',
'sb_m_quote' => 'Quote',
'sb_m_edit' => 'Edit',
'sb_m_report' => 'Report',
'sb_m_delete' => 'Delete',
'bb_t_reply' => 'Reply',
'bb_t_fl_rep' => 'Fast reply',
'bb_t_clsd' => 'Locked',
'bb_t_mod' => 'Moderate',
);
$this->lang = array_merge($this->lang,$merge);
?>
users.lang (une seule erreur)
'users_noone_todisplay' => 'There is no member which matches your search criteria'
Voilà pour les erreurs les plus évidentes.
Pour "favorite", ce n'est pas réellement une erreur puisque c'est courant du côté américain, mais j'ai plus souvent vu la version britannique du mot.
Pour le reste, je verrai ça avec mes membres anglais qui seront mieux en mesure de détecter les erreurs moins évidentes.
|
|
Martin |
|
Groupe : Administrateur
Messages : 3574
Enregistré le : 01/02/2005
Hors ligne Site Web
|
Pour le dernier, ce ne serait pas plutot 'There is no member who matches your criteria' ?
« Entre une mauvaise cuisinière et une empoisonneuse il n'y a qu'une différence d'intention. » - P. Desproges
|
|
Ishimaru Chiaki |
|
Groupe : Acharné
Messages : 592
Enregistré le : 12/03/2008
Hors ligne Site Web
|
Je n'avais pas fait très attention, je l'ai quand même posté vers 2h du matin
|
|
Ishimaru Chiaki |
|
Groupe : Acharné
Messages : 592
Enregistré le : 12/03/2008
Hors ligne Site Web
|
Vu que ça fait maintenant près de 24 heures que le forum a migré et a réouvert, voici le signalement que j'ai eu au cours de la journée :
AO Admin @ 28/03/2008 - 23h13 a dit: Hello,
Location of the mistake : Header area of forum (next to 'Connected as...'
Text with the mistake : Personnal
Corrected text : Personal (only 1 n, not 2 n's)
Another one:
Location of the mistake : In the stats box under each topic
Text with the mistake : 1 people connected during the last 10 minutes (1 member(s) and 0 guest(s)).
Corrected text : I would not use the term 'people' as when 1 user is online, it doesn't make sense as people is plural and person is singular. So can I suggest to use the word 'user' or 'member' instead?
Hope this helps 
Donc, pour la première, il faut enlever un "n", et pour le deuxième, je propose "User(s)" pour remplacer "people"
|
|
S@m |
|
Groupe : Traducteur
Messages : 151
Enregistré le : 15/11/2005
Hors ligne Mail Site Web
|
Voilà, c'est corrigé!
Tu pourras dire un grand merci de ma part à tes membres!
Pour ceux qui sont intéressés, l'archive est à jour!
@++
S@m
EDIT : Pour les prochains rapports de bug, SVP utiliser le forum qui est donné dans mon premier post, ce sera plus facile à suivre pour moi...
Ce message a été édité par S@m le 29/03/2008 à 16h36.
|
|
didja |
|
Groupe : Habitué
Messages : 74
Enregistré le : 18/02/2007
Hors ligne Site Web
|
Le paneladmin.lang débuggé :
<?php
/**
* paneladmin.lang
* Lang definition file.
* Contains the english translation for Connectix Boards.
* Made by kestrel7e7 for Connectix Boards
* ::Connectix Boards 2007::
*/
$merge = array(
'pa_bigtitle' => 'Connectix Boards Administration Panel',
'pa_backtoforum' => 'Return to forum',
'pa_addforum' => 'Add a forum',
'pa_createforum' => 'Create a forum',
'pa_editforum' => 'Edit a forum',
'pa_addtopicgroup' => 'Add a topic group',
'pa_addtopicgroup_info' => '(by default accessible by all groups and users)',
'pa_addtopicgroup_forum' => 'Forum in which topic group will reside',
'pa_addtopicgroup_visibility' => 'Visibility (different to accessibility)',
'pa_addtopicgroup_visibility_normal' => 'Normal',
'pa_addtopicgroup_visibility_hidden' => 'Hidden',
'pa_createtopicgroup' => 'Create a topic group',
'pa_addtopicgroup_link' => 'Add a link',
'pa_addtopicgroup_link2' => 'If this field contains a valid URL, the topic group will be transformed into a link. The messages and the sub-groups of associated topics will not be readable any more. If the field remains empty, the topic group will not be transformed into a link.',
'pa_edittopicgroup' => 'Edit a topic group',
'pa_deleteforum' => 'Delete a forum',
'pa_deleteforum_confirm' => 'Delete this forum',
'pa_deletetopicgroup' => 'Delete topic group',
'pa_deletetopicgroup_confirm' => 'Delete this topic group',
'pa_deletetopic' => 'Delete topic',
'pa_deletetopic_id' => 'ID of the topic',
'pa_deletetopic_confirm' => 'Delete this topic',
'pa_confirmed' => 'Changes applied.',
'pa_changefinfotop' => 'Change header message.',
'pa_changefinfobot' => 'Change footer message.',
'pa_changefinfo_dyn' => 'Add a HTML message (not BBCode formatting or protected HTML variables: HTML and Javascript are authorized). This message will be posted below the header message. This option is only available for the principal administrator who installed the forum.',
'pa_infochangefinfo' => 'You can use BBCode as well as smilies.',
'pa_changefinfo_confirm' => 'Change',
'pa_ispublic' => 'Forum is public',
'pa_menu' => 'Admin menu',
'pa_groups' => 'Groups',
'pa_changeinfos' => 'Information fields',
'pa_changeinfos_top' => 'Header',
'pa_changeinfos_bot' => 'Footer',
'pa_changeinfos_rules' => 'Rules',
'pa_settings' => 'Basic settings',
'pa_gensettings' => 'General forum parameters',
'pa_users' => 'Member management',
'pa_structure' => 'structure',
'pa_structure_overview' => 'General structure of the forum',
'pa_structure_addforum' => 'Add a forum',
'pa_structure_editforum' => 'Edit a forum',
'pa_structure_addtopicgroup' => 'Add a topic group',
'pa_structure_edittopicgroup' => 'Edit a topic group',
'pa_structure_choosefortg' => 'Choose forum for topic group',
'pa_structure_confirmforum' => 'Confirm forum deletion.',
'pa_structure_confirmtg' => 'Confirm topic group deletion.',
'pa_structure_confirmforum_txt' => 'You are about to delete the forum: {name}. This will also delete its topic groups and sub-groups.',
'pa_structure_confirmtg_txt' => 'You are about to delete the topic group: {name}. This will also remove its topic sub-groups.',
'pa_structure_wftopics' => 'Create topics containing what you delete.',
'pa_structure_desttg' => 'select destination topic group',
'pa_structure_deletetopics_yes' => 'Delete all the topics.',
'pa_structure_deletetopics_no' => 'Move all the topics of the forums and sub-forums deleted in this topic group:',
'pa_mails' => 'Communication',
'pa_pause' => 'Pause the forum',
'pa_setpause' => 'Are you sure you want to pause the forum?',
'pa_paused' => 'The forum is now paused!',
'pa_pausemessage' => 'Pause message',
'pa_submenu_users_name' => 'submenu users',
'pa_submenu_users_addvaluser' => 'Add/Delete a user',
'pa_submenu_users_renameuser' => 'Rename a user',
'pa_submenu_users_classes' => 'Groups of users',
'pa_submenu_users_showclasses' => 'show groups',
'pa_submenu_users_createclasses' => 'Create a group',
'pa_submenu_users_editclass' => 'Edit a group',
'pa_submenu_users_mods' => 'Moderator rights',
'pa_submenu_users_lastactions' => 'Moderator actions',
'pa_submenu_users_changeuser' => 'Change group user',
'pa_submenu_users_mannotval' => 'Manage unvalidated accounts',
'pa_submenu_users_notconnected' => 'Guest rights',
'pa_notconnected_rights' => 'select the topic groups inaccessible to guests.',
'pa_notconnected_confirm' => 'save changes!',
'pa_mannotval_infos' => 'This is for validating or removing accounts that have been created but not validated by email.',
'pa_mannotval_nobody' => 'No accounts pending validation.',
'pa_mnv_name' => 'Name',
'pa_mnv_issue' => 'Issue',
'pa_mnv_register' => 'Register',
'pa_mnv_changemail' => 'Change email address',
'pa_mnv_mail' => 'Email address',
'pa_mnv_date' => 'Date of registration',
'pa_mnv_options' => 'Options',
'pa_mnv_delete' => 'Delete',
'pa_mnv_validate' => 'Validate',
'pa_mnv_ok_delete' => 'The account {name} has been deleted.',
'pa_mnv_ok_validate' => 'The account {name} has been validated.',
'pa_cfg_fieldname' => 'Parameters',
'pa_cfg_explane' => 'Explanation',
'pa_cfg_param' => 'Param',
'pa_cfg_general' => 'General information',
'pa_cfg_display' => 'Display parameters',
'pa_cfg_register' => 'Registration parameters',
'pa_cfg_moderation' => 'Moderation parameters',
'pa_cfg_perfs' => 'Performances',
'pa_cfg_advanced' => 'Advanced parameters',
'pa_forumname' => 'Forum name',
'pa_forumname_info' => 'This name is used throughout the forum.',
'pa_forumowner' => 'Forum owner',
'pa_forumowner_info' => 'Used mainly for the forum\'s email signature.',
'pa_backtowebsite' => 'Link to main website',
'pa_backtowebsite_info' => 'This link will appear on the forum\'s links bar, unless the field is left blank',
'pa_supportmail_info' => 'This email address will be used for emails sent by the forum.',
'pa_defaultstyle' => 'Default style',
'pa_defaultstyle_info' => 'This is the forum style for guests or members who have not chosen a particular style in their personal options.',
'pa_defaultlanguage' => 'Default language',
'pa_defaultlanguage_info' => 'This is the language that will be used for guests or members that have not specified a language in their personal options.',
'pa_floodlimit' => 'Flood limit (seconds)',
'pa_floodlimit_info' => 'This is the time limit a user must wait before sending another message (does not affect personal messages).',
'pa_connectedlimit' => 'Limit connection time (minutes)',
'pa_connectedlimit_info' => 'How long a user is inactive for before they are considered disconnected from the forum. Used for publicly displaying the users that are currently connected to the forum, or a particular part of the forum.',
'pa_enablemail' => 'Email validation',
'pa_enablemail_info' => 'Email validation is required at the end of account registration to activate the account. This reduces the chance that the account is a bot and ensures that the email address is unique and valid.',
'pa_enabletopictrack' => 'Topic tracking',
'pa_enabletopictrack_info' => 'Allow topics to be tracked by email (a user that tracks a topic receives email notification for any events in that topic).',
'pa_deletetopicallowed_info' => 'Allow moderators to delete topics',
'pa_edittopictitle' => 'Users can change their topic titles',
'pa_edittopictitle_info' => 'Users can modify the title and comment of any topic they started.',
'pa_suspendregister' => 'suspend registration',
'pa_suspendregister_info' => 'Guests cannot register for a forum account.',
'pa_showposted' => 'show participation',
'pa_showposted_info' => 'Topics in which the user has participated in are visibly tagged.',
'pa_postguest' => 'Guests can post',
'pa_postguest_info' => 'Guests can write messages or create new topics in topic groups that permit them to.',
'pa_displayconnected_info' => 'Either connected users are displayed on a section-by-section basis or all connected users are displayed.',
'pa_maxsize' => 'Maximum avatar picture size',
'pa_maxsize_info' => 'Defines the maximum avatar size, width and length in pixels.',
'pa_displayfastredirect' => 'Display fast redirect',
'pa_displayfastredirect_info' => 'The fast redirect menu is shown at the bottom of the forum and provides direct access to the forum index for faster travel.',
'pa_cookie_path' => 'Cookies directory',
'pa_cookie_path_info' => 'This is where the forum connection cookies reside, relative to the forum root.',
'pa_gzip_output' => 'GZIP compression',
'pa_gzip_output_info' => 'Forum pages are compressed before being sent to reduce bandwidth but at the expense of using slightly more server resources.',
'pa_readornot_sessions' => 'Unread messages managed per session',
'pa_readornot_sessions_info' => 'Messages are only regarded as unread if they are posted after the user\'s last connection, all messages posted before the user\'s last connection are automatically regarded as read.',
'pa_create_user' => 'To create an activated user account (with no email validation), fill the form below.',
'pa_defaultclass' => 'Default group',
'pa_changesett' => 'Change settings.',
'pa_createaccount' => 'Create account.',
'pa_createaccount_mess' => 'This will create an activated user account (with no email validation).',
'pa_delete_user' => 'To delete an account, enter the associated user name in the field below, select the desired option and confirm.',
'pa_deleteuser_msg_name' => 'Make this member\'s messages appear to have been written by a named guest',
'pa_deleteuser_msg_guest' => 'Make this member\'s messages appear to have been written by an anonymous guest',
'pa_deleteaccount' => 'Delete account.',
'pa_deleteaccount_mess' => 'This will irreversibly delete the selected member\'s account.',
'pa_putuserinclass' => 'Assign user group',
'pa_putuserinclass_title' => 'Choose user',
'pa_putuserinclass_wantedclass' => 'Desired group',
'pa_putuserinclass_confirm' => 'Change this user\'s group',
'pa_renameuser_title' => 'Rename user',
'pa_renameuser_oldname' => 'Old user name',
'pa_renameuser_newname' => 'New user name',
'pa_renameuser_confirm' => 'Rename user',
'pa_renameuser_error_old' => 'User does not exist.',
'pa_renameuser_error_admin' => 'The principal administrator\'s name cannot be changed this way.',
'pa_renameuser_error_new' => 'The new user name is already in use by a member of the forum.',
'pa_renameuser_success' => 'The member {old} has been renamed to {new}.',
'pa_existingclasses' => 'Present groups',
'pa_mpallowed' => 'Personal messages allowed',
'pa_xpostsclass' => 'Normal group',
'pa_options' => 'Options',
'pa_condition' => 'Condition',
'pa_classname' => 'Group name',
'pa_hide' => 'Hide',
'pa_hide_note' => 'Note: Hidden groups are not visible in the forum\'s group legend or in the group menu.',
'pa_classtitle' => 'Group title',
'pa_classcolor' => 'Group color',
'pa_classtype' => 'Group type',
'pa_admincond' => 'Membership to this group requires: admin approval.',
'pa_postscond' => 'Membership to this group requires: a minimum of {posts} posts.',
'pa_auth_title' => 'Topic group title',
'pa_canflood' => 'Permission to flood',
'pa_auth_see' => 'Visible',
'pa_auth_reply' => 'Reply',
'pa_auth_create' => 'New topic',
'pa_forbidtopics' => 'Topic group does not allow new topics',
'pa_forbidreplies' => 'Topic group does not allow replies',
'pa_editingclass' => 'You are editing the group {name} (with id {id}).',
'pa_classname_edit' => '(generic name for the group, cannot use spaces)',
'pa_classtitle_edit' => '(this is the group name that will be posted in the forum)',
'pa_classcolor_infos' => '(of type #FE3D43 or rgb(121,254,127) or valid color name, if this color is not specified the default group color is used)',
'pa_classimage' => 'Group image',
'pa_classimage_infos' => 'An optional group image needs to be titled; class[id].jpg and placed in the skin directory (eg: "class1.jpg" for administrator group image). The id is visible while editing a class (eg: "You are editing the group Administrator (with id 1)"). This image will be posted below the user\'s avatar.',
'pa_classcond' => 'Conditions to be a member of this group',
'pa_classcond_posts' => 'Require more than {X} posts.',
'pa_classcond_admin' => 'Require administrator approval.',
'pa_classauth' => 'Restrict viewing and ability to create or reply to topics by ticking the associated box.',
'pa_createclass_confirm' => 'Create class',
'pa_editclass_confirm' => 'Edit class',
'pa_editclass_confirm_info' => 'This will edit the class {name}.',
'pa_selectuntg' => 'select unauthorized topic groups.',
'pa_corr' => 'Correspondances',
'pa_nocorr' => 'There is no corresponding topic group, go to the \'structure\' section of the administration panel.',
'pa_modusers' => 'Moderators',
'pa_modusers_expl' => 'Tick the topic groups in which the moderators are authorized to moderate. Tick the group box to authorize all of its members to moderate the topic group. The administrators can moderate the whole forum so they are not present in the list.',
'pa_m_corr_id' => 'ID',
'pa_m_corr_name' => 'Name of the topic group',
'pa_nomodusers' => 'The list of the moderators will be posted when the topic groups are created.',
'pa_changemod' => 'save modifications',
'pa_generalstructure_title' => 'structure of the forums',
'pa_str_tgname_title' => 'Name of the forum, topic group or sub-group',
'pa_str_op1_title' => 'Options',
'pa_str_op2_title' => 'Order',
'pa_str_delete' => 'Delete',
'pa_str_edit' => 'Edit',
'pa_str_up' => 'Up',
'pa_str_down' => 'Down',
'pa_mails' => 'Communication',
'pa_massmail' => 'Mass PM/Email',
'pa_massmail_info' => 'For sending a PM or email to all forum users, or to specific groups of users.',
'pa_massmail_type' => 'Message',
'pa_massmail_type_mp' => 'Personal message',
'pa_massmail_type_mail' => 'Email',
'pa_massmail_subject' => 'Message subject',
'pa_massmail_groups' => 'select the desired groups that will receive the message (CTRL for multiple selection)',
'pa_massmail_message' => 'Write message (you can use variables like {username}, which will be replaced by the name of the receiver)',
'pa_massmail_previs' => 'Preview',
'pa_massmail_nomessage' => 'Both the message and subject fields need to be filled.',
'pa_massmail_nogroups' => 'No user group selected to recieve the message',
'pa_massmail_ok_mp' => 'The PM was sent to all the specified users.',
'pa_massmail_ko_mail' => 'The email could not be sent to all the specified users.',
'pa_massmail_ok_mail' => 'All {nb} emails sent successfully.',
'pa_changeconfirminscrmail' => 'Confirm registration',
'pa_changemail_title' => 'Change email contents',
'pa_changemail_ci_info' => 'Available variables: {--mail_user_name--}, {--mail_user_password--}, {--mail_confirm_link--}, {--mail_forumname--}, {--mail_forum_owner--}.',
'pa_mailsubject_title' => 'Mail subject',
'pa_changeconfirmchangemail' => 'Change email address',
'pa_changemail_cm_info' => 'Available variables: {--mail_user_name--}, {--mail_confirm_link--}, {--mail_forumname--}, {--mail_forum_owner--}.',
'pa_changeconfirmchangepass' => 'Password recovery',
'pa_changemail_cp_info' => 'Available variables: {--mail_user_name--}, {--mail_user_password--}, {--mail_confirm_link--}, {--mail_forumname--}, {--mail_forum_owner--}.',
'pa_changemailmp' => 'Alert reception of new PM',
'pa_changemail_mp_info' => 'Available variables: {--mail_user_name--}, {--mail_poster--}, {--mail_forumname--}, {--mail_forum_owner--}.',
'pa_changetopictrack' => 'Track topic',
'pa_changemail_tt_info' => 'Available variables: {--mail_user_name--}, {--mail_topic_name--}, {--mail_topic_link--}, {--mail_poster--}, {--mail_forumname--}, {--mail_forum_owner--}.',
'pa_rules' => 'Change forum rules',
'pa_rules_info' => 'These rules are accessible via the main menu and have to be accepted in order to register a forum account.',
'pa_tools' => 'Personnalisation tools',
'pa_bbcode' => 'BBCodes',
'pa_bbcode_all' => 'show all BBCodes',
'pa_bbcode_add' => 'Add a BBCode',
'pa_bbcode_edit' => 'Edit a BBCode',
'pa_bbcode_name' => 'Name of mark out',
'pa_bbcode_name_title' => 'Name of mark out',
'pa_bbcode_options' => 'Options',
'pa_bbcode_signature' => 'Prohibit in signatures',
'pa_bbcode_error_name' => 'The replacement must contain, at least {--CONTENTS--}.',
'pa_bbcode_args' => 'with argument',
'pa_bbcode_args_add' => 'Reason for replacement (with {- - CONTENT --} for the contents and {- - ARGS --} for the argument)',
'pa_bbcode_parse' => 'Interior parser of the variable?',
'pa_bbcode_addsize' => 'Replace by the size of the HTML file indicated by {--CONTENTS--} (\'width="XX" height="YY"\')',
'pa_bbcode_funcont' => 'Function to be carried out on the contents of the variable ([tag]contents[/tag])',
'pa_bbcode_funargs' => 'Function to be carried out on the argument of the variable, if it exists ([tag=argument]contents[/tag])',
'pa_smileys' => 'smilies',
'pa_smileys_all' => 'show all smilies',
'pa_smileys_add' => 'Add a smiley',
'pa_smileys_edit' => 'Edit a smiley',
'pa_smileys_upload_edit_old' => 'Upload old file on the server with address',
'pa_smileys_upload_edit_server' => 'Upload another file already on the server with address indicated',
'pa_smileys_create' => 'Create a smiley',
'pa_smileys_image' => 'Image',
'pa_smileys_error_notup' => 'The image you selected does not exist on the server. Please check the file name or upload it.',
'pa_smileys_error_form' => 'The form was not filled in correctly. Please try again.',
'pa_smileys_error_upload' => 'A problem occurred uploading the file. Please check that the file location is correct and it is no more than 100Kb and that the file extension is correct.',
'pa_smileys_error_format' => 'The format of the file you uploaded is not valid. The supported formats are GIF, JPEG or PNG.',
'pa_smileys_name' => 'Name',
'pa_smileys_file' => 'File',
'pa_smileys_options' => 'Options',
'pa_smileys_name_title' => 'smiley name (2 characters or more)',
'pa_smileys_filenameserver' => 'Name of the file on the server.<br />If it is not uploaded yet, this name will override that of the uploaded file (see below).<br />The extension must be the same as the uploaded file.',
'pa_smileys_filename_orig' => 'This file is an original smiley which cannot be modified.',
'pa_smileys_upload_title' => 'Image name',
'pa_smileys_upload_server' => 'This file is already on the server',
'pa_smileys_upload_upload' => 'Upload the file',
'pa_sm_preview' => 'Preview',
'pa_sm_bankselection' => 'select components',
'pa_sm_creation' => 'select smiley components',
'pa_sm_back' => 'Return to the selection.',
'pa_sm_preview_submit' => 'Generate preview',
'pa_sm_send_title' => 'Use this smiley in the forum',
'pa_sm_name_title' => 'shortcut',
'pa_sm_filename_title' => 'File name',
'pa_sm_preview_congrat' => 'smiley successfully created',
'pa_sm_preview_modification' => 'You can still modify the parameters of the smiley if you want',
'pa_sm_finalized_congrat' => 'The smiley {smiley} was created and is now available on the forum.<br />You can create another if you want.',
'pa_sm_finalized_nocongrat' => 'The smiley could not be created. Please start again.',
'pa_sm_create_error_1' => 'No information was transmitted. The creation of the smiley failed.',
'pa_sm_create_error_24' => 'The file name already exists',
'pa_sm_create_error_25' => 'Impossible to copy the temporary file',
'pa_sm_create_error_27' => 'Impossible to save the smiley',
'pa_sm_create_error_28' => 'Impossible to delete the smiley',
'pa_sm_activate' => 'Enable',
'pa_sm_noactivate' => 'Disable',
'pa_sm_forselection' => 'For selection',
'pa_sm_invertselection' => 'Invert selection',
'pa_automessages' => 'Automatic messages',
'pa_automessages_all' => 'View automatic messages',
'pa_automessages_add' => 'Add an automatic message',
'pa_automessages_edit' => 'Edit an automatic message',
'pa_am_name_title' => 'Message name',
'pa_am_options_title' => 'Options',
'pa_am_noam' => 'There are no automatic messages.',
'pa_am_previs' => 'Preview',
'pa_am_add_name_title' => 'Message name',
'pa_am_add_message_title' => 'Message content',
'pa_gallery' => 'Avatar gallery',
'pa_gallery_all' => 'View avatar gallery',
'pa_gallery_all_empty' => 'The gallery is empty.',
'pa_gallery_all_delete' => 'Delete',
'pa_gallery_add' => 'Add an avatar',
'pa_gallery_add_filename' => 'select a file to be added to the avatar gallery.',
'pa_gallery_add_successloaded' => 'Avatar was successfully uploaded.',
'pa_selectuser_id' => 'By id',
'pa_selectuser_name' => 'By name',
'pa_o_title' => 'Administration panel',
'pa_o_welcome' => 'Welcome to the administration panel. You can modify all that you require while surfing in the left menu.',
'pa_o_nv_nofile' => 'Impossible to determine if a new version is available.',
'pa_o_nv_goodversion' => 'The version installed is up to date. You should not modify it.',
'pa_o_nv_installupgrade' => 'You must install an update. To do this, go here <a href="install.php">ici</a>.',
'pa_o_nv_notgoodversion' => 'You must update your forum. Go to the <a href="http://www.connectix-boards.org/index.php?page=downloads&sub=1">official site</a> to get the last update.',
'pa_o_lastactions' => 'Last actions of moderators',
'pa_o_log_empty' => 'The log is empty.',
'pa_o_log_nosearch' => 'No element to be posted. You can refine your research below by modifying the element.',
'pa_o_log_make' => 'Author action',
'pa_o_log_make_sort' => 'sort by author',
'pa_o_log_time' => 'Date',
'pa_o_log_type' => 'Type of action',
'pa_o_log_type_sort' => 'sort by type of action',
'pa_o_log_concerns' => 'Concern',
'pa_o_log_concerns_sort' => 'sort by concern',
'pa_database' => 'Database',
'pa_db_deleteold' => 'Delete old database content',
'pa_db_deleteold_warning' => 'This allows you to remove topics for which there hasn\'t been any activity for some time.<br />Caution! This option is to be used with extreme care, messages are permanently deleted. It is wise to make a safeguard of the database before using this.',
'pa_db_deleteold_selectdate' => 'select time threshold (all topics whose last message was written before this time will be deleted)',
'pa_db_deleteold_selectdate_criterion' => 'Delete the topics whose last message was written longer than {input} days ago.',
'pa_db_deleteold_selecttype' => 'select the type of topics to delete',
'pa_db_deleteold_selecttype_normal' => 'Delete normal topics',
'pa_db_deleteold_selecttype_pinned' => 'Delete pinned topics',
'pa_db_deleteold_selecttype_announce' => 'Delete announcements',
'pa_db_deleteold_selecttype_replied' => 'Delete topics without responses',
'pa_db_deleteold_selectlocation' => 'Delete only in one forum or topic group',
'pa_db_deleteold_selectlocation_def' => 'Delete in all forums',
'pa_db_deleteold_submit' => 'Delete the specified topics!',
'pa_db_deleteold_success' => 'The deletion took place successfully. {Nb} posts were deleted.',
'pa_db_deleteold_notopics' => 'The deletion could not take place, no topics correspond with your criteria.',
'pa_db_deleteold_error_days' => 'You must insert a valid number of days.',
'pa_db_deleteoldusers_info' => 'This option enables you to remove all registrations more than one month old for which the user has not validated their email address. The benefit of this is only significant for forums with more than 1000 members.',
'pa_db_deleteoldusers_submit' => 'Delete unvalidated accounts older than one month!',
'pa_db_deleteoldusers_success' => '{nb} unvalidated accounts deleted.',
'pa_db_deleteoldusers_noaccounts' => 'There are no unvalidated accounts more than one month old to delete.',
'pa_db_dump' => 'safeguard the database',
'pa_db_dump_info' => 'The link below contains the forum safeguard file for download. This file contains all the contents of your forum\'s database. Regularly carry out this operation to prevent loss of data in the event of a server crash or other problems.<br />If you update the forum, immediately get a new safeguard file because the old backup files will not be compatible with the new version!!!',
'db_dump_wait' => 'Please be patient...<br /><br />The safeguard is being made. As this operation is demanding for the server, it can take some time.<br/><br />Please be aware:<ul><li>Do not refresh this page and do not click on any link.</li><li>Await confirmation at the end of the process. An interruption of this operation could produce malfunctions.</li><li>Store the resulting backup file safely .</li></ul><br />Please be patient...',
'pa_db_reset' => 'Install a safeguard',
'pa_db_reset_info' => '<span class="b">Caution!</span>This operation will return the forum\'s state to a prior date. All forum information since the safeguard will be lost.<br /><br />It is important that the safeguard file was created by Connectix Boards, via \' Safeguard the data base \'. Moreover, it is necessary that the version of Connectix Boards with which this file was created is the same as ( {version} ).',
'pa_db_reset_upload' => 'Enter a backup file',
'pa_db_reset_ftp' => 'You can use FTP software to upload your safeguard file into the directory \' data/temp \' of your forum. It is recommended that you do this if your backup file is large. Enter the name of the file which you want to upload in the above directory. It will be removed from this directory after installation of the safeguard.',
'pa_db_reset_success' => 'The safeguard was correctly installed. You can surf on the forum like normal. Please manually remove the files \' data/temp \', that remain (EXCEPT the file index.html)',
'pa_db_error_upload' => 'An error occurred during the upload of the file. Please start again.',
'pa_db_error_file' => 'The file does not seem to be generated by the same version of Connectix Boards as that which is currently installed. It is impossible to continue.',
'pa_db_error_format' => 'The file does not have the right format, it must be sql.gz.',
'pa_db_error_nofile' => 'The file does not exist in the directory specified (\'data/temp\').',
'pa_db_error_toobig' => 'The file which you want to install is too large. The limit is fixed at {size} by PHP. Please use FTP instead.',
'db_reset_wait' => 'Please be patient...<br /><br />Your safeguard installation is in progress.<br /><br />This operation can take several minutes.',
'pa_maintenance' => 'Manual maintenance',
'pa_mt_infos' => 'If you carry out manual operations in the database, the statistics tables or the cache files may not be in agreement with the database. To cure this problem, you can update these files manually below.',
'pa_mt_resetcache_infos' => 'The cache files are generated by the forum and contain a summary of the database. These files are created to reduce the workload of the SQL server. To update these files, click on the following button.',
'pa_mt_resetcache_submit' => 'Update the cache files',
'pa_mt_resetcache_notice' => 'The cache files were successfully updated',
'pa_mt_resetstats_infos' => 'The statistics table contain forum data to avoid some requests and to reduce the workload of the SQL server. To update the information contained in this table, click on the following button.',
'pa_mt_resetstats_submit' => 'Update the statistics table',
'pa_mt_resetstats_notice' => 'The statisitics table was successfully updated',
'pa_ip' => 'IP addresses',
'pa_ip_analyze_infos' => 'Each time a message is posted, its IP address is recorded. The forum utilizes this data to provide IP analysis.',
'pa_ip_analyze_ip' => 'Analyze an IP address',
'pa_ip_analyze_ip_insert' => 'Enter IP addresses to be analyzed',
'pa_ip_analyze_ip_confirm' => 'Analyze this IP address',
'pa_ip_analyze_user' => 'Analyze a member\'s IP address',
'pa_ip_analyze_user_insert' => 'Please enter the name of the user which you want to analyze',
'pa_ip_analyze_user_confirm' => 'Analyze the IP adresses of this user',
'pa_ip_analyze_error_wrongip' => 'The IP address that you entered is not valid.',
'pa_ip_analyze_error_wronguser' => 'The specified user does not exist.',
'pa_ip_detect_double' => 'Find the IP address of multiple members',
'pa_ip_detect_double_noresult' => 'No IP address was found.',
'pa_ip_detect_double_user' => 'You can restrict the search within IP addresses concerning a certain user below.',
'pa_ip_detect_double_confirm' => 'Include IP addresses concerning this user!',
'pa_ip_analyze_ipad' => 'IP address',
'pa_ip_analyze_name' => 'User name',
'pa_ip_analyze_lastdate' => 'Last use of this IP address',
'pa_ip_analyze_count' => 'Number of messages written using this IP',
'pa_ip_analyze_options' => 'Options',
'pa_ip_analyze_noresult' => 'No results found for this IP address.',
'pa_ip_analyze_thisuser' => 'Analyze the IP used by this user',
'pa_ip_analyze_thisip' => 'Analyze this IP address',
'pa_ip_analyze_banip' => 'Ban this IP address',
'pa_ip_sqlversion' => 'Your version of MySQL is not high enough to use this functionality. At least version 4.1 is required.',
'pa_ip_ban' => 'Ban an IP address',
'pa_ip_ban_ip' => 'IP addresses to ban',
'pa_ip_ban_expires' => 'specify the duration of the ban in number of days (0 corresponds with a permanent ban)',
'pa_ip_ban_confirm' => 'Ban this IP address!',
'pa_ip_ban_infos' => 'By banning an IP, you prevent any access to this forum and the administration panel by any person connected to the Internet with the specified IP. Use this function carefully! It is always preferable to make a preliminary analysis of the IP addresses you want to ban.',
'pa_ip_ban_error_allfields' => 'You must fill in all the fields.',
'pa_ip_ban_error_badexpires' => 'The duration of the ban is not valid.',
'pa_ip_ban_error_badip' => 'The IP address is not in a valid format.',
'pa_ip_ban_error_adminip' => 'The IP address entered is used by the principal administrator and so cannot be banned!',
'pa_ip_ban_success' => 'The IP address has been successfully banned.',
'pa_ip_show_banned' => 'show banned addresses',
'pa_ip_show_banned_name' => 'IP address name',
'pa_ip_show_banned_expires' => 'Ban expires',
'pa_ip_show_banned_options' => 'Options',
'pa_ip_show_banned_cancel' => 'Cancel',
'pa_ip_show_banned_edit' => 'Edit',
'pa_ip_show_banned_nothing' => 'There are no IP addresses currently banned',
'pa_rewrite' => 'URL rewriting',
'pa_rw_on' => 'URL rewriting is enabled.',
'pa_rw_off' => 'URL rewriting is disabled. To enable, follow the instructions below.',
'pa_rw_verify' => 'URL rewriting allows the pages of a website to have more readable addresses as well as being statically referenced, which is good for search engines. However, not all hosts support it, to see whether your site\'s server supports it you can perform the following test:<br />
1. Open a text editor such as Notepad.<br />
2. Create a file "htaccess.txt" containing the three following lines:br />
Options +FollowSymlinks<br />
RewriteEngine on<br />
RewriteRule ^forum\.html$ index.php [QSA,L]<br />
3. Place this file in the main directory of your forum.<br />
4. Rename it to ".htaccess" (nothing before the decimal point).<br />
5. Go to the main page of your forum.<br />
6. In the address bar, replace "index.php" with "forum.html" and press "Enter".<br /><br />
-> If after items 5 or 6, an error occurs (abnormal display of the forum, error 404...), then your host does not support URL rewriting.<br />
-> If no error occurs, you can enable URL rewriting below.',
'pa_rw_enable_nomsg' => 'Enable URL rewriting',
'pa_rw_enable_withmsg' => 'Enable URL rewriting (enable only if the operation explained above was conclusive)',
'pa_rw_apache_ko' => 'Your host does not support URL rewriting.',
'pa_rw_enable_conf' => 'Enable URL rewriting?',
'pa_rw_disable_conf' => 'Disable URL rewriting?',
'forum_success_created' => 'The forum {name} was successfully created.',
'forum_success_edited' => 'The forum {name} was successfully edited.',
'forum_success_deleted' => 'The forum was successfully deleted.',
'tg_success_created' => 'The topic group {name} was successfully created .',
'tg_success_edited' => 'The topic group {name} was successfully edited.',
'tg_success_deleted' => 'The topic group was successfully deleted.',
'finfo_success_modif' => 'The forum information was successfully modified.',
'user_success_created' => 'The user account {name} was successfully created.',
'user_success_deleted' => 'The user account {name} was successfully deleted.',
'user_success_tonormal' => 'The user with id {id} is now a normal user.',
'user_success_toadmin' => 'The user with id {id} is now an administrator.',
'user_success_toclass' => 'The user with id {id} is now in the group {class}.'
);
$this->lang = array_merge($this->lang,$merge);
?>
Rémy
|
|
P0ulp0r |
|
Groupe : Nouveau
Messages : 10
Enregistré le : 04/01/2008
Hors ligne
|
Yop !
C'est pour vous dire merci les gars.
Ca m'aide beaucoup.
Et encore merci
|
|
Ishimaru Chiaki |
|
Groupe : Acharné
Messages : 592
Enregistré le : 12/03/2008
Hors ligne Site Web
|
Si tu trouves des erreurs, n'hésite pas à les signaler 
C'est ce que j'ai fait, vu que j'ai également un forum bilingue.
|
|
S@m |
|
Groupe : Traducteur
Messages : 151
Enregistré le : 15/11/2005
Hors ligne Mail Site Web
|
C'est très gentil à toi P0ulp0r de nous remercier...
Mais je dois dire que j'y serais pas arrivé aussi vite sans l'aide de plusieurs membres de Connectix-Boards qui m'ont aidé pour la traduction de certains fichiers, et surtout, pour le rapport des erreurs...
@++
S@m
|
|
Ishimaru Chiaki |
|
Groupe : Acharné
Messages : 592
Enregistré le : 12/03/2008
Hors ligne Site Web
|
Je viens signaler un problème.
Étant donné que la langue par défaut de mon forum est l'anglais, un visiteur qui a navigué sur mon forum est tombé sur une page invalide en cliquant sur le lien vers la doc des BBCode qui se trouve dans la page d'écriture des messages.
Voici le lien vers la seule section où les invités peuvent poster : http://ishimaru-design.servhome.org/forum/index.php?showtopicgroup=12
Et le lien de la page invalide : http://www.connectix-boards.org/index.php?page=tutos&tuto=9
Merci d'avance.
Ishimaru
|
|
Ishimaru Chiaki |
|
Groupe : Acharné
Messages : 592
Enregistré le : 12/03/2008
Hors ligne Site Web
|
Je viens de voir que le forum où se trouvait le pack n'est plus disponible. Dans ce cas, j'hébergerai la dernière version du pack de langue sur mon espace Web aussitôt que possible.
|
|
Martin |
|
Groupe : Administrateur
Messages : 3574
Enregistré le : 01/02/2005
Hors ligne Site Web
|
Ok, merci! Je l'enregistrerai sur l'espace CB une fois qu'il sera à nouveau dispo.
« Entre une mauvaise cuisinière et une empoisonneuse il n'y a qu'une différence d'intention. » - P. Desproges
|
|
Ishimaru Chiaki |
|
Groupe : Acharné
Messages : 592
Enregistré le : 12/03/2008
Hors ligne Site Web
|
En mettant à jour le pack, j'en ai profité pour faire quelques corrections dans paneladmin.lang
Spoiler<?php
/**
* paneladmin.lang
* Lang definition file.
* Contains the english translation for Connectix Boards.
* Made by kestrel7e7, didja and Ishimaru Chiaki for Connectix Boards
* ::Connectix Boards 2007::
*/
$merge = array(
'pa_bigtitle' => 'Connectix Boards Administration Panel',
'pa_backtoforum' => 'Return to forum',
'pa_addforum' => 'Add a forum',
'pa_createforum' => 'Create a forum',
'pa_editforum' => 'Edit a forum',
'pa_addtopicgroup' => 'Add a topic group',
'pa_addtopicgroup_info' => '(accessible for all groups and users by default)',
'pa_addtopicgroup_forum' => 'Forum in which topic group will be nested',
'pa_addtopicgroup_visibility' => 'Visibility (different from accessibility)',
'pa_addtopicgroup_visibility_normal' => 'Normal',
'pa_addtopicgroup_visibility_hidden' => 'Hidden',
'pa_createtopicgroup' => 'Create a topic group',
'pa_addtopicgroup_link' => 'Add a link',
'pa_addtopicgroup_link2' => 'If this field contains a valid URL, the topic group will be transformed into a link. The messages and the sub-groups of associated topics will not be readable anymore. If the field remains empty, the topic group will not be transformed into a link.',
'pa_edittopicgroup' => 'Edit a topic group',
'pa_deleteforum' => 'Delete a forum',
'pa_deleteforum_confirm' => 'Delete this forum',
'pa_deletetopicgroup' => 'Delete topic group',
'pa_deletetopicgroup_confirm' => 'Delete this topic group',
'pa_deletetopic' => 'Delete topic',
'pa_deletetopic_id' => 'Topic\'s ID',
'pa_deletetopic_confirm' => 'Delete this topic',
'pa_confirmed' => 'Changes applied.',
'pa_changefinfotop' => 'Change header message.',
'pa_changefinfobot' => 'Change footer message.',
'pa_changefinfo_dyn' => 'Add a HTML message (no BBCode formatting or protected HTML variables: HTML and Javascript are allowed). This message will be posted below the header message. This option is only available for the main administrator who installed the forum.',
'pa_infochangefinfo' => 'You can use BBCode as well as smilies.',
'pa_changefinfo_confirm' => 'Change',
'pa_ispublic' => 'Forum is public',
'pa_menu' => 'Admin menu',
'pa_groups' => 'Groups',
'pa_changeinfos' => 'Information fields',
'pa_changeinfos_top' => 'Header',
'pa_changeinfos_bot' => 'Footer',
'pa_changeinfos_rules' => 'Rules',
'pa_settings' => 'Basic settings',
'pa_gensettings' => 'General forum parameters',
'pa_users' => 'Members management',
'pa_structure' => 'structure',
'pa_structure_overview' => 'General structure of the forum',
'pa_structure_addforum' => 'Add a forum',
'pa_structure_editforum' => 'Edit a forum',
'pa_structure_addtopicgroup' => 'Add a topic group',
'pa_structure_edittopicgroup' => 'Edit a topic group',
'pa_structure_choosefortg' => 'Choose forum for topic group',
'pa_structure_confirmforum' => 'Confirm forum deletion.',
'pa_structure_confirmtg' => 'Confirm topic group deletion.',
'pa_structure_confirmforum_txt' => 'You are about to delete the forum: {name}. This will also delete its topic groups and sub-groups.',
'pa_structure_confirmtg_txt' => 'You are about to delete the topic group: {name}. This will also remove its topic sub-groups.',
'pa_structure_wftopics' => 'Create topics containing what you delete.',
'pa_structure_desttg' => 'select destination topic group',
'pa_structure_deletetopics_yes' => 'Delete all the topics.',
'pa_structure_deletetopics_no' => 'Move all the topics of the deleted forums and sub-forums in this topic group:',
'pa_mails' => 'Communication',
'pa_pause' => 'Pause the forum',
'pa_setpause' => 'Are you sure you want to pause the forum?',
'pa_paused' => 'The forum is now paused!',
'pa_pausemessage' => 'Pause message',
'pa_submenu_users_name' => 'submenu users',
'pa_submenu_users_addvaluser' => 'Add/Delete a user',
'pa_submenu_users_renameuser' => 'Rename a user',
'pa_submenu_users_classes' => 'Groups of users',
'pa_submenu_users_showclasses' => 'show groups',
'pa_submenu_users_createclasses' => 'Create a group',
'pa_submenu_users_editclass' => 'Edit a group',
'pa_submenu_users_mods' => 'Moderator rights',
'pa_submenu_users_lastactions' => 'Moderator actions',
'pa_submenu_users_changeuser' => 'Change group user',
'pa_submenu_users_mannotval' => 'Manage unvalidated accounts',
'pa_submenu_users_notconnected' => 'Guest rights',
'pa_notconnected_rights' => 'select the topic groups who are hidden from guests.',
'pa_notconnected_confirm' => 'save changes!',
'pa_mannotval_infos' => 'This is for validating or removing accounts that have been created but not validated by email.',
'pa_mannotval_nobody' => 'No accounts pending validation.',
'pa_mnv_name' => 'Name',
'pa_mnv_issue' => 'Issue',
'pa_mnv_register' => 'Register',
'pa_mnv_changemail' => 'Change email address',
'pa_mnv_mail' => 'Email address',
'pa_mnv_date' => 'Date of registration',
'pa_mnv_options' => 'Options',
'pa_mnv_delete' => 'Delete',
'pa_mnv_validate' => 'Validate',
'pa_mnv_ok_delete' => 'The account {name} has been deleted.',
'pa_mnv_ok_validate' => 'The account {name} has been validated.',
'pa_cfg_fieldname' => 'Parameters',
'pa_cfg_explane' => 'Explanation',
'pa_cfg_param' => 'Param',
'pa_cfg_general' => 'General information',
'pa_cfg_display' => 'Display parameters',
'pa_cfg_register' => 'Registration parameters',
'pa_cfg_moderation' => 'Moderation parameters',
'pa_cfg_perfs' => 'Performances',
'pa_cfg_advanced' => 'Advanced parameters',
'pa_forumname' => 'Forum name',
'pa_forumname_info' => 'This name is used throughout the forum.',
'pa_forumowner' => 'Forum owner',
'pa_forumowner_info' => 'Used mainly for the forum\'s email signature.',
'pa_backtowebsite' => 'Link to main website',
'pa_backtowebsite_info' => 'This link will appear on the forum\'s links bar, unless the field is left blank',
'pa_supportmail_info' => 'This email address will be used for emails sent by the forum.',
'pa_defaultstyle' => 'Default style',
'pa_defaultstyle_info' => 'This is the forum style for guests or members who have not chosen a particular style in their personal options.',
'pa_defaultlanguage' => 'Default language',
'pa_defaultlanguage_info' => 'This is the language that will be used for guests or members that have not specified a language in their personal options.',
'pa_floodlimit' => 'Flood limit (seconds)',
'pa_floodlimit_info' => 'This is the time limit a user must wait before sending another message (does not affect personal messages).',
'pa_connectedlimit' => 'Limit connection time (minutes)',
'pa_connectedlimit_info' => 'How long a user is inactive for before they are considered disconnected from the forum. Used for publicly displaying the users that are currently connected to the forum, or a particular part of the forum.',
'pa_enablemail' => 'Email validation',
'pa_enablemail_info' => 'Email validation is required at the end of account registration to activate the account. This reduces the risks that the account is a bot and ensures that the email address is unique and valid.',
'pa_enabletopictrack' => 'Topic tracking',
'pa_enabletopictrack_info' => 'Allow topics to be tracked by email (a user who tracks a topic receives an email notification for any events in that topic).',
'pa_deletetopicallowed_info' => 'Allow moderators to delete topics',
'pa_edittopictitle' => 'Users can change their topic titles',
'pa_edittopictitle_info' => 'Users can modify the title and comment of any topic they started.',
'pa_suspendregister' => 'suspend registration',
'pa_suspendregister_info' => 'Guests cannot register for a forum account.',
'pa_showposted' => 'show participation',
'pa_showposted_info' => 'Topics in which the user has participated in are visibly tagged.',
'pa_postguest' => 'Guests can post',
'pa_postguest_info' => 'Guests can write messages or create new topics in topic groups that permit them to.',
'pa_displayconnected_info' => 'Either connected users are displayed on a section-by-section basis or all connected users are displayed.',
'pa_maxsize' => 'Maximum avatar picture size',
'pa_maxsize_info' => 'Defines the maximum avatar size, width and height in pixels.',
'pa_displayfastredirect' => 'Display fast redirect',
'pa_displayfastredirect_info' => 'The fast redirect menu is shown at the bottom of the forum and provides direct access to the forum index for faster travel.',
'pa_cookie_path' => 'Cookies directory',
'pa_cookie_path_info' => 'This is where the forum connection cookies reside, relative to the forum root.',
'pa_gzip_output' => 'GZIP compression',
'pa_gzip_output_info' => 'Forum pages are compressed before being sent to reduce bandwidth but at the expense of using slightly more server resources.',
'pa_readornot_sessions' => 'Unread messages managed per session',
'pa_readornot_sessions_info' => 'Messages are only regarded as unread if they are posted after the user\'s last connection, all messages posted before the user\'s last connection are automatically regarded as read.',
'pa_create_user' => 'To create an activated user account (with no email validation), fill the form below.',
'pa_defaultclass' => 'Default group',
'pa_changesett' => 'Change settings.',
'pa_createaccount' => 'Create account.',
'pa_createaccount_mess' => 'This will create an activated user account (with no email validation).',
'pa_delete_user' => 'To delete an account, enter the associated user name in the field below, select the desired option and confirm.',
'pa_deleteuser_msg_name' => 'Make this member\'s messages appear to have been written by a named guest',
'pa_deleteuser_msg_guest' => 'Make this member\'s messages appear to have been written by an anonymous guest',
'pa_deleteaccount' => 'Delete account.',
'pa_deleteaccount_mess' => 'This will irreversibly delete the selected member\'s account.',
'pa_putuserinclass' => 'Assign user group',
'pa_putuserinclass_title' => 'Choose user',
'pa_putuserinclass_wantedclass' => 'Desired group',
'pa_putuserinclass_confirm' => 'Change this user\'s group',
'pa_renameuser_title' => 'Rename user',
'pa_renameuser_oldname' => 'Old user name',
'pa_renameuser_newname' => 'New user name',
'pa_renameuser_confirm' => 'Rename user',
'pa_renameuser_error_old' => 'User does not exist.',
'pa_renameuser_error_admin' => 'The main administrator\'s name cannot be changed this way.',
'pa_renameuser_error_new' => 'The new user name is already used by a member of the forum.',
'pa_renameuser_success' => 'The member {old} has been renamed to {new}.',
'pa_existingclasses' => 'Existing groups',
'pa_mpallowed' => 'Personal messages allowed',
'pa_xpostsclass' => 'Normal group',
'pa_options' => 'Options',
'pa_condition' => 'Condition',
'pa_classname' => 'Group name',
'pa_hide' => 'Hide',
'pa_hide_note' => 'Note: Hidden groups are not visible in the forum\'s group legend or in the group menu.',
'pa_classtitle' => 'Group title',
'pa_classcolor' => 'Group color',
'pa_classtype' => 'Group type',
'pa_admincond' => 'Membership to this group requires: admin approval.',
'pa_postscond' => 'Membership to this group requires: a minimum of {posts} posts.',
'pa_auth_title' => 'Topic group title',
'pa_canflood' => 'Permission to flood',
'pa_auth_see' => 'Visible',
'pa_auth_reply' => 'Reply',
'pa_auth_create' => 'New topic',
'pa_forbidtopics' => 'Topic group does not allow new topics',
'pa_forbidreplies' => 'Topic group does not allow replies',
'pa_editingclass' => 'You are editing the group {name} (with id {id}).',
'pa_classname_edit' => '(generic name for the group, cannot use spaces)',
'pa_classtitle_edit' => '(this is the group name that will be posted in the forum)',
'pa_classcolor_infos' => '(of type #FE3D43 or rgb(121,254,127) or valid color name, if this color is not specified the default group color is used)',
'pa_classimage' => 'Group image',
'pa_classimage_infos' => 'An optional group image needs to be titled; class[id].jpg and placed in the skin directory (eg: "class1.jpg" for administrator group image). The id is visible while editing a class (eg: "You are editing the group Administrator (with id 1)"). This image will be posted below the user\'s avatar.',
'pa_classcond' => 'Conditions to be a member of this group',
'pa_classcond_posts' => 'Require more than {X} posts.',
'pa_classcond_admin' => 'Require administrator approval.',
'pa_classauth' => 'Restrict viewing and ability to create or reply to topics by ticking the associated box.',
'pa_createclass_confirm' => 'Create class',
'pa_editclass_confirm' => 'Edit class',
'pa_editclass_confirm_info' => 'This will edit the class {name}.',
'pa_selectuntg' => 'select unauthorized topic groups.',
'pa_corr' => 'Correspondances',
'pa_nocorr' => 'There is no corresponding topic group, go to the \'structure\' section of the administration panel.',
'pa_modusers' => 'Moderators',
'pa_modusers_expl' => 'Tick the topic groups in which the moderators are authorized to moderate. Tick the group box to authorize all of its members to moderate the topic group. The administrators can moderate the whole forum so they are not present in the list.',
'pa_m_corr_id' => 'ID',
'pa_m_corr_name' => 'Name of the topic group',
'pa_nomodusers' => 'The list of the moderators will be posted when the topic groups are created.',
'pa_changemod' => 'save modifications',
'pa_generalstructure_title' => 'structure of the forums',
'pa_str_tgname_title' => 'Name of the forum, topic group or sub-group',
'pa_str_op1_title' => 'Options',
'pa_str_op2_title' => 'Order',
'pa_str_delete' => 'Delete',
'pa_str_edit' => 'Edit',
'pa_str_up' => 'Up',
'pa_str_down' => 'Down',
'pa_mails' => 'Communication',
'pa_massmail' => 'Mass PM/Email',
'pa_massmail_info' => 'For sending a PM or email to all forum users, or to specific groups of users.',
'pa_massmail_type' => 'Message',
'pa_massmail_type_mp' => 'Personal message',
'pa_massmail_type_mail' => 'Email',
'pa_massmail_subject' => 'Message subject',
'pa_massmail_groups' => 'select the desired groups that will receive the message (CTRL for multiple selection)',
'pa_massmail_message' => 'Write message (you can use variables like {username}, which will be replaced by the name of the receiver)',
'pa_massmail_previs' => 'Preview',
'pa_massmail_nomessage' => 'Both the message and subject fields need to be filled.',
'pa_massmail_nogroups' => 'No user group selected to recieve the message',
'pa_massmail_ok_mp' => 'The PM was sent to all the specified users.',
'pa_massmail_ko_mail' => 'The email could not be sent to all the specified users.',
'pa_massmail_ok_mail' => 'All {nb} emails were sent successfully.',
'pa_changeconfirminscrmail' => 'Confirm registration',
'pa_changemail_title' => 'Change email contents',
'pa_changemail_ci_info' => 'Available variables: {--mail_user_name--}, {--mail_user_password--}, {--mail_confirm_link--}, {--mail_forumname--}, {--mail_forum_owner--}.',
'pa_mailsubject_title' => 'Mail subject',
'pa_changeconfirmchangemail' => 'Change email address',
'pa_changemail_cm_info' => 'Available variables: {--mail_user_name--}, {--mail_confirm_link--}, {--mail_forumname--}, {--mail_forum_owner--}.',
'pa_changeconfirmchangepass' => 'Password recovery',
'pa_changemail_cp_info' => 'Available variables: {--mail_user_name--}, {--mail_user_password--}, {--mail_confirm_link--}, {--mail_forumname--}, {--mail_forum_owner--}.',
'pa_changemailmp' => 'New PM notificaiton',
'pa_changemail_mp_info' => 'Available variables: {--mail_user_name--}, {--mail_poster--}, {--mail_forumname--}, {--mail_forum_owner--}.',
'pa_changetopictrack' => 'Track topic',
'pa_changemail_tt_info' => 'Available variables: {--mail_user_name--}, {--mail_topic_name--}, {--mail_topic_link--}, {--mail_poster--}, {--mail_forumname--}, {--mail_forum_owner--}.',
'pa_rules' => 'Change forum rules',
'pa_rules_info' => 'These rules are accessible via the main menu and have to be accepted in order to register a forum account.',
'pa_tools' => 'Personalization tools',
'pa_bbcode' => 'BBCodes',
'pa_bbcode_all' => 'show all BBCodes',
'pa_bbcode_add' => 'Add a BBCode',
'pa_bbcode_edit' => 'Edit a BBCode',
'pa_bbcode_name' => 'Name of mark out',
'pa_bbcode_name_title' => 'Name of mark out',
'pa_bbcode_options' => 'Options',
'pa_bbcode_signature' => 'Prohibit in signatures',
'pa_bbcode_error_name' => 'The replacement must contain, at least {--CONTENTS--}.',
'pa_bbcode_args' => 'with argument',
'pa_bbcode_args_add' => 'Reason for replacement (with {- - CONTENT --} for the contents and {- - ARGS --} for the argument)',
'pa_bbcode_parse' => 'Inner parser of the variable?',
'pa_bbcode_addsize' => 'Replace by the size of the HTML file indicated by {--CONTENTS--} (\'width="XX" height="YY"\')',
'pa_bbcode_funcont' => 'Function to be carried out on the contents of the variable ([tag]contents[/tag])',
'pa_bbcode_funargs' => 'Function to be carried out on the argument of the variable, if it exists ([tag=argument]contents[/tag])',
'pa_smileys' => 'smilies',
'pa_smileys_all' => 'show all smilies',
'pa_smileys_add' => 'Add a smiley',
'pa_smileys_edit' => 'Edit a smiley',
'pa_smileys_upload_edit_old' => 'Upload old file on the server with address',
'pa_smileys_upload_edit_server' => 'Upload another file already on the server with address indicated',
'pa_smileys_create' => 'Create a smiley',
'pa_smileys_image' => 'Image',
'pa_smileys_error_notup' => 'The image you selected does not exist on the server. Please check the file name or upload it.',
'pa_smileys_error_form' => 'The form was not filled in correctly. Please try again.',
'pa_smileys_error_upload' => 'A problem occurred uploading the file. Please check that the file location is correct and its weight doesn\'t exceed 100Kb and that the file extension is correct.',
'pa_smileys_error_format' => 'The format of the file you uploaded is not valid. The supported formats are GIF, JPEG or PNG.',
'pa_smileys_name' => 'Name',
'pa_smileys_file' => 'File',
'pa_smileys_options' => 'Options',
'pa_smileys_name_title' => 'smiley name (2 characters or more)',
'pa_smileys_filenameserver' => 'Name of the file on the server.<br />If it is not uploaded yet, this name will override the one of the uploaded file (see below).<br />The extension must be the same as the uploaded file.',
'pa_smileys_filename_orig' => 'This file is an original smiley which cannot be modified.',
'pa_smileys_upload_title' => 'Image name',
'pa_smileys_upload_server' => 'This file is already on the server',
'pa_smileys_upload_upload' => 'Upload the file',
'pa_sm_preview' => 'Preview',
'pa_sm_bankselection' => 'select components',
'pa_sm_creation' => 'select smiley components',
'pa_sm_back' => 'Return to the selection.',
'pa_sm_preview_submit' => 'Generate preview',
'pa_sm_send_title' => 'Use this smiley in the forum',
'pa_sm_name_title' => 'shortcut',
'pa_sm_filename_title' => 'File name',
'pa_sm_preview_congrat' => 'smiley successfully created',
'pa_sm_preview_modification' => 'You can still modify the parameters of the smiley if you want',
'pa_sm_finalized_congrat' => 'The smiley {smiley} was created and is now available on the forum.<br />You can create another if you want.',
'pa_sm_finalized_nocongrat' => 'The smiley could not be created. Please start again.',
'pa_sm_create_error_1' => 'No information was transmitted. The creation of the smiley failed.',
'pa_sm_create_error_24' => 'The file name already exists',
'pa_sm_create_error_25' => 'Impossible to copy the temporary file',
'pa_sm_create_error_27' => 'Impossible to save the smiley',
'pa_sm_create_error_28' => 'Impossible to delete the smiley',
'pa_sm_activate' => 'Enable',
'pa_sm_noactivate' => 'Disable',
'pa_sm_forselection' => 'For selection',
'pa_sm_invertselection' => 'Invert selection',
'pa_automessages' => 'Automatic messages',
'pa_automessages_all' => 'View automatic messages',
'pa_automessages_add' => 'Add an automatic message',
'pa_automessages_edit' => 'Edit an automatic message',
'pa_am_name_title' => 'Message name',
'pa_am_options_title' => 'Options',
'pa_am_noam' => 'There are no automatic messages.',
'pa_am_previs' => 'Preview',
'pa_am_add_name_title' => 'Message name',
'pa_am_add_message_title' => 'Message content',
'pa_gallery' => 'Avatar gallery',
'pa_gallery_all' => 'View avatar gallery',
'pa_gallery_all_empty' => 'The gallery is empty.',
'pa_gallery_all_delete' => 'Delete',
'pa_gallery_add' => 'Add an avatar',
'pa_gallery_add_filename' => 'select a file to be added to the avatar gallery.',
'pa_gallery_add_successloaded' => 'Avatar was successfully uploaded.',
'pa_selectuser_id' => 'By id',
'pa_selectuser_name' => 'By name',
'pa_o_title' => 'Administration panel',
'pa_o_welcome' => 'Welcome to the administration panel. You can modify all that you need while browsing in the left menu.',
'pa_o_nv_nofile' => 'Impossible to determine if a new version is available.',
'pa_o_nv_goodversion' => 'The version installed is up to date. You should not modify it.',
'pa_o_nv_installupgrade' => 'You must install an update. To do this, go <a href="install.php">here</a>.',
'pa_o_nv_notgoodversion' => 'You must update your forum. Go to the <a href="http://www.connectix-boards.org/index.php?page=downloads&sub=1">official website</a> to get the latest version.',
'pa_o_lastactions' => 'Last actions of moderators',
'pa_o_log_empty' => 'The log is empty.',
'pa_o_log_nosearch' => 'No element to be posted. You can refine your research below by modifying the element.',
'pa_o_log_make' => 'Author action',
'pa_o_log_make_sort' => 'sort by author',
'pa_o_log_time' => 'Date',
'pa_o_log_type' => 'Type of action',
'pa_o_log_type_sort' => 'sort by type of action',
'pa_o_log_concerns' => 'Concern',
'pa_o_log_concerns_sort' => 'sort by concern',
'pa_database' => 'Database',
'pa_db_deleteold' => 'Database content pruning',
'pa_db_deleteold_warning' => 'This allows you to remove topics for which there hasn\'t been any activity for some time.<br />Caution! This option is to be used with extreme care, messages are permanently deleted. It is recommended to backup your database before using this.',
'pa_db_deleteold_selectdate' => 'select time threshold (all topics whose last message was written before this time will be deleted)',
'pa_db_deleteold_selectdate_criterion' => 'Delete the topics whose last message was written longer than {input} days ago.',
'pa_db_deleteold_selecttype' => 'select the type of topics to delete',
'pa_db_deleteold_selecttype_normal' => 'Delete normal topics',
'pa_db_deleteold_selecttype_pinned' => 'Delete pinned topics',
'pa_db_deleteold_selecttype_announce' => 'Delete announcements',
'pa_db_deleteold_selecttype_replied' => 'Delete topics without replies',
'pa_db_deleteold_selectlocation' => 'Delete only in one forum or topic group',
'pa_db_deleteold_selectlocation_def' => 'Delete in all forums',
'pa_db_deleteold_submit' => 'Delete the specified topics!',
'pa_db_deleteold_success' => 'The deletion took place successfully. {Nb} posts were deleted.',
'pa_db_deleteold_notopics' => 'The deletion could not take place, no topics correspond with your criteria.',
'pa_db_deleteold_error_days' => 'You must insert a valid number of days.',
'pa_db_deleteoldusers_info' => 'This option enables you to remove all registrations more than one month old for which the user has not validated their email address. The benefit of this is only significant for forums with more than 1000 members.',
'pa_db_deleteoldusers_submit' => 'Delete unvalidated accounts older than one month!',
'pa_db_deleteoldusers_success' => '{nb} unvalidated accounts deleted.',
'pa_db_deleteoldusers_noaccounts' => 'There are no unvalidated accounts more than one month old to delete.',
'pa_db_dump' => 'Backup database',
'pa_db_dump_info' => 'The link below contains the forum SQL backup file for download. This file contains all the contents of your forum\'s database. Regularly carry out this operation to prevent loss of data in the event of a server crash or other problems.<br />If you update the forum, get a new backup file immediataly because the old backup files will not be compatible with the new version!!!',
'db_dump_wait' => 'Please be patient...<br /><br />The SQL dump is being made. As this operation is demanding for the server, it can take some time.<br/><br />Please be aware:<ul><li>Do not refresh this page and do not click on any link.</li><li>Await confirmation at the end of the process. An interruption of this operation could produce malfunctioning.</li><li>Store the resulting backup file safely .</li></ul><br />Please be patient...',
'pa_db_reset' => 'Install a backup',
'pa_db_reset_info' => '<span class="b">Caution!</span>This operation will return the forum\'s state to a prior date. All forum information posted after the backup will be lost.<br /><br />It is important that the backup file was created by Connectix Boards, via \' Backup database \'. Moreover, it is necessary that the version of Connectix Boards with which this file was created is the same as ( {version} ).',
'pa_db_reset_upload' => 'Enter a backup file',
'pa_db_reset_ftp' => 'You can use FTP software to upload your backup file into the directory \' data/temp \' of your forum. It is recommended that you do this if your backup file is large. Enter the name of the file which you want to upload in the above directory. It will be removed from this directory after installation of the backup.',
'pa_db_reset_success' => 'The backup was correctly installed. You can browse the forum like as it was before. Please manually remove the files \' data/temp \', that remain (EXCEPT the file index.html)',
'pa_db_error_upload' => 'An error occurred during the upload of the file. Please start again.',
'pa_db_error_file' => 'The file does not seem to be generated by the same version of Connectix Boards as that which is currently installed. It is impossible to continue.',
'pa_db_error_format' => 'The file does not have the right format, it must be sql.gz.',
'pa_db_error_nofile' => 'The file does not exist in the specified directory (\'data/temp\').',
'pa_db_error_toobig' => 'The file which you want to install is too large. The limit is fixed at {size} by PHP. Please use FTP instead.',
'db_reset_wait' => 'Please be patient...<br /><br />Your backup installation is in progress.<br /><br />This operation can take several minutes.',
'pa_maintenance' => 'Manual maintenance',
'pa_mt_infos' => 'If you carry out manual operations in the database, the statistics tables or the cache files may not be in agreement with the database. To cure this problem, you can update these files manually below.',
'pa_mt_resetcache_infos' => 'The cache files are generated by the forum and contain a summary of the database. These files are created to reduce the workload of the SQL server. To update these files, click on the following button.',
'pa_mt_resetcache_submit' => 'Update the cache files',
'pa_mt_resetcache_notice' => 'The cache files were successfully updated',
'pa_mt_resetstats_infos' => 'The statistics table contains forum data to avoid a few queries and to reduce the workload of the SQL server. To update the information contained in this table, click on the following button.',
'pa_mt_resetstats_submit' => 'Update the statistics table',
'pa_mt_resetstats_notice' => 'The statisitics table was successfully updated',
'pa_ip' => 'IP addresses',
'pa_ip_analyze_infos' => 'Each time a message is posted, its IP address is recorded. The forum utilizes this data to provide IP analysis.',
'pa_ip_analyze_ip' => 'Analyze an IP address',
'pa_ip_analyze_ip_insert' => 'Enter IP addresses to be analyzed',
'pa_ip_analyze_ip_confirm' => 'Analyze this IP address',
'pa_ip_analyze_user' => 'Analyze a member\'s IP address',
'pa_ip_analyze_user_insert' => 'Please enter the name of the user which you want to analyze',
'pa_ip_analyze_user_confirm' => 'Analyze the IP adresses of this user',
'pa_ip_analyze_error_wrongip' => 'The IP address that you entered is not valid.',
'pa_ip_analyze_error_wronguser' => 'The specified user does not exist.',
'pa_ip_detect_double' => 'Find the IP address of multiple members',
'pa_ip_detect_double_noresult' => 'No IP address was found.',
'pa_ip_detect_double_user' => 'You can restrict the search within IP addresses concerning a certain user below.',
'pa_ip_detect_double_confirm' => 'Include IP addresses concerning this user!',
'pa_ip_analyze_ipad' => 'IP address',
'pa_ip_analyze_name' => 'User name',
'pa_ip_analyze_lastdate' => 'Last use of this IP address',
'pa_ip_analyze_count' => 'Number of messages written using this IP',
'pa_ip_analyze_options' => 'Options',
'pa_ip_analyze_noresult' => 'No results found for this IP address.',
'pa_ip_analyze_thisuser' => 'Analyze the IP used by this user',
'pa_ip_analyze_thisip' => 'Analyze this IP address',
'pa_ip_analyze_banip' => 'Ban this IP address',
'pa_ip_sqlversion' => 'Your version of MySQL is not high enough to use this functionality. At least version 4.1 is required.',
'pa_ip_ban' => 'Ban an IP address',
'pa_ip_ban_ip' => 'IP addresses to ban',
'pa_ip_ban_expires' => 'specify the duration of the ban in number of days (0 corresponds with a permanent ban)',
'pa_ip_ban_confirm' => 'Ban this IP address!',
'pa_ip_ban_infos' => 'By banning an IP, you prevent any access to this forum and the administration panel by any person connected to the Internet with the specified IP. Use this function carefully! It is always preferable to make a preliminary analysis of the IP addresses you want to ban.',
'pa_ip_ban_error_allfields' => 'You must fill in all the fields.',
'pa_ip_ban_error_badexpires' => 'The duration of the ban is not valid.',
'pa_ip_ban_error_badip' => 'The IP address is not in a valid format.',
'pa_ip_ban_error_adminip' => 'The IP address entered is used by the main administrator and so cannot be banned!',
'pa_ip_ban_success' => 'The IP address has been successfully banned.',
'pa_ip_show_banned' => 'show banned addresses',
'pa_ip_show_banned_name' => 'IP address name',
'pa_ip_show_banned_expires' => 'Ban expires',
'pa_ip_show_banned_options' => 'Options',
'pa_ip_show_banned_cancel' => 'Cancel',
'pa_ip_show_banned_edit' => 'Edit',
'pa_ip_show_banned_nothing' => 'There are no IP addresses currently banned',
'pa_rewrite' => 'URL rewriting',
'pa_rw_on' => 'URL rewriting is enabled.',
'pa_rw_off' => 'URL rewriting is disabled. To enable, follow the instructions below.',
'pa_rw_verify' => 'URL rewriting allows the pages of a website to have more readable addresses as well as being statically referenced, which is good for search engines. However, not all hosts support it, to see whether your site\'s server supports it you can perform the following test:<br />
1. Open a text editor such as Notepad.<br />
2. Create a file "htaccess.txt" containing the three following lines:br />
Options +FollowSymlinks<br />
RewriteEngine on<br />
RewriteRule ^forum\.html$ index.php [QSA,L]<br />
3. Place this file in the main directory of your forum.<br />
4. Rename it to ".htaccess" (nothing before the decimal point).<br />
5. Go to the main page of your forum.<br />
6. In the address bar, replace "index.php" with "forum.html" and press "Enter".<br /><br />
-> If after items 5 or 6, an error occurs (abnormal display of the forum, error 404...), then your host does not support URL rewriting.<br />
-> If no error occurs, you can enable URL rewriting below.',
'pa_rw_enable_nomsg' => 'Enable URL rewriting',
'pa_rw_enable_withmsg' => 'Enable URL rewriting (enable only if the operation explained above was conclusive)',
'pa_rw_apache_ko' => 'Your host does not support URL rewriting.',
'pa_rw_enable_conf' => 'Enable URL rewriting?',
'pa_rw_disable_conf' => 'Disable URL rewriting?',
'forum_success_created' => 'The forum {name} was successfully created.',
'forum_success_edited' => 'The forum {name} was successfully edited.',
'forum_success_deleted' => 'The forum was successfully deleted.',
'tg_success_created' => 'The topic group {name} was successfully created .',
'tg_success_edited' => 'The topic group {name} was successfully edited.',
'tg_success_deleted' => 'The topic group was successfully deleted.',
'finfo_success_modif' => 'The forum information was successfully modified.',
'user_success_created' => 'The user account {name} was successfully created.',
'user_success_deleted' => 'The user account {name} was successfully deleted.',
'user_success_tonormal' => 'The user with id {id} is now a normal user.',
'user_success_toadmin' => 'The user with id {id} is now an administrator.',
'user_success_toclass' => 'The user with id {id} is now in the group {class}.'
);
$this->lang = array_merge($this->lang,$merge);
?>
Et voici l'archive mise à jour : http://ishimaru-design.servhome.org/divers/Connectix-Boards-en-traduction-beta_0_8_4-4.zip
Elle contient le fichier paneladmin.lang traduit, débuggé et corrigé.
Puisqu'on n'a pas eu de nouvelles de Samuel, vous pouvez me donner le rang de traducteur.
|
|
Ishimaru Chiaki |
|
Groupe : Acharné
Messages : 592
Enregistré le : 12/03/2008
Hors ligne Site Web
|
Traduction des deux fichiers principaux d'installation :
install.php
Spoiler<?php
/**
* Connectix Boards 0.8, free interactive php bulletin boards.
* Copyright (C) 2005-2007 Jasienski Martin.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You can find a copy of the GNU General Public License at
* <http://www.connectix-boards.org/license.txt>.
*/
/* Définition de la constante d'include. */
define('CB_INC', 'CB');
define('CB_ADMIN', 'CB');
define('CUR_VERSION','0.8.4');
define('CB_SKIN','Zephyr');
define('CB_LANG','en');
define('CB_PATH',dirname(__FILE__).'/');
$GLOBALS['to_upgrade'] = array(
'0.3',
'0.4','0.4.1','0.4.2','0.4.3','0.4.4',
'0.5','0.5.1','0.5.2','0.5.3','0.5.4','0.5.5',
'0.6','0.6.1',
'0.7','0.7.1',
'0.8','0.8.1','0.8.2','0.8.3');
$GLOBALS['to_migrate'] = array(
'coolforum' => 'CoolForum 0.8.X',
'ipb1_3' => 'Invision Power Board 1.3',
'ipb2' => 'Invision Power Board 2.X',
'phpbb2' => 'PhpBB 2.X',
'punbb' => 'PunBB 1.2.X');
$GLOBALS['to_migrate_prefix'] = array('coolforum' => 'cf_', 'ipb1_3' => 'ipb_', 'ipb2' => 'ipb_', 'phpbb2' => 'phpbb_', 'punbb' => 'punbb_');
$GLOBALS['tables_used'] = array('forums','topicgroups','topics','messages','mp','modnotes','users','connected','config','stats','automessages','groups','modnotes','pollpossibilities','polls','reports','banned','smileys','log','usertopics','usertgs','src_words','src_matches');
/* Pour les & dans les adresses. */
@ini_set('arg_separator.output','&');
@ini_set('url_rewriter.tags','a=href,area=href,frame=src,iframe=src,input=src');
/* Pour que les choix des formulaires soient conservés. */
header("Cache-control: private");
/* Démarrage de session */
ob_start();
session_start();
ob_end_clean();
/* Fonction qui retire les slashes d'un array. */
function cleanArray(&$arr) {
if (!empty($arr) && is_array($arr)) {
foreach($arr as $k => $v) {
if (is_array($v)) cleanArray($arr[$k]);
else $arr[$k] = stripslashes($v);
}
}
}
/* Si les magic_quotes sont activés, on traite les variables touchées. */
if (get_magic_quotes_gpc()) {
cleanArray($_POST);
cleanArray($_COOKIE);
cleanArray($_GET);
}
require('include/lib/lib.cb.php');
require('include/lib/lib.db.php');
require('include/lib/lib.admin.php');
require('include/lib/lib.users.php');
require('install/installsteps.php');
require('include/core/class.mysql.php');
require('include/core/class.config.php');
require('include/core/class.template.php');
require('include/lib/class.smileysmanager.php');
if (!isset($_SESSION['params']['todo'])) {
$_SESSION = array();
session_destroy();
session_start();
}
/* Initialisation des paramètres d'installation */
if (!isset($_SESSION['params']))
$_SESSION['params']=array();
if (!isset($_SESSION['params']['todo']))
$_SESSION['params']['todo'] = array();
if (!isset($_SESSION['params']['head']))
$_SESSION['params']['head']='Installation de Connectix Boards';
$form = array();
$errors = array();
$notices = array();
$GLOBALS['skip'] = false;
/* Vérification que l'installation n'a pas déja été faite ou s'il faut mettre à jour. */
if (count($_SESSION['params']['todo']) == 0) {
if (file_exists('data/settings.php')) {
$cb_db = new mysql (false);
if ($cb_db->isconnected()) {
global $cb_db;
$cf = new config();
if (!isset($cf->config['forumversion']) || (isset($cf->config['forumversion']) && in_array($cf->config['forumversion'],$GLOBALS['to_upgrade']))) {
$cf->updateElements(array('paused' => 'yes','pausemessage' => 'Maintenance du forum en cours...'));
$_SESSION['params']['todo'] = array(12,11,5,13);
$_SESSION['params']['current'] = (isset($cf->config['forumversion']))?$cf->config['forumversion']:$GLOBALS['to_upgrade'][0];
redirect('install.php');
}
}
$errors[] = 'Incorrect access to the install file. The board is already installed. The version you are trying to update isn\'t valid or is already up to date<br />Go to <a href="http://www.connectix-boards.org">the official website for more info.';
} else $_SESSION['params']['todo'] = array(0);
}
if (count($_SESSION['params']['todo']) > 0)
$_SESSION['params']['todo'] = installSteps ($_SESSION['params']['todo'],$form,$errors,$notices);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title><?php echo $_SESSION['params']['head']; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php if ($GLOBALS['skip']): ?>
<meta http-equiv="refresh" content="1; url=install.php">
<?php endif; ?>
<link rel="stylesheet" media="screen" type="text/css" title="Design" href="install/installskin/style.css" />
</head>
<body>
<div id="template">
<div id="main">
<h1 id="header">
<a href="index.php" id="headerlink"><span>Connectix Boards</span></a>
</h1>
<?php if (count($errors) > 0): ?>
<div class="warning">
<?php foreach($errors as $e): ?>
<p><?php echo $e; ?></p>
<?php endforeach; ?>
</div>
<?php endif; ?>
<?php if (count($notices) > 0): ?>
<div class="notice">
<?php foreach($notices as $n): ?>
<p><?php echo $n; ?></p>
<?php endforeach; ?>
</div>
<?php endif; ?>
<?php if (count($form) > 0): ?>
<form action="install.php" method="post">
<div class="container">
<h2><span class="title_pre"><span> > </span></span><?php echo $_SESSION['params']['head']; ?></h2>
<table class="table" border="0" cellspacing="1" cellpadding="4">
<?php foreach($form as $f): ?>
<tr>
<td colspan="2" class="f_title"><?php echo $f['title']; ?></td>
</tr>
<?php foreach($f['elements'] as $e): ?>
<tr>
<td class="f_text"><?php echo $e[0]; ?></td>
<td class="f_input"><?php echo $e[1]; ?></td>
</tr>
<?php endforeach; ?>
<?php endforeach; ?>
</table>
<div class="confirm">
<input type="submit" name="submit" value="Confirmer" />
</div>
</div>
</form>
<?php endif; ?>
<div id="footer">
<p id="copyright">
Powered by <a href="http://www.connectix-boards.org">Connectix Boards</a> <?php echo CUR_VERSION; ?> © 2005-<?php echo date('Y'); ?>
</p>
</div>
</div>
</div>
</body>
</html>
La suite dans le post suivant => j'ai pété la limite du nombre de caractères
|
|
Ishimaru Chiaki |
|
Groupe : Acharné
Messages : 592
Enregistré le : 12/03/2008
Hors ligne Site Web
|
install/installsteps.php
Spoiler<?php
// Constantes utiles
define('CB_BATCH_USERS',800);
define('CB_BATCH_TOPICS',800);
define('CB_BATCH_MSGS',300);
// Renvoie ce qui a été fait
function installSteps ($todo,&$form,&$errors,&$notices) {
$s = count($todo);
$done = array_fill(0,$s,false);
$i = 0;
while ($i < $s && count($errors) == 0) {
$done[$i] = manageStep ($todo[$i],(isset($done[$i-1])?$done[$i-1]:true),$form,$errors,$notices);
$i++;
}
$newToDo = array();
foreach ($todo as $id => $td) {
if (!$done[$id]) $newToDo[] = $td;
}
return $newToDo;
}
function manageStep ($id,$pre_managed,&$form,&$errors,&$notices) {
$managed = false;
switch ($id) {
/* INITIALISATION */
case 0:
if (isset($_POST['choose'],$_POST['forum_version']) && $_POST['choose'] == 'migrate' && in_array($_POST['forum_version'],array_keys($GLOBALS['to_migrate']))) {
$_SESSION['params']['forum'] = $_POST['forum_version'];
$_SESSION['params']['migr_prefix'] = '';
$_SESSION['params']['todo']=array(1,21,29,5,22,23,24,25,26,27,28,30,5,31);
redirect('install.php');
} elseif (isset($_POST['choose']) && $_POST['choose'] == 'install') {
$_SESSION['params']['todo']=array(1,3,2,4,5,6);
redirect('install.php');
}
if (!$managed) {
$sel_forum = '<select name="forum_version">';
foreach ($GLOBALS['to_migrate'] as $key => $value) {
$sel_forum .= '<option value="'.$key.'">'.$value.'</option>';
}
$sel_forum .= '</select>';
$form[] = array(
'title' => 'Choose your install type',
'elements' => array(
array('Install Connectix Boards','<input type="radio" name="choose" value="install" checked="checked" />'),
array('Migrate from another forum script: '.$sel_forum,'<input type="radio" name="choose" value="migrate" />')
)
);
}
break;
/* INSTALLATION */
case 1: // Création du fichier de configuration et initialisation des tables
if ($pre_managed && isset($_POST['sqlhost'],$_POST['sqlname'],$_POST['sqlpass'],$_POST['sqldb'],$_POST['prefix'])) {
if (!@chmod('data',0777))
$notices[] = 'The permissions change on "data" directory has failed. Please change it manually to 777.';
if (@mysql_connect($_POST['sqlhost'],$_POST['sqlname'],$_POST['sqlpass']) !== false ) {
if (@mysql_select_db($_POST['sqldb']) !== false ) {
mysql_close();
if ($file = @fopen('data/settings.php','w')) {
fputs($file,'<?php'."\n");
fputs($file,"if (!defined('CB_INC')) exit('Access denied!');\n\n");
fputs($file,'$this->sqlhost="'.addslashes($_POST['sqlhost']).'";'."\n");
fputs($file,'$this->sqlusername="'.addslashes($_POST['sqlname']).'";'."\n");
fputs($file,'$this->sqlpassword="'.addslashes($_POST['sqlpass']).'";'."\n");
fputs($file,'$this->sqldatabase="'.addslashes($_POST['sqldb']).'";'."\n");
fputs($file,'$this->prefix="'.addslashes($_POST['prefix']).'";'."\n");
fputs($file,'?>');
fclose($file);
$GLOBALS['cb_db'] = new mysql();
$return = $GLOBALS['cb_db']->query("SHOW TABLES");
$found = 0;
while ($data = $GLOBALS['cb_db']->fetch_row($return)) {
foreach ($GLOBALS['tables_used'] as $values) {
if ($GLOBALS['cb_db']->prefix.$values == $data[0]) {
$errors[] = 'Table préexistante trouvée: '.$GLOBALS['cb_db']->prefix.$values;
$found++;
}
}
}
if ($found > 0) {
$errors[] = 'Some tables already exist. If you only want to do an update, go to the official website (www.connectix-boards.org) to download the file to install. If you want to do a fresh install, please change the tables\' prefix.';
unlink('data/settings.php');
} else {
require_once(CB_PATH.'include/lib/lib.db.php');
execute_sqlfile('install/sql/tables.sql');
$managed = true;
}
} else $errors[] = 'Impossible to write in data/settings.php file ! Please change its write permissions manually.';
} else $errors[] = 'Wrong database login.';
} else $errors[] = 'Impossible to connect to MySQL. Verify your logins.';
}
if (!$managed) {
$form[] = array(
'title' => 'MySQL settings for Connectix Boards',
'elements' => array(
array('MySQL Hostname','<input type="text" name="sqlhost" size="18" value="'.((!empty($_POST['sqlhost']))?htmlentities($_POST['sqlhost'],ENT_QUOTES):'localhost').'" />'),
array('MySQL Username','<input type="text" name="sqlname" size="18" value="'.((!empty($_POST['sqlname']))?htmlentities($_POST['sqlname'],ENT_QUOTES):'root').'" />'),
array('MySQL Password','<input type="password" name="sqlpass" size="18" />'),
array('MySQL Database Name','<input type="text" name="sqldb" size="18" value="'.((!empty($_POST['sqldb']))?htmlentities($_POST['sqldb'],ENT_QUOTES):'').'" />'),
array('Prefix to use for your SQL tables','<input type="text" name="prefix" size="18" value="'.((!empty($_POST['prefix']))?htmlentities($_POST['prefix'],ENT_QUOTES):'cb_').'" />')
)
);
}
break;
case 2: // Création du compte administrateur
if ($pre_managed && isset($_POST['adminname'],$_POST['adminpass1'],$_POST['adminpass2'],$_POST['adminmail'])) {
if (strlen($_POST['adminname'])>=3) {
if ($_POST['adminpass1']==$_POST['adminpass2'] && strlen($_POST['adminpass1'])>3) {
if (isset($_POST['adminmail']) && !empty($_POST['adminmail'])) {
$GLOBALS['cb_db'] = new mysql();
$GLOBALS['cb_db']->query("INSERT INTO ".$GLOBALS['cb_db']->prefix."users(usr_id,usr_name,usr_password,usr_registered,usr_registertime,usr_email,usr_publicemail,usr_class,usr_nbmess) VALUES(1,'".clean($_POST['adminname'])."','".cbHash($_POST['adminpass1'],true)."','TRUE',".time().",'".$_POST['adminmail']."',0,1,1)");
$managed = true;
} else $errors[] = 'Enter a valid e-mail address for administration.';
} else $errors[] = 'The entered password must be identical and have at least 4 characters.';
} else $errors[] = 'The admin username must be at lease 3 characters long.';
}
if (!$managed) {
$form[] = array(
'title' => 'Admin Account',
'elements' => array(
array('Username','<input type="text" name="adminname" size="18" value="'.((!empty($_POST['adminname']))?htmlentities($_POST['adminname'],ENT_QUOTES):'').'" />'),
array('Password','<input type="password" name="adminpass1" size="18" />'),
array('Confirm password','<input type="password" name="adminpass2" size="18" />'),
array('E-mail address','<input type="text" name="adminmail" size="18" value="'.((!empty($_POST['adminmail']))?htmlentities($_POST['adminmail'],ENT_QUOTES):'').'" />')
)
);
}
break;
case 3: // Remplissage des tables
if ($pre_managed && isset($_POST['forumname'],$_POST['supportmail'],$_POST['forumowner'],$_POST['defaultlanguage'])) {
if (!empty($_POST['forumname']) && !empty($_POST['supportmail']) && !empty($_POST['forumowner']) && isLang($_POST['defaultlanguage'])) {
$GLOBALS['cb_db'] = new mysql();
_filltables(array(
'forumname' => clean($_POST['forumname']),
'forumowner' => clean($_POST['forumowner']),
'supportmail' => clean($_POST['supportmail']),
'defaultlanguage' => $_POST['defaultlanguage']
));
$managed = true;
} else $errors[] = 'The board\'s general settings weren\'t correctly entered.';
}
if (!$managed) {
$form[] = array(
'title' => 'General settings',
'elements' => array(
array('Forum name','<input type="text" name="forumname" size="18" value="'.((!empty($_POST['forumname']))?htmlentities($_POST['forumname'],ENT_QUOTES):'').'" />'),
array('Forum owner','<input type="text" name="forumowner" size="18" value="'.((!empty($_POST['forumowner']))?htmlentities($_POST['forumowner'],ENT_QUOTES):'').'" />'),
array('Support E-mail Address','<input type="text" name="supportmail" size="18" value="'.((!empty($_POST['supportmail']))?htmlentities($_POST['supportmail'],ENT_QUOTES):'').'" />'),
array('Default language',langMenu('defaultlanguage'))
)
);
}
break;
case 4: // Message de test-démo
if ($pre_managed) {
require_once(CB_PATH.'include/lib/lib.search.php');
$GLOBALS['cb_db']=new mysql();
$ttl = 'Test topic';
$cmt = 'Automatically posted at forum install !';
$msg = 'This is a simple test message, in a test topic.<br />\n<br />\nThey both can be modified or deleted.<br />\n<br />\nThanks for choosing Connectix Boards.';
$GLOBALS['cb_db']->query("INSERT INTO `".$GLOBALS['cb_db']->prefix."forums` (forum_name,forum_order) VALUES('Forum de test',1)");
$GLOBALS['cb_db']->query("INSERT INTO `".$GLOBALS['cb_db']->prefix."topicgroups` (tg_name,tg_comment,tg_fromforum,tg_nbtopics,tg_nbmess,tg_lasttopic) VALUES('Groupe de sujets de test','Vous pouvez le modifier dans le panneau d'administration.',1,1,1,1)");
$GLOBALS['cb_db']->query("INSERT INTO `".$GLOBALS['cb_db']->prefix."topics` (topic_name,topic_comment,topic_fromtopicgroup,topic_starter,topic_nbreply,topic_lastmessage) VALUES('".$ttl."','".$cmt."',1,1,0,1)");
parseMessageSearch($ttl.' '.$cmt,1);
$GLOBALS['cb_db']->query("INSERT INTO `".$GLOBALS['cb_db']->prefix."messages` (msg_topicid,msg_userid,msg_message,msg_timestamp) VALUES(1,1,'".$msg."',".time().")");
parseMessageSearch($msg,1,1);
$managed = true;
}
break;
case 5: // Fichiers de cache
if ($pre_managed) {
$GLOBALS['cb_db'] = new mysql();
$GLOBALS['cb_cfg'] = new config();
$smile = new smileysmanager();
if (!@chmod('avatars',0777) || !@chmod('avatars/gallery',0777) || !@chmod('avatars/temp',0777) || !@chmod('avatars/users',0777))
$notices[] = 'The permission change on "avatars" directory and its subdirectories has failed. Please change it to 777 manually.';
cacheStructure();
cacheMods();
cacheClasses();
$smile->cacheSmileys();
$GLOBALS['cb_cfg']->cacheConfig();
error_reporting(0);
if ($GLOBALS['cb_cfg']->config['url_rewrite']=='yes')
file_put_contents(CB_PATH.'.htaccess',file_get_contents(CB_PATH.'admin/htaccess.txt'));
error_reporting(E_ALL);
$managed = true;
}
break;
case 6: // Installation terminée
if ($pre_managed) {
$GLOBALS['cb_db'] = new mysql();
$GLOBALS['cb_cfg'] = new config();
$GLOBALS['cb_cfg']->updateElements(array('paused' => 'no'));
$notices[] = 'The install has been successfully done. Thanks for choosing Connectix Boards.<br /><br />
<a href="index.php">Forum Index</a><br />
<a href="admin.php">Administration Panel</a>';
$managed = true;
}
break;
/* MISE A JOUR */
case 11: // Mise à jour du numéro de version
if ($pre_managed) {
$GLOBALS['cb_db'] = new mysql();
$GLOBALS['cb_db']->query("REPLACE INTO ".$GLOBALS['cb_db']->prefix."config (cf_field,cf_value) VALUES('forumversion','".CUR_VERSION."')");
$managed = true;
}
break;
case 12: // Appels successifs des fichiers nécessaires à la mise à jour
if ($pre_managed) {
$GLOBALS['cb_db'] = new mysql();
$GLOBALS['cb_cfg'] = new config();
$begin = false;
foreach ($GLOBALS['to_upgrade'] as $key => $value) {
if ($value == $_SESSION['params']['current']) {
$begin = true;
}
if ($begin) {
$next = isset($GLOBALS['to_upgrade'][$key+1])?$GLOBALS['to_upgrade'][$key+1]:CUR_VERSION;
require('install/upgrades/up_'.$value.'_'.$next.'.php');
if ($GLOBALS['skip']) break;
else $_SESSION['params']['current'] = $next;
}
}
if ($_SESSION['params']['current'] == CUR_VERSION && !$GLOBALS['skip'])
$managed = true;
}
break;
case 13: // Mise à jour terminée
if ($pre_managed) {
$GLOBALS['cb_db'] = new mysql();
$GLOBALS['cb_cfg'] = new config();
$GLOBALS['cb_cfg']->updateElements(array('paused' => 'no'));
$notices[] = 'The update has been successfully done. Thanks for choosing Connectix Boards.<br /><br />
<a href="index.php">Forum Index</a><br />
<a href="admin.php">Administration Panel</a>';
$managed = true;
}
break;
/* MIGRATION */
case 21: // Préfixe des tables de l'ancien forum (migration)
if ($pre_managed && isset($_POST['migr_prefix'])) {
$_SESSION['params']['migr_prefix'] = $_POST['migr_prefix'];
$managed = true;
}
if (!$managed) {
$form[] = array(
'title' => 'Database settings '.$GLOBALS['to_migrate'][$_SESSION['params']['forum']],
'elements' => array(
array('Table prefix','<input type="text" name="migr_prefix" size="18" value="'.$GLOBALS['to_migrate_prefix'][$_SESSION['params']['forum']].'" />')
)
);
}
break;
case 22: // Initialisation
if ($pre_managed) {
if (!isset($_SESSION['dump_lastusr'])) {
_prerogative();
m_init($notices);
$_SESSION['dump_lastusr'] = -1;
$_SESSION['dump_lasttopic'] = -1;
$_SESSION['dump_lastpost'] = -1;
$notices[] = 'Migration initialization in progress.<br />Please wait patiently...';
$GLOBALS['skip'] = true;
$managed = false;
} else $managed = true;
}
break;
case 23: // Utilisateurs (LIMIT)
if ($pre_managed) {
_prerogative();
$q_users = $GLOBALS['cb_db']->query(m_u_query());
$try = false;
while ($d = $GLOBALS['cb_db']->fetch_assoc($q_users)) {
$try = true;
m_u_process($d);
$GLOBALS['cb_db']->query(_createquery('users',$d));
$_SESSION['dump_lastusr'] = $d['usr_id'];
}
if ($try) {
$notices[] = 'Migration progress status: '.number_format(10*$_SESSION['dump_lastusr']/$_SESSION['dump_maxuser']).'%<br />Please wait patiently...';
$GLOBALS['skip'] = true;
} else {
$GLOBALS['cb_db']->query('UPDATE '.$GLOBALS['cb_db']->prefix.'users SET usr_markasread='.time());
}
$managed = !$try;
}
break;
case 24: // Forums
if ($pre_managed) {
_prerogative();
$q_forums = $GLOBALS['cb_db']->query(m_f_query());
while ($d = $GLOBALS['cb_db']->fetch_assoc($q_forums)) {
m_f_process($d);
$GLOBALS['cb_db']->query(_createquery('forums',$d));
}
$managed = true;
}
break;
case 25: // Groupes de sujets
if ($pre_managed) {
_prerogative();
$q_tgs = $GLOBALS['cb_db']->query(m_tg_query());
while ($d = $GLOBALS['cb_db']->fetch_assoc($q_tgs)) {
m_tg_process($d);
$GLOBALS['cb_db']->query(_createquery('topicgroups',$d));
}
$managed = true;
}
break;
case 26: // Sujets (LIMIT)
if ($pre_managed) {
_prerogative();
require_once(CB_PATH.'include/lib/lib.search.php');
$q_topics = $GLOBALS['cb_db']->query(m_t_query());
$try = false;
while ($d = $GLOBALS['cb_db']->fetch_assoc($q_topics)) {
$try = true;
m_t_process($d);
$GLOBALS['cb_db']->query(_createquery('topics',$d));
parseMessageSearch($d['topic_name'].(isset($d['topic_comment'])?' '.$d['topic_comment']:''),$d['topic_id']);
$_SESSION['dump_lasttopic'] = $d['topic_id'];
}
if ($try) {
$notices[] = 'Migration progress status: '.number_format(10+10*$_SESSION['dump_lasttopic']/$_SESSION['dump_maxtopic']).'%<br />Please wait patiently...';
$GLOBALS['skip'] = true;
}
$managed = !$try;
}
break;
case 27: // Messages (LIMIT)
if ($pre_managed) {
_prerogative();
require_once(CB_PATH.'include/lib/lib.search.php');
$q_msgs = $GLOBALS['cb_db']->query(m_m_query());
$try = false;
while ($d = $GLOBALS['cb_db']->fetch_assoc($q_msgs)) {
$try = true;
m_m_process($d);
$GLOBALS['cb_db']->query(_createquery('messages',$d));
$GLOBALS['cb_db']->query('REPLACE INTO '.$GLOBALS['cb_db']->prefix.'usertopics(ut_userid,ut_topicid,ut_posted) VALUES ('.$d['msg_userid'].','.$d['msg_topicid'].',1)');
parseMessageSearch($d['msg_message'],$d['msg_topicid'],$d['msg_id']);
$_SESSION['dump_lastpost'] = $d['msg_id'];
}
if ($try) {
$notices[] = 'Migration progress status: '.number_format(20+75*$_SESSION['dump_lastpost']/$_SESSION['dump_maxpost']).'%<br />Please wait patiently';
$GLOBALS['skip'] = true;
}
$managed = !$try;
}
break;
case 28: // Sondages (stand-alone)
if ($pre_managed) {
_prerogative();
m_p_manage($notices);
$managed = true;
}
break;
case 29: // Remplissage de la config et des autres tables
if ($pre_managed) {
_prerogative();
if (m_cf_form_ok()) {
_filltables(m_cf_data());
$managed=true;
}
}
if (!$managed) {
require_once(CB_PATH.'install/migrations/'.$_SESSION['params']['forum'].'_to_cb.php');
m_cf_form($form);
}
break;
case 30: // Statistiques et finalisation
if ($pre_managed) {
_prerogative();
m_finished($notices);
resetStats();
setAllUsersPostClass();
// Ordre des tg et f
$q = $GLOBALS['cb_db']->query('SELECT tg_id FROM '.$GLOBALS['cb_db']->prefix.'topicgroups LEFT JOIN '.$GLOBALS['cb_db']->prefix.'forums ON forum_id = tg_fromforum ORDER BY forum_order ASC,tg_order ASC');
$i = 1;
while ($r = $GLOBALS['cb_db']->fetch_assoc($q))
$GLOBALS['cb_db']->query('UPDATE '.$GLOBALS['cb_db']->prefix.'topicgroups SET tg_order='.($i++).' WHERE tg_id='.$r['tg_id']);
$q = $GLOBALS['cb_db']->query('SELECT forum_id FROM '.$GLOBALS['cb_db']->prefix.'forums ORDER BY forum_order ASC');
$i = 1;
while ($r = $GLOBALS['cb_db']->fetch_assoc($q))
$GLOBALS['cb_db']->query('UPDATE '.$GLOBALS['cb_db']->prefix.'forums SET forum_order='.($i++).' WHERE forum_id='.$r['forum_id']);
$managed = true;
}
break;
case 31: // Migration terminée
if ($pre_managed) {
$GLOBALS['cb_db'] = new mysql();
$GLOBALS['cb_cfg'] = new config();
$GLOBALS['cb_cfg']->updateElements(array('paused' => 'no'));
$notices[] = 'The migration has been successfully done. Please update the board\'s settings in your administration panel (users permissions,groups,...) in order to get back to a situation who is similar to your old forum.<br />Thanks for choosing Connectix Boards.<br /><br />
<a href="index.php">Forum Index</a><br />
<a href="admin.php">Administration Panel</a>';
$managed = true;
}
break;
}
return $managed;
}
function _prerogative () {
$GLOBALS['cb_db'] = new mysql();
$GLOBALS['cb_cfg'] = new config();
require_once(CB_PATH.'install/migrations/'.$_SESSION['params']['forum'].'_to_cb.php');
}
function _createquery ($table,$data) {
return 'INSERT INTO '.$GLOBALS['cb_db']->prefix.$table.' ('.implode(',',array_keys($data)).') VALUES (\''.implode('\',\'',$data).'\')';
}
function _filltables ($cfg_data) {
$fname = (!empty($cfg_data['forumname']))?clean($cfg_data['forumname']):'Discussion forums';
$cfg_basedata = array(
'forumversion' => CUR_VERSION,
'forumname' => $fname,
'forumowner' => '',
'supportmail' => '',
'defaultstyle' => CB_SKIN,
'defaultlanguage' => CB_LANG,
'connectedlimit' => '10',
'maxsize' => '140',
'mail_ci' => "Hello {--mail_user_name--},\r\n\r\nThis e-mail was sent to you after you registered to {--mail_forumname--}.\r\n\r\nYou can validate your account simply by clicking on the link below or by copying in your favourite browser's address bar :\r\n{--mail_confirm_link--}\r\n\r\nYour username is {--mail_user_name--} and your password is {--mail_user_password--}.\r\n\r\nThank you very much and see you soon on our forums.\r\n\r\n{--mail_forum_owner--}",
'mailsubject_cm' => 'You account e-mail address has been changed on '.$fname.' forums !',
'mail_cm' => "Hello {--mail_user_name--},\r\n\r\nThis e-mail was sent to you after you requested to change your e-mail address on {--mail_forumname--}.\r\n\r\nYour account has been deactivated after you did it, you have to reactivate it by clicking on the link below or by copying it in your favourite browser's address bar :\r\n{--mail_confirm_link--}\r\n\r\nThanks for your comprehension and see you soon on our forums.\r\n\r\n{--mail_forum_owner--}",
'mailsubject_cp' => 'Recovery of your login infos!',
'mail_cp' => "Hello {--mail_user_name--},\r\n\r\nThis e-mail was sent to you after you requested to retrieve your personal info on {--mail_forumname--}. If this request has been made by error, ignore this e-mail.\r\n\r\nThe generated random password is as follows: {--mail_user_password--}\r\n\r\nYou can validate this password simply by clicking on the link below or by copying it in your favourite browser's address bar :\r\n{--mail_confirm_link--}\r\n\r\nThank you very much and see you soon on our forums.\r\n\r\n{--mail_forum_owner--}",
'mailsubject_ci' => 'Validation of your account on '.$fname.' forums!',
'foruminfobot' => '',
'foruminfobot_dyn' => '',
'forumrules' => "In order to make sure the board's ambiance stays as good as possible, here are some rules all users will have to respect during their journey on Connectix BoardsPour que l'ambiance du forum reste la meilleure possible, voici quelques règles qu.\r\n\r\nThis board is destined to be frequented within mutual respect, and any person who breaks this principle will see him/herself sanctioned consequently\r\nAll remarks on the forum cannot be about racism, hate, piracy, hacking or make publicity for anything.\r\nAny message considered as outrageous by moderators will be modified or removed without notice.\r\n\r\nThanks for conforming to these rules.",
'foruminfotop' => '',
'foruminfotop_dyn' => '',
'enablemail' => 'yes',
'deleteallowed' => 'no',
'paused' => 'yes',
'pausemessage' => 'Forum Maintenance.',
'suspend_register' => 'no',
'website' => '',
'show_posted' => 'yes',
'bb_sign_forbidden' => '',
'banned_ips' => '',
'url_rewrite' => 'no',
'hash_type' => 'cb',
'mailsubject_tt' => '{--mail_forumname--} : New replies in the topic {--mail_topic_name--}',
'mail_tt' => "Hello {--mail_user_name--},\r\n\r\nOne or several new message(s) has (have) been posted in the topic {--mail_topic_name--} since you last visited this topic. To access it, click on the link below, or copy it in your favourite browser's address bar:\r\n{--mail_topic_link--}\r\n\r\nThis e-mail was sent to you because you wanted to watch a topic on {--mail_forumname--}. If this request is a mistake, go to this topic and click on 'Untrack topic'.\r\n\r\nSee you soon on our forums,\r\n{--mail_forum_owner--}",
'floodlimit' => '30',
'edittopictitle' => 'no',
'enabletopictrack' => 'yes',
'displayconnected' => 'yes',
'displayfastredirect' => 'yes',
'postguest' => 'no',
'gzip_output' => 'yes',
'readornot_sessions' => 'no',
'pass_salt' => genValidCode(),
'cookie_path' => '/',
'mail_mp' => "Hello {--mail_user_name--},\r\n\r\nYou have received one (or several) new private message(s), from which the first one was sent by {--mail_poster--} on {--mail_forumname--}.\r\n\r\nTo read it (them), log in to the forum and go to your private messages control panel, or follow this link:\r\n{--mail_mp_link--}\r\n\r\nSee you soon on our forums,\r\n\r\n{--mail_forum_owner--}",
'mailsubject_mp' => 'You have received a new PM on {--mail_forumname--}!'
);
foreach ($cfg_data as $key => $value) {
if (!empty($value))
$cfg_basedata[$key] = $value;
}
$cfg_input = array();
foreach($cfg_basedata as $key => $value)
$cfg_input[] = '(\''.$key.'\',\''.clean($value).'\')';
$GLOBALS['cb_db']->query("REPLACE INTO ".$GLOBALS['cb_db']->prefix."config (cf_field,cf_value) VALUES ".implode(',',$cfg_input));
$GLOBALS['cb_db']->query("REPLACE INTO ".$GLOBALS['cb_db']->prefix."stats (st_field,st_value) VALUES
('registered_users', '1'),
('total_topics', '1'),
('total_messages', '1'),
('nb_reports','0')
");
$GLOBALS['cb_db']->query("INSERT INTO ".$GLOBALS['cb_db']->prefix."groups
(gr_id,gr_name,gr_status,gr_cond,gr_color,gr_mps,gr_hide,gr_mod,gr_auth_create,gr_auth_reply,gr_auth_see,gr_auth_flood)
VALUES
(1, 'Administrator', 2, -1, 'red', 100, 0, '', '', '', '', 1),
(2, 'Moderateur', 1, -1, 'blue', 100, 0, '', '', '', '', 1),
(3, 'New member', 0, 0, '', 20, 0, '', '', '', '', 0),
(4, '', 0, -2, '', 0, 0, '', '', '', '', 0)");
require_once(CB_PATH.'include/lib/lib.db.php');
execute_sqlfile(CB_PATH.'install/sql/smileys.sql');
}
?>
Pour le moment, je n'ai pas tratuit les commentaires, mais je pourrais le faire éventuellement. Vu que l'anglais n'est pas ma langue maternelle, il peut y avoir quelques erreurs, donc il faudra prévoir un suivi des erreurs si un pack anglais est releasé.
|