Changeset 1362
- Timestamp:
- 08/25/09 15:35:02 (15 years ago)
- Location:
- trunk/admin
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/inc/class.uimainscreen.inc.php
r1117 r1362 127 127 $select_section .= ' <option value="'.$key.'"'. 128 128 ($key == $_POST['section'] ? ' selected' : '') . '>' . 129 lang($key) . "</option>\n";129 ($key == 'mainscreen' ? lang('Main screen') : lang($key)) . "</option>\n"; 130 130 } 131 131 $select_section .= '</select>'; … … 151 151 { 152 152 $text_or_htmlarea=$html->htmlarea('message',stripslashes($current_message)); 153 $htmlarea_button='<input type="submit" name="no-htmlarea" onclick="self.location.href=\''.$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uimainscreen.index&htmlarea=true').'\'" value="'.lang('disable WYSIWYG-editor').'">'; 153 $htmlarea_button='<input type="submit" name="no-htmlarea" onclick="self.location.href=\''.$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uimainscreen.index&htmlarea=true').'\'" value="'.lang('disable WYSIWYG-editor').'">'; 154 154 } 155 155 else -
trunk/admin/templates/default/mainscreen_message.tpl
r2 r1362 6 6 <input type="hidden" name="section" value="{section}"> 7 7 {rows} 8 9 8 </table> 10 9 </form> 10 <script language="Javascript"> 11 // FIX WYSIWYG IFRAME POSITION 12 setTimeout("setIframeTop()",1); 13 function setIframeTop() 14 { 15 var iframe = document.getElementsByTagName("IFRAME")[0]; 16 if(iframe){ 17 var div = document.createElement("DIV"); 18 div.style.height = "70px"; 19 iframe.parentNode.insertBefore( div, iframe); 20 } 21 else 22 setTimeout("setIframeTop()",1); 23 } 24 </script> 11 25 <!-- END form --> 12 26 … … 17 31 </tr> 18 32 <!-- END row --> 19 20 33 <!-- BEGIN row_2 --> 21 34 <tr > 22 <tdcolspan="2" align="left">{value}</td>35 <td style="width:580px" colspan="2" align="left">{value}</td> 23 36 </tr> 24 37 <!-- END row_2 -->
Note: See TracChangeset
for help on using the changeset viewer.