PHP Class MobileThemeHooks, vanilla

Inheritance: implements Gdn_IPlugin
Mostrar archivo Open project: vanilla/vanilla

Public Methods

Method Description
base_render_before ( $Sender ) Add mobile meta info. Add script to hide iPhone browser bar on pageload.
categoriesController_render_before ( $Sender ) Add button, remove options, increase click area on discussions list.
discussionController_render_before ( $Sender ) Add New Discussion button.
discussionsController_render_before ( $Sender ) Add button, remove options, increase click area on discussions list.
draftsController_render_before ( $Sender ) Add New Discussion button.
gdn_dispatcher_afterAnalyzeRequest_handler ( $Sender ) Remove plugins that are not mobile friendly!
messagesController_render_before ( $Sender ) Add New Conversation button.
postController_render_before ( $Sender ) Add New Discussion button.
profileController_beforeUserInfo_handler ( $Sender ) Add the user photo before the user Info on the profile page.
setup ( ) No setup required.

Private Methods

Method Description
addButton ( $Sender, $ButtonType ) Add a button to the navbar.
discussionsClickable ( $Sender ) Increases clickable area on a discussions list.

Method Details

base_render_before() public method

Add mobile meta info. Add script to hide iPhone browser bar on pageload.
public base_render_before ( $Sender )

categoriesController_render_before() public method

Add button, remove options, increase click area on discussions list.

discussionController_render_before() public method

Add New Discussion button.

discussionsController_render_before() public method

Add button, remove options, increase click area on discussions list.

draftsController_render_before() public method

Add New Discussion button.
public draftsController_render_before ( $Sender )

gdn_dispatcher_afterAnalyzeRequest_handler() public method

Remove plugins that are not mobile friendly!

messagesController_render_before() public method

Add New Conversation button.

postController_render_before() public method

Add New Discussion button.
public postController_render_before ( $Sender )

profileController_beforeUserInfo_handler() public method

Add the user photo before the user Info on the profile page.

setup() public method

No setup required.
public setup ( )