mantis-matrix-integration – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <?php
2 /**
3 * Matrix Integration
4 * Copyright (C) 2024 Wizardry and Steamworks (wizardry.steamworks@outlook.com)
5 * based on: Slack Integration by 2014 Karim Ratib (karim.ratib@gmail.com)
6 * License GPLv2
7 */
8  
9 auth_reauthenticate( );
10 access_ensure_global_level( config_get( 'manage_plugin_threshold' ) );
11  
12 html_page_top( plugin_lang_get( 'title' ) );
13  
14 print_manage_menu( );
15  
16 ?>
17  
18 <br />
19  
20 <form action="<?php echo plugin_page( 'config_edit' )?>" method="post">
21 <?php echo form_security_field( 'plugin_Matrix_config_edit' ) ?>
22 <table align="center" class="width75" cellspacing="1">
23  
24 <tr>
25 <td class="form-title" colspan="3">
26 <?php echo plugin_lang_get( 'title' ) . ' : ' . plugin_lang_get( 'config' )?>
27 </td>
28 </tr>
29  
30 <tr <?php echo helper_alternate_class( )?>>
31 <td class="category">
32 <?php echo plugin_lang_get( 'server' )?>
33 </td>
34 <td colspan="2">
35 <input size="80" type="text" name="server" value="<?php echo plugin_config_get( 'server' )?>" />
36 </td>
37 </tr>
38  
39 <tr <?php echo helper_alternate_class( )?>>
40 <td class="category">
41 <?php echo plugin_lang_get( 'username' )?>
42 </td>
43 <td colspan="2">
44 <input type="text" name="username" value="<?php echo plugin_config_get( 'username' )?>" />
45 </td>
46 </tr>
47  
48 <tr <?php echo helper_alternate_class( )?>>
49 <td class="category">
50 <?php echo plugin_lang_get( 'password' )?>
51 </td>
52 <td colspan="2">
53 <input type="password" name="password" value="<?php echo plugin_config_get( 'password' )?>" />
54 </td>
55 </tr>
56  
57 <tr <?php echo helper_alternate_class( )?>>
58 <td class="category">
59 <?php echo plugin_lang_get( 'skip_bulk' )?>
60 </td>
61 <td colspan="2">
62 <input type="checkbox" name="skip_bulk" <?php if (plugin_config_get( 'skip_bulk' )) echo "checked"; ?> />
63 </td>
64 </tr>
65  
66 <tr <?php echo helper_alternate_class( )?>>
67 <td class="category">
68 <?php echo plugin_lang_get( 'room' )?>
69 </td>
70 <td colspan="2">
71 <input type="text" name="room" value="<?php echo plugin_config_get( 'room' )?>" />
72 </td>
73 </tr>
74  
75 <tr>
76 <td class="center" colspan="3">
77 <input type="submit" class="button" value="<?php echo lang_get( 'change_configuration' )?>" />
78 </td>
79 </tr>
80  
81 </table>
82 </form>
83  
84 <?php
85 html_page_bottom();