Parse error: syntax error, unexpected on english.php - Joomla! Forum - community, help and support


hi,

i'm having problems site. error says "parse error: syntax error, unexpected t_constant_encapsed_string in /home/infinity/public_html/chinese/language/english.php on line 421"
here's english.php code:

code: select all

<?php
/**
* joomla! free software. version may have been modified pursuant
* gnu general public license, , distributed includes or
* derivative of works licensed under gnu general public license or
* other free or open source software licenses.
* see copyright.php copyright notices , details.
*/

// no direct access
defined( '_valid_mos' ) or die( 'restricted access' );

// site page note found
define( '_404', 'we\'re sorry page requested not found.' );
define( '_404_rts', 'return site' );

// common
define('_language','en');
define('_not_auth','you not authorized view resource.');
define('_do_login','you need login.');
define('_valid_az09',"please enter valid %s.  no spaces, more %d characters , contain 0-9,a-z,a-z");
define('_cmn_yes','yes');
define('_cmn_no','no');
define('_cmn_show','show');
define('_cmn_hide','hide');

define('_cmn_name','name');
define('_cmn_description','description');
define('_cmn_save','save');
define('_cmn_cancel','cancel');
define('_cmn_print','print');
define('_cmn_pdf','pdf');
define('_cmn_email','e-mail');
define('_icon_sep','|');
define('_cmn_parent','parent');
define('_cmn_ordering','ordering');
define('_cmn_access','access level');
define('_cmn_select','select');

define('_cmn_next','next');
define('_cmn_next_arrow'," &gt;&gt;");
define('_cmn_prev','prev');
define('_cmn_prev_arrow',"&lt;&lt; ");

define('_cmn_sort_none','no sorting');
define('_cmn_sort_asc','sort ascending');
define('_cmn_sort_desc','sort descending');

define('_cmn_new','new');
define('_cmn_none','none');
define('_cmn_left','left');
define('_cmn_right','right');
define('_cmn_center','center');
define('_cmn_archive','archive');
define('_cmn_unarchive','unarchive');
define('_cmn_top','top');
define('_cmn_bottom','bottom');

define('_cmn_published','published');
define('_cmn_unpublished','unpublished');

define('_cmn_edit_html','edit html');
define('_cmn_edit_css','edit css');

define('_cmn_delete','delete');

define('_cmn_folder','folder');
define('_cmn_subfolder','sub-folder');
define('_cmn_optional','optional');
define('_cmn_required','required');

define('_cmn_continue','continue');

define('_cmn_new_item_last','new items default last place. ordering can changed after item saved.');
define('_cmn_new_item_first','new items default first place. ordering can changed after item saved.');
define('_login_incomplete','please complete username , password fields.');
define('_login_blocked','your login has been blocked. please contact administrator.');
define('_login_incorrect','incorrect username or password. please try again.');
define('_login_noadmins','you cannot login. there no administrators set up.');
define('_cmn_javascript','!warning! javascript must enabled proper operation.');

define('_new_message','a new private message has arrived');
define('_message_failed','the user has locked mailbox. message failed.');

define('_cmn_iframes', 'this option not work correctly.  unfortunately, browser not support inline frames');

define('_install_warn','for security please remove installation directory including files , sub-folders  - refresh page');
define('_template_warn','<font color=\"red\"><b>template file not found! looking template:</b></font>');
define('_no_params','there no parameters item');
define('_handler','handler not defined type');

/** mambots */
define('_toc_jumpto','article index');

/**  content */
define('_read_more','read more...');
define('_read_more_register','register read more...');
define('_more','more...');
define('_on_new_content', "a new content item has been submitted [ %s ]  titled [ %s ]  section [ %s ]  , category  [ %s ]" );
define('_sel_category','- select category -');
define('_sel_section','- select section -');
define('_sel_author','- select author -');
define('_sel_position','- select position -');
define('_sel_type','- select type -');
define('_empty_category','this category empty');
define('_empty_blog','there no items display');
define('_not_exist','the page trying access not exist.<br />please select page main menu.');

/** classes/html/modules.php */
define('_button_vote','vote');
define('_button_results','results');
define('_username','username');
define('_lost_password','lost password?');
define('_password','password');
define('_button_login','login');
define('_button_logout','logout');
define('_no_account','no account yet?');
define('_create_account','register');
define('_vote_poor','poor');
define('_vote_best','best');
define('_user_rating','user rating');
define('_rate_button','rate');
define('_remember_me','remember me');

/** contact.php */
define('_enquiry','enquiry');
define('_enquiry_text','this enquiry e-mail via %s from:');
define('_copy_text','this copy of following message sent %s via %s ');
define('_copy_subject','copy of: ');
define('_thank_message','thank e-mail');
define('_cloaking','this email address being protected spam bots, need javascript enabled view it');
define('_contact_header_name','name');
define('_contact_header_pos','position');
define('_contact_header_email','email');
define('_contact_header_phone','phone');
define('_contact_header_fax','fax');
define('_contacts_desc','the contact list website.');

/** classes/html/contact.php */
define('_contact_title','contact');
define('_email_description','send email contact:');
define('_name_prompt',' enter name:');
define('_email_prompt',' e-mail address:');
define('_message_prompt',' enter message:');
define('_send_button','send');
define('_contact_form_nc','please make sure form complete , valid.');
define('_contact_telephone','telephone: ');
define('_contact_mobile','mobile: ');
define('_contact_fax','fax: ');
define('_contact_email','email: ');
define('_contact_name','name: ');
define('_contact_position','postition: ');
define('_contact_address','address: ');
define('_contact_misc','information: ');
define('_contact_sel','select contact:');
define('_contact_none','there no contact details listed.');
define('_email_a_copy','email copy of message own address');
define('_contact_download_as','download information a');
define('_vcard','vcard');

/** pagenavigation */
define('_pn_lt','&lt;');
define('_pn_rt','&gt;');
define('_pn_page','page');
define('_pn_of','of');
define('_pn_start','start');
define('_pn_previous','prev');
define('_pn_next','next');
define('_pn_end','end');
define('_pn_display_nr','display #');
define('_pn_results','results');

/** emailfriend */
define('_email_title','e-mail friend');
define('_email_friend','e-mail friend.');
define('_email_friend_addr',"your friend's e-mail:");
define('_email_your_name','your name:');
define('_email_your_mail','your e-mail:');
define('_subject_prompt',' message subject:');
define('_button_submit_mail','send e-mail');
define('_button_cancel','cancel');
define('_email_err_noinfo','you must enter valid e-mail , valid e-mail send to.');
define('_email_msg',' following page "%s" website has been sent %s ( %s ).

you can access @ following url:
%s');
define('_email_info','item sent by');
define('_email_sent','this item has been sent to');
define('_prompt_close','close window');

/** classes/html/content.php */
define('_author_by', ' contributed by');
define('_written_by', ' written by');
define('_last_updated', 'last updated');
define('_back','[ ]');
define('_legend','legend');
define('_date','date');
define('_order_dropdown','order');
define('_header_title','item title');
define('_header_author','author');
define('_header_submitted','submitted');
define('_header_hits','hits');
define('_e_edit','edit');
define('_e_add','add');
define('_e_warnuser','please either cancel or save current change');
define('_e_warntitle','content item must have title');
define('_e_warntext','content item must have intro text');
define('_e_warncat','please select category');
define('_e_content','content');
define('_e_title','title:');
define('_e_category','category:');
define('_e_intro','intro text');
define('_e_main','main text');
define('_e_mosimage','insert {mosimage}');
define('_e_images','images');
define('_e_gallery_images','gallery images');
define('_e_content_images','content images');
define('_e_edit_image','edit image');
define('_e_insert','insert');
define('_e_up','up');
define('_e_down','down');
define('_e_remove','remove');
define('_e_source','source:');
define('_e_align','align:');
define('_e_alt','alt text:');
define('_e_border','border:');
define('_e_caption','caption');
define('_e_apply','apply');
define('_e_publishing','publishing');
define('_e_state','state:');
define('_e_author_alias','author alias:');
define('_e_access_level','access level:');
define('_e_ordering','ordering:');
define('_e_start_pub','start publishing:');
define('_e_finish_pub','finish publishing:');
define('_e_show_fp','show on front page:');
define('_e_hide_title','hide item title:');
define('_e_metadata','metadata');
define('_e_m_desc','description:');
define('_e_m_key','keywords:');
define('_e_subject','subject:');
define('_e_expires','expiry date:');
define('_e_version','version:');
define('_e_about','about');
define('_e_created','created:');
define('_e_last_mod','last modified:');
define('_e_hits','hits:');
define('_e_save','save');
define('_e_cancel','cancel');
define('_e_registered','registered users only');
define('_e_item_info','item information');
define('_e_item_saved','item saved.');
define('_item_previous','&lt; prev');
define('_item_next','next &gt;');


/** content.php */
define('_section_archive_empty','there no archived entries section, please come later');
define('_category_archive_empty','there no archived entries category, please come later');
define('_header_section_archive','section archives');
define('_header_category_archive','category archives');
define('_archive_search_failure','there no archived entries %s %s');   // values month year
define('_archive_search_success','here archived entries %s %s');   // values month year
define('_filter','filter');
define('_order_dropdown_da','date asc');
define('_order_dropdown_dd','date desc');
define('_order_dropdown_ta','title asc');
define('_order_dropdown_td','title desc');
define('_order_dropdown_ha','hits asc');
define('_order_dropdown_hd','hits desc');
define('_order_dropdown_aua','author asc');
define('_order_dropdown_aud','author desc');
define('_order_dropdown_o','ordering');

/** poll.php */
define('_alert_enabled','cookies must enabled!');
define('_already_vote','you voted poll today!');
define('_no_selection','no selection has been made, please try again');
define('_thanks','thanks vote!');
define('_select_poll','select poll list');

/** classes/html/poll.php */
define('_jan','january');
define('_feb','february');
define('_mar','march');
define('_apr','april');
define('_may','may');
define('_jun','june');
define('_jul','july');
define('_aug','august');
define('_sep','september');
define('_oct','october');
define('_nov','november');
define('_dec','december');
define('_poll_title','poll - results');
define('_survey_title','poll title:');
define('_num_voters','number of voters');
define('_first_vote','first vote');
define('_last_vote','last vote');
define('_sel_poll','select poll:');
define('_no_results','there no results poll.');

/** registration.php */
define('_error_pass','sorry, no corresponding user found');
define('_newpass_msg','the user account $checkusername has email associated it.\n'
.'a web user $mosconfig_live_site has requested new password sent.\n\n'
.' new password is: $newpass\n\nif didn\'t ask this, don\'t worry.'
.' seeing message, not them. if error login your'
.' new password , change password be.');
define('_newpass_sub','$_sitename :: new password - $checkusername');
define('_newpass_sent','new user password created , sent!');
define('_regwarn_name','please enter name.');
define('_regwarn_uname','please enter user name.');
define('_regwarn_mail','please enter valid e-mail address.');
define('_regwarn_pass','please enter valid password.  no spaces, more 6 characters , contain 0-9,a-z,a-z');
define('_regwarn_vpass1','please verify password.');
define('_regwarn_vpass2','password , verification not match, please try again.');
define('_regwarn_inuse','this username/password in use. please try another.');
define('_regwarn_email_inuse', 'this e-mail registered. if forgot password click on "lost password" , new password sent you.');
define('_send_sub','account details %s @ %s');
define('_usend_msg_activate', 'hello %s,

thank registering @ %s. account created , must activated before can use it.
to activate account click on following link or copy-paste in browser:
%s

after activation may login %s using following username , password:

username - %s
password - %s');
define('_usend_msg', "hello %s,

thank registering @ %s.

you may login %s using username , password registered with.");
define('_usend_msg_nopass','hello $name,\n\nyou have been added user $mosconfig_live_site.\n'
.'you may login $mosconfig_live_site username , password registered with.\n\n'
.'please not respond message automatically generated , information purposes only\n');
define('_asend_msg','hello %s,

a new user has registered @ %s.
this email contains details:

name - %s
e-mail - %s
username - %s

please not respond message automatically generated , information purposes only');
define('_reg_complete_nopass','<div class="componentheading">registration complete!</div><br />&nbsp;&nbsp;'
.'you may login.<br />&nbsp;&nbsp;');
define('_reg_complete', '<div class="componentheading">registration complete!</div><br />you may login.');
define('_reg_complete_activate', '<div class="componentheading">registration complete!</div><br />your account has been created , activation link has been sent e-mail address entered. note must activate account clicking on activation link when e-mail before can login.');
define('_reg_activate_complete', '<div class="componentheading">activation complete!</div><br />your account has been activated. can login using username , password choose during registration.');
define('_reg_activate_not_found', '<div class="componentheading">invalid activation link!</div><br />there no such account in our database or account has been activated.');

/** classes/html/registration.php */
define('_prompt_password','lost password?');
define('_new_pass_desc','please enter username , e-mail address click on send password button.<br />'
.'you receive new password shortly.  use new password access site.');
define('_prompt_uname','username:');
define('_prompt_email','e-mail address:');
define('_button_send_pass','send password');
define('_register_title','registration');
define('_register_name','name:');
define('_register_uname','username:');
define('_register_email','e-mail:');
define('_register_pass','password:');
define('_register_vpass','verify password:');
define('_register_required','fields marked asterisk (*) required.');
define('_button_send_reg','send registration');
define('_sending_password','your password sent above e-mail address.<br />once have received your'
.' new password can login in , change it.');

/** classes/html/search.php */
define('_search_title','search');
define('_prompt_keyword','search keyword');
define('_search_matches','returned %d matches');
define('_conclusion','total $totalrows results found.  search <b>$searchword</b> with');
define('_nokeyword','no results found');
define('_ignorekeyword','one or more common words ignored in search');
define('_search_anywords','any words');
define('_search_allwords','all words');
define('_search_phrase','exact phrase');
define('_search_newest','newest first');
define('_search_oldest','oldest first');
define('_search_popular','most popular');
define('_search_alphabetical','alphabetical');
define('_search_category','section/category');
define('_search_message','search term must minimum of 3 characters , maximum of 20 characters');
define('_search_archived','archived');
define('_search_catblog','category blog');
define('_search_catlist','category list');
define('_search_newsfeeds','newsfeeds');
define('_search_seclist','section list');
define('_search_secblog','section blog');


/** templates/*.php */
define('_iso','charset=iso-8859-1');
define('_date_format','l, f d y');  //uses php's date command format - depreciated
/**
* modify line reflect how want date appear in site
*
*e.g. define("_date_format_lc","%a, %d %b %y %h:%m"); //uses php's strftime command format
*/
define('_date_format_lc',"%a, %d %b %y"); //uses php's strftime command format
define('_date_format_lc2',"%a, %d %b %y %h:%m");
define('_search_box','search...');
define('_newsflash_box','newsflash!');
define('_mainmenu_box','main menu');

/** classes/html/usermenu.php */
define('_umenu_title','user menu');
define('_hi','user name:'');

/** user.php */
define('_save_err','please complete fields.');
define('_thank_sub','thanks submission. submission reviewed before being posted site.');
define('_thank_sub_pub','thanks submission.');
define('_up_size','you cannot upload files greater 15kb in size.');
define('_up_exists','image $userfile_name exists. please rename file , try again.');
define('_up_copy_fail','failed copy');
define('_up_type_warn','you may upload gif, or jpg image.');
define('_mail_sub','user submitted');
define('_mail_msg','hello $adminname,\n\n\na user submitted $type:\n [ $title ]\n has been been submitted user:\n [ $author ]\n'
.' $mosconfig_live_site.\n\n\n\n'
.'please go $mosconfig_live_site/administrator view , approve $type.\n\n'
.'please not respond message automatically generated , information purposes only\n');
define('_pass_verr1','if changing password please enter password again verify.');
define('_pass_verr2','if changing password please make sure password , verification match.');
define('_uname_inuse','this username in use.');
define('_update','update');
define('_user_details_save','your settings have been saved.');
define('_user_login','user login');



line 421 define('_save_err','please complete fields.');

please me.. thank you..






Comments