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

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

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

revision 1.2, Sun Feb 26 18:21:32 2006 UTC revision 1.3, Thu Feb 15 20:48:27 2007 UTC
# Line 45  function phptemplate_system_themes($form Line 45  function phptemplate_system_themes($form
45    foreach (element_children($form) as $key) {    foreach (element_children($form) as $key) {
46      $row = array();      $row = array();
47      if (is_array($form[$key]['description'])) {      if (is_array($form[$key]['description'])) {
48        $row[] = form_render($form[$key]['description']) . form_render($form[$key]['screenshot']) ;        $row[] = drupal_render($form[$key]['description']) . drupal_render($form[$key]['screenshot']) ;
49        $row[] = array('data' => form_render($form['status'][$key]), 'align' => 'center');        $row[] = array('data' => drupal_render($form['status'][$key]), 'align' => 'center');
50        if ($form['theme_default']) {        if ($form['theme_default']) {
51          $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');
52        }        }
53      }      }
54      $rows[] = $row;      $rows[] = $row;
55    }    }
56    $header = array(t('Name/Screenshot'), t('Enabled'), t('Default'));    $header = array(t('Name/Screenshot'), t('Enabled'), t('Default'));
57    $output = theme('table', $header, $rows);    $output = theme('table', $header, $rows);
58    $output .= form_render($form);    $output .= drupal_render($form);
59    return $output;    return $output;
60  }  }
61  function phptemplate_system_user($form) {  function phptemplate_system_user($form) {
62    foreach (element_children($form) as $key) {    foreach (element_children($form) as $key) {
63      $row = array();      $row = array();
64      if (is_array($form[$key]['description'])) {      if (is_array($form[$key]['description'])) {
65        $row[] = form_render($form[$key]['description']) . form_render($form[$key]['screenshot']);        $row[] = drupal_render($form[$key]['description']) . drupal_render($form[$key]['screenshot']);
66        $row[] = array('data' => form_render($form['theme'][$key]), 'align' => 'center');        $row[] = array('data' => drupal_render($form['theme'][$key]), 'align' => 'center');
67      }      }
68      $rows[] = $row;      $rows[] = $row;
69    }    }

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

  ViewVC Help
Powered by ViewVC 1.1.2