Skip to content

Instantly share code, notes, and snippets.

@zenithtekla
Created September 16, 2016 22:30
Show Gist options
  • Select an option

  • Save zenithtekla/f3e6e997d38adafbfbeb7e82897fa9b8 to your computer and use it in GitHub Desktop.

Select an option

Save zenithtekla/f3e6e997d38adafbfbeb7e82897fa9b8 to your computer and use it in GitHub Desktop.
Git added Gateway for MantisBT
if( config_get_global( 'wiki_enable' ) == ON ) {
$t_menu_options[] = '<a href="' . helper_mantis_url( 'wiki.php?type=project&amp;id=' ) . $t_current_project . '">' . lang_get( 'wiki' ) . '</a>';
}
+ $t_username = current_user_get_field( 'username' );
+ $t_realname = current_user_get_field( 'realname' );
+ // $t_menu_options[] = '<a href="' . helper_mantis_url( 'manuke.php?user=' . $t_username .'&amp;user_id='.auth_get_current_user_id().';hashed_password=' ) . auth_get_current_user_id() . '" title="Gateway to external application(done in either Python, Java, Ruby, NodeJS, or MeteorJS)">' . Manuke . '</a>';
+ $t_menu_options[] = '<a href=http://esp21:3033/?user=' . $t_username .'&amp;user_id='.auth_get_current_user_id().';hashed_password=will_be_added' . ' title="Gateway to external application(done in either Python, Java, Ruby, NodeJS, or MeteorJS)">' . Manuke . '</a>';
# Plugin / Event added options
$t_event_menu_options = event_signal( 'EVENT_MENU_MAIN' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment