Moderator: Integra Moderator
$images['mini_cal_icon_left_arrow'] = "";$images['mini_cal_icon_right_arrow'] = "";
#viewtopic.php#search for $template->assign_vars(array( "TELL_LINK" => append_sid("http].$HTTP_SERVER_VARS['PHP_SELF']."?t=$topic_id", true))); #After ADD if ( ( $userdata['session_logged_in'] ) && ( $userdata['user_id'] != ANONYMOUS ) && ( ( $forum_topic_data['topic_status'] != TOPIC_LOCKED ) ? TRUE : ( ( $userdata['user_level'] == ADMIN ) ? TRUE : FALSE ) ) ){ include($phpbb_root_path . 'quick_reply.'.$phpEx);}
<php>set_filenames(array( 'quick_reply_output' => 'quick_reply.tpl'));$template->assign_vars(array( 'L_MORE_SMILIES' => $lang['More_emoticons'], 'U_MORE_SMILIES' => append_sid("posting.$phpEx?mode=smilies"), 'L_EMOTICONS' => $lang['Emoticons'], 'L_CLOSE_WINDOW' => $lang['Close_window'], 'S_SMILIES_COLSPAN' => $s_colspan));$template->assign_block_vars('smilies_row.smilies_col', array( 'SMILEY_CODE' => $data['code'], 'SMILEY_IMG' => $board_config['smilies_path'] . '/' . $smile_url, 'SMILEY_DESC' => $data['emoticon']) ); // // Taken from Quick reply with quote by Smartor - Begin // $bbcode_uid = $postrow[$total_posts - 1]['bbcode_uid']; $last_poster = $postrow[$total_posts - 1]['username']; $last_msg = $postrow[$total_posts - 1]['post_text']; $last_msg = str_replace("]" . $last_msg . '[/quote]'; $attach_sig = (( $userdata['session_logged_in'] ) ? $userdata['user_attachsig'] : 0)?"checked='checked'":''; $notify_user = (( $userdata['session_logged_in'] ) ? $userdata['user_notify'] : 0)?"checked='checked'":''; $template->assign_block_vars('quick_reply', array( 'POST_ACTION' => append_sid("posting.$phpEx"), 'TOPIC_ID' => $topic_id, 'SID' => $userdata['session_id'], 'LAST_MESSAGE' => $last_msg) ); if( $userdata['session_logged_in'] ) { $template->assign_block_vars('quick_reply.user_logged_in', array( 'ATTACH_SIGNATURE' => $attach_sig, 'NOTIFY_ON_REPLY' => $notify_user) ); } else { $template->assign_block_vars('quick_reply.user_logged_out', array()); } // // Taken from Quick reply with quote by Smartor - End // // // Show smiles or not // if ( ( $userdata['user_viewquickreply'] == 2 ) && ( $board_config['allow_smilies'] == 1 ) && ( $userdata['user_allowsmile'] == 1 ) ) { $template->assign_block_vars('quick_reply.switch_show_smiles', array()); generate_smilies('inline', PAGE_POSTING, true); } if ( ( $board_config['allow_smilies'] == 1 ) && ( $userdata['user_allowsmile'] == 1 ) ) { $template->assign_block_vars('quick_reply.switch_show_all_smiles', array( 'U_MORE_SMILIES' => append_sid("posting.$phpEx?mode=smilies"), 'L_ALL_SMILIES' => $lang['Quick_Reply_smilies']) ); } // // Show a line with BBCode buttons or not // if ( ( $board_config['allow_bbcode'] == 1 ) && ( $userdata['user_allowbbcode'] == 1 ) ) { $template->assign_block_vars('quick_reply.switch_show_bbcode', array()); } $template->assign_vars(array( 'L_BBCODE_CLOSE_TAGS' => $lang['Close_Tags'], 'L_USERNAME' => $lang['Username'], 'L_NOTIFY_ON_REPLY' => $lang['Notify'], 'L_ATTACH_SIGNATURE' => $lang['Attach_signature'], 'L_EMPTY_MESSAGE' => $lang['Empty_message'], 'L_QUOTE_LAST_MESSAGE' => $lang['Quick_quote'], 'L_QUICK_REPLY' => $lang['Quick_Reply'], 'L_PREVIEW' => $lang['Preview'], 'L_SUBMIT' => $lang['Submit']) ); $template->assign_var_from_handle('QUICKREPLY_OUTPUT', 'quick_reply_output'); ?>
<BEGIN><script><!--// bbCode control by// subBlue design// [url=http]http://www.subBlue.com[/url] // Startup variablesvar imageTag = false;var theSelection = false; // Check for Browser & Platform for PC & IE specific bits// More details from: [url=http://www.mozilla.org/docs/web-developer/sniffer/browser_type.htmlvar]http://www.mozilla.org/docs/web-develop ... pe.htmlvar[/url] clientPC = navigator.userAgent.toLowerCase(); // Get client infovar clientVer = parseInt(navigator.appVersion); // Get browser version var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1) && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1) && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));var is_moz = 0; var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));var is_mac = (clientPC.indexOf("mac")!=-1); // Define the bbCode tagsbbcode = new Array();bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list type=]','[/list]','[flash=,]','[/flash:12i3mevk]','[url]','[/url]');imageTag = false; // Replacement for arrayname.length propertyfunction getarraysize(thearray) { for (i = 0; i < thearray.length; i++) { if ((thearray[i] == "undefined") || (thearray[i] == "") || (thearray[i] == null)) return i; } return thearray.length;} // Replacement for arrayname.push(value) not implemented in IE until version 5.5// Appends element to the arrayfunction arraypush(thearray,value) { thearray[ getarraysize(thearray) ] = value;} // Replacement for arrayname.pop() not implemented in IE until version 5.5// Removes and returns the last element of an arrayfunction arraypop(thearray) { thearraysize = getarraysize(thearray); retval = thearray[thearraysize - 1]; delete thearray[thearraysize - 1]; return retval;}var is_submit = false;var hilf; function checkForm() { formErrors = false; hilf = document.post.message.value; if (document.post.message.value.length < 2) { formErrors = "{L_EMPTY_MESSAGE}"; } if (formErrors) { alert(formErrors); return false; } else if (is_submit) { alert('Your post is already submitted'); return false; } else { is_submit = true; } if (document.post.quick_quote.checked) { document.post.message.value = document.post.last_msg.value + hilf; } document.post.message.value = document.post.message.value; return true; } function emoticon(text) { var txtarea = document.post.message; text = ' ' + text + ' '; if (txtarea.createTextRange && txtarea.caretPos) { var caretPos = txtarea.caretPos; caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text; txtarea.focus(); } else { txtarea.value += text; txtarea.focus(); }} function bbstyle(bbnumber) { var txtarea = document.post.message; txtarea.focus(); donotinsert = false; theSelection = false; bblast = 0; if (bbnumber == -1) { // Close all open tags & default button names while (bbcode[0]) { butnumber = arraypop(bbcode) - 1; txtarea.value += bbtags[butnumber + 1]; buttext = eval('document.post.addbbcode' + butnumber + '.value'); eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"'); } imageTag = false; // All tags are closed including image tags <img> txtarea.focus(); return; } if ((clientVer >= 4) && is_ie && is_win) { theSelection = document.selection.createRange().text; // Get text selection if (theSelection) { // Add tags around selection document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1]; txtarea.focus(); theSelection = ''; return; } } else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0)) { mozWrap(txtarea, bbtags[bbnumber], bbtags[bbnumber+1]); return; } // Find last occurance of an open tag the same as the one just clicked for (i = 0; i <bbcode></script> <form><input><span><b>{L_QUICK_REPLY}:</b><br><BEGIN>{L_USERNAME}: <input><br><END><table> <tr> <td> <table> <tr> <td> <textarea></textarea><br> </td> </tr> </table> </td> <BEGIN> <td></td> <td> <table> <tr> <td><b>{L_EMOTICONS}</b></td> </tr> <BEGIN> <tr> <BEGIN><td>ALOEE<img></a></td><END> </tr> <END> </table> </td> <END> </tr> <BEGIN> <tr> <td><span> <input> <input> <input> <input> <input> <input> <input> </span></td> </tr> <END></table> <a>Smilies!</a><br><input>{L_QUOTE_LAST_MESSAGE}<br><input>{L_ATTACH_SIGNATURE}<br><input>[color=red]Benachrichtigen bei Antworten?[/color]<br><input><input><input><input> <input><input></span></form><END>
"tmotley";p="538" wrote:Anybody want to give me some tips to find the Quick Reply issue in iCGStation? <img>
"tmotley";p="1520" wrote:Issues Remaining:
A. Poll page messed up until you vote.
B. Center Portal blocks have content cutoff on right side.
C. Bottom of my forum shoutbox isn't normal looking.
D. My portal mini-cal give errors if I try to use it.
Registered users: Majestic-12 [Bot], Unspecified Bot