Beispiel #1
0
<h1><?php 
echo __('Extra fields') . ' (' . __($sf_request->getParameter('bind_type')) . ')';
?>
</h1>

<?php 
$lc = new cfgListingController($sf_context->getModuleName(), 'bind_type=' . $sf_request->getParameter('bind_type', 'projects'));
echo $lc->insert_button() . ' ' . $lc->sort_button();
?>

<div style="margin-top: 7px;">
<?php 
echo link_to_mmodalbox(__('Update Selected'), 'extraFields/multipleEdit?bind_type=' . $sf_request->getParameter('bind_type'));
?>
</div>

<table   class="tableListing">
  <thead>
    <tr>     
      <th  style="width: 20px;"><input name="multiple_selected_all" id="multiple_selected_all" type="checkbox"></th> 
      <th><?php 
echo __('Action');
?>
</th>
      <th><?php 
echo __('Id');
?>
</th>
      <th><?php 
echo __('Type');
?>
Beispiel #2
0
$lc = new cfgListingController($sf_context->getModuleName());
$extra_fields = ExtraFieldsList::getFieldsByType('users', $sf_user, true);
?>


<table width="100%">
  <tr>
    <td>
      <table>
        <tr>          
          <td style="padding-right: 15px;"><?php 
echo $lc->insert_button(__('Add User'));
?>
</td>                    
          <td style="padding-right: 15px;"><?php 
echo link_to_mmodalbox(__('Export Selected'), 'users/export');
?>
</td>
          <td><?php 
echo count($userss) > sfConfig::get('app_rows_per_page') ? get_partial('global/jsPager', array('id' => 'pager')) : '';
?>
</td>
        </tr>
      </table>
    </td>
    <td align="right">
      <form onSubmit="return false">
      <table>
        <tr>
          <td><?php 
echo __('Quick Search');