1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Help with phpBB Code

Discussion in 'phpBB' started by yfs1, May 24, 2006.

  1. #1
    I was editing the following files:
    And I somehow messed up my Admin page. It looks as though I cut off an ahref or something but I cannot figure out where the error is. I have rechecked all the files above so maybe I edited one that isn't on the list above.

    Can anyone point me in the right direction after looking at the screenshot?

    All of the other navigation on the left hand side works 100%, its only the main Admin page that is screwed up.

    (PS. I can't do a search for class="gensmall" as there are 100's of instances if not more)

    Cheers
     

    Attached Files:

    yfs1, May 24, 2006 IP
  2. Mong

    Mong ↓↘→ horsePower

    Messages:
    4,789
    Likes Received:
    734
    Best Answers:
    0
    Trophy Points:
    235
    #2
    You may have changed some closing tags improperly.
    Why not search for this in recently changed files.It would be lot more easier.

    Its problem of some misplace closing tag(s).
     
    Mong, May 24, 2006 IP
  3. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I've changed a ton of files in the last day or so, so I can't really do it that way. Besides, I wouldn't really know how to search for that as I just use notepad.

    I was hoping maybe someone knows which file or template include would be causing that.

    Cheers
     
    yfs1, May 24, 2006 IP
  4. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ok, if anyone leads me to the solution in the next 20 minutes, you can have either:

    $20 via paypal or a 1 year sitewide link

    :D
     
    yfs1, May 24, 2006 IP
  5. Mong

    Mong ↓↘→ horsePower

    Messages:
    4,789
    Likes Received:
    734
    Best Answers:
    0
    Trophy Points:
    235
    #5
    imo
    problem is somewhere in templates/subsilver/admin/forum_admin_body.tpl

    Between
    <!-- BEGIN forumrow -->

    and <!-- END forumrow -->
     
    Mong, May 24, 2006 IP
  6. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #6
     
    yfs1, May 24, 2006 IP
  7. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #7
    copy the code from admin/admin_board.php and templates/subSilver/admin/board_config_body.tpl here for us to look at.
     
    mdvaldosta, May 24, 2006 IP
  8. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #8
    board_config_body.tpl


    <h1>{L_CONFIGURATION_TITLE}</h1>
    
    <p>{L_CONFIGURATION_EXPLAIN}</p>
    
    <form action="{S_CONFIG_ACTION}" method="post"><table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
    	<tr>
    	  <th class="thHead" colspan="2">{L_GENERAL_SETTINGS}</th>
    	</tr>
    	<tr>
    		<td class="row1">{L_SERVER_NAME}</td>
    		<td class="row2"><input class="post" type="text" maxlength="255" size="40" name="server_name" value="{SERVER_NAME}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SERVER_PORT}<br /><span class="gensmall">{L_SERVER_PORT_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" maxlength="5" size="5" name="server_port" value="{SERVER_PORT}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SCRIPT_PATH}<br /><span class="gensmall">{L_SCRIPT_PATH_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" maxlength="255" name="script_path" value="{SCRIPT_PATH}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SITE_NAME}<br /><span class="gensmall">{L_SITE_NAME_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="25" maxlength="100" name="sitename" value="{SITENAME}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SITE_DESCRIPTION}</td>
    		<td class="row2"><input class="post" type="text" size="40" maxlength="255" name="site_desc" value="{SITE_DESCRIPTION}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_DISABLE_BOARD}<br /><span class="gensmall">{L_DISABLE_BOARD_EXPLAIN}</span></td>
    		<td class="row2"><input type="radio" name="board_disable" value="1" {S_DISABLE_BOARD_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="board_disable" value="0" {S_DISABLE_BOARD_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ACCT_ACTIVATION}</td>
    		<td class="row2"><input type="radio" name="require_activation" value="{ACTIVATION_NONE}" {ACTIVATION_NONE_CHECKED} />{L_NONE}&nbsp; &nbsp;<input type="radio" name="require_activation" value="{ACTIVATION_USER}" {ACTIVATION_USER_CHECKED} />{L_USER}&nbsp; &nbsp;<input type="radio" name="require_activation" value="{ACTIVATION_ADMIN}" {ACTIVATION_ADMIN_CHECKED} />{L_ADMIN}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_VISUAL_CONFIRM}<br /><span class="gensmall">{L_VISUAL_CONFIRM_EXPLAIN}</span></td>
    		<td class="row2"><input type="radio" name="enable_confirm" value="1" {CONFIRM_ENABLE} />{L_YES}&nbsp; &nbsp;<input type="radio" name="enable_confirm" value="0" {CONFIRM_DISABLE} />{L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ALLOW_AUTOLOGIN}<br /><span class="gensmall">{L_ALLOW_AUTOLOGIN_EXPLAIN}</span></td>
    		<td class="row2"><input type="radio" name="allow_autologin" value="1" {ALLOW_AUTOLOGIN_YES} />{L_YES}&nbsp; &nbsp;<input type="radio" name="allow_autologin" value="0" {ALLOW_AUTOLOGIN_NO} />{L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_AUTOLOGIN_TIME} <br /><span class="gensmall">{L_AUTOLOGIN_TIME_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="3" maxlength="4" name="max_autologin_time" value="{AUTOLOGIN_TIME}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_BOARD_EMAIL_FORM}<br /><span class="gensmall">{L_BOARD_EMAIL_FORM_EXPLAIN}</span></td>
    		<td class="row2"><input type="radio" name="board_email_form" value="1" {BOARD_EMAIL_FORM_ENABLE} /> {L_ENABLED}&nbsp;&nbsp;<input type="radio" name="board_email_form" value="0" {BOARD_EMAIL_FORM_DISABLE} /> {L_DISABLED}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_FLOOD_INTERVAL} <br /><span class="gensmall">{L_FLOOD_INTERVAL_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="3" maxlength="4" name="flood_interval" value="{FLOOD_INTERVAL}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SEARCH_FLOOD_INTERVAL} <br /><span class="gensmall">{L_SEARCH_FLOOD_INTERVAL_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="3" maxlength="4" name="search_flood_interval" value="{SEARCH_FLOOD_INTERVAL}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_MAX_LOGIN_ATTEMPTS}<br /><span class="gensmall">{L_MAX_LOGIN_ATTEMPTS_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="3" maxlength="4" name="max_login_attempts" value="{MAX_LOGIN_ATTEMPTS}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_LOGIN_RESET_TIME}<br /><span class="gensmall">{L_LOGIN_RESET_TIME_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="3" maxlength="4" name="login_reset_time" value="{LOGIN_RESET_TIME}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_TOPICS_PER_PAGE}</td>
    		<td class="row2"><input class="post" type="text" name="topics_per_page" size="3" maxlength="4" value="{TOPICS_PER_PAGE}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_POSTS_PER_PAGE}</td>
    		<td class="row2"><input class="post" type="text" name="posts_per_page" size="3" maxlength="4" value="{POSTS_PER_PAGE}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_HOT_THRESHOLD}</td>
    		<td class="row2"><input class="post" type="text" name="hot_threshold" size="3" maxlength="4" value="{HOT_TOPIC}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_DEFAULT_STYLE}</td>
    		<td class="row2">{STYLE_SELECT}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_OVERRIDE_STYLE}<br /><span class="gensmall">{L_OVERRIDE_STYLE_EXPLAIN}</span></td>
    		<td class="row2"><input type="radio" name="override_user_style" value="1" {OVERRIDE_STYLE_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="override_user_style" value="0" {OVERRIDE_STYLE_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_DEFAULT_LANGUAGE}</td>
    		<td class="row2">{LANG_SELECT}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_DATE_FORMAT}<br /><span class="gensmall">{L_DATE_FORMAT_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" name="default_dateformat" value="{DEFAULT_DATEFORMAT}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SYSTEM_TIMEZONE}</td>
    		<td class="row2">{TIMEZONE_SELECT}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ENABLE_GZIP}</td>
    		<td class="row2"><input type="radio" name="gzip_compress" value="1" {GZIP_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="gzip_compress" value="0" {GZIP_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ENABLE_PRUNE}</td>
    		<td class="row2"><input type="radio" name="prune_enable" value="1" {PRUNE_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="prune_enable" value="0" {PRUNE_NO} /> {L_NO}</td>
    	</tr>
    	<!-- Start Hide Zero Posters -->
    	<tr>
    		<th class="thHead" colspan="2">{L_ZERO_POSTERS}</th>
    	</tr>
    	<tr>
    		<td class="row2" colspan="2"><span class="gensmall">{L_ZERO_DESC}</span></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ZERO_COUNT}<br /><span class="gensmall">{L_ZERO_COUNT_DESC}</span></td>
    		<td class="row2"><input type="radio" name="zero_count" value="1" {ZERO_COUNT_YES} />{L_ENABLED}&nbsp; &nbsp;<input type="radio" name="zero_count" value="0" {ZERO_COUNT_NO} />{L_DISABLED}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ZERO_NEWEST}<br /><span class="gensmall">{L_ZERO_NEWEST_DESC}</span></td>
    		<td class="row2"><input type="radio" name="zero_newest" value="1" {ZERO_NEWEST_YES} />{L_ENABLED}&nbsp; &nbsp;<input type="radio" name="zero_newest" value="0" {ZERO_NEWEST_NO} />{L_DISABLED}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ZERO_GROUP}<br /><span class="gensmall">{L_ZERO_GROUP_DESC}</span></td>
    		<td class="row2"><input type="radio" name="zero_group" value="1" {ZERO_GROUP_YES} />{L_ENABLED}&nbsp; &nbsp;<input type="radio" name="zero_group" value="0" {ZERO_GROUP_NO} />{L_DISABLED}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ZERO_LIST}<br /><span class="gensmall">{L_ZERO_LIST_DESC}</span></td>
    		<td class="row2"><input type="radio" name="zero_list" value="1" {ZERO_LIST_YES} />{L_ENABLED}&nbsp; &nbsp;<input type="radio" name="zero_list" value="0" {ZERO_LIST_NO} />{L_DISABLED}</td>
    	</tr>
    <!-- End Hide Zero Posters -->
    	<tr>
    		<th class="thHead" colspan="2">{L_COOKIE_SETTINGS}</th>
    	</tr>
    	<tr>
    		<td class="row2" colspan="2"><span class="gensmall">{L_COOKIE_SETTINGS_EXPLAIN}</span></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_COOKIE_DOMAIN}</td>
    		<td class="row2"><input class="post" type="text" maxlength="255" name="cookie_domain" value="{COOKIE_DOMAIN}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_COOKIE_NAME}</td>
    		<td class="row2"><input class="post" type="text" maxlength="16" name="cookie_name" value="{COOKIE_NAME}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_COOKIE_PATH}</td>
    		<td class="row2"><input class="post" type="text" maxlength="255" name="cookie_path" value="{COOKIE_PATH}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_COOKIE_SECURE}<br /><span class="gensmall">{L_COOKIE_SECURE_EXPLAIN}</span></td>
    		<td class="row2"><input type="radio" name="cookie_secure" value="0" {S_COOKIE_SECURE_DISABLED} />{L_DISABLED}&nbsp; &nbsp;<input type="radio" name="cookie_secure" value="1" {S_COOKIE_SECURE_ENABLED} />{L_ENABLED}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SESSION_LENGTH}</td>
    		<td class="row2"><input class="post" type="text" maxlength="5" size="5" name="session_length" value="{SESSION_LENGTH}" /></td>
    	</tr>
    	<tr>
    		<th class="thHead" colspan="2">{L_PRIVATE_MESSAGING}</th>
    	</tr>
    	<tr>
    		<td class="row1">{L_DISABLE_PRIVATE_MESSAGING}</td>
    		<td class="row2"><input type="radio" name="privmsg_disable" value="0" {S_PRIVMSG_ENABLED} />{L_ENABLED}&nbsp; &nbsp;<input type="radio" name="privmsg_disable" value="1" {S_PRIVMSG_DISABLED} />{L_DISABLED}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_INBOX_LIMIT}</td>
    		<td class="row2"><input class="post" type="text" maxlength="4" size="4" name="max_inbox_privmsgs" value="{INBOX_LIMIT}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SENTBOX_LIMIT}</td>
    		<td class="row2"><input class="post" type="text" maxlength="4" size="4" name="max_sentbox_privmsgs" value="{SENTBOX_LIMIT}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SAVEBOX_LIMIT}</td>
    		<td class="row2"><input class="post" type="text" maxlength="4" size="4" name="max_savebox_privmsgs" value="{SAVEBOX_LIMIT}" /></td>
    	</tr>
    	<tr>
    	  <th class="thHead" colspan="2">{L_ABILITIES_SETTINGS}</th>
    	</tr>
    	<tr>
    		<td class="row1">{L_MAX_POLL_OPTIONS}</td>
    		<td class="row2"><input class="post" type="text" name="max_poll_options" size="4" maxlength="4" value="{MAX_POLL_OPTIONS}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ALLOW_HTML}</td>
    		<td class="row2"><input type="radio" name="allow_html" value="1" {HTML_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="allow_html" value="0" {HTML_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ALLOWED_TAGS}<br /><span class="gensmall">{L_ALLOWED_TAGS_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="30" maxlength="255" name="allow_html_tags" value="{HTML_TAGS}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ALLOW_BBCODE}</td>
    		<td class="row2"><input type="radio" name="allow_bbcode" value="1" {BBCODE_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="allow_bbcode" value="0" {BBCODE_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ALLOW_SMILIES}</td>
    		<td class="row2"><input type="radio" name="allow_smilies" value="1" {SMILE_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="allow_smilies" value="0" {SMILE_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SMILIES_PATH} <br /><span class="gensmall">{L_SMILIES_PATH_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="20" maxlength="255" name="smilies_path" value="{SMILIES_PATH}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ALLOW_SIG}</td>
    		<td class="row2"><input type="radio" name="allow_sig" value="1" {SIG_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="allow_sig" value="0" {SIG_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_MAX_SIG_LENGTH}<br /><span class="gensmall">{L_MAX_SIG_LENGTH_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="5" maxlength="4" name="max_sig_chars" value="{SIG_SIZE}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ALLOW_NAME_CHANGE}</td>
    		<td class="row2"><input type="radio" name="allow_namechange" value="1" {NAMECHANGE_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="allow_namechange" value="0" {NAMECHANGE_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    	  <th class="thHead" colspan="2">{L_AVATAR_SETTINGS}</th>
    	</tr>
    	<tr>
    		<td class="row1">{L_ALLOW_LOCAL}</td>
    		<td class="row2"><input type="radio" name="allow_avatar_local" value="1" {AVATARS_LOCAL_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="allow_avatar_local" value="0" {AVATARS_LOCAL_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ALLOW_REMOTE} <br /><span class="gensmall">{L_ALLOW_REMOTE_EXPLAIN}</span></td>
    		<td class="row2"><input type="radio" name="allow_avatar_remote" value="1" {AVATARS_REMOTE_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="allow_avatar_remote" value="0" {AVATARS_REMOTE_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_ALLOW_UPLOAD}</td>
    		<td class="row2"><input type="radio" name="allow_avatar_upload" value="1" {AVATARS_UPLOAD_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="allow_avatar_upload" value="0" {AVATARS_UPLOAD_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_MAX_FILESIZE}<br /><span class="gensmall">{L_MAX_FILESIZE_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="4" maxlength="10" name="avatar_filesize" value="{AVATAR_FILESIZE}" /> Bytes</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_MAX_AVATAR_SIZE} <br />
    			<span class="gensmall">{L_MAX_AVATAR_SIZE_EXPLAIN}</span>
    		</td>
    		<td class="row2"><input class="post" type="text" size="3" maxlength="4" name="avatar_max_height" value="{AVATAR_MAX_HEIGHT}" /> x <input class="post" type="text" size="3" maxlength="4" name="avatar_max_width" value="{AVATAR_MAX_WIDTH}"></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_AVATAR_STORAGE_PATH} <br /><span class="gensmall">{L_AVATAR_STORAGE_PATH_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="20" maxlength="255" name="avatar_path" value="{AVATAR_PATH}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_AVATAR_GALLERY_PATH} <br /><span class="gensmall">{L_AVATAR_GALLERY_PATH_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" size="20" maxlength="255" name="avatar_gallery_path" value="{AVATAR_GALLERY_PATH}" /></td>
    	</tr>
    	<tr>
    	  <th class="thHead" colspan="2">{L_COPPA_SETTINGS}</th>
    	</tr>
    	<tr>
    		<td class="row1">{L_COPPA_FAX}</td>
    		<td class="row2"><input class="post" type="text" size="25" maxlength="100" name="coppa_fax" value="{COPPA_FAX}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_COPPA_MAIL}<br /><span class="gensmall">{L_COPPA_MAIL_EXPLAIN}</span></td>
    		<td class="row2"><textarea name="coppa_mail" rows="5" cols="30">{COPPA_MAIL}</textarea></td>
    	</tr>
    
    	<tr>
    	  <th class="thHead" colspan="2">{L_EMAIL_SETTINGS}</th>
    	</tr>
    	<tr>
    		<td class="row1">{L_ADMIN_EMAIL}</td>
    		<td class="row2"><input class="post" type="text" size="25" maxlength="100" name="board_email" value="{EMAIL_FROM}" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_EMAIL_SIG}<br /><span class="gensmall">{L_EMAIL_SIG_EXPLAIN}</span></td>
    		<td class="row2"><textarea name="board_email_sig" rows="5" cols="30">{EMAIL_SIG}</textarea></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_USE_SMTP}<br /><span class="gensmall">{L_USE_SMTP_EXPLAIN}</span></td>
    		<td class="row2"><input type="radio" name="smtp_delivery" value="1" {SMTP_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="smtp_delivery" value="0" {SMTP_NO} /> {L_NO}</td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SMTP_SERVER}</td>
    		<td class="row2"><input class="post" type="text" name="smtp_host" value="{SMTP_HOST}" size="25" maxlength="50" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SMTP_USERNAME}<br /><span class="gensmall">{L_SMTP_USERNAME_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="text" name="smtp_username" value="{SMTP_USERNAME}" size="25" maxlength="255" /></td>
    	</tr>
    	<tr>
    		<td class="row1">{L_SMTP_PASSWORD}<br /><span class="gensmall">{L_SMTP_PASSWORD_EXPLAIN}</span></td>
    		<td class="row2"><input class="post" type="password" name="smtp_password" value="{SMTP_PASSWORD}" size="25" maxlength="255" /></td>
    	</tr>
    	<tr>
    		<td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" />&nbsp;&nbsp;<input type="reset" value="{L_RESET}" class="liteoption" />
    		</td>
    	</tr>
    </table></form>
    
    <br clear="all" />
    Code (markup):
     
    yfs1, May 24, 2006 IP
  9. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #9
    admin_board.php

    <?php
    /***************************************************************************
     *                              admin_board.php
     *                            -------------------
     *   begin                : Thursday, Jul 12, 2001
     *   copyright            : (C) 2001 The phpBB Group
     *   email                : support@phpbb.com
     *
     *   $Id: admin_board.php,v 1.51.2.15 2006/02/10 22:19:01 grahamje Exp $
     *
     *
     ***************************************************************************/
    
    define('IN_PHPBB', 1);
    
    if( !empty($setmodules) )
    {
    	$file = basename(__FILE__);
    	$module['General']['Configuration'] = $file;
    	return;
    }
    
    //
    // Let's set the root dir for phpBB
    //
    $phpbb_root_path = "./../";
    require($phpbb_root_path . 'extension.inc');
    require('./pagestart.' . $phpEx);
    include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
    
    //
    // Pull all config data
    //
    $sql = "SELECT *
    	FROM " . CONFIG_TABLE;
    if(!$result = $db->sql_query($sql))
    {
    	message_die(CRITICAL_ERROR, "Could not query config information in admin_board", "", __LINE__, __FILE__, $sql);
    }
    else
    {
    	while( $row = $db->sql_fetchrow($result) )
    	{
    		$config_name = $row['config_name'];
    		$config_value = $row['config_value'];
    		$default_config[$config_name] = isset($HTTP_POST_VARS['submit']) ? str_replace("'", "\'", $config_value) : $config_value;
    		
    		$new[$config_name] = ( isset($HTTP_POST_VARS[$config_name]) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name];
    
    //+MOD: Search latest 24h 48h 72h
    		if ($config_name == 'search_latest_hours' && isset($HTTP_POST_VARS['submit']))
    		{
    			$temp = explode(',', $new['search_latest_hours']);
    			sort($temp);
    			for( $num = 0; $num < count($temp); $num++ )
    			{
    				if( ($temp[$num] = intval($temp[$num])) <= 0 )
    				{
    					message_die(GENERAL_ERROR, $lang['Search_latest_hours_error']);
    				}
    			}
    			$new['search_latest_hours'] = implode(',', $temp);
    			unset($temp, $num);
    		}
    //-MOD: Search latest 24h 48h 72h
    
    		if ($config_name == 'cookie_name')
    		{
    			$new['cookie_name'] = str_replace('.', '_', $new['cookie_name']);
    		}
    
    		// Attempt to prevent a common mistake with this value,
    		// http:// is the protocol and not part of the server name
    		if ($config_name == 'server_name')
    		{
    			$new['server_name'] = str_replace('http://', '', $new['server_name']);
    		}
    
    		if( isset($HTTP_POST_VARS['submit']) )
    		{
    			$sql = "UPDATE " . CONFIG_TABLE . " SET
    				config_value = '" . str_replace("\'", "''", $new[$config_name]) . "'
    				WHERE config_name = '$config_name'";
    			if( !$db->sql_query($sql) )
    			{
    				message_die(GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql);
    			}
    		}
    	}
    
    	if( isset($HTTP_POST_VARS['submit']) )
    	{
    		$message = $lang['Config_updated'] . "<br /><br />" . sprintf($lang['Click_return_config'], "<a href=\"" . append_sid("admin_board.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
    
    		message_die(GENERAL_MESSAGE, $message);
    	}
    }
    
    $style_select = style_select($new['default_style'], 'default_style', "../templates");
    $lang_select = language_select($new['default_lang'], 'default_lang', "language");
    $timezone_select = tz_select($new['board_timezone'], 'board_timezone');
    
    $disable_board_yes = ( $new['board_disable'] ) ? "checked=\"checked\"" : "";
    $disable_board_no = ( !$new['board_disable'] ) ? "checked=\"checked\"" : "";
    
    $zero_count_yes = ( $new['zero_count'] ) ? "checked=\"checked\"" : "";
    $zero_count_no = ( !$new['zero_count'] ) ? "checked=\"checked\"" : "";
    $zero_newest_yes = ( $new['zero_newest'] ) ? "checked=\"checked\"" : "";
    $zero_newest_no = ( !$new['zero_newest'] ) ? "checked=\"checked\"" : "";
    $zero_group_yes = ( $new['zero_group'] ) ? "checked=\"checked\"" : "";
    $zero_group_no = ( !$new['zero_group'] ) ? "checked=\"checked\"" : "";
    $zero_list_yes = ( $new['zero_list'] ) ? "checked=\"checked\"" : "";
    $zero_list_no = ( !$new['zero_list'] ) ? "checked=\"checked\"" : "";
    $cookie_secure_yes = ( $new['cookie_secure'] ) ? "checked=\"checked\"" : "";
    $cookie_secure_no = ( !$new['cookie_secure'] ) ? "checked=\"checked\"" : "";
    
    $html_tags = $new['allow_html_tags'];
    
    //+MOD: Search latest 24h 48h 72h
    $search_latest_results_posts = ( $new['search_latest_results'] == 'posts' ) ? ' checked="checked"' : '';
    $search_latest_results_topics = ( $new['search_latest_results'] != 'posts' ) ? ' checked="checked"' : '';
    //-MOD: Search latest 24h 48h 72h
    $override_user_style_yes = ( $new['override_user_style'] ) ? "checked=\"checked\"" : "";
    $override_user_style_no = ( !$new['override_user_style'] ) ? "checked=\"checked\"" : "";
    
    $html_yes = ( $new['allow_html'] ) ? "checked=\"checked\"" : "";
    $html_no = ( !$new['allow_html'] ) ? "checked=\"checked\"" : "";
    
    $bbcode_yes = ( $new['allow_bbcode'] ) ? "checked=\"checked\"" : "";
    $bbcode_no = ( !$new['allow_bbcode'] ) ? "checked=\"checked\"" : "";
    
    $activation_none = ( $new['require_activation'] == USER_ACTIVATION_NONE ) ? "checked=\"checked\"" : "";
    $activation_user = ( $new['require_activation'] == USER_ACTIVATION_SELF ) ? "checked=\"checked\"" : "";
    $activation_admin = ( $new['require_activation'] == USER_ACTIVATION_ADMIN ) ? "checked=\"checked\"" : "";
    
    $confirm_yes = ($new['enable_confirm']) ? 'checked="checked"' : '';
    $confirm_no = (!$new['enable_confirm']) ? 'checked="checked"' : '';
    
    $allow_autologin_yes = ($new['allow_autologin']) ? 'checked="checked"' : '';
    $allow_autologin_no = (!$new['allow_autologin']) ? 'checked="checked"' : '';
    
    $board_email_form_yes = ( $new['board_email_form'] ) ? "checked=\"checked\"" : "";
    $board_email_form_no = ( !$new['board_email_form'] ) ? "checked=\"checked\"" : "";
    
    $gzip_yes = ( $new['gzip_compress'] ) ? "checked=\"checked\"" : "";
    $gzip_no = ( !$new['gzip_compress'] ) ? "checked=\"checked\"" : "";
    
    $privmsg_on = ( !$new['privmsg_disable'] ) ? "checked=\"checked\"" : "";
    $privmsg_off = ( $new['privmsg_disable'] ) ? "checked=\"checked\"" : "";
    
    $prune_yes = ( $new['prune_enable'] ) ? "checked=\"checked\"" : "";
    $prune_no = ( !$new['prune_enable'] ) ? "checked=\"checked\"" : "";
    
    $smile_yes = ( $new['allow_smilies'] ) ? "checked=\"checked\"" : "";
    $smile_no = ( !$new['allow_smilies'] ) ? "checked=\"checked\"" : "";
    
    $sig_yes = ( $new['allow_sig'] ) ? "checked=\"checked\"" : "";
    $sig_no = ( !$new['allow_sig'] ) ? "checked=\"checked\"" : "";
    
    $namechange_yes = ( $new['allow_namechange'] ) ? "checked=\"checked\"" : "";
    $namechange_no = ( !$new['allow_namechange'] ) ? "checked=\"checked\"" : "";
    
    $avatars_local_yes = ( $new['allow_avatar_local'] ) ? "checked=\"checked\"" : "";
    $avatars_local_no = ( !$new['allow_avatar_local'] ) ? "checked=\"checked\"" : "";
    $avatars_remote_yes = ( $new['allow_avatar_remote'] ) ? "checked=\"checked\"" : "";
    $avatars_remote_no = ( !$new['allow_avatar_remote'] ) ? "checked=\"checked\"" : "";
    $avatars_upload_yes = ( $new['allow_avatar_upload'] ) ? "checked=\"checked\"" : "";
    $avatars_upload_no = ( !$new['allow_avatar_upload'] ) ? "checked=\"checked\"" : "";
    
    $smtp_yes = ( $new['smtp_delivery'] ) ? "checked=\"checked\"" : "";
    $smtp_no = ( !$new['smtp_delivery'] ) ? "checked=\"checked\"" : "";
    
    $template->set_filenames(array(
    	"body" => "admin/board_config_body.tpl")
    );
    
    //
    // Escape any quotes in the site description for proper display in the text
    // box on the admin page 
    //
    $new['site_desc'] = str_replace('"', '&quot;', $new['site_desc']);
    $new['sitename'] = str_replace('"', '&quot;', strip_tags($new['sitename']));
    $template->assign_vars(array(
    	"S_CONFIG_ACTION" => append_sid("admin_board.$phpEx"),
    
    	"L_YES" => $lang['Yes'],
    	"L_NO" => $lang['No'],
    	"L_CONFIGURATION_TITLE" => $lang['General_Config'],
    	"L_CONFIGURATION_EXPLAIN" => $lang['Config_explain'],
    	"L_GENERAL_SETTINGS" => $lang['General_settings'],
    	"L_SERVER_NAME" => $lang['Server_name'], 
    	"L_SERVER_NAME_EXPLAIN" => $lang['Server_name_explain'], 
    	"L_SERVER_PORT" => $lang['Server_port'], 
    	"L_SERVER_PORT_EXPLAIN" => $lang['Server_port_explain'], 
    	"L_SCRIPT_PATH" => $lang['Script_path'], 
    	"L_SCRIPT_PATH_EXPLAIN" => $lang['Script_path_explain'], 
    	"L_SITE_NAME" => $lang['Site_name'],
    	"L_SITE_DESCRIPTION" => $lang['Site_desc'],
    	"L_DISABLE_BOARD" => $lang['Board_disable'], 
    	"L_DISABLE_BOARD_EXPLAIN" => $lang['Board_disable_explain'], 
    	"L_ACCT_ACTIVATION" => $lang['Acct_activation'], 
    	"L_NONE" => $lang['Acc_None'], 
    	"L_USER" => $lang['Acc_User'], 
    	"L_ADMIN" => $lang['Acc_Admin'], 
    	"L_VISUAL_CONFIRM" => $lang['Visual_confirm'], 
    	"L_VISUAL_CONFIRM_EXPLAIN" => $lang['Visual_confirm_explain'], 
    	"L_ALLOW_AUTOLOGIN" => $lang['Allow_autologin'],
    	"L_ALLOW_AUTOLOGIN_EXPLAIN" => $lang['Allow_autologin_explain'],
    	"L_AUTOLOGIN_TIME" => $lang['Autologin_time'],
    	"L_AUTOLOGIN_TIME_EXPLAIN" => $lang['Autologin_time_explain'],
    	"L_ZERO_POSTERS" => $lang['zero_posters'],
    	"L_ZERO_DESC" => $lang['zero_desc'],
    	"L_ZERO_COUNT" => $lang['zero_count'],
    	"L_ZERO_COUNT_DESC" => $lang['zero_count_desc'],
    	"L_ZERO_NEWEST" => $lang['zero_newest'],
    	"L_ZERO_NEWEST_DESC" => $lang['zero_newest_desc'],
    	"L_ZERO_GROUP" => $lang['zero_group'],
    	"L_ZERO_GROUP_DESC" => $lang['zero_group_desc'],
    	"L_ZERO_LIST" => $lang['zero_list'],
    	"L_ZERO_LIST_DESC" => $lang['zero_list_desc'],
    	"L_COOKIE_SETTINGS" => $lang['Cookie_settings'], 
    	"L_COOKIE_SETTINGS_EXPLAIN" => $lang['Cookie_settings_explain'], 
    	"L_COOKIE_DOMAIN" => $lang['Cookie_domain'],
    	"L_COOKIE_NAME" => $lang['Cookie_name'], 
    	"L_COOKIE_PATH" => $lang['Cookie_path'], 
    	"L_COOKIE_SECURE" => $lang['Cookie_secure'], 
    	"L_COOKIE_SECURE_EXPLAIN" => $lang['Cookie_secure_explain'], 
    	"L_SESSION_LENGTH" => $lang['Session_length'], 
    	"L_PRIVATE_MESSAGING" => $lang['Private_Messaging'], 
    	"L_INBOX_LIMIT" => $lang['Inbox_limits'], 
    	"L_SENTBOX_LIMIT" => $lang['Sentbox_limits'], 
    	"L_SAVEBOX_LIMIT" => $lang['Savebox_limits'], 
    	"L_DISABLE_PRIVATE_MESSAGING" => $lang['Disable_privmsg'], 
    	"L_ENABLED" => $lang['Enabled'], 
    	"L_DISABLED" => $lang['Disabled'], 
    	"L_ABILITIES_SETTINGS" => $lang['Abilities_settings'],
    	"L_MAX_POLL_OPTIONS" => $lang['Max_poll_options'],
    	"L_FLOOD_INTERVAL" => $lang['Flood_Interval'],
    	"L_FLOOD_INTERVAL_EXPLAIN" => $lang['Flood_Interval_explain'], 
    	"L_SEARCH_FLOOD_INTERVAL" => $lang['Search_Flood_Interval'],
    	"L_SEARCH_FLOOD_INTERVAL_EXPLAIN" => $lang['Search_Flood_Interval_explain'], 
    
    	'L_MAX_LOGIN_ATTEMPTS'			=> $lang['Max_login_attempts'],
    	'L_MAX_LOGIN_ATTEMPTS_EXPLAIN'	=> $lang['Max_login_attempts_explain'],
    	'L_LOGIN_RESET_TIME'			=> $lang['Login_reset_time'],
    	'L_LOGIN_RESET_TIME_EXPLAIN'	=> $lang['Login_reset_time_explain'],
    	'MAX_LOGIN_ATTEMPTS'			=> $new['max_login_attempts'],
    	'LOGIN_RESET_TIME'				=> $new['login_reset_time'],
    
    	"L_BOARD_EMAIL_FORM" => $lang['Board_email_form'], 
    	"L_BOARD_EMAIL_FORM_EXPLAIN" => $lang['Board_email_form_explain'],
    	//+MOD: Search latest 24h 48h 72h
    	'L_SEARCH_LATEST_HOURS' => $lang['Search_latest_hours'],
    	'L_SEARCH_LATEST_HOURS_EXPLAIN' => $lang['Search_latest_hours_explain'],
    	'L_SEARCH_LATEST_RESULTS' => $lang['Search_latest_results'],
    	'L_SEARCH_LATEST_RESULTS_EXPLAIN' => $lang['Search_latest_results_explain'],
    	'L_TOPICS' => $lang['Topics'],
    	'L_POSTS' => $lang['Posts'],
    //-MOD: Search latest 24h 48h 72h 
    	"L_TOPICS_PER_PAGE" => $lang['Topics_per_page'],
    	"L_POSTS_PER_PAGE" => $lang['Posts_per_page'],
    	"L_HOT_THRESHOLD" => $lang['Hot_threshold'],
    	"L_DEFAULT_STYLE" => $lang['Default_style'],
    	"L_OVERRIDE_STYLE" => $lang['Override_style'],
    	"L_OVERRIDE_STYLE_EXPLAIN" => $lang['Override_style_explain'],
    	"L_DEFAULT_LANGUAGE" => $lang['Default_language'],
    	"L_DATE_FORMAT" => $lang['Date_format'],
    	"L_SYSTEM_TIMEZONE" => $lang['System_timezone'],
    	"L_ENABLE_GZIP" => $lang['Enable_gzip'],
    	"L_ENABLE_PRUNE" => $lang['Enable_prune'],
    	"L_ALLOW_HTML" => $lang['Allow_HTML'],
    	"L_ALLOW_BBCODE" => $lang['Allow_BBCode'],
    	"L_ALLOWED_TAGS" => $lang['Allowed_tags'],
    	"L_ALLOWED_TAGS_EXPLAIN" => $lang['Allowed_tags_explain'],
    	"L_ALLOW_SMILIES" => $lang['Allow_smilies'],
    	"L_SMILIES_PATH" => $lang['Smilies_path'],
    	"L_SMILIES_PATH_EXPLAIN" => $lang['Smilies_path_explain'],
    	"L_ALLOW_SIG" => $lang['Allow_sig'],
    	"L_MAX_SIG_LENGTH" => $lang['Max_sig_length'],
    	"L_MAX_SIG_LENGTH_EXPLAIN" => $lang['Max_sig_length_explain'],
    	"L_ALLOW_NAME_CHANGE" => $lang['Allow_name_change'],
    	"L_AVATAR_SETTINGS" => $lang['Avatar_settings'],
    	"L_ALLOW_LOCAL" => $lang['Allow_local'],
    	"L_ALLOW_REMOTE" => $lang['Allow_remote'],
    	"L_ALLOW_REMOTE_EXPLAIN" => $lang['Allow_remote_explain'],
    	"L_ALLOW_UPLOAD" => $lang['Allow_upload'],
    	"L_MAX_FILESIZE" => $lang['Max_filesize'],
    	"L_MAX_FILESIZE_EXPLAIN" => $lang['Max_filesize_explain'],
    	"L_MAX_AVATAR_SIZE" => $lang['Max_avatar_size'],
    	"L_MAX_AVATAR_SIZE_EXPLAIN" => $lang['Max_avatar_size_explain'],
    	"L_AVATAR_STORAGE_PATH" => $lang['Avatar_storage_path'],
    	"L_AVATAR_STORAGE_PATH_EXPLAIN" => $lang['Avatar_storage_path_explain'],
    	"L_AVATAR_GALLERY_PATH" => $lang['Avatar_gallery_path'],
    	"L_AVATAR_GALLERY_PATH_EXPLAIN" => $lang['Avatar_gallery_path_explain'],
    	"L_COPPA_SETTINGS" => $lang['COPPA_settings'],
    	"L_COPPA_FAX" => $lang['COPPA_fax'],
    	"L_COPPA_MAIL" => $lang['COPPA_mail'],
    	"L_COPPA_MAIL_EXPLAIN" => $lang['COPPA_mail_explain'],
    	"L_EMAIL_SETTINGS" => $lang['Email_settings'],
    	"L_ADMIN_EMAIL" => $lang['Admin_email'],
    	"L_EMAIL_SIG" => $lang['Email_sig'],
    	"L_EMAIL_SIG_EXPLAIN" => $lang['Email_sig_explain'],
    	"L_USE_SMTP" => $lang['Use_SMTP'],
    	"L_USE_SMTP_EXPLAIN" => $lang['Use_SMTP_explain'],
    	"L_SMTP_SERVER" => $lang['SMTP_server'], 
    	"L_SMTP_USERNAME" => $lang['SMTP_username'], 
    	"L_SMTP_USERNAME_EXPLAIN" => $lang['SMTP_username_explain'], 
    	"L_SMTP_PASSWORD" => $lang['SMTP_password'], 
    	"L_SMTP_PASSWORD_EXPLAIN" => $lang['SMTP_password_explain'], 
    	"L_SUBMIT" => $lang['Submit'], 
    	"L_RESET" => $lang['Reset'], 
    	
    	"SERVER_NAME" => $new['server_name'], 
    	"SCRIPT_PATH" => $new['script_path'], 
    	"SERVER_PORT" => $new['server_port'], 
    	"SITENAME" => $new['sitename'],
    	"SITE_DESCRIPTION" => $new['site_desc'], 
    	"S_DISABLE_BOARD_YES" => $disable_board_yes,
    	"S_DISABLE_BOARD_NO" => $disable_board_no,
    	"ACTIVATION_NONE" => USER_ACTIVATION_NONE, 
    	"ACTIVATION_NONE_CHECKED" => $activation_none,
    	"ACTIVATION_USER" => USER_ACTIVATION_SELF, 
    	"ACTIVATION_USER_CHECKED" => $activation_user,
    	"ACTIVATION_ADMIN" => USER_ACTIVATION_ADMIN, 
    	"ACTIVATION_ADMIN_CHECKED" => $activation_admin, 
    	"CONFIRM_ENABLE" => $confirm_yes,
    	"CONFIRM_DISABLE" => $confirm_no,
    	'ALLOW_AUTOLOGIN_YES' => $allow_autologin_yes,
    	'ALLOW_AUTOLOGIN_NO' => $allow_autologin_no,
    	'AUTOLOGIN_TIME' => (int) $new['max_autologin_time'],
    	"BOARD_EMAIL_FORM_ENABLE" => $board_email_form_yes, 
    	"BOARD_EMAIL_FORM_DISABLE" => $board_email_form_no, 
    	"MAX_POLL_OPTIONS" => $new['max_poll_options'], 
    	"FLOOD_INTERVAL" => $new['flood_interval'],
    	"SEARCH_FLOOD_INTERVAL" => $new['search_flood_interval'],
    	//+MOD: Search latest 24h 48h 72h
    	'SEARCH_LATEST_HOURS' => $new['search_latest_hours'],
    	'SEARCH_LATEST_RESULTS_POSTS' => $search_latest_results_posts,
    	'SEARCH_LATEST_RESULTS_TOPICS' => $search_latest_results_topics,
    //-MOD: Search latest 24h 48h 72h
    	"TOPICS_PER_PAGE" => $new['topics_per_page'],
    	"POSTS_PER_PAGE" => $new['posts_per_page'],
    	"HOT_TOPIC" => $new['hot_threshold'],
    	"STYLE_SELECT" => $style_select,
    	"OVERRIDE_STYLE_YES" => $override_user_style_yes,
    	"OVERRIDE_STYLE_NO" => $override_user_style_no,
    	"LANG_SELECT" => $lang_select,
    	"L_DATE_FORMAT_EXPLAIN" => $lang['Date_format_explain'],
    	"DEFAULT_DATEFORMAT" => $new['default_dateformat'],
    	"TIMEZONE_SELECT" => $timezone_select,
    	"S_PRIVMSG_ENABLED" => $privmsg_on, 
    	"S_PRIVMSG_DISABLED" => $privmsg_off, 
    	"INBOX_LIMIT" => $new['max_inbox_privmsgs'], 
    	"SENTBOX_LIMIT" => $new['max_sentbox_privmsgs'],
    	"SAVEBOX_LIMIT" => $new['max_savebox_privmsgs'],
    	"ZERO_COUNT_YES" => $zero_count_yes,
    	"ZERO_COUNT_NO" => $zero_count_no,
    	"ZERO_NEWEST_YES" => $zero_newest_yes,
    	"ZERO_NEWEST_NO" => $zero_newest_no,
    	"ZERO_GROUP_YES" => $zero_group_yes,
    	"ZERO_GROUP_NO" => $zero_group_no,
    	"ZERO_LIST_YES" => $zero_list_yes,
    	"ZERO_LIST_NO" => $zero_list_no,
    	"COOKIE_DOMAIN" => $new['cookie_domain'], 
    	"COOKIE_NAME" => $new['cookie_name'], 
    	"COOKIE_PATH" => $new['cookie_path'], 
    	"SESSION_LENGTH" => $new['session_length'], 
    	"S_COOKIE_SECURE_ENABLED" => $cookie_secure_yes, 
    	"S_COOKIE_SECURE_DISABLED" => $cookie_secure_no, 
    	"GZIP_YES" => $gzip_yes,
    	"GZIP_NO" => $gzip_no,
    	"PRUNE_YES" => $prune_yes,
    	"PRUNE_NO" => $prune_no, 
    	"HTML_TAGS" => $html_tags, 
    	"HTML_YES" => $html_yes,
    	"HTML_NO" => $html_no,
    	"BBCODE_YES" => $bbcode_yes,
    	"BBCODE_NO" => $bbcode_no,
    	"SMILE_YES" => $smile_yes,
    	"SMILE_NO" => $smile_no,
    	"SIG_YES" => $sig_yes,
    	"SIG_NO" => $sig_no,
    	"SIG_SIZE" => $new['max_sig_chars'], 
    	"NAMECHANGE_YES" => $namechange_yes,
    	"NAMECHANGE_NO" => $namechange_no,
    	"AVATARS_LOCAL_YES" => $avatars_local_yes,
    	"AVATARS_LOCAL_NO" => $avatars_local_no,
    	"AVATARS_REMOTE_YES" => $avatars_remote_yes,
    	"AVATARS_REMOTE_NO" => $avatars_remote_no,
    	"AVATARS_UPLOAD_YES" => $avatars_upload_yes,
    	"AVATARS_UPLOAD_NO" => $avatars_upload_no,
    	"AVATAR_FILESIZE" => $new['avatar_filesize'],
    	"AVATAR_MAX_HEIGHT" => $new['avatar_max_height'],
    	"AVATAR_MAX_WIDTH" => $new['avatar_max_width'],
    	"AVATAR_PATH" => $new['avatar_path'], 
    	"AVATAR_GALLERY_PATH" => $new['avatar_gallery_path'], 
    	"SMILIES_PATH" => $new['smilies_path'], 
    	"INBOX_PRIVMSGS" => $new['max_inbox_privmsgs'], 
    	"SENTBOX_PRIVMSGS" => $new['max_sentbox_privmsgs'], 
    	"SAVEBOX_PRIVMSGS" => $new['max_savebox_privmsgs'], 
    	"EMAIL_FROM" => $new['board_email'],
    	"EMAIL_SIG" => $new['board_email_sig'],
    	"SMTP_YES" => $smtp_yes,
    	"SMTP_NO" => $smtp_no,
    	"SMTP_HOST" => $new['smtp_host'],
    	"SMTP_USERNAME" => $new['smtp_username'],
    	"SMTP_PASSWORD" => $new['smtp_password'],
    	"COPPA_MAIL" => $new['coppa_mail'],
    	"COPPA_FAX" => $new['coppa_fax'])
    );
    
    $template->pparse("body");
    
    include('./page_footer_admin.'.$phpEx);
    
    ?>
    Code (markup):
     
    yfs1, May 24, 2006 IP
  10. 993ti

    993ti Well-Known Member

    Messages:
    314
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #10
    Could the error be coming from another mod?
    The main admin page is located in admin/index.php and templates/yourtemplate/admin/index_body.tpl
    EDit: Can you post or mail your lang_admin.php?
     
    993ti, May 24, 2006 IP
  11. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #11
    A very quick look:
    Could it be this line:

    $template->pparse("body");

    <edit>or the double bracket I've highlighted in red in the code
     
    mcfox, May 24, 2006 IP
  12. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Thanks for looking McFox but it wasn't those

    <?php
    
    /***************************************************************************
     *                            lang_admin.php [English]
     *                              -------------------
     *     begin                : Sat Dec 16 2000
     *     copyright            : (C) 2001 The phpBB Group
     *     email                : support@phpbb.com
     *
     *     $Id: lang_admin.php,v 1.35.2.17 2006/02/05 15:59:48 grahamje Exp $
     *
     ****************************************************************************/
    
    /***************************************************************************
     *
     *   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 2 of the License, or
     *   (at your option) any later version.
     *
     ***************************************************************************/
    
    /* CONTRIBUTORS
    	2002-12-15	Philip M. White (pwhite@mailhaven.com)
    		Fixed many minor grammatical mistakes
    */
    
    //
    // Format is same as lang_main
    //
    
    //
    // Modules, this replaces the keys used
    // in the modules[][] arrays in each module file
    //
    $lang['General'] = 'General Admin';
    $lang['Users'] = 'User Admin';
    $lang['Groups'] = 'Group Admin';
    $lang['Forums'] = 'Forum Admin';
    $lang['Styles'] = 'Styles Admin';
    
    $lang['Configuration'] = 'Configuration';
    $lang['Permissions'] = 'Permissions';
    $lang['Manage'] = 'Management';
    $lang['Disallow'] = 'Disallow names';
    $lang['Prune'] = 'Pruning';
    $lang['Mass_Email'] = 'Mass Email';
    $lang['Ranks'] = 'Ranks';
    $lang['Smilies'] = 'Smilies';
    $lang['Ban_Management'] = 'Ban Control';
    $lang['Word_Censor'] = 'Word Censors';
    $lang['Export'] = 'Export';
    $lang['Create_new'] = 'Create';
    $lang['Add_new'] = 'Add';
    $lang['Backup_DB'] = 'Backup Database';
    $lang['Restore_DB'] = 'Restore Database';
    
    
    //
    // Index
    //
    $lang['Admin'] = 'Administration';
    $lang['Not_admin'] = 'You are not authorised to administer this board';
    $lang['Welcome_phpBB'] = 'Welcome to phpBB';
    $lang['Admin_intro'] = 'Thank you for choosing phpBB as your forum solution. This screen will give you a quick overview of all the various statistics of your board. You can get back to this page by clicking on the <u>Admin Index</u> link in the left pane. To return to the index of your board, click the phpBB logo also in the left pane. The other links on the left hand side of this screen will allow you to control every aspect of your forum experience. Each screen will have instructions on how to use the tools.';
    $lang['Main_index'] = 'Forum Index';
    $lang['Forum_stats'] = 'Forum Statistics';
    $lang['Admin_Index'] = 'Admin Index';
    $lang['Preview_forum'] = 'Preview Forum';
    
    $lang['Click_return_admin_index'] = 'Click %sHere%s to return to the Admin Index';
    
    $lang['Statistic'] = 'Statistic';
    $lang['Value'] = 'Value';
    $lang['Number_posts'] = 'Number of posts';
    $lang['Posts_per_day'] = 'Posts per day';
    $lang['Number_topics'] = 'Number of topics';
    $lang['Topics_per_day'] = 'Topics per day';
    $lang['Number_users'] = 'Number of users';
    $lang['Users_per_day'] = 'Users per day';
    $lang['Board_started'] = 'Board started';
    $lang['Avatar_dir_size'] = 'Avatar directory size';
    $lang['Database_size'] = 'Database size';
    $lang['Gzip_compression'] ='Gzip compression';
    $lang['Not_available'] = 'Not available';
    
    $lang['ON'] = 'ON'; // This is for GZip compression
    $lang['OFF'] = 'OFF'; 
    
    
    //
    // DB Utils
    //
    $lang['Database_Utilities'] = 'Database Utilities';
    
    $lang['Restore'] = 'Restore';
    $lang['Backup'] = 'Backup';
    $lang['Restore_explain'] = 'This will perform a full restore of all phpBB tables from a saved file. If your server supports it, you may upload a gzip-compressed text file and it will automatically be decompressed. <b>WARNING</b>: This will overwrite any existing data. The restore may take a long time to process, so please do not move from this page until it is complete.';
    $lang['Backup_explain'] = 'Here you can back up all your phpBB-related data. If you have any additional custom tables in the same database with phpBB that you would like to back up as well, please enter their names, separated by commas, in the Additional Tables textbox below. If your server supports it you may also gzip-compress the file to reduce its size before download.';
    
    $lang['Backup_options'] = 'Backup options';
    $lang['Start_backup'] = 'Start Backup';
    $lang['Full_backup'] = 'Full backup';
    $lang['Structure_backup'] = 'Structure-Only backup';
    $lang['Data_backup'] = 'Data only backup';
    $lang['Additional_tables'] = 'Additional tables';
    $lang['Gzip_compress'] = 'Gzip compress file';
    $lang['Select_file'] = 'Select a file';
    $lang['Start_Restore'] = 'Start Restore';
    
    $lang['Restore_success'] = 'The Database has been successfully restored.<br /><br />Your board should be back to the state it was when the backup was made.';
    $lang['Backup_download'] = 'Your download will start shortly; please wait until it begins.';
    $lang['Backups_not_supported'] = 'Sorry, but database backups are not currently supported for your database system.';
    
    $lang['Restore_Error_uploading'] = 'Error in uploading the backup file';
    $lang['Restore_Error_filename'] = 'Filename problem; please try an alternative file';
    $lang['Restore_Error_decompress'] = 'Cannot decompress a gzip file; please upload a plain text version';
    $lang['Restore_Error_no_file'] = 'No file was uploaded';
    
    
    //
    // Auth pages
    //
    $lang['Select_a_User'] = 'Select a User';
    $lang['Select_a_Group'] = 'Select a Group';
    $lang['Select_a_Forum'] = 'Select a Forum';
    $lang['Auth_Control_User'] = 'User Permissions Control'; 
    $lang['Auth_Control_Group'] = 'Group Permissions Control'; 
    $lang['Auth_Control_Forum'] = 'Forum Permissions Control'; 
    $lang['Look_up_User'] = 'Look up User'; 
    $lang['Look_up_Group'] = 'Look up Group'; 
    $lang['Look_up_Forum'] = 'Look up Forum'; 
    
    $lang['Group_auth_explain'] = 'Here you can alter the permissions and moderator status assigned to each user group. Do not forget when changing group permissions that individual user permissions may still allow the user entry to forums, etc. You will be warned if this is the case.';
    $lang['User_auth_explain'] = 'Here you can alter the permissions and moderator status assigned to each individual user. Do not forget when changing user permissions that group permissions may still allow the user entry to forums, etc. You will be warned if this is the case.';
    $lang['Forum_auth_explain'] = 'Here you can alter the authorisation levels of each forum. You will have both a simple and advanced method for doing this, where advanced offers greater control of each forum operation. Remember that changing the permission level of forums will affect which users can carry out the various operations within them.';
    
    $lang['Simple_mode'] = 'Simple Mode';
    $lang['Advanced_mode'] = 'Advanced Mode';
    $lang['Moderator_status'] = 'Moderator status';
    
    $lang['Allowed_Access'] = 'Allowed Access';
    $lang['Disallowed_Access'] = 'Disallowed Access';
    $lang['Is_Moderator'] = 'Is Moderator';
    $lang['Not_Moderator'] = 'Not Moderator';
    
    $lang['Conflict_warning'] = 'Authorisation Conflict Warning';
    $lang['Conflict_access_userauth'] = 'This user still has access rights to this forum via group membership. You may want to alter the group permissions or remove this user the group to fully prevent them having access rights. The groups granting rights (and the forums involved) are noted below.';
    $lang['Conflict_mod_userauth'] = 'This user still has moderator rights to this forum via group membership. You may want to alter the group permissions or remove this user the group to fully prevent them having moderator rights. The groups granting rights (and the forums involved) are noted below.';
    
    $lang['Conflict_access_groupauth'] = 'The following user (or users) still have access rights to this forum via their user permission settings. You may want to alter the user permissions to fully prevent them having access rights. The users granted rights (and the forums involved) are noted below.';
    $lang['Conflict_mod_groupauth'] = 'The following user (or users) still have moderator rights to this forum via their user permissions settings. You may want to alter the user permissions to fully prevent them having moderator rights. The users granted rights (and the forums involved) are noted below.';
    
    $lang['Public'] = 'Public';
    $lang['Private'] = 'Private';
    $lang['Registered'] = 'Registered';
    $lang['Administrators'] = 'Administrators';
    $lang['Hidden'] = 'Hidden';
    
    // These are displayed in the drop down boxes for advanced
    // mode forum auth, try and keep them short!
    $lang['Forum_ALL'] = 'ALL';
    $lang['Forum_REG'] = 'REG';
    $lang['Forum_PRIVATE'] = 'PRIVATE';
    $lang['Forum_MOD'] = 'MOD';
    $lang['Forum_ADMIN'] = 'ADMIN';
    
    $lang['View'] = 'View';
    $lang['Read'] = 'Read';
    $lang['Post'] = 'Post';
    $lang['Reply'] = 'Reply';
    $lang['Edit'] = 'Edit';
    $lang['Delete'] = 'Delete';
    $lang['Sticky'] = 'Sticky';
    $lang['Announce'] = 'Announce'; 
    $lang['Vote'] = 'Vote';
    $lang['Pollcreate'] = 'Poll create';
    
    $lang['Permissions'] = 'Permissions';
    $lang['Simple_Permission'] = 'Simple Permissions';
    
    $lang['User_Level'] = 'User Level'; 
    $lang['Auth_User'] = 'User';
    $lang['Auth_Admin'] = 'Administrator';
    $lang['Group_memberships'] = 'Usergroup memberships';
    $lang['Usergroup_members'] = 'This group has the following members';
    
    $lang['Forum_auth_updated'] = 'Forum permissions updated';
    $lang['User_auth_updated'] = 'User permissions updated';
    $lang['Group_auth_updated'] = 'Group permissions updated';
    
    $lang['Auth_updated'] = 'Permissions have been updated';
    $lang['Click_return_userauth'] = 'Click %sHere%s to return to User Permissions';
    $lang['Click_return_groupauth'] = 'Click %sHere%s to return to Group Permissions';
    $lang['Click_return_forumauth'] = 'Click %sHere%s to return to Forum Permissions';
    
    
    //
    // Banning
    //
    $lang['Ban_control'] = 'Ban Control';
    $lang['Ban_explain'] = 'Here you can control the banning of users. You can achieve this by banning either or both of a specific user or an individual or range of IP addresses or hostnames. These methods prevent a user from even reaching the index page of your board. To prevent a user from registering under a different username you can also specify a banned email address. Please note that banning an email address alone will not prevent that user from being able to log on or post to your board. You should use one of the first two methods to achieve this.';
    $lang['Ban_explain_warn'] = 'Please note that entering a range of IP addresses results in all the addresses between the start and end being added to the banlist. Attempts will be made to minimise the number of addresses added to the database by introducing wildcards automatically where appropriate. If you really must enter a range, try to keep it small or better yet state specific addresses.';
    
    $lang['Select_username'] = 'Select a Username';
    $lang['Select_ip'] = 'Select an IP address';
    $lang['Select_email'] = 'Select an Email address';
    
    $lang['Ban_username'] = 'Ban one or more specific users';
    $lang['Ban_username_explain'] = 'You can ban multiple users in one go using the appropriate combination of mouse and keyboard for your computer and browser';
    
    $lang['Ban_IP'] = 'Ban one or more IP addresses or hostnames';
    $lang['IP_hostname'] = 'IP addresses or hostnames';
    $lang['Ban_IP_explain'] = 'To specify several different IP addresses or hostnames separate them with commas. To specify a range of IP addresses, separate the start and end with a hyphen (-); to specify a wildcard, use an asterisk (*).';
    
    $lang['Ban_email'] = 'Ban one or more email addresses';
    $lang['Ban_email_explain'] = 'To specify more than one email address, separate them with commas. To specify a wildcard username, use * like *@hotmail.com';
    
    $lang['Unban_username'] = 'Un-ban one more specific users';
    $lang['Unban_username_explain'] = 'You can unban multiple users in one go using the appropriate combination of mouse and keyboard for your computer and browser';
    
    $lang['Unban_IP'] = 'Un-ban one or more IP addresses';
    $lang['Unban_IP_explain'] = 'You can unban multiple IP addresses in one go using the appropriate combination of mouse and keyboard for your computer and browser';
    
    $lang['Unban_email'] = 'Un-ban one or more email addresses';
    $lang['Unban_email_explain'] = 'You can unban multiple email addresses in one go using the appropriate combination of mouse and keyboard for your computer and browser';
    
    $lang['No_banned_users'] = 'No banned usernames';
    $lang['No_banned_ip'] = 'No banned IP addresses';
    $lang['No_banned_email'] = 'No banned email addresses';
    
    $lang['Ban_update_sucessful'] = 'The banlist has been updated successfully';
    $lang['Click_return_banadmin'] = 'Click %sHere%s to return to Ban Control';
    
    
    //
    // Configuration
    //
    $lang['General_Config'] = 'General Configuration';
    $lang['Config_explain'] = 'The form below will allow you to customize all the general board options. For User and Forum configurations use the related links on the left hand side.';
    
    Code (markup):
     
    yfs1, May 24, 2006 IP
  13. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #13
    No it's not gonna be either one of those mcfox, lemme look and see if I can find anything.

    **edit** oops I was late, yfs1 beat me to it...
     
    mdvaldosta, May 24, 2006 IP
  14. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Continued.........

    $lang['Click_return_config'] = 'Click %sHere%s to return to General Configuration';
    
    $lang['General_settings'] = 'General Board Settings';
    $lang['Server_name'] = 'Domain Name';
    $lang['Server_name_explain'] = 'The domain name from which this board runs';
    $lang['Script_path'] = 'Script path';
    $lang['Script_path_explain'] = 'The path where phpBB2 is located relative to the domain name';
    $lang['Server_port'] = 'Server Port';
    $lang['Server_port_explain'] = 'The port your server is running on, usually 80. Only change if different';
    $lang['Site_name'] = 'Site name';
    $lang['Site_desc'] = 'Site description';
    $lang['Board_disable'] = 'Disable board';
    $lang['Board_disable_explain'] = 'This will make the board unavailable to users. Administrators are able to access the Administration Panel while the board is disabled.';
    $lang['Acct_activation'] = 'Enable account activation';
    $lang['Acc_None'] = 'None'; // These three entries are the type of activation
    $lang['Acc_User'] = 'User';
    $lang['Acc_Admin'] = 'Admin';
    
    $lang['Abilities_settings'] = 'User and Forum Basic Settings';
    $lang['Max_poll_options'] = 'Max number of poll options';
    $lang['Flood_Interval'] = 'Flood Interval';
    $lang['Flood_Interval_explain'] = 'Number of seconds a user must wait between posts'; 
    $lang['Board_email_form'] = 'User email via board';
    $lang['Board_email_form_explain'] = 'Users send email to each other via this board';
    $lang['Topics_per_page'] = 'Topics Per Page';
    $lang['Posts_per_page'] = 'Posts Per Page';
    $lang['Hot_threshold'] = 'Posts for Popular Threshold';
    $lang['Default_style'] = 'Default Style';
    $lang['Override_style'] = 'Override user style';
    $lang['Override_style_explain'] = 'Replaces users style with the default';
    $lang['Default_language'] = 'Default Language';
    $lang['Date_format'] = 'Date Format';
    $lang['System_timezone'] = 'System Timezone';
    $lang['Enable_gzip'] = 'Enable GZip Compression';
    $lang['Enable_prune'] = 'Enable Forum Pruning';
    $lang['Allow_HTML'] = 'Allow HTML';
    $lang['Allow_BBCode'] = 'Allow BBCode';
    $lang['Allowed_tags'] = 'Allowed HTML tags';
    $lang['Allowed_tags_explain'] = 'Separate tags with commas';
    $lang['Allow_smilies'] = 'Allow Smilies';
    $lang['Smilies_path'] = 'Smilies Storage Path';
    $lang['Smilies_path_explain'] = 'Path under your phpBB root dir, e.g. images/smiles';
    $lang['Allow_sig'] = 'Allow Signatures';
    $lang['Max_sig_length'] = 'Maximum signature length';
    $lang['Max_sig_length_explain'] = 'Maximum number of characters in user signatures';
    $lang['Allow_name_change'] = 'Allow Username changes';
    
    $lang['Avatar_settings'] = 'Avatar Settings';
    $lang['Allow_local'] = 'Enable gallery avatars';
    $lang['Allow_remote'] = 'Enable remote avatars';
    $lang['Allow_remote_explain'] = 'Avatars linked to from another website';
    $lang['Allow_upload'] = 'Enable avatar uploading';
    $lang['Max_filesize'] = 'Maximum Avatar File Size';
    $lang['Max_filesize_explain'] = 'For uploaded avatar files';
    $lang['Max_avatar_size'] = 'Maximum Avatar Dimensions';
    $lang['Max_avatar_size_explain'] = '(Height x Width in pixels)';
    $lang['Avatar_storage_path'] = 'Avatar Storage Path';
    $lang['Avatar_storage_path_explain'] = 'Path under your phpBB root dir, e.g. images/avatars';
    $lang['Avatar_gallery_path'] = 'Avatar Gallery Path';
    $lang['Avatar_gallery_path_explain'] = 'Path under your phpBB root dir for pre-loaded images, e.g. images/avatars/gallery';
    
    $lang['COPPA_settings'] = 'COPPA Settings';
    $lang['COPPA_fax'] = 'COPPA Fax Number';
    $lang['COPPA_mail'] = 'COPPA Mailing Address';
    $lang['COPPA_mail_explain'] = 'This is the mailing address to which parents will send COPPA registration forms';
    
    $lang['Email_settings'] = 'Email Settings';
    $lang['Admin_email'] = 'Admin Email Address';
    $lang['Email_sig'] = 'Email Signature';
    $lang['Email_sig_explain'] = 'This text will be attached to all emails the board sends';
    $lang['Use_SMTP'] = 'Use SMTP Server for email';
    $lang['Use_SMTP_explain'] = 'Say yes if you want or have to send email via a named server instead of the local mail function';
    $lang['SMTP_server'] = 'SMTP Server Address';
    $lang['SMTP_username'] = 'SMTP Username';
    $lang['SMTP_username_explain'] = 'Only enter a username if your SMTP server requires it';
    $lang['SMTP_password'] = 'SMTP Password';
    $lang['SMTP_password_explain'] = 'Only enter a password if your SMTP server requires it';
    
    $lang['Disable_privmsg'] = 'Private Messaging';
    $lang['Inbox_limits'] = 'Max posts in Inbox';
    $lang['Sentbox_limits'] = 'Max posts in Sentbox';
    $lang['Savebox_limits'] = 'Max posts in Savebox';
    
    $lang['Cookie_settings'] = 'Cookie settings'; 
    $lang['Cookie_settings_explain'] = 'These details define how cookies are sent to your users\' browsers. In most cases the default values for the cookie settings should be sufficient, but if you need to change them do so with care -- incorrect settings can prevent users from logging in';
    $lang['Cookie_domain'] = 'Cookie domain';
    $lang['Cookie_name'] = 'Cookie name';
    $lang['Cookie_path'] = 'Cookie path';
    $lang['Cookie_secure'] = 'Cookie secure';
    $lang['Cookie_secure_explain'] = 'If your server is running via SSL, set this to enabled, else leave as disabled';
    $lang['Session_length'] = 'Session length [ seconds ]';
    
    // Visual Confirmation
    $lang['Visual_confirm'] = 'Enable Visual Confirmation';
    $lang['Visual_confirm_explain'] = 'Requires users enter a code defined by an image when registering.';
    
    // Autologin Keys - added 2.0.18
    $lang['Allow_autologin'] = 'Allow automatic logins';
    $lang['Allow_autologin_explain'] = 'Determines whether users are allowed to select to be automatically logged in when visiting the forum';
    $lang['Autologin_time'] = 'Automatic login key expiry';
    $lang['Autologin_time_explain'] = 'How long a autologin key is valid for in days if the user does not visit the board. Set to zero to disable expiry.';
    
    // Search Flood Control - added 2.0.20
    $lang['Search_Flood_Interval'] = 'Search Flood Interval';
    $lang['Search_Flood_Interval_explain'] = 'Number of seconds a user must wait between search requests'; 
    
    //
    // Forum Management
    //
    $lang['Forum_admin'] = 'Forum Administration';
    $lang['Forum_admin_explain'] = 'From this panel you can add, delete, edit, re-order and re-synchronise categories and forums';
    $lang['Edit_forum'] = 'Edit forum';
    $lang['Create_forum'] = 'Create new forum';
    $lang['Create_category'] = 'Create new category';
    $lang['Remove'] = 'Remove';
    $lang['Action'] = 'Action';
    $lang['Update_order'] = 'Update Order';
    $lang['Config_updated'] = 'Forum Configuration Updated Successfully';
    $lang['Edit'] = 'Edit';
    $lang['Delete'] = 'Delete';
    $lang['Move_up'] = 'Move up';
    $lang['Move_down'] = 'Move down';
    $lang['Resync'] = 'Resync';
    $lang['No_mode'] = 'No mode was set';
    $lang['Forum_edit_delete_explain'] = 'The form below will allow you to customize all the general board options. For User and Forum configurations use the related links on the left hand side';
    
    $lang['Move_contents'] = 'Move all contents';
    $lang['Forum_delete'] = 'Delete Forum';
    $lang['Forum_delete_explain'] = 'The form below will allow you to delete a forum (or category) and decide where you want to put all topics (or forums) it contained.';
    
    $lang['Status_locked'] = 'Locked';
    $lang['Status_unlocked'] = 'Unlocked';
    $lang['Forum_settings'] = 'General Forum Settings';
    $lang['Forum_name'] = 'Forum name';
    $lang['Forum_desc'] = 'Description';
    $lang['Forum_status'] = 'Forum status';
    $lang['Forum_pruning'] = 'Auto-pruning';
    
    $lang['prune_freq'] = 'Check for topic age every';
    $lang['prune_days'] = 'Remove topics that have not been posted to in';
    $lang['Set_prune_data'] = 'You have turned on auto-prune for this forum but did not set a frequency or number of days to prune. Please go back and do so.';
    
    $lang['Move_and_Delete'] = 'Move and Delete';
    
    $lang['Delete_all_posts'] = 'Delete all posts';
    $lang['Nowhere_to_move'] = 'Nowhere to move to';
    
    $lang['Edit_Category'] = 'Edit Category';
    $lang['Edit_Category_explain'] = 'Use this form to modify a category\'s name.';
    
    $lang['Forums_updated'] = 'Forum and Category information updated successfully';
    
    $lang['Must_delete_forums'] = 'You need to delete all forums before you can delete this category';
    
    $lang['Click_return_forumadmin'] = 'Click %sHere%s to return to Forum Administration';
    
    
    //
    // Smiley Management
    //
    $lang['smiley_title'] = 'Smiles Editing Utility';
    $lang['smile_desc'] = 'From this page you can add, remove and edit the emoticons or smileys that your users can use in their posts and private messages.';
    
    $lang['smiley_config'] = 'Smiley Configuration';
    $lang['smiley_code'] = 'Smiley Code';
    $lang['smiley_url'] = 'Smiley Image File';
    $lang['smiley_emot'] = 'Smiley Emotion';
    $lang['smile_add'] = 'Add a new Smiley';
    $lang['Smile'] = 'Smile';
    $lang['Emotion'] = 'Emotion';
    
    $lang['Select_pak'] = 'Select Pack (.pak) File';
    $lang['replace_existing'] = 'Replace Existing Smiley';
    $lang['keep_existing'] = 'Keep Existing Smiley';
    $lang['smiley_import_inst'] = 'You should unzip the smiley package and upload all files to the appropriate Smiley directory for your installation. Then select the correct information in this form to import the smiley pack.';
    $lang['smiley_import'] = 'Smiley Pack Import';
    $lang['choose_smile_pak'] = 'Choose a Smile Pack .pak file';
    $lang['import'] = 'Import Smileys';
    $lang['smile_conflicts'] = 'What should be done in case of conflicts';
    $lang['del_existing_smileys'] = 'Delete existing smileys before import';
    $lang['import_smile_pack'] = 'Import Smiley Pack';
    $lang['export_smile_pack'] = 'Create Smiley Pack';
    $lang['export_smiles'] = 'To create a smiley pack from your currently installed smileys, click %sHere%s to download the smiles.pak file. Name this file appropriately making sure to keep the .pak file extension.  Then create a zip file containing all of your smiley images plus this .pak configuration file.';
    
    $lang['smiley_add_success'] = 'The Smiley was successfully added';
    $lang['smiley_edit_success'] = 'The Smiley was successfully updated';
    $lang['smiley_import_success'] = 'The Smiley Pack was imported successfully!';
    $lang['smiley_del_success'] = 'The Smiley was successfully removed';
    $lang['Click_return_smileadmin'] = 'Click %sHere%s to return to Smiley Administration';
    
    $lang['Confirm_delete_smiley'] = 'Are you sure you want to delete this Smiley?';
    
    //
    // User Management
    //
    $lang['User_admin'] = 'User Administration';
    $lang['User_admin_explain'] = 'Here you can change your users\' information and certain options. To modify the users\' permissions, please use the user and group permissions system.';
    
    $lang['Look_up_user'] = 'Look up user';
    
    $lang['Admin_user_fail'] = 'Couldn\'t update the user\'s profile.';
    $lang['Admin_user_updated'] = 'The user\'s profile was successfully updated.';
    $lang['Click_return_useradmin'] = 'Click %sHere%s to return to User Administration';
    // Start Quick Administrator User Options and Information MOD
    $lang['Click_return_userprofile'] = 'Click %sHere%s to return to the user\'s profile';
    // End Quick Administrator User Options and Information MOD
    
    $lang['User_delete'] = 'Delete this user';
    $lang['User_delete_explain'] = 'Click here to delete this user; this cannot be undone.';
    $lang['User_deleted'] = 'User was successfully deleted.';
    
    $lang['User_status'] = 'User is active';
    $lang['User_allowpm'] = 'Can send Private Messages';
    $lang['User_allowavatar'] = 'Can display avatar';
    
    $lang['Admin_avatar_explain'] = 'Here you can see and delete the user\'s current avatar.';
    
    $lang['User_special'] = 'Special admin-only fields';
    $lang['User_special_explain'] = 'These fields are not able to be modified by the users.  Here you can set their status and other options that are not given to users.';
    
    
    //
    // Group Management
    //
    $lang['Group_administration'] = 'Group Administration';
    $lang['Group_admin_explain'] = 'From this panel you can administer all your usergroups. You can delete, create and edit existing groups. You may choose moderators, toggle open/closed group status and set the group name and description';
    $lang['Error_updating_groups'] = 'There was an error while updating the groups';
    $lang['Updated_group'] = 'The group was successfully updated';
    $lang['Added_new_group'] = 'The new group was successfully created';
    $lang['Deleted_group'] = 'The group was successfully deleted';
    $lang['New_group'] = 'Create new group';
    $lang['Edit_group'] = 'Edit group';
    $lang['group_name'] = 'Group name';
    $lang['group_description'] = 'Group description';
    $lang['group_moderator'] = 'Group moderator';
    $lang['group_status'] = 'Group status';
    $lang['group_open'] = 'Open group';
    $lang['group_closed'] = 'Closed group';
    $lang['group_hidden'] = 'Hidden group';
    $lang['group_delete'] = 'Delete group';
    $lang['group_delete_check'] = 'Delete this group';
    $lang['submit_group_changes'] = 'Submit Changes';
    $lang['reset_group_changes'] = 'Reset Changes';
    $lang['No_group_name'] = 'You must specify a name for this group';
    $lang['No_group_moderator'] = 'You must specify a moderator for this group';
    $lang['No_group_mode'] = 'You must specify a mode for this group, open or closed';
    $lang['No_group_action'] = 'No action was specified';
    $lang['delete_group_moderator'] = 'Delete the old group moderator?';
    $lang['delete_moderator_explain'] = 'If you\'re changing the group moderator, check this box to remove the old moderator from the group.  Otherwise, do not check it, and the user will become a regular member of the group.';
    $lang['Click_return_groupsadmin'] = 'Click %sHere%s to return to Group Administration.';
    $lang['Select_group'] = 'Select a group';
    $lang['Look_up_group'] = 'Look up group';
    
    
    //
    // Prune Administration
    //
    $lang['Forum_Prune'] = 'Forum Prune';
    $lang['Forum_Prune_explain'] = 'This will delete any topic which has not been posted to within the number of days you select. If you do not enter a number then all topics will be deleted. It will not remove topics in which polls are still running nor will it remove announcements. You will need to remove those topics manually.';
    $lang['Do_Prune'] = 'Do Prune';
    $lang['All_Forums'] = 'All Forums';
    $lang['Prune_topics_not_posted'] = 'Prune topics with no replies in this many days';
    $lang['Topics_pruned'] = 'Topics pruned';
    $lang['Posts_pruned'] = 'Posts pruned';
    $lang['Prune_success'] = 'Pruning of forums was successful';
    
    
    //
    // Word censor
    //
    $lang['Words_title'] = 'Word Censoring';
    $lang['Words_explain'] = 'From this control panel you can add, edit, and remove words that will be automatically censored on your forums. In addition people will not be allowed to register with usernames containing these words. Wildcards (*) are accepted in the word field. For example, *test* will match detestable, test* would match testing, *test would match detest.';
    $lang['Word'] = 'Word';
    $lang['Edit_word_censor'] = 'Edit word censor';
    $lang['Replacement'] = 'Replacement';
    $lang['Add_new_word'] = 'Add new word';
    $lang['Update_word'] = 'Update word censor';
    
    $lang['Must_enter_word'] = 'You must enter a word and its replacement';
    $lang['No_word_selected'] = 'No word selected for editing';
    
    $lang['Word_updated'] = 'The selected word censor has been successfully updated';
    $lang['Word_added'] = 'The word censor has been successfully added';
    $lang['Word_removed'] = 'The selected word censor has been successfully removed';
    
    $lang['Click_return_wordadmin'] = 'Click %sHere%s to return to Word Censor Administration';
    
    $lang['Confirm_delete_word'] = 'Are you sure you want to delete this word censor?';
    
    
    //
    // Mass Email
    //
    $lang['Mass_email_explain'] = 'Here you can email a message to either all of your users or all users of a specific group.  To do this, an email will be sent out to the administrative email address supplied, with a blind carbon copy sent to all recipients. If you are emailing a large group of people please be patient after submitting and do not stop the page halfway through. It is normal for a mass emailing to take a long time and you will be notified when the script has completed';
    $lang['Compose'] = 'Compose'; 
    
    $lang['Recipients'] = 'Recipients'; 
    $lang['All_users'] = 'All Users';
    
    $lang['Email_successfull'] = 'Your message has been sent';
    $lang['Click_return_massemail'] = 'Click %sHere%s to return to the Mass Email form';
    
    
    //
    // Ranks admin
    //
    $lang['Ranks_title'] = 'Rank Administration';
    $lang['Ranks_explain'] = 'Using this form you can add, edit, view and delete ranks. You can also create custom ranks which can be applied to a user via the user management facility';
    
    $lang['Add_new_rank'] = 'Add new rank';
    
    $lang['Rank_title'] = 'Rank Title';
    $lang['Rank_special'] = 'Set as Special Rank';
    $lang['Rank_minimum'] = 'Minimum Posts';
    $lang['Rank_maximum'] = 'Maximum Posts';
    $lang['Rank_image'] = 'Rank Image (Relative to phpBB2 root path)';
    $lang['Rank_image_explain'] = 'Use this to define a small image associated with the rank';
    
    $lang['Must_select_rank'] = 'You must select a rank';
    $lang['No_assigned_rank'] = 'No special rank assigned';
    Code (markup):
     
    yfs1, May 24, 2006 IP
  15. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Continued(Last One)......(Despite the interuption by md :p )

    $lang['Rank_updated'] = 'The rank was successfully updated';
    $lang['Rank_added'] = 'The rank was successfully added';
    $lang['Rank_removed'] = 'The rank was successfully deleted';
    $lang['No_update_ranks'] = 'The rank was successfully deleted. However, user accounts using this rank were not updated.  You will need to manually reset the rank on these accounts';
    
    $lang['Click_return_rankadmin'] = 'Click %sHere%s to return to Rank Administration';
    
    $lang['Confirm_delete_rank'] = 'Are you sure you want to delete this rank?';
    
    //
    // Disallow Username Admin
    //
    $lang['Disallow_control'] = 'Username Disallow Control';
    $lang['Disallow_explain'] = 'Here you can control usernames which will not be allowed to be used.  Disallowed usernames are allowed to contain a wildcard character of *.  Please note that you will not be allowed to specify any username that has already been registered. You must first delete that name then disallow it.';
    
    $lang['Delete_disallow'] = 'Delete';
    $lang['Delete_disallow_title'] = 'Remove a Disallowed Username';
    $lang['Delete_disallow_explain'] = 'You can remove a disallowed username by selecting the username from this list and clicking submit';
    
    $lang['Add_disallow'] = 'Add';
    $lang['Add_disallow_title'] = 'Add a disallowed username';
    $lang['Add_disallow_explain'] = 'You can disallow a username using the wildcard character * to match any character';
    
    $lang['No_disallowed'] = 'No Disallowed Usernames';
    
    $lang['Disallowed_deleted'] = 'The disallowed username has been successfully removed';
    $lang['Disallow_successful'] = 'The disallowed username has been successfully added';
    $lang['Disallowed_already'] = 'The name you entered could not be disallowed. It either already exists in the list, exists in the word censor list, or a matching username is present.';
    
    $lang['Click_return_disallowadmin'] = 'Click %sHere%s to return to Disallow Username Administration';
    
    
    //
    // Styles Admin
    //
    $lang['Styles_admin'] = 'Styles Administration';
    $lang['Styles_explain'] = 'Using this facility you can add, remove and manage styles (templates and themes) available to your users';
    $lang['Styles_addnew_explain'] = 'The following list contains all the themes that are available for the templates you currently have. The items on this list have not yet been installed into the phpBB database. To install a theme, simply click the install link beside an entry.';
    
    $lang['Select_template'] = 'Select a Template';
    
    $lang['Style'] = 'Style';
    $lang['Template'] = 'Template';
    $lang['Install'] = 'Install';
    $lang['Download'] = 'Download';
    
    $lang['Edit_theme'] = 'Edit Theme';
    $lang['Edit_theme_explain'] = 'In the form below you can edit the settings for the selected theme';
    
    $lang['Create_theme'] = 'Create Theme';
    $lang['Create_theme_explain'] = 'Use the form below to create a new theme for a selected template. When entering colours (for which you should use hexadecimal notation) you must not include the initial #, i.e.. CCCCCC is valid, #CCCCCC is not';
    
    $lang['Export_themes'] = 'Export Themes';
    $lang['Export_explain'] = 'In this panel you will be able to export the theme data for a selected template. Select the template from the list below and the script will create the theme configuration file and attempt to save it to the selected template directory. If it cannot save the file itself it will give you the option to download it. In order for the script to save the file you must give write access to the webserver for the selected template dir. For more information on this see the phpBB 2 users guide.';
    
    $lang['Theme_installed'] = 'The selected theme has been installed successfully';
    $lang['Style_removed'] = 'The selected style has been removed from the database. To fully remove this style from your system you must delete the appropriate style from your templates directory.';
    $lang['Theme_info_saved'] = 'The theme information for the selected template has been saved. You should now return the permissions on the theme_info.cfg (and if applicable the selected template directory) to read-only';
    $lang['Theme_updated'] = 'The selected theme has been updated. You should now export the new theme settings';
    $lang['Theme_created'] = 'Theme created. You should now export the theme to the theme configuration file for safe keeping or use elsewhere';
    
    $lang['Confirm_delete_style'] = 'Are you sure you want to delete this style?';
    
    $lang['Download_theme_cfg'] = 'The exporter could not write the theme information file. Click the button below to download this file with your browser. Once you have downloaded it you can transfer it to the directory containing the template files. You can then package the files for distribution or use elsewhere if you desire';
    $lang['No_themes'] = 'The template you selected has no themes attached to it. To create a new theme click the Create New link on the left hand panel';
    $lang['No_template_dir'] = 'Could not open the template directory. It may be unreadable by the webserver or may not exist';
    $lang['Cannot_remove_style'] = 'You cannot remove the style selected since it is currently the forum default. Please change the default style and try again.';
    $lang['Style_exists'] = 'The style name to selected already exists, please go back and choose a different name.';
    
    $lang['Click_return_styleadmin'] = 'Click %sHere%s to return to Style Administration';
    
    $lang['Theme_settings'] = 'Theme Settings';
    $lang['Theme_element'] = 'Theme Element';
    $lang['Simple_name'] = 'Simple Name';
    $lang['Value'] = 'Value';
    $lang['Save_Settings'] = 'Save Settings';
    
    $lang['Stylesheet'] = 'CSS Stylesheet';
    $lang['Stylesheet_explain'] = 'Filename for CSS stylesheet to use for this theme.';
    $lang['Background_image'] = 'Background Image';
    $lang['Background_color'] = 'Background Colour';
    $lang['Theme_name'] = 'Theme Name';
    $lang['Link_color'] = 'Link Colour';
    $lang['Text_color'] = 'Text Colour';
    $lang['VLink_color'] = 'Visited Link Colour';
    $lang['ALink_color'] = 'Active Link Colour';
    $lang['HLink_color'] = 'Hover Link Colour';
    $lang['Tr_color1'] = 'Table Row Colour 1';
    $lang['Tr_color2'] = 'Table Row Colour 2';
    $lang['Tr_color3'] = 'Table Row Colour 3';
    $lang['Tr_class1'] = 'Table Row Class 1';
    $lang['Tr_class2'] = 'Table Row Class 2';
    $lang['Tr_class3'] = 'Table Row Class 3';
    $lang['Th_color1'] = 'Table Header Colour 1';
    $lang['Th_color2'] = 'Table Header Colour 2';
    $lang['Th_color3'] = 'Table Header Colour 3';
    $lang['Th_class1'] = 'Table Header Class 1';
    $lang['Th_class2'] = 'Table Header Class 2';
    $lang['Th_class3'] = 'Table Header Class 3';
    $lang['Td_color1'] = 'Table Cell Colour 1';
    $lang['Td_color2'] = 'Table Cell Colour 2';
    $lang['Td_color3'] = 'Table Cell Colour 3';
    $lang['Td_class1'] = 'Table Cell Class 1';
    $lang['Td_class2'] = 'Table Cell Class 2';
    $lang['Td_class3'] = 'Table Cell Class 3';
    $lang['fontface1'] = 'Font Face 1';
    $lang['fontface2'] = 'Font Face 2';
    $lang['fontface3'] = 'Font Face 3';
    $lang['fontsize1'] = 'Font Size 1';
    $lang['fontsize2'] = 'Font Size 2';
    $lang['fontsize3'] = 'Font Size 3';
    $lang['fontcolor1'] = 'Font Colour 1';
    $lang['fontcolor2'] = 'Font Colour 2';
    $lang['fontcolor3'] = 'Font Colour 3';
    $lang['administrator_color'] = 'Administrator Font Color';
    $lang['moderator_color'] = 'Moderator Font Color';
    $lang['span_class1'] = 'Span Class 1';
    $lang['span_class2'] = 'Span Class 2';
    $lang['span_class3'] = 'Span Class 3';
    $lang['img_poll_size'] = 'Polling Image Size [px]';
    $lang['img_pm_size'] = 'Private Message Status size [px]';
    
    
    //
    // Install Process
    //
    $lang['Welcome_install'] = 'Welcome to phpBB 2 Installation';
    $lang['Initial_config'] = 'Basic Configuration';
    $lang['DB_config'] = 'Database Configuration';
    $lang['Admin_config'] = 'Admin Configuration';
    $lang['continue_upgrade'] = 'Once you have downloaded your config file to your local machine you may\'Continue Upgrade\' button below to move forward with the upgrade process.  Please wait to upload the config file until the upgrade process is complete.';
    $lang['upgrade_submit'] = 'Continue Upgrade';
    
    $lang['Installer_Error'] = 'An error has occurred during installation';
    $lang['Previous_Install'] = 'A previous installation has been detected';
    $lang['Install_db_error'] = 'An error occurred trying to update the database';
    
    $lang['Re_install'] = 'Your previous installation is still active.<br /><br />If you would like to re-install phpBB 2 you should click the Yes button below. Please be aware that doing so will destroy all existing data and no backups will be made! The administrator username and password you have used to login in to the board will be re-created after the re-installation and no other settings will be retained.<br /><br />Think carefully before pressing Yes!';
    
    $lang['Inst_Step_0'] = 'Thank you for choosing phpBB 2. In order to complete this install please fill out the details requested below. Please note that the database you install into should already exist. If you are installing to a database that uses ODBC, e.g. MS Access you should first create a DSN for it before proceeding.';
    
    $lang['Start_Install'] = 'Start Install';
    $lang['Finish_Install'] = 'Finish Installation';
    
    $lang['Default_lang'] = 'Default board language';
    $lang['DB_Host'] = 'Database Server Hostname / DSN';
    $lang['DB_Name'] = 'Your Database Name';
    $lang['DB_Username'] = 'Database Username';
    $lang['DB_Password'] = 'Database Password';
    $lang['Database'] = 'Your Database';
    $lang['Install_lang'] = 'Choose Language for Installation';
    $lang['dbms'] = 'Database Type';
    $lang['Table_Prefix'] = 'Prefix for tables in database';
    $lang['Admin_Username'] = 'Administrator Username';
    $lang['Admin_Password'] = 'Administrator Password';
    $lang['Admin_Password_confirm'] = 'Administrator Password [ Confirm ]';
    
    $lang['Inst_Step_2'] = 'Your admin username has been created.  At this point your basic installation is complete. You will now be taken to a screen which will allow you to administer your new installation. Please be sure to check the General Configuration details and make any required changes. Thank you for choosing phpBB 2.';
    
    $lang['Unwriteable_config'] = 'Your config file is un-writeable at present. A copy of the config file will be downloaded to your computer when you click the button below. You should upload this file to the same directory as phpBB 2. Once this is done you should log in using the administrator name and password you provided on the previous form and visit the admin control center (a link will appear at the bottom of each screen once logged in) to check the general configuration. Thank you for choosing phpBB 2.';
    $lang['Download_config'] = 'Download Config';
    
    $lang['ftp_choose'] = 'Choose Download Method';
    $lang['ftp_option'] = '<br />Since FTP extensions are enabled in this version of PHP you may also be given the option of first trying to automatically FTP the config file into place.';
    $lang['ftp_instructs'] = 'You have chosen to FTP the file to the account containing phpBB 2 automatically.  Please enter the information below to facilitate this process. Note that the FTP path should be the exact path via FTP to your phpBB2 installation as if you were FTPing to it using any normal client.';
    $lang['ftp_info'] = 'Enter Your FTP Information';
    $lang['Attempt_ftp'] = 'Attempt to FTP config file into place';
    $lang['Send_file'] = 'Just send the file to me and I\'ll FTP it manually';
    $lang['ftp_path'] = 'FTP path to phpBB 2';
    $lang['ftp_username'] = 'Your FTP Username';
    $lang['ftp_password'] = 'Your FTP Password';
    $lang['Transfer_config'] = 'Start Transfer';
    $lang['NoFTP_config'] = 'The attempt to FTP the config file into place failed.  Please download the config file and FTP it into place manually.';
    
    $lang['Install'] = 'Install';
    $lang['Upgrade'] = 'Upgrade';
    
    
    $lang['Install_Method'] = 'Choose your installation method';
    
    $lang['Install_No_Ext'] = 'The PHP configuration on your server doesn\'t support the database type that you chose';
    
    $lang['Install_No_PCRE'] = 'phpBB2 Requires the Perl-Compatible Regular Expressions Module for PHP which your PHP configuration doesn\'t appear to support!';
    //
    // Admin Userlist Start
    //
    $lang['Userlist'] = 'User list';
    $lang['Userlist_description'] = 'View a complete list of your users and perform various actions on them';
    
    $lang['Add_group'] = 'Add to a Group';
    $lang['Add_group_explain'] = 'Select which group to add the selected users to';
    
    $lang['Open_close'] = 'Open/Close';
    $lang['Active'] = 'Active';
    $lang['Group'] = 'Group(s)';
    $lang['Rank'] = 'Rank';
    $lang['Last_activity'] = 'Last Activity';
    $lang['Never'] = 'Never';
    $lang['User_manage'] = 'Manage';
    $lang['Find_all_posts'] = 'Find All Posts';
    
    $lang['Select_one'] = 'Select One';
    $lang['Ban'] = 'Ban';
    $lang['Activate_deactivate'] = 'Activate/De-activate';
    
    $lang['User_id'] = 'User id';
    $lang['User_level'] = 'User Level';
    $lang['Ascending'] = 'Ascending';
    $lang['Descending'] = 'Descending';
    $lang['Show'] = 'Show';
    $lang['All'] = 'All';
    
    $lang['Member'] = 'Member';
    $lang['Pending'] = 'Pending';
    
    $lang['Confirm_user_ban'] = 'Are you sure you want to ban the selected user(s)?';
    $lang['Confirm_user_deleted'] = 'Are you sure you want to detele the selected user(s)?';
    
    $lang['User_status_updated'] = 'User(s) status updated successfully!';
    $lang['User_banned_successfully'] = 'User(s) banned successfully!';
    $lang['User_deleted_successfully'] = 'User(s) deleted successfully!';
    $lang['User_add_group_successfully'] = 'User(s) added to group successfully!';
    
    $lang['Click_return_userlist'] = 'Click %shere%s to return to the User List';
    //
    // Admin Userlist End
    //
    $lang['zero_posters'] = 'Hide Zero Posters';
    $lang['zero_desc'] = 'Effectively hides users with zero posts without removing their ability to post. When any given option is disabled, the default behavior results.';
    $lang['zero_count'] = 'Membercount';
    $lang['zero_count_desc'] = 'Sets the number of registered users equal to the number of people with one or more posts.';
    $lang['zero_newest'] = 'Newest User';
    $lang['zero_newest_desc'] = 'Makes the newest member the person who\'s made their first post the most recently.';
    $lang['zero_group'] = 'Groups';
    $lang['zero_group_desc'] = 'When enabled, groups only show people with one or more posts as members.';
    $lang['zero_list'] = 'Memberlist';
    $lang['zero_list_desc'] = 'Forces the memberlist to only show members with one or more posts and sorts them by their firstpost.';
    
    //
    // Version Check
    //
    $lang['Version_up_to_date'] = 'Your installation is up to date, no updates are available for your version of phpBB.';
    $lang['Version_not_up_to_date'] = 'Your installation does <b>not</b> seem to be up to date. Updates are available for your version of phpBB, please visit <a href="http://www.phpbb.com/downloads.php" target="_new">http://www.phpbb.com/downloads.php</a> to obtain the latest version.';
    $lang['Latest_version_info'] = 'The latest available version is <b>phpBB %s</b>.';
    $lang['Current_version_info'] = 'You are running <b>phpBB %s</b>.';
    $lang['Connect_socket_error'] = 'Unable to open connection to phpBB Server, reported error is:<br />%s';
    $lang['Socket_functions_disabled'] = 'Unable to use socket functions.';
    $lang['Mailing_list_subscribe_reminder'] = 'For the latest information on updates to phpBB, why not <a href="http://www.phpbb.com/support/" target="_new">subscribe to our mailing list</a>.';
    $lang['Version_information'] = 'Version Information';
    
    //
    // Login attempts configuration
    //
    $lang['Max_login_attempts'] = 'Allowed login attempts';
    $lang['Max_login_attempts_explain'] = 'The number of allowed board login attempts.';
    $lang['Login_reset_time'] = 'Login lock time';
    $lang['Login_reset_time_explain'] = 'Time in minutes the user have to wait until he is allowed to login again after exceeding the number of allowed login attempts.';
    //+MOD: Search latest 24h 48h 72h
    $lang['Search_latest_hours'] = 'Search latest (hours)';
    $lang['Search_latest_hours_explain'] = 'Specify a comma separated list of numbers. These numbers will be used to dynamically build the search latest hours links on top of your forum index.';
    $lang['Search_latest_hours_error'] = 'Invalid value entered in the \'Search latest (hours)\' field.<br /><br />Please, specify a comma separated list of numbers.';
    $lang['Search_latest_results'] = 'Search latest (results)';
    $lang['Search_latest_results_explain'] = 'Specify how results of the the search latest hours links should be shown.';
    //-MOD: Search latest 24h 48h 72h
    //
    // That's all Folks!
    // -------------------------------------------------
    
    ?>
    Code (markup):
     
    yfs1, May 24, 2006 IP
  16. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #16
    I got a lot of help through PM/Email and although I fixed a lot of it, it still has major issues...So I decided to lose a days work and restore from last backup.

    Wouldn't you know it, the file was corrupted. Gotta love cPanel :rolleyes:

    Guess I will try to unzip my backups before replacing an older one.
     
    yfs1, May 25, 2006 IP
  17. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Best of luck with it dude, I couldn't find anything wrong in the files you posted.
     
    mdvaldosta, May 25, 2006 IP
  18. hextraordinary

    hextraordinary Well-Known Member

    Messages:
    2,171
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    105
    #18
    Man, you gotta start working on Linux.

    Do a diff and you got everything sorted out.
     
    hextraordinary, May 25, 2006 IP
  19. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Or cough up $25 for Beyond Compare and check it with your back up... You do have a back up, right? :)

    BC Saved my programmers' ass many times.
     
    T0PS3O, May 25, 2006 IP
  20. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #20
    Is it this gizmo you mean? Beyond Compare

    I've often thought it would be a good idea if you could run a comparison between old and new code but never got around to looking for something that does the job.
     
    mcfox, May 25, 2006 IP