Changeset 11360

Show
Ignore:
Timestamp:
07/26/07 20:48:19 (1 year ago)
Author:
w_i
Message:

Added tag widget support and fixed event creation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/org.maemo.calendar/callbacks/timezones.php

    r11342 r11360  
    3636     * 
    3737     */ 
    38     function org_maemo_calendar_callbacks_timezones($arg
     38    function org_maemo_calendar_callbacks_timezones($args
    3939    { 
    4040        debug_push_class(__CLASS__, __FUNCTION__); 
  • trunk/midcom/org.maemo.calendar/config/schemadb_default.inc

    r11353 r11360  
    6262            'widget' => 'textarea', 
    6363        ), 
    64         'tags' => Array 
     64        /*'tags' => Array 
    6565        ( 
    6666            'title' => 'tags', 
     
    6868            'type' => 'tags', 
    6969            'widget' => 'text', 
    70         ), 
    71         'tags2' => Array 
     70        ),*/ 
     71        'tags' => Array 
    7272        ( 
    7373            'title' => 'tags widget', 
    7474            'storage' => 'null', 
    75             'type' => 'select', 
    76             'type_config' => array 
    77             ( 
    78                 'options' => array(), 
    79                 'allow_multiple' => true, 
     75            'type' => 'tagselect', 
     76            'type_config' => array 
     77            ( 
     78                'option_callback' => 'org_maemo_calendar_callbacks_personstags', 
     79                'enable_saving_to_callback' => false, 
     80                'force_saving_to_tag_library' => true, 
    8081            ), 
    8182            'widget' => 'tags', 
  • trunk/midcom/org.maemo.calendar/handler/event/create.php

    r11311 r11360  
    201201 
    202202        debug_add("Make sure the start/end times are saved with UTC timezone"); 
     203         
     204        $utc_timezone = timezone_open("UTC"); 
    203205         
    204206        $event_start = strtotime($_POST['start']);