[Phpfreechat-svn] SF.net SVN: phpfreechat: [1130] trunk/data/public/js/pfcgui.js
Status: Beta
Brought to you by:
kerphi
|
From: <gpi...@us...> - 2007-08-17 23:29:38
|
Revision: 1130
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1130&view=rev
Author: gpinzone
Date: 2007-08-17 16:29:41 -0700 (Fri, 17 Aug 2007)
Log Message:
-----------
Added IDs for buttons and DIVs for future template mods.
Modified Paths:
--------------
trunk/data/public/js/pfcgui.js
Modified: trunk/data/public/js/pfcgui.js
===================================================================
--- trunk/data/public/js/pfcgui.js 2007-08-17 11:59:00 UTC (rev 1129)
+++ trunk/data/public/js/pfcgui.js 2007-08-17 23:29:41 UTC (rev 1130)
@@ -552,6 +552,7 @@
// button login/logout
var btn = document.createElement('div');
+ btn.setAttribute('id', 'pfc_loginlogout_btn');
btn.setAttribute('class', 'pfc_btn')
btn.setAttribute('className', 'pfc_btn'); // for IE6
var img = document.createElement('img');
@@ -563,6 +564,7 @@
// button nickname color on/off
var btn = document.createElement('div');
+ btn.setAttribute('id', 'pfc_nickmarker_btn');
btn.setAttribute('class', 'pfc_btn');
btn.setAttribute('className', 'pfc_btn'); // for IE6
var img = document.createElement('img');
@@ -574,6 +576,7 @@
// button clock on/off
var btn = document.createElement('div');
+ btn.setAttribute('id', 'pfc_clock_btn');
btn.setAttribute('class', 'pfc_btn');
btn.setAttribute('className', 'pfc_btn'); // for IE6
var img = document.createElement('img');
@@ -585,6 +588,7 @@
// button sound on/off
var btn = document.createElement('div');
+ btn.setAttribute('id', 'pfc_sound_btn');
btn.setAttribute('class', 'pfc_btn');
btn.setAttribute('className', 'pfc_btn'); // for IE6
var img = document.createElement('img');
@@ -598,6 +602,7 @@
if (pfc_btn_sh_smileys)
{
var btn = document.createElement('div');
+ btn.setAttribute('id', 'pfc_showHideSmileysbtn_btn');
btn.setAttribute('class', 'pfc_btn');
btn.setAttribute('className', 'pfc_btn'); // for IE6
var img = document.createElement('img');
@@ -612,6 +617,7 @@
if (pfc_btn_sh_whosonline)
{
var btn = document.createElement('div');
+ btn.setAttribute('id', 'pfc_showHideWhosOnlineBtn_btn');
btn.setAttribute('class', 'pfc_btn');
btn.setAttribute('className', 'pfc_btn'); // for IE6
var img = document.createElement('img');
@@ -629,9 +635,11 @@
// bbcode strong
var btn = document.createElement('div');
+ btn.setAttribute('id', 'pfc_bt_strong_btn');
btn.setAttribute('class', 'pfc_btn');
btn.setAttribute('className', 'pfc_btn'); // for IE6
var img = document.createElement('img');
+ img.setAttribute('id', 'pfc_bt_strong');
img.setAttribute('class', 'pfc_bt_strong');
img.setAttribute('className', 'pfc_bt_strong'); // for IE6
img.setAttribute('title', pfc.res.getLabel("Bold"));
@@ -642,9 +650,11 @@
// bbcode italics
var btn = document.createElement('div');
+ btn.setAttribute('id', 'pfc_bt_italics_btn');
btn.setAttribute('class', 'pfc_btn');
btn.setAttribute('className', 'pfc_btn'); // for IE6
var img = document.createElement('img');
+ img.setAttribute('id', 'pfc_bt_italics');
img.setAttribute('class', 'pfc_bt_italics');
img.setAttribute('className', 'pfc_bt_italics'); // for IE6
img.setAttribute('title', pfc.res.getLabel("Italics"));
@@ -655,9 +665,11 @@
// bbcode underline
var btn = document.createElement('div');
+ btn.setAttribute('id', 'pfc_bt_underline_btn');
btn.setAttribute('class', 'pfc_btn');
btn.setAttribute('className', 'pfc_btn'); // for IE6
var img = document.createElement('img');
+ img.setAttribute('id', 'pfc_bt_underline');
img.setAttribute('class', 'pfc_bt_underline');
img.setAttribute('className', 'pfc_bt_underline'); // for IE6
img.setAttribute('title', pfc.res.getLabel("Underline"));
@@ -681,9 +693,11 @@
// bbcode mail
var btn = document.createElement('div');
+ btn.setAttribute('id', 'pfc_bt_mail_btn');
btn.setAttribute('class', 'pfc_btn');
btn.setAttribute('className', 'pfc_btn'); // for IE6
var img = document.createElement('img');
+ img.setAttribute('id', 'pfc_bt_mail');
img.setAttribute('class', 'pfc_bt_mail');
img.setAttribute('className', 'pfc_bt_mail'); // for IE6
img.setAttribute('title', pfc.res.getLabel("Mail"));
@@ -694,9 +708,11 @@
// bbcode color
var btn = document.createElement('div');
+ btn.setAttribute('id', 'pfc_bt_color_btn');
btn.setAttribute('class', 'pfc_btn');
btn.setAttribute('className', 'pfc_btn'); // for IE6
var img = document.createElement('img');
+ img.setAttribute('id', 'pfc_bt_color');
img.setAttribute('class', 'pfc_bt_color');
img.setAttribute('className', 'pfc_bt_color'); // for IE6
img.setAttribute('title', pfc.res.getLabel("Color"));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|