1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
<?php $lang->setModule("core"); $lang->setBlock("table_cell_prop"); $theme_path = SpawConfig::getStaticConfigValue('SPAW_DIR').'plugins/core/lib/theme/'.$theme->getName().'/'; ?> <script type="text/javascript" src="<?php echo SpawConfig::getStaticConfigValue('SPAW_DIR') ?>plugins/core/dialogs/table_cell_prop.js"></script>
<script type="text/javascript"> <!-- var spawErrorMessages = new Array(); <?php echo 'spawErrorMessages["error_width_nan"] = "' . $lang->m('error_width_nan') . '";' . "\n"; echo 'spawErrorMessages["error_height_nan"] = "' . $lang->m('error_height_nan') . '";' . "\n"; ?> //--> </script> <table border="0" cellspacing="0" cellpadding="2" width="336"> <form name="td_prop"> <tr> <td nowrap><?php echo $lang->m('css_class')?>:</td> <td nowrap colspan="3"> <select id="ccssclass" name="ccssclass" id="ccssclass" size="1" class="input" onchange="SpawTableCellPropDialog.cssClassChanged();"> <?php foreach($spaw_dropdown_data["td_style"] as $key => $text) { echo '<option value="'.$key.'">'.$text.'</option>'."\n"; } ?> </select> </td> </tr> <tr> <td colspan="2"><?php echo $lang->m('horizontal_align')?>:</td> <td colspan="2" align="right"><input type="hidden" name="chalign" id="chalign"> <img id="ha_left" src="<?php echo $theme_path.'img/'?>tb_justifyleft.gif" class="buttonOff" onClick="SpawTableCellPropDialog.setHAlign('left');" alt="<?php echo $lang->m('left')?>"> <img id="ha_center" src="<?php echo $theme_path.'img/'?>tb_justifycenter.gif" class="buttonOff" onClick="SpawTableCellPropDialog.setHAlign('center');" alt="<?php echo $lang->m('center')?>"> <img id="ha_right" src="<?php echo $theme_path.'img/'?>tb_justifyright.gif" class="buttonOff" onClick="SpawTableCellPropDialog.setHAlign('right');" alt="<?php echo $lang->m('right')?>"> </td> </tr> <tr> <td colspan="2"><?php echo $lang->m('vertical_align')?>:</td> <td colspan="2" align="right"><input type="hidden" name="cvalign" id="cvalign"> <img id="ha_top" src="<?php echo $theme_path.'img/'?>tb_top.gif" class="buttonOff" onClick="SpawTableCellPropDialog.setVAlign('top');" alt="<?php echo $lang->m('top')?>"> <img id="ha_middle" src="<?php echo $theme_path.'img/'?>tb_middle.gif" class="buttonOff" onClick="SpawTableCellPropDialog.setVAlign('middle');" alt="<?php echo $lang->m('middle')?>"> <img id="ha_bottom" src="<?php echo $theme_path.'img/'?>tb_bottom.gif" class="buttonOff" onClick="SpawTableCellPropDialog.setVAlign('bottom');" alt="<?php echo $lang->m('bottom')?>"> <img id="ha_baseline" src="<?php echo $theme_path.'img/'?>tb_baseline.gif" class="buttonOff" onClick="SpawTableCellPropDialog.setVAlign('baseline');" alt="<?php echo $lang->m('baseline')?>"> </td> </tr> <tr> <td><?php echo $lang->m('width')?>:</td> <td nowrap> <input type="text" name="cwidth" id="cwidth" size="3" maxlength="3" class="input3chars"> <select size="1" name="cwunits" id="cwunits" class="input"> <option value="%">%</option> <option value="px">px</option> </select> </td> <td><?php echo $lang->m('height')?>:</td> <td nowrap> <input type="text" name="cheight" id="cheight" size="3" maxlength="3" class="input3chars"> <select size="1" name="chunits" id="chunits" class="input"> <option value="%">%</option> <option value="px">px</option> </select> </td> </tr> <tr> <td nowrap><?php echo $lang->m('no_wrap')?>:</td> <td nowrap> <input type="checkbox" name="cnowrap" id="cnowrap"> </td> <td colspan="2"> </td> </tr> <tr> <td colspan="4"><?php echo $lang->m('bg_color')?>: <img src="img/spacer.gif" id="color_sample" border="1" width="30" height="18" align="absbottom"> <input type="text" name="cbgcolor" id="cbgcolor" size="7" maxlength="7" class="input7chars" onKeyUp="SpawTableCellPropDialog.setSample()"> <input type="button" id="ccolorpicker" onClick="SpawTableCellPropDialog.showColorPicker(cbgcolor.value)" align="absbottom" value="..." class="bt" /> </td> </tr> <tr> <td colspan="4"> <?php echo $lang->m('background')?>: <input type="text" name="cbackground" id="cbackground" size="20" class="input" > <input type="button" id="cimg_picker" onClick="SpawTableCellPropDialog.showImgPicker();" align="absbottom" class="bt" value="..." /> </td> </tr> <tr> <td colspan="4" nowrap> <hr width="100%"> </td> </tr> <tr> <td colspan="4" align="right" valign="bottom" nowrap> <input type="button" value="<?php echo $lang->m('ok')?>" onClick="SpawTableCellPropDialog.okClick()" class="bt"> <input type="button" value="<?php echo $lang->m('cancel')?>" onClick="SpawTableCellPropDialog.cancelClick()" class="bt"> </td> </tr> </form> </table>
|