Quote
contact.php
Find (64):Code Download source<td><textarea name='message' rows='10' class='textbox' style='width: 320px'></textarea></td>
Replace with:Code Download source<td><textarea name='message' rows='10' cols='58' class='textbox'></textarea></td>
edit_profile.php
Find (124):Code Download source<textarea name='user_sig' rows='5' class='textbox' style='width:295px'>".$userdata['user_sig']."</textarea><br>
Replace with:Code Download source<textarea name='user_sig' rows='5' cols='53' class='textbox'>".$userdata['user_sig']."</textarea><br>
maincore.php
Find (347):Code Download source$text = preg_replace('#\[mail=([\r\n]*)([^\s\'\";:\+]*?)\](.*?)([\r\n]*)\[/mail\]#si', '<a href=\'mailto:\2\'>\2</a>', $text);
Replace with:Code Download source$text = preg_replace('#\[mail=([\r\n]*)([^\s\'\";:\+]*?)\](.*?)([\r\n]*)\[/mail\]#si', '<a href=\'mailto:\2\'>\3</a>', $text);
Find (479):Code Download sourceif (iSUPERADMIN && ($group == "0" || $group == "101" || $group == "102" || $group == "103")) { return true; }
Replace with:Code Download sourceif (iSUPERADMIN) { return true; }
maintenance.php
Find (60):Code Download sourceob_end_flush();
Before, add:Code Download sourcemysql_close();
messages.php
Find (310):Code Download sourceecho "<table align='center' cellpadding='0' cellspacing='' width='500px'>\n";
Replace with:Code Download sourceecho "<table align='center' cellpadding='0' cellspacing='0' width='500'>\n";
Find (397):Code Download sourceif (!$data['message_smileys']) $reply_message = parsesmileys($reply_message);
Replace with:Code Download sourceif ($data['message_smileys'] == "y") $reply_message = parsesmileys($reply_message);
Find (413, 414):Code Download sourceif (iADMIN && !isset($msg_id)) {
$user_groups = getusergroups();
Before, add:Code Download sourceif ($msg_send == 0) { $user_list .= "<option value='---' disabled>---</option>\n"; }
print.php
Find (17):Code Download sourceecho "<html>
Replace with:Code Download sourceecho "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'
'http://www.w3.org/TR/html4/loose.dtd'>
<html>
Find (19):Code Download source<title>".$settings['sitename']."</title>
After, add:Code Download source<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
Find (42):Code Download source$res = true; $data = dbarray($result);
Replace with:Code Download source$res = true;
Find (55 - 63):Code Download sourceif (dbrows($result) != 0) {
$data = dbarray($result);
$news = stripslashes($data['news_news']);
if ($data['news_breaks'] == "y") $news = nl2br($news);
if ($data['news_extended']) {
$news_extended = stripslashes($data['news_extended']);
if ($data['news_breaks'] == "y") $news_extended = nl2br($news_extended);
} else {
$news_extended = "";
Replace with:Code Download source$res = false;
if (dbrows($result)) {
$data = dbarray($result);
if (checkgroup($data['news_visibility'])) {
$res = true;
$news = stripslashes($data['news_news']);
if ($data['news_breaks'] == "y") $news = nl2br($news);
if ($data['news_extended']) {
$news_extended = stripslashes($data['news_extended']);
if ($data['news_breaks'] == "y") $news_extended = nl2br($news_extended);
} else {
$news_extended = "";
}
Find (69 - 70):Code Download sourceif ($news_extended) echo "<hr>\n<b>".$locale['402']."</b>\n<hr>\n$news_extended\n";
}
After, add:Code Download sourceif (!$res) { fallback("index.php"); }
Find (73):Code Download source</html>\n";
After, add:Code Download source
mysql_close();
ob_end_flush();
profile.php
Find (73):Code Download sourceif (!isset($userdata['user_id']) || $data['user_id'] != $userdata['user_id']) {
Replace with:Code Download sourceif (iMEMBER && $data['user_id'] != $userdata['user_id']) {
register.php
Find (245):Code Download source<textarea name='user_sig' rows='5' class='textbox' style='width:295px'>".$userdata['user_sig']."</textarea><br>
Replace with:Code Download source<textarea name='user_sig' rows='5' cols='53' class='textbox'>".$userdata['user_sig']."</textarea><br>
search.php
Find (272):Code Download sourceecho "<span class='small'><font class='alt'>".$locale['451']."</font> ".showdate("%d.%m.%y", $data['weblink_datestamp'])." |
Replace with:Code Download sourceecho "<span class='small'><font class='alt'>".$locale['454']."</font> ".showdate("%d.%m.%y", $data['weblink_datestamp'])." |
setuser.php
Find (25):Code Download source<table width='100%' height='100%'>
Replace with:Code Download source<table width='100%' style='height:100%'>
submit.php
Find (39 - 40):Code Download sourceif (dbrows($result)) {
while ($data = dbarray($result)) $opts .= "<option>".$data['weblink_cat_name']."</option>\n";
Replace with:Code Download sourcewhile ($data = dbarray($result)) {
if (checkgroup($data['weblink_cat_access'])) $opts .= "<option>".$data['weblink_cat_name']."</option>\n";
}
if (!empty($opts)) {
Find (128):Code Download source<td class='tbl'><textarea class='textbox' name='news_body' rows='8' style='width:300px;'>$news_body</textarea></td>
Replace with:Code Download source<td class='tbl'><textarea class='textbox' name='news_body' rows='8' cols='54'>$news_body</textarea></td>
Find (158):Code Download source$article_cat = $_POST['article_cat'];
Replace with:Code Download source$article_cat = isNum($_POST['article_cat']) ? $_POST['article_cat'] : "0";
Find (178 - 182):Code Download sourceif (dbrows($result)) {
while ($data = dbarray($result)) {
if (isset($_POST['preview_article'])) $sel = ($article_cat == $data['article_cat_id'] ? " selected" : "");
$cat_list .= "<option value='".$data['article_cat_id']."'$sel>".$data['article_cat_name']."</option>\n";
}
Replace with:Code Download sourcewhile ($data = dbarray($result)) {
if (isset($_POST['preview_article'])) $sel = ($article_cat == $data['article_cat_id'] ? " selected" : "");
if (checkgroup($data['article_cat_access'])) $cat_list .= "<option value='".$data['article_cat_id']."'$sel>".$data['article_cat_name']."</option>\n";
}
if (!empty($cat_list)) {
Find (197):Code Download source<td class='tbl'><textarea class='textbox' name='article_snippet' rows='3' style='width:300px;'>$article_snippet</textarea></td>
Replace with:Code Download source<td class='tbl'><textarea class='textbox' name='article_snippet' rows='3' cols='54'>$article_snippet</textarea></td>
Find (201):Code Download source<td class='tbl'><textarea class='textbox' name='article_body' rows='8' style='width:300px;'>$article_body</textarea></td>
Replace with:Code Download source<td class='tbl'><textarea class='textbox' name='article_body' rows='8' cols='54'>$article_body</textarea></td>
Find (271 - 272):Code Download sourceif (dbrows($result)) {
while ($data = dbarray($result)) $opts .= "<option value='".$data['album_id']."'>".$data['album_title']."</option>\n";
Replace with:Code Download sourcewhile ($data = dbarray($result)) {
if (checkgroup($data['album_access'])) $opts .= "<option value='".$data['album_id']."'>".$data['album_title']."</option>\n";
}
if (!empty($opts)) {
Find (282):Code Download source<td class='tbl'><textarea name='photo_description' rows='5' class='textbox' style='width:250px;'></textarea></td>
Replace with:Code Download source<td class='tbl'><textarea name='photo_description' rows='5' cols='35' class='textbox' style='width:250px;'></textarea></td>
administration/articles.php
Find (92):Code Download source}
Replace with:Code Download source} else { $editlist .= "<option value='---' disabled>---</option>\n"; }
administration/comments.php
Find (43):Code Download source<td align='center' class='tbl'><textarea name='comment_message' rows='5' class='textbox' style='width:400px'>".$data['comment_message']."</textarea><br>
Replace with:Code Download source<td align='center' class='tbl'><textarea name='comment_message' rows='5' cols='74' class='textbox'>".$data['comment_message']."</textarea><br>
Find (94):Code Download sourceecho "<script>
Replace with:Code Download sourceecho "<script type='text/javascript'>
administration/custom_pages.php
Find (110):Code Download source$action = FUSION_SELF.$aidlink."&page_id=$page_id";
Replace with:Code Download source$action = FUSION_SELF.$aidlink."&page_id=$page_id";
Find (133):Code Download source<td width='80%' class='tbl'><input type='textbox' name='page_title' value='$page_title' class='textbox' style='width: 250px;'>
Replace with:Code Download source<td width='80%' class='tbl'><input type='text' name='page_title' value='$page_title' class='textbox' style='width: 250px;'>
administration/downloads.php
Find (83):Code Download source<td class='tbl'><textarea name='download_description' rows='5' class='textbox' style='width:380px;'>".$download_description."</textarea></td>
Replace with:Code Download source<td class='tbl'><textarea name='download_description' rows='5' cols='70' class='textbox'>".$download_description."</textarea></td>
Find (148):Code Download source<td class='tbl2' align='right'><img onclick=\"javascript:flipBox('".$data['download_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' name='b_".$data['download_cat_id']."'></td>
Replace with:Code Download source<td class='tbl2' align='right'><img onclick=\"javascript:flipBox('".$data['download_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' name='b_".$data['download_cat_id']."' alt=''></td>
administration/faq.php
Find (158):Code Download source<td class='tbl'><textarea name='faq_answer' rows='5' class='textbox' style='width:335px;'>".phpentities(stripslashes($faq_answer))."</textarea></td>
Replace with:Code Download source<td class='tbl'><textarea name='faq_answer' rows='5' cols='61' class='textbox'>".phpentities(stripslashes($faq_answer))."</textarea></td>
Find (199):Code Download source<td class='tbl2'><img onclick=\"javascript:flipBox('".$data['faq_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' name='b_".$data['faq_cat_id']."'> ".$data['faq_cat_name']."</td>
Replace with:Code Download source<td class='tbl2'><img onclick=\"javascript:flipBox('".$data['faq_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' alt='' name='b_".$data['faq_cat_id']."'> ".$data['faq_cat_name']."</td>
administration/forums.php
Find (244):Code Download source<textarea name='forum_description' rows='2' class='textbox' style='width:285px;'>$forum_description</textarea></td>
Replace with:Code Download source<textarea name='forum_description' rows='2' cols='51' class='textbox'>$forum_description</textarea></td>
administration/members.php
Remove line (93):Code Download source</tr>
Find (195):Code Download source<td class='tbl1'>".number_format($data['user_posts'])."</td>
Replace with:Code Download source<td class='tbl2'>".number_format($data['user_posts'])."</td>
Find (334):Code Download source<td class='tbl'><textarea name='user_sig' rows='5' class='textbox' style='width:295px'>".$data['user_sig']."</textarea><br>
Replace with:Code Download source<td class='tbl'><textarea name='user_sig' rows='5' cols='53' class='textbox'>".$data['user_sig']."</textarea><br>
administration/photoalbums.php
Find (197):Code Download source<td class='tbl'><input type='textbox' name='album_title' value='$album_title' maxlength='100' class='textbox' style='width:330px;'></td>
Replace with:Code Download source<td class='tbl'><input type='text' name='album_title' value='$album_title' maxlength='100' class='textbox' style='width:330px;'></td>
Find (201):Code Download source<td class='tbl'><textarea name='album_description' rows='5' class='textbox' style='width:330px;'>$album_description</textarea><br>
Replace with:Code Download source<td class='tbl'><textarea name='album_description' rows='5' cols='60' class='textbox'>$album_description</textarea><br>
Find (217):Code Download source<input type='textbox' name='album_order' value='$album_order' maxlength='4' class='textbox' style='width:40px;'>
Replace with:Code Download source<input type='text' name='album_order' value='$album_order' maxlength='4' class='textbox' style='width:40px;'>
administration/photos.php
Find (164):Code Download sourceopentable($locale['400']." - ($photo_id - $photo_title)");
Replace with:Code Download sourceopentable($locale['401']." - ($photo_id - $photo_title)");
Find (175):Code Download sourceopentable($locale['401']);
Replace with:Code Download sourceopentable($locale['400']);
Find (181):Code Download source<td class='tbl'><input type='textbox' name='photo_title' value='$photo_title' maxlength='100' class='textbox' style='width:330px;'></td>
Replace with:Code Download source<td class='tbl'><input type='text' name='photo_title' value='$photo_title' maxlength='100' class='textbox' style='width:330px;'></td>
Find (185):Code Download source<td class='tbl'><textarea name='photo_description' rows='5' class='textbox' style='width:330px;'>$photo_description</textarea><br>
Replace with:Code Download source<td class='tbl'><textarea name='photo_description' rows='5' cols='60' class='textbox'>$photo_description</textarea><br>
Find (199):Code Download source<td class='tbl'><input type='textbox' name='photo_order' value='$photo_order' maxlength='5' class='textbox' style='width:40px;'></td>
Replace with:Code Download source<td class='tbl'><input type='text' name='photo_order' value='$photo_order' maxlength='5' class='textbox' style='width:40px;'></td>
administration/settings_main.php
Find (109):Code Download source<td width='50%' class='tbl'><textarea name='intro' rows='6' class='textbox' style='width:230px;'>".phpentities(stripslashes($settings2['siteintro']))."</textarea></td>
Replace with:Code Download source<td width='50%' class='tbl'><textarea name='intro' rows='6' cols='40' class='textbox'>".phpentities(stripslashes($settings2['siteintro']))."</textarea></td>
Find (113):Code Download source<td width='50%' class='tbl'><textarea name='description' rows='6' class='textbox' style='width:230px;'>".$settings2['description']."</textarea></td>
Replace with:Code Download source<td width='50%' class='tbl'><textarea name='description' rows='6' cols='40' class='textbox'>".$settings2['description']."</textarea></td>
Find (118):Code Download source<td width='50%' class='tbl'><textarea name='keywords' rows='6' class='textbox' style='width:230px;'>".$settings2['keywords']."</textarea></td>
Replace with:Code Download source<td width='50%' class='tbl'><textarea name='keywords' rows='6' cols='40' class='textbox'>".$settings2['keywords']."</textarea></td>
Find (121):Code Download source<td width='50%' class='tbl'><textarea name='footer' rows='6' class='textbox' style='width:230px;'>".phpentities(stripslashes($settings2['footer']))."</textarea></td>
Replace with:Code Download source<td width='50%' class='tbl'><textarea name='footer' rows='6' cols='40' class='textbox'>".phpentities(stripslashes($settings2['footer']))."</textarea></td>
administration/settings_misc.php
Find (74):Code Download source<td width='50%' class='tbl'><textarea name='bad_words' rows='5' class='textbox' style='width:250px;'>".$settings2['bad_words']."</textarea></td>
Replace with:Code Download source<td width='50%' class='tbl'><textarea name='bad_words' rows='5' cols='44' class='textbox'>".$settings2['bad_words']."</textarea></td>
Find (110):Code Download source<td width='50%' class='tbl'><textarea name='maintenance_message' rows='5' class='textbox' style='width:250px;'>".stripslashes($settings2['maintenance_message'])."</textarea></td>
Replace with:Code Download source<td width='50%' class='tbl'><textarea name='maintenance_message' rows='5' cols='44' class='textbox'>".stripslashes($settings2['maintenance_message'])."</textarea></td>
administration/shoutbox.php
Find (66):Code Download source<td class='tbl'><textarea name='shout_message' rows='3' class='textbox' style='width:250px;'>".str_replace("<br>", "", $data['shout_message'])."</textarea></td>
Replace with:Code Download source<td class='tbl'><textarea name='shout_message' rows='3' cols='44' class='textbox'>".str_replace("<br>", "", $data['shout_message'])."</textarea></td>
Find (71 - 72):Code Download source</form>
</table>\n";
Replace with:Code Download source</table>
</form>\n";
administration/submissions.php
Find (86):Code Download source$articles
Replace with:Code Download source$articles<tr>
administration/weblinks.php
Find (71):Code Download source<td class='tbl'><textarea name='weblink_description' rows='5' class='textbox' style='width:380px;'>".$weblink_description."</textarea></td>
Replace with:Code Download source<td class='tbl'><textarea name='weblink_description' rows='5' cols='70' class='textbox'>".$weblink_description."</textarea></td>
Find (120):Code Download source<td class='tbl2' align='right'><img onclick=\"javascript:flipBox('".$data['weblink_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' name='b_".$data['weblink_cat_id']."'></td>
Replace with:Code Download source<td class='tbl2' align='right'><img onclick=\"javascript:flipBox('".$data['weblink_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' name='b_".$data['weblink_cat_id']."' alt=''></td>
forum/postedit.php
Find (61 - 62):Code Download source</tr>
</td>
Replace with:Code Download source</td>
</tr>
Find (194 - 196):Code Download source<input type='button' value='quote' class='button' style='width:45px;' onClick=\"addText('message', '[quote]', '[/quote]');\">
</td>
</tr>
After add:Code Download source<tr>
forum/viewthread.php
Find (184):Code Download sourceif ($data['user_aim'] && file_exists(THEME."forum/aim.gif")) {
Replace with:Code Download sourceif ($data['user_aim']) {
Find (188):Code Download sourceecho "<a href='http://web.icq.com/wwp?Uin=".$data['user_icq']."' target='_blank'><img src='".THEME."forum/icq.gif' alt='".$data['user_icq']."' style='border:0px;'></a> ";
Replace with:Code Download sourceecho "<a href='http://icq.com/people/about_me.php?uin=".$data['user_icq']."' target='_blank'><img src='".THEME."forum/icq.gif' alt='".$data['user_icq']."' style='border:0px;'></a> ";
Find (200 - 201):Code Download sourceecho "<a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."'><img src='".THEME."forum/pm.gif' alt='".$locale['571']."' style='border:0px;'></a>
</td>
Replace with:Code Download sourceif (iMEMBER && $data['user_id'] != $userdata['user_id']) echo "<a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."'><img src='".THEME."forum/pm.gif' alt='".$locale['571']."' style='border:0px;'></a>\n";
echo "</td>
includes/class.httpdownload
Find (1):Code Download source<?
Replace with:Code Download source<?php
includes/comments_include.php
Find (102):Code Download source<td align='center'><textarea name='comment_message' rows='6' class='textbox' style='width:400px'></textarea><br>
Replace with:Code Download source<td align='center'><textarea name='comment_message' rows='6' cols='74' class='textbox'></textarea><br>
ratings_include.php
Find (52):Code Download sourceecho "<input type='submit' name='post_rating' value='".$locale['r103']."' class='button'>
Replace with:Code Download sourceecho "<input type='submit' name='post_rating' value='".$locale['r103']."' class='button'></div>
Find (80):Code Download sourceecho "</td>\n</table>\n</td>\n</tr>\n</table>";
Replace with:Code Download sourceecho "</table>\n</td>\n</tr>\n</table>\n";
infusions/shoutbox_panel/shoutbox_panel.php
Find (44):Code Download sourcefallback(FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : ""));
Replace with:Code Download sourcefallback(FUSION_SELF.(FUSION_QUERY ? "?".str_replace("&", "&", FUSION_QUERY) : ""));
Find (46):Code Download sourceecho "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".str_replace("&","&",FUSION_QUERY) : "")."'>
Replace with:Code Download sourceecho "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "")."'>
Find (55):Code Download sourceecho "<textarea name='shout_message' rows='4' class='textbox' style='width:140px;'></textarea>
Replace with:Code Download sourceecho "<textarea name='shout_message' rows='4' cols='25' class='textbox'></textarea>
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions