</th>
           <th><?php 
echo gettext('Priority');
?>
</th>
          </tr>
         </thead>
         <tbody class="form_data_line_tbody user_dashboard_config_values" >
          <?php 
$count = 0;
foreach ($user_dashboard_config_object as $user_dashboard_config) {
    $report_a = [];
    if (!empty($user_dashboard_config->report_type)) {
        switch ($user_dashboard_config->report_type) {
            case 'block':
                $block_i = block::find_all();
                foreach ($block_i as $block_data) {
                    $block_id = $block_data->block_id;
                    $report_a[$block_id] = $block_data->title;
                }
                break;
            case 'view':
                $view_i = view::find_all();
                foreach ($view_i as $view_data) {
                    $view_id = $view_data->view_id;
                    $report_a[$view_id] = $view_data->view_name;
                }
                break;
            case 'extn_report':
                $view_i = extn_report::find_all();
                foreach ($view_i as $view_data) {
Example #2
0
?>
</li>
      <li><?php 
$f->l_select_field_from_object('category_type', category::category_types(), 'option_line_code', 'option_line_value', ${$class}->category_type, 'category_type');
?>
</li>
      <li><?php 
$f->l_text_field_d('description');
?>
</li>
      <li><?php 
$f->l_text_field_d('priority');
?>
</li>
      <li><?php 
$f->l_select_field_from_object('content_block_id', block::find_all(), 'block_id', 'name', ${$class}->content_block_id, 'content_block_id');
?>
</li>
      <li><?php 
$f->l_select_field_from_object('filter_catalog_id', sys_catalog_header::find_all(), 'sys_catalog_header_id', 'catalog', ${$class}->filter_catalog_id, 'filter_catalog_id');
?>
</li>
     </ul>
    </div>
    <div id="tabsHeader-2" class="tabContent">
     <div> <?php 
echo extn_image::ino_images($class, ${$class}->category_id);
?>
 </div>
    </div>
    <div id="tabsHeader-3" class="tabContent">