Changeset 1362


Ignore:
Timestamp:
08/25/09 15:35:02 (15 years ago)
Author:
niltonneto
Message:

Ticket #574 - Correção de frases e da posição do IFRAME.

Location:
trunk/admin
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/inc/class.uimainscreen.inc.php

    r1117 r1362  
    127127                                        $select_section .= ' <option value="'.$key.'"'. 
    128128                                                ($key == $_POST['section'] ? ' selected' : '') . '>' .  
    129                                                 lang($key) . "</option>\n"; 
     129                                                ($key == 'mainscreen' ? lang('Main screen') : lang($key)) . "</option>\n"; 
    130130                                } 
    131131                                $select_section .= '</select>'; 
     
    151151                                { 
    152152                                   $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').'">';        
    154154                                } 
    155155                                else 
  • trunk/admin/templates/default/mainscreen_message.tpl

    r2 r1362  
    66<input type="hidden" name="section" value="{section}"> 
    77  {rows} 
    8  
    98 </table> 
    109</form> 
     10<script language="Javascript"> 
     11// FIX WYSIWYG IFRAME POSITION 
     12setTimeout("setIframeTop()",1); 
     13function 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> 
    1125<!-- END form --> 
    1226  
     
    1731  </tr> 
    1832<!-- END row --> 
    19  
    2033<!-- BEGIN row_2 --> 
    2134  <tr > 
    22    <td colspan="2" align="left">{value}</td> 
     35        <td style="width:580px" colspan="2" align="left">{value}</td> 
    2336  </tr> 
    2437<!-- END row_2 --> 
Note: See TracChangeset for help on using the changeset viewer.