/[drupal]/contributions/themes/blue_bars/template.php
ViewVC logotype

Diff of /contributions/themes/blue_bars/template.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2, Thu Feb 23 02:59:33 2006 UTC revision 1.3, Wed Jan 23 03:32:52 2008 UTC
# Line 18  function phptemplate_system_themes($form Line 18  function phptemplate_system_themes($form
18    foreach (element_children($form) as $key) {    foreach (element_children($form) as $key) {
19      $row = array();      $row = array();
20      if (is_array($form[$key]['description'])) {      if (is_array($form[$key]['description'])) {
21        $row[] = form_render($form[$key]['description']) . form_render($form[$key]['screenshot']) ;        $row[] = drupal_render($form[$key]['description']) . drupal_render($form[$key]['screenshot']) ;
22        $row[] = array('data' => form_render($form['status'][$key]), 'align' => 'center');        $row[] = array('data' => drupal_render($form['status'][$key]), 'align' => 'center');
23        if ($form['theme_default']) {        if ($form['theme_default']) {
24          $row[] = array('data' => form_render($form['theme_default'][$key]) . form_render($form[$key]['operations']), 'align' => 'center');          $row[] = array('data' => drupal_render($form['theme_default'][$key]) . drupal_render($form[$key]['operations']), 'align' => 'center');
25        }        }
26      }      }
27      $rows[] = $row;      $rows[] = $row;
28    }    }
29    $header = array(t('Name/Screenshot'), t('Enabled'), t('Default'));    $header = array(t('Name/Screenshot'), t('Enabled'), t('Default'));
30    $output = theme('table', $header, $rows);    $output = theme('table', $header, $rows);
31    $output .= form_render($form);    $output .= drupal_render($form);
32    return $output;    return $output;
33  }  }
34  function phptemplate_system_user($form) {  function phptemplate_system_user($form) {
35    foreach (element_children($form) as $key) {    foreach (element_children($form) as $key) {
36      $row = array();      $row = array();
37      if (is_array($form[$key]['description'])) {      if (is_array($form[$key]['description'])) {
38        $row[] = form_render($form[$key]['description']) . form_render($form[$key]['screenshot']);        $row[] = drupal_render($form[$key]['description']) . drupal_render($form[$key]['screenshot']);
39        $row[] = array('data' => form_render($form['theme'][$key]), 'align' => 'center');        $row[] = array('data' => drupal_render($form['theme'][$key]), 'align' => 'center');
40      }      }
41      $rows[] = $row;      $rows[] = $row;
42    }    }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2