Changeset 1753

Show
Ignore:
Timestamp:
08/30/07 02:22:35 (15 months ago)
Author:
cfriesen
Message:

Add flagged state to the mobile item state update list.

Location:
trunk/gregarius/themes/default/mobile
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/themes/default/mobile/item.php

    r1737 r1753  
    3939          } 
    4040        ?>><?php print(__('Sticky')); ?></option> 
     41    <option value="mobile_flag" <?php 
     42            if($GLOBALS['rss'] -> currentItem -> isFlag) { 
     43                echo "selected=\"selected\""; 
     44            } 
     45        ?>><?php print(__('Flagged')); ?></option> 
    4146</select> 
    4247</div> 
  • trunk/gregarius/themes/default/mobile/overrides.php

    r1355 r1753  
    2121                rss_plugins_set_item_state( $varName, RSS_MODE_STICKY_STATE, true ); 
    2222            //intentional fallthrough 
     23            case 'mobile_flag': 
     24                rss_plugins_set_item_state( $varName, RSS_MODE_FLAG_STATE, true ); 
    2325            case 'mobile_read': 
    2426                rss_plugins_set_item_state( $varName, RSS_MODE_UNREAD_STATE, false );