From: julmis Date: Mon, 3 Nov 2003 23:01:13 +0000 (+0000) Subject: Style improvements to popups X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9466f50707f7b3256ad85cc82221d219cd3194c8;p=moodle.git Style improvements to popups --- diff --git a/lib/editor/popups/dlg_ins_char.php b/lib/editor/popups/dlg_ins_char.php index 607f4b0bf5..3572a4c880 100644 --- a/lib/editor/popups/dlg_ins_char.php +++ b/lib/editor/popups/dlg_ins_char.php @@ -48,31 +48,39 @@ include("../../../config.php"); ?> - + @@ -84,17 +92,17 @@ function Init() { var chars = ["!",""","#","$","%","&","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","ƒ","„","…","†","‡","ˆ","\‰","Š","‹","Œ","‘","’","’","“","”","•","–","—","˜","™","š","›","œ","Ÿ","¡","¢","£","£","¤","¥","¦","§","¨","©","ª","«","¬","­","®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ü","ý","þ","ÿ"] function tab(w,h) { - var strtab = [""] + var strtab = ["
"] var k = 0; for(var i = 0; i < w; i++) { - strtab[strtab.length] = ""; + strtab[strtab.length] = ""; for(var j = 0; j < h; j++) { - strtab[strtab.length] = ""; + strtab[strtab.length] = ""; k++; } - strtab[strtab.length]=""; + strtab[strtab.length]=""; } - strtab[strtab.length] = "
"+(chars[k]||'')+""+(chars[k]||'')+"
"; + strtab[strtab.length] = ""; return strtab.join("\n"); } @@ -123,7 +131,7 @@ function cancel() { - + @@ -208,7 +208,7 @@ function cancel() { +

@@ -143,7 +151,7 @@ function cancel() { +

- " onclick="cancel()">
diff --git a/lib/editor/popups/dlg_ins_smile.php b/lib/editor/popups/dlg_ins_smile.php index 5b8bd52569..b3fc6ab69a 100644 --- a/lib/editor/popups/dlg_ins_smile.php +++ b/lib/editor/popups/dlg_ins_smile.php @@ -48,7 +48,7 @@ include("../../../config.php"); $pix = $CFG->wwwroot . "/pix/s"; ?> - + @@ -88,7 +88,7 @@ function cancel() { - + @@ -152,52 +152,52 @@ function cancel() { - + - + - + - + - + - + - + - + - + - +

@@ -98,52 +98,52 @@ function cancel() { - + - + - + - + - + - + - + - + - + - +
smile:-):-)
big grin:-D:-D
wink;-);-)
mixed:-/:-/
thoughtfulV-.V-.
tongue out:-P:-P
coolB-)B-)
approve^-)^-)
wide eyes8-)8-)
surprise8-o8-o
sad:-(:-(
shy8-.8-.
blush:-I:-I
kisses:-X:-X
clown:o):o)
black eyeP-|P-|
angry8-[8-[
deadxx-Pxx-P
sleepy|-.|-.
evil}-]}-]

- " onclick="cancel()">