Quote:
Originally Posted by sv1cec
Maybe you accidentally deleted the next line in that file? Here is what that part of the file should look:
PHP Code:
function print_template_javascript()
{
global $stylevar, $vbphrase, $vboptions;
print_phrase_ref_popup_javascript();
echo '<script type="text/javascript" src="../clientscript/vbulletin_templatemgr.js"></script>';
print_label_row(iif(is_browser('ie') OR is_browser('mozilla', '20040707'), $vbphrase['search_in_template'], $vbphrase['additional_functions']), iif(is_browser('ie') OR is_browser('mozilla', '1.7'), '
<input type="text" class="bginput" name="string" accesskey="t" value="' . htmlspecialchars_uni($GLOBALS['searchstring']) . '" size="20" onChange="n=0;" tabindex="1" />
<input type="button" class="button" style="font-weight:normal" value=" ' . $vbphrase['find'] . ' " accesskey="f" onClick="findInPage(document.cpform.string.value);" tabindex="1" />
') .
'<input type="button" class="button" style="font-weight:normal" value="' . $vbphrase['preview'] . '" accesskey="p" onclick="displayHTML();" tabindex="1" />
<input type="button" class="button" style="font-weight:normal" value=" ' . $vbphrase['copy'] . ' " accesskey="c" onclick="HighlightAll();" tabindex="1" />
<input type="button" class="button" style="font-weight:normal" value="' . $vbphrase['view_quickref'] . '" accesskey="v" onclick="js_open_phrase_ref(0, 0);" tabindex="1" />
');
}
Rgds
|
Forgot to come back to see if someone answered this yet...
I was missing this
Quote:
<input type="button" class="button" style="font-weight:normal" value=" ' . $vbphrase['find'] . ' " accesskey="f" onClick="findInPage(document.cpform.string.value); " tabindex="1" />
|
Not sure how and when I did it.. I thought I was always careful
Thanks for the help