Depending on his plans at the time and when you asked him, George Lucas has variously said there would be one film, three films, six films, nine films or 12 films.

A trilogy of trilogies

It was widely reported in 1980 that there would be nine films: a trilogy of trilogies.

Al Walentis wrote in the May 25, 1980 Reading Eagle:


  Lucas originally envisioned "Star Wars" as a single feature, but his 200-page screenplay proved too unwieldy. He then began tinkering with his story line, cutting it apart, sorting our all the various subplots. The script finally was pieced together as three distinct trilogies. 
  
  "There are essentially nine films," Lucas said. "The first trilogy is about the young Ben Kenobi and the early life of Luke Skywalker's father when Luke was a young boy. The first trilogy takes place some 20 years before the second. About a year elapses between each story of the first trilogy. The whole adventure - encompassing the three trilogies - spans about 40 years."


Irvin Kershner, director of The Empire Strikes Back (1980), was also on-script with the nine-film plan. Tom Buckley of the N.Y. Times wrote on May 25, 1980's The Spokesman-Review:


  "I told George I didn't want to do a sequel," Kershner said."He said, 'I don't blame you. Neither would I, but this isn't. It's the second act of the second trilogy of nine films I plan to make in this theme. I want it to be better than mine.' ..."


On the same page of the same paper, Richard Freeman of Newhouse News wrote:


  Three years ago, Hamill signed up for three "Star Wars" films, of which "The Empire Strikes Back" is the second. The third - still in the planning stage - will be called "The revenge of the Jedi," and Hamill worries that these titles will suggest the various Pink Panther sequels to audiences.
  
  If things work out, these three movies will eventually constitute only a third of the projected nine-movie "Star Wars" saga, but Hamill doesn't plan to be in any of the others.


On the following page of the same paper, Aljean Harmetz of the New York Times wrote:


  The "Star Wars" George Lucas has created in his mind will take nine movies to tell. "Star Wars" is actually "Star Wars, Episode IV: A New Hope," the first movie of the second trilogy. "The Empire Strikes Back" is "Star Wars, Episode V," while "The Return of the Jedi' is episode VI. The first trilogy deals with the young Darth Vader and the young Ben Kenobi. At the end of the first trilogy, Luke Skywalker is four years old. Only the robots - R2D2 and C-3PO - will be characters in all the movies.
  
  He chose to start in the middle because the first trilogy is, he says, "more plot-oriented, more soap-operaish." He adds that the "central core problem" of "Star Wars" hasn't even been stated yet. Although he originally saw Star Wars as six movies, his "dream" was only for "Star Wars" to do well enough so that he could finish the three movies in the second trilogy. "If people had laughed 'Star Wars' off the screen, I'd have been less surprised than I was at what did happen," he says. "Until the day it opened, I felt it would do $16 million and, if I pushed hard, I could make 'Empire.'"


An interview with Harrison Ford in Lakeland Ledger of July 4, 1980:


  Like Mark Hamill (Luke Skywalker) and Carrie Fisher (Princess Leia), Ford has already signed up for the third "Star Wars" film, which is tentatively entitled "The Revenge of the Jedi." This will conclude the middle trilogy of the nine-part series, and Ford does not know whether it signals the end of Han Solo. It is up to George Lucas, the creator of the saga.
  
  "He has an idea of doing one (involving what happened to Solo) about 15 years from now, when I'll be 53. That's something I'd like to do."


The Phoenix of June 21, 1980 also mentions the three trilogies spanning 40 years, and:


  Thereafter, Lucas will go back to the first trilogy, starting with a story so far back that it does not include Darth Vader.
  
  If interest sustains, Star Wars could be in production well into the 1990s. David Prowse figures he'll get killed off (by Luke Skywalker?) in the seventh or eighth story.


At least one trilogy

And it seems at least one trilogy was planned from the start. One week after Star Wars came out, The Leader-Post of June 3, 1977 says:


  [Mark] Hamill said he believes Lucas plans a Star Wars trilogy because all the actors are under contract for two more films.


Reporting on the film's record-breaking success, an AP story in May 26, 1978's Schenectady Gazette says:


  Lucas had originally conceived of "Star Wars" as a trilogy. Work on the first sequel is well under way...


12 films

An article by Charles Champlin of the Los Angeles Times, printed in The Tuscaloosa News of June 15, 1979, quotes The Empire Strikes Back producer Gary Kurtz:


  Kurtz says that there are on paper the makings of a grand design of 12 films, including three stories that would historically precede the Skywalker takes (prequels, as they are dreadfully know these days).


A May 5, 1980 article quotes David Prowse as saying "They plan to do 12 movies."

13 movies

Finally, this 1979 promo advert for Kenner Star Wars claims:


  "That's right, Star Wars is forever. George Lucas and 20th Century Fox have plans for twelve more block-busting chapters to the Star Wars story.


So does that make 13?

15 and more

Lucas is selling Lucasfilm and the Star Wars rights to the Walt Disney Company who according to CNN (October 31, 2012) will make at least three sequel films, and then another film every two years (which might might not be sequels), and also possibly a television series:


  "It's now time for me to pass Star Wars on to a new generation of filmmakers," George Lucas said in a written statement. "I've always believed that Star Wars could live beyond me, and I thought it was important to set up the transition during my lifetime."
  
  Lucas said he will work as a creative consultant on Star Wars Episode 7, the first of a planned new trilogy of live-action Star Wars movies. It is targeted for release in 2015, Disney said.
  
  Disney hopes to essentially relaunch the Star Wars film franchise, which had its last installment in 2005 with Revenge of the Sith. Following the three planned sequels, the company envisions releasing even more Star Wars movies at a rate of a new film every two to three years.
  
  Future movies may not be sequels but movies that focus on fringe characters. Disney also believes there is potential for a television series.


Weren't there originally going to be nine Star Wars films?
I'm trying to create a form table with a column of checkboxes. The theming isn't working with the code below. All help is appreciated :)

myadmin.module

function myadmin_menu() {

  $weight=0;

  $t = get_t();

  $items = array();

  $items['myadmin_dispute'] = array(
    'title' =&gt; 'Dispute Queue',
    'access arguments' =&gt; array('view myadmin'),
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('myadmin_dispute'),
    'file' =&gt; 'myadmin_dispute.php',
    'type' =&gt; MENU_NORMAL_ITEM,
    'expanded' =&gt; true,
    'weight' =&gt; $weight++,
    'menu_name' =&gt; 'myadmin',
    'module' =&gt; 'myadmin',
  );
}


myadmin_dispute.php

function myadmin_dispute($form_state) {
    //add output - css and javascript to include
    drupal_add_js ( drupal_get_path ( 'module', 'myadmin' ) . '/scripts/jquery.tablesorter.js' );
    drupal_add_js ( drupal_get_path ( 'module', 'myadmin' ) . '/scripts/myadmin.js' );
    drupal_add_css ( drupal_get_path ( 'module', 'myadmin' ) . '/blue/style.css' );


    $disputes = array
      (
        array('uid' =&gt; 1, 'first' =&gt; 'Joe', 'last' =&gt; 'Smith'),
        array('uid' =&gt; 2, 'first' =&gt; 'Susan', 'last' =&gt; 'Doe'),
        array('uid' =&gt; 3, 'first' =&gt; 'John', 'last' =&gt; 'Doe'),
      );

    foreach($disputes as $dispute)
      {
        $checkboxes[$dispute['uid']] = ''; 
        $form[$dispute['uid']]['first_name'] = array 
        (
          '#value' =&gt; $dispute['first'],
        );
        $form[$dispute['uid']]['last_name'] = array 
        (
          '#value' =&gt; $dispute['last'],
        );
      }


    $form['checkboxes'] = array
      (
        '#type' =&gt; 'checkboxes',
        '#options' =&gt; $checkboxes, 
      );
      $form['#theme'] = 'dispute_theme';

      return $form;

}


function myadmin_dispute_theme()
{
  return array
  (
    'dispute_theme' =&gt; array
    (
      'arguments' =&gt; array('form' =&gt; NULL),
    ),
  );
}


function theme_dispute_theme($form)
{
  $rows = array();
  foreach(element_children($form['checkboxes']) as $uid) 
  {
    $row = array(); 
    $row[] = drupal_render($form['checkboxes'][$uid]); 
    $row[] = drupal_render($form[$uid]['first_name']); 
    $row[] = drupal_render($form[$uid]['last_name']); 
    $rows[] = $row;
  }

  if(count($rows))
  {
    $header = array(theme('table_select_header_cell') , t('First Name'), t('Last Name')); 
  }
  else
  {
    $header = array(t('First Name'), t('Last Name')); 
    $row = array();
    $row[] = array
    (
      'data' =&gt; t('No users were found'),
      'colspan' =&gt; 2,
      'style' =&gt; 'text-align:center',
    );
    $rows[] = $row;
  }

  $output = theme('table', $header, $rows);
  return $output . drupal_render($form); 
}


function myadmin_dispute_submit($form_id, &amp;$form_state) {   

}




Update, this is needs to work for drupal 6 instance.
