b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: admin ] [ index: admin ] [ all elements ]

Source for file _set_plugins.form.php

Documentation is available at _set_plugins.form.php

  1. <?php
  2. /**
  3.  * This file implements the plugin settings form
  4.  *
  5.  * b2evolution - {@link http://b2evolution.net/}
  6.  * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
  7.  * @copyright (c)2003-2005 by Francois PLANQUE - {@link http://fplanque.net/}
  8.  *
  9.  * @package admin
  10.  */
  11. if!defined('DB_USER') ) die'Please, do not access this page directly.' );
  12. ?>
  13.  
  14. <form class="fform" name="form" action="b2options.php" method="post">
  15.     <input type="hidden" name="action" value="update" />
  16.     <input type="hidden" name="tab" value="<?php echo $tab?>" />
  17.     
  18.     <fieldset>
  19.         <legend><?php echo T_('Rendering plug-ins'?></legend>
  20.         <table class="grouped" cellspacing="0">
  21.             <tr>
  22.                 <th class="firstcol"><?php echo T_('Plug-in'?></th>
  23.                 <th><?php echo T_('Apply'?></th>
  24.                 <th><?php echo T_('Description'?></th>
  25.             </tr>
  26.             <?php
  27.             $Renderer->restart();     // make sure iterator is at start position
  28.             while$loop_RendererPlugin $Renderer->get_next() )
  29.             {
  30.             ?>
  31.             <tr>
  32.                 <td class="firstcol"><?php    $loop_RendererPlugin->name()?></td>
  33.                 <td><?php    echo $loop_RendererPlugin->apply_when?></td>
  34.                 <td><?php    $loop_RendererPlugin->short_desc()?></td>
  35.             </tr>
  36.             <?php
  37.             }
  38.             ?>
  39.         </table>
  40.     </fieldset>
  41.  
  42.     <fieldset>
  43.         <legend><?php echo T_('Toolbar plug-ins'?></legend>
  44.         <table class="grouped" cellspacing="0">
  45.             <tr>
  46.                 <th class="firstcol"><?php echo T_('Plug-in'?></th>
  47.                 <th><?php echo T_('Description'?></th>
  48.             </tr>
  49.             <?php
  50.             $Toolbars->restart();     // make sure iterator is at start position
  51.             while$loop_ToolbarPlugin $Toolbars->get_next() )
  52.             {
  53.             ?>
  54.             <tr>
  55.                 <td class="firstcol"><?php    $loop_ToolbarPlugin->name()?></td>
  56.                 <td><?php    $loop_ToolbarPlugin->short_desc()?></td>
  57.             </tr>
  58.             <?php
  59.             }
  60.             ?>
  61.         </table>
  62.     </fieldset>
  63.     
  64.     <?php if$current_User->check_perm'options''edit' ) )
  65.     
  66.         form_submit();
  67.     
  68.     ?>
  69.  
  70. </form>

Documentation generated on Tue, 20 May 2008 01:55:42 +0200 by phpDocumentor 1.4.2