Changeset 1786

Show
Ignore:
Timestamp:
03/02/08 00:57:36 (2 months ago)
Author:
cfriesen
Message:

Make this plugin more mobile friendly

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gregarius/plugins/stickyflag/stickyflag.php

    r1561 r1786  
    147147    } 
    148148  
    149     if($options & STICKYFLAG_ENABLE_STICKY_MENU) { 
     149    if($options & STICKYFLAG_ENABLE_STICKY_MENU || (isMobileDevice() && $options & STICKYFLAG_ENABLE_STICKY_SHORTCUT)) { 
    150150        if (true == $usemodrewrite) { 
    151151            $url = getPath() . "state/" . RSS_STATE_STICKY . ""; 
     
    157157    } 
    158158 
    159     if($options & STICKYFLAG_ENABLE_FLAG_MENU) { 
     159    if($options & STICKYFLAG_ENABLE_FLAG_MENU || (isMobileDevice() && $options & STICKYFLAG_ENABLE_FLAG_SHORTCUT)) { 
    160160        if (true == $usemodrewrite) { 
    161161            $url = getPath() . "state/" . RSS_STATE_FLAG . "";