[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/plugins/MantisCoreFormatting/pages/ -> config.php (source)

   1  <?php
   2  # MantisBT - A PHP based bugtracking system
   3  # Copyright (C) 2002 - 2011  MantisBT Team - mantisbt-dev@lists.sourceforge.net
   4  # MantisBT is free software: you can redistribute it and/or modify
   5  # it under the terms of the GNU General Public License as published by
   6  # the Free Software Foundation, either version 2 of the License, or
   7  # (at your option) any later version.
   8  #
   9  # MantisBT is distributed in the hope that it will be useful,
  10  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  # GNU General Public License for more details.
  13  #
  14  # You should have received a copy of the GNU General Public License
  15  # along with MantisBT.  If not, see <http://www.gnu.org/licenses/>.
  16  
  17  auth_reauthenticate( );
  18  access_ensure_global_level( config_get( 'manage_plugin_threshold' ) );
  19  
  20  html_page_top( lang_get( 'plugin_format_title' ) );
  21  
  22  print_manage_menu( );
  23  
  24  ?>
  25  
  26  <br/>
  27  <form action="<?php echo plugin_page( 'config_edit' )?>" method="post">
  28  <?php echo form_security_field( 'plugin_format_config_edit' ) ?>
  29  <table class="width50" cellspacing="1">
  30  
  31  <tr>
  32      <td class="form-title" colspan="3">
  33          <?php echo lang_get( 'plugin_format_title' ) . ': ' . lang_get( 'plugin_format_config' )?>
  34      </td>
  35  </tr>
  36  
  37  <tr <?php echo helper_alternate_class( )?>>
  38      <td class="category" width="60%">
  39          <?php echo lang_get( 'plugin_format_process_text' )?>
  40          <br /><span class="small"><?php echo lang_get( 'plugin_format_process_text_warning_notice' )?></span>
  41      </td>
  42      <td class="center" width="20%">
  43          <label><input type="radio" name="process_text" value="1" <?php echo( ON == plugin_config_get( 'process_text' ) ) ? 'checked="checked" ' : ''?>/>
  44              <?php echo lang_get( 'plugin_format_enabled' )?></label>
  45      </td>
  46      <td class="center" width="20%">
  47          <label><input type="radio" name="process_text" value="0" <?php echo( OFF == plugin_config_get( 'process_text' ) ) ? 'checked="checked" ' : ''?>/>
  48              <?php echo lang_get( 'plugin_format_disabled' )?></label>
  49      </td>
  50  </tr>
  51  
  52  <tr <?php echo helper_alternate_class( )?>>
  53      <th class="category">
  54          <?php echo lang_get( 'plugin_format_process_urls' )?>
  55      </th>
  56      <td class="center">
  57          <label><input type="radio" name="process_urls" value="1" <?php echo( ON == plugin_config_get( 'process_urls' ) ) ? 'checked="checked" ' : ''?>/>
  58              <?php echo lang_get( 'plugin_format_enabled' )?></label>
  59      </td>
  60      <td class="center">
  61          <label><input type="radio" name="process_urls" value="0" <?php echo( OFF == plugin_config_get( 'process_urls' ) ) ? 'checked="checked" ' : ''?>/>
  62              <?php echo lang_get( 'plugin_format_disabled' )?></label>
  63      </td>
  64  </tr>
  65  
  66  <tr <?php echo helper_alternate_class( )?>>
  67      <th class="category">
  68          <?php echo lang_get( 'plugin_format_process_buglinks' )?>
  69      </th>
  70      <td class="center">
  71          <label><input type="radio" name="process_buglinks" value="1" <?php echo( ON == plugin_config_get( 'process_buglinks' ) ) ? 'checked="checked" ' : ''?>/>
  72              <?php echo lang_get( 'plugin_format_enabled' )?></label>
  73      </td>
  74      <td class="center">
  75          <label><input type="radio" name="process_buglinks" value="0" <?php echo( OFF == plugin_config_get( 'process_buglinks' ) ) ? 'checked="checked" ' : ''?>/>
  76              <?php echo lang_get( 'plugin_format_disabled' )?></label>
  77      </td>
  78  </tr>
  79  
  80  <tr>
  81      <td class="center" colspan="3">
  82          <input type="submit" class="button" value="<?php echo lang_get( 'change_configuration' )?>" />
  83      </td>
  84  </tr>
  85  
  86  </table>
  87  </form>
  88  
  89  <?php
  90  html_page_bottom();


Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7