mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-27 02:05:02 +02:00
#i62 - #i65
gone through every javascript invocation and making sure we adhere to our coding guidelines. git-svn-id: file:///svn/phpbb/trunk@8099 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
// <![CDATA[
|
||||
var form_name = 'postform';
|
||||
var text_name = <!-- IF $SIG_EDIT -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->;
|
||||
var load_draft = false;
|
||||
@@ -38,7 +38,7 @@
|
||||
{
|
||||
if (!upload)
|
||||
{
|
||||
alert('{L_EMPTY_MESSAGE}');
|
||||
alert('{LA_EMPTY_MESSAGE}');
|
||||
return false;
|
||||
}
|
||||
upload = false;
|
||||
@@ -54,7 +54,7 @@
|
||||
var show_panel = 'options-panel';
|
||||
|
||||
|
||||
//-->
|
||||
// ]]>
|
||||
</script>
|
||||
<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<dt><label>{L_FONT_COLOR}:</label></dt>
|
||||
<dd>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
// <![CDATA[
|
||||
function change_palette()
|
||||
{
|
||||
dE('colour_palette');
|
||||
@@ -81,7 +81,7 @@
|
||||
}
|
||||
|
||||
colorPalette('h', 15, 10);
|
||||
//-->
|
||||
// ]]>
|
||||
</script>
|
||||
</dd>
|
||||
</dl>
|
||||
|
Reference in New Issue
Block a user