Changeset 5129 for trunk


Ignore:
Timestamp:
11/03/11 10:15:37 (12 years ago)
Author:
wmerlotto
Message:

Ticket #2305 - Enviando alteracoes, desenvolvidas internamente na Prognus, do modulo API.

Location:
trunk/preferences
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/preferences/inc/class.uicategories.inc.php

    r1623 r5129  
    9797                        $cats_level  = get_var('cats_level',array('GET','POST')); 
    9898 
     99                        $this->bo->query = get_var('query',array('GET','POST')); 
     100                        $this->bo->order = get_var('order',array('GET','POST')); 
     101                        $this->bo->start = get_var('start',array('GET','POST')); 
     102                        $this->bo->sort  = get_var('sort',array('GET','POST')); 
     103                        $this->query = get_var('query',array('GET','POST')); 
     104                        $this->order = get_var('order',array('GET','POST')); 
     105                        $this->start = get_var('start',array('GET','POST')); 
     106                        $this->sort  = get_var('sort',array('GET','POST')); 
     107                        $GLOBALS['query'] = get_var('query',array('GET','POST')); 
     108 
    99109                        $link_data = array 
    100110                        ( 
  • trunk/preferences/preferences.php

    r4828 r5129  
    616616        } 
    617617        $t->pfp('phpgw_body','preferences'); 
    618          
    619618        //echo '<pre style="text-align: left;">'; print_r($GLOBALS['phpgw']->preferences->data); echo "</pre>\n"; 
    620          
    621619        $GLOBALS['phpgw']->common->phpgw_footer(); 
     620        if($GLOBALS['type'] == 'forced' && is_admin()) 
     621        { 
     622                if($_POST['submit']){ 
     623                        header("Location: ".$_SERVER['PHP_SELF'].'?appname=' . $_GET['appname']. "&type=forced"); 
     624                } 
     625        } 
    622626?> 
  • trunk/preferences/setup/setup.inc.php

    r4186 r5129  
    1313        $setup_info['preferences']['name']      = 'preferences'; 
    1414        $setup_info['preferences']['title']     = 'Preferences'; 
    15         $setup_info['preferences']['version']   = '2.2.1'; 
     15        $setup_info['preferences']['version']   = '2.4.0'; 
    1616        $setup_info['preferences']['app_order'] = 1; 
    1717        $setup_info['preferences']['tables']    = ''; 
     
    2828        $setup_info['preferences']['depends'][] = array( 
    2929                'appname' => 'phpgwapi', 
    30                 'versions' => Array('2.2') 
     30                'versions' => Array('2.4.0') 
    3131        ); 
    3232?> 
  • trunk/preferences/templates/default/index.tpl

    r5083 r5129  
    11<!-- BEGIN list --> 
    2 <table border="0" width="100%" cellspacing="0" cellpadding="0"> 
     2<table border="0" width="75%" cellspacing="0" cellpadding="0"> 
    33 <tr> 
    44  <td align="left">{tabs}</td> 
     
    66</table> 
    77 
    8 <table width="75%" border="0" cellspacing="0" cellpadding="0" class="prefTable"> 
     8<table width="100%" border="0" cellspacing="0" cellpadding="0" class="prefTable"> 
    99 {rows} 
    1010</table> 
Note: See TracChangeset for help on using the changeset viewer.