Development

Changeset 16804

You must first sign up to be able to contribute.

Changeset 16804

Show
Ignore:
Timestamp:
03/31/09 12:50:41 (4 years ago)
Author:
eden159
Message:

Fixed some design bugs.
Included the prototype.js library

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfBugsPlugin/lib/model/map/SfWebpanelBugsMapBuilder.php

    r12680 r16804  
    66 * 
    77 * 
    8  * This class was autogenerated by Propel 1.3.0 on: 
     8 * This class was autogenerated by Propel 1.3.0-dev on: 
    99 * 
    10  * 11/06/08 12:58:05 
     10 * 03/31/09 11:53:05 
    1111 * 
    1212 * 
     
    6969    $tMap->addPrimaryKey('ID', 'Id', 'INTEGER', true, null); 
    7070 
     71    $tMap->addColumn('TITLE', 'Title', 'VARCHAR', false, 50); 
     72 
    7173    $tMap->addColumn('MODULE_NAME', 'ModuleName', 'VARCHAR', false, 150); 
    7274 
     
    7779    $tMap->addColumn('DATE_ADDED', 'DateAdded', 'TIMESTAMP', false, null); 
    7880 
    79     $tMap->addColumn('TITLE', 'Title', 'VARCHAR', false, 150); 
    80  
    8181    $tMap->addColumn('DESCRIPTION', 'Description', 'LONGVARCHAR', false, null); 
    8282 
  • plugins/sfBugsPlugin/lib/model/om/BaseSfWebpanelBugs.php

    r12680 r16804  
    66 *  
    77 * 
    8  * This class was autogenerated by Propel 1.3.0 on: 
     8 * This class was autogenerated by Propel 1.3.0-dev on: 
    99 * 
    10  * 11/06/08 12:58:05 
     10 * 03/31/09 11:53:05 
    1111 * 
    1212 * @package    plugins.sfBugsPlugin.lib.model.om 
     
    3232 
    3333  /** 
     34   * The value for the title field. 
     35   * @var        string 
     36   */ 
     37  protected $title; 
     38 
     39  /** 
    3440   * The value for the module_name field. 
    3541   * @var        string 
     
    5460   */ 
    5561  protected $date_added; 
    56  
    57   /** 
    58    * The value for the title field. 
    59    * @var        string 
    60    */ 
    61   protected $title; 
    6262 
    6363  /** 
     
    117117  { 
    118118    return $this->id; 
     119  } 
     120 
     121  /** 
     122   * Get the [title] column value. 
     123   *  
     124   * @return     string 
     125   */ 
     126  public function getTitle() 
     127  { 
     128    return $this->title; 
    119129  } 
    120130 
     
    188198 
    189199  /** 
    190    * Get the [title] column value. 
    191    *  
    192    * @return     string 
    193    */ 
    194   public function getTitle() 
    195   { 
    196     return $this->title; 
    197   } 
    198  
    199   /** 
    200200   * Get the [description] column value. 
    201201   *  
     
    236236    return $this; 
    237237  } // setId() 
     238 
     239  /** 
     240   * Set the value of [title] column. 
     241   *  
     242   * @param      string $v new value 
     243   * @return     SfWebpanelBugs The current object (for fluent API support) 
     244   */ 
     245  public function setTitle($v) 
     246  { 
     247    if ($v !== null) { 
     248      $v = (string) $v; 
     249    } 
     250 
     251    if ($this->title !== $v) { 
     252      $this->title = $v; 
     253      $this->modifiedColumns[] = SfWebpanelBugsPeer::TITLE; 
     254    } 
     255 
     256    return $this; 
     257  } // setTitle() 
    238258 
    239259  /** 
     
    347367 
    348368  /** 
    349    * Set the value of [title] column. 
    350    *  
    351    * @param      string $v new value 
    352    * @return     SfWebpanelBugs The current object (for fluent API support) 
    353    */ 
    354   public function setTitle($v) 
    355   { 
    356     if ($v !== null) { 
    357       $v = (string) $v; 
    358     } 
    359  
    360     if ($this->title !== $v) { 
    361       $this->title = $v; 
    362       $this->modifiedColumns[] = SfWebpanelBugsPeer::TITLE; 
    363     } 
    364  
    365     return $this; 
    366   } // setTitle() 
    367  
    368   /** 
    369369   * Set the value of [description] column. 
    370370   *  
     
    448448 
    449449      $this->id = ($row[$startcol + 0] !== null) ? (int) $row[$startcol + 0] : null; 
    450       $this->module_name = ($row[$startcol + 1] !== null) ? (string) $row[$startcol + 1] : null; 
    451       $this->action_name = ($row[$startcol + 2] !== null) ? (string) $row[$startcol + 2] : null; 
    452       $this->app_name = ($row[$startcol + 3] !== null) ? (string) $row[$startcol + 3] : null; 
    453       $this->date_added = ($row[$startcol + 4] !== null) ? (string) $row[$startcol + 4] : null; 
    454       $this->title = ($row[$startcol + 5] !== null) ? (string) $row[$startcol + 5] : null; 
     450      $this->title = ($row[$startcol + 1] !== null) ? (string) $row[$startcol + 1] : null; 
     451      $this->module_name = ($row[$startcol + 2] !== null) ? (string) $row[$startcol + 2] : null; 
     452      $this->action_name = ($row[$startcol + 3] !== null) ? (string) $row[$startcol + 3] : null; 
     453      $this->app_name = ($row[$startcol + 4] !== null) ? (string) $row[$startcol + 4] : null; 
     454      $this->date_added = ($row[$startcol + 5] !== null) ? (string) $row[$startcol + 5] : null; 
    455455      $this->description = ($row[$startcol + 6] !== null) ? (string) $row[$startcol + 6] : null; 
    456456      $this->solved = ($row[$startcol + 7] !== null) ? (int) $row[$startcol + 7] : null; 
     
    774774        break; 
    775775      case 1: 
     776        return $this->getTitle(); 
     777        break; 
     778      case 2: 
    776779        return $this->getModuleName(); 
    777780        break; 
    778       case 2
     781      case 3
    779782        return $this->getActionName(); 
    780783        break; 
    781       case 3
     784      case 4
    782785        return $this->getAppName(); 
    783786        break; 
    784       case 4
     787      case 5
    785788        return $this->getDateAdded(); 
    786         break; 
    787       case 5: 
    788         return $this->getTitle(); 
    789789        break; 
    790790      case 6: 
     
    816816    $result = array( 
    817817      $keys[0] => $this->getId(), 
    818       $keys[1] => $this->getModuleName(), 
    819       $keys[2] => $this->getActionName(), 
    820       $keys[3] => $this->getAppName(), 
    821       $keys[4] => $this->getDateAdded(), 
    822       $keys[5] => $this->getTitle(), 
     818      $keys[1] => $this->getTitle(), 
     819      $keys[2] => $this->getModuleName(), 
     820      $keys[3] => $this->getActionName(), 
     821      $keys[4] => $this->getAppName(), 
     822      $keys[5] => $this->getDateAdded(), 
    823823      $keys[6] => $this->getDescription(), 
    824824      $keys[7] => $this->getSolved(), 
     
    858858        break; 
    859859      case 1: 
     860        $this->setTitle($value); 
     861        break; 
     862      case 2: 
    860863        $this->setModuleName($value); 
    861864        break; 
    862       case 2
     865      case 3
    863866        $this->setActionName($value); 
    864867        break; 
    865       case 3
     868      case 4
    866869        $this->setAppName($value); 
    867870        break; 
    868       case 4
     871      case 5
    869872        $this->setDateAdded($value); 
    870         break; 
    871       case 5: 
    872         $this->setTitle($value); 
    873873        break; 
    874874      case 6: 
     
    903903 
    904904    if (array_key_exists($keys[0], $arr)) $this->setId($arr[$keys[0]]); 
    905     if (array_key_exists($keys[1], $arr)) $this->setModuleName($arr[$keys[1]]); 
    906     if (array_key_exists($keys[2], $arr)) $this->setActionName($arr[$keys[2]]); 
    907     if (array_key_exists($keys[3], $arr)) $this->setAppName($arr[$keys[3]]); 
    908     if (array_key_exists($keys[4], $arr)) $this->setDateAdded($arr[$keys[4]]); 
    909     if (array_key_exists($keys[5], $arr)) $this->setTitle($arr[$keys[5]]); 
     905    if (array_key_exists($keys[1], $arr)) $this->setTitle($arr[$keys[1]]); 
     906    if (array_key_exists($keys[2], $arr)) $this->setModuleName($arr[$keys[2]]); 
     907    if (array_key_exists($keys[3], $arr)) $this->setActionName($arr[$keys[3]]); 
     908    if (array_key_exists($keys[4], $arr)) $this->setAppName($arr[$keys[4]]); 
     909    if (array_key_exists($keys[5], $arr)) $this->setDateAdded($arr[$keys[5]]); 
    910910    if (array_key_exists($keys[6], $arr)) $this->setDescription($arr[$keys[6]]); 
    911911    if (array_key_exists($keys[7], $arr)) $this->setSolved($arr[$keys[7]]); 
     
    922922 
    923923    if ($this->isColumnModified(SfWebpanelBugsPeer::ID)) $criteria->add(SfWebpanelBugsPeer::ID, $this->id); 
     924    if ($this->isColumnModified(SfWebpanelBugsPeer::TITLE)) $criteria->add(SfWebpanelBugsPeer::TITLE, $this->title); 
    924925    if ($this->isColumnModified(SfWebpanelBugsPeer::MODULE_NAME)) $criteria->add(SfWebpanelBugsPeer::MODULE_NAME, $this->module_name); 
    925926    if ($this->isColumnModified(SfWebpanelBugsPeer::ACTION_NAME)) $criteria->add(SfWebpanelBugsPeer::ACTION_NAME, $this->action_name); 
    926927    if ($this->isColumnModified(SfWebpanelBugsPeer::APP_NAME)) $criteria->add(SfWebpanelBugsPeer::APP_NAME, $this->app_name); 
    927928    if ($this->isColumnModified(SfWebpanelBugsPeer::DATE_ADDED)) $criteria->add(SfWebpanelBugsPeer::DATE_ADDED, $this->date_added); 
    928     if ($this->isColumnModified(SfWebpanelBugsPeer::TITLE)) $criteria->add(SfWebpanelBugsPeer::TITLE, $this->title); 
    929929    if ($this->isColumnModified(SfWebpanelBugsPeer::DESCRIPTION)) $criteria->add(SfWebpanelBugsPeer::DESCRIPTION, $this->description); 
    930930    if ($this->isColumnModified(SfWebpanelBugsPeer::SOLVED)) $criteria->add(SfWebpanelBugsPeer::SOLVED, $this->solved); 
     
    983983  { 
    984984 
     985    $copyObj->setTitle($this->title); 
     986 
    985987    $copyObj->setModuleName($this->module_name); 
    986988 
     
    990992 
    991993    $copyObj->setDateAdded($this->date_added); 
    992  
    993     $copyObj->setTitle($this->title); 
    994994 
    995995    $copyObj->setDescription($this->description); 
  • plugins/sfBugsPlugin/lib/model/om/BaseSfWebpanelBugsPeer.php

    r12680 r16804  
    66 *  
    77 * 
    8  * This class was autogenerated by Propel 1.3.0 on: 
     8 * This class was autogenerated by Propel 1.3.0-dev on: 
    99 * 
    10  * 11/06/08 12:58:05 
     10 * 03/31/09 11:53:05 
    1111 * 
    1212 * @package    plugins.sfBugsPlugin.lib.model.om 
     
    3232  const ID = 'sf_webpanel_bugs.ID'; 
    3333 
     34  /** the column name for the TITLE field */ 
     35  const TITLE = 'sf_webpanel_bugs.TITLE'; 
     36 
    3437  /** the column name for the MODULE_NAME field */ 
    3538  const MODULE_NAME = 'sf_webpanel_bugs.MODULE_NAME'; 
     
    4346  /** the column name for the DATE_ADDED field */ 
    4447  const DATE_ADDED = 'sf_webpanel_bugs.DATE_ADDED'; 
    45  
    46   /** the column name for the TITLE field */ 
    47   const TITLE = 'sf_webpanel_bugs.TITLE'; 
    4848 
    4949  /** the column name for the DESCRIPTION field */ 
     
    7474   */ 
    7575  private static $fieldNames = array ( 
    76     BasePeer::TYPE_PHPNAME => array ('Id', 'ModuleName', 'ActionName', 'AppName', 'DateAdded', 'Title', 'Description', 'Solved', ), 
    77     BasePeer::TYPE_STUDLYPHPNAME => array ('id', 'moduleName', 'actionName', 'appName', 'dateAdded', 'title', 'description', 'solved', ), 
    78     BasePeer::TYPE_COLNAME => array (self::ID, self::MODULE_NAME, self::ACTION_NAME, self::APP_NAME, self::DATE_ADDED, self::TITLE, self::DESCRIPTION, self::SOLVED, ), 
    79     BasePeer::TYPE_FIELDNAME => array ('id', 'module_name', 'action_name', 'app_name', 'date_added', 'title', 'description', 'solved', ), 
     76    BasePeer::TYPE_PHPNAME => array ('Id', 'Title', 'ModuleName', 'ActionName', 'AppName', 'DateAdded', 'Description', 'Solved', ), 
     77    BasePeer::TYPE_STUDLYPHPNAME => array ('id', 'title', 'moduleName', 'actionName', 'appName', 'dateAdded', 'description', 'solved', ), 
     78    BasePeer::TYPE_COLNAME => array (self::ID, self::TITLE, self::MODULE_NAME, self::ACTION_NAME, self::APP_NAME, self::DATE_ADDED, self::DESCRIPTION, self::SOLVED, ), 
     79    BasePeer::TYPE_FIELDNAME => array ('id', 'title', 'module_name', 'action_name', 'app_name', 'date_added', 'description', 'solved', ), 
    8080    BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, ) 
    8181  ); 
     
    8888   */ 
    8989  private static $fieldKeys = array ( 
    90     BasePeer::TYPE_PHPNAME => array ('Id' => 0, 'ModuleName' => 1, 'ActionName' => 2, 'AppName' => 3, 'DateAdded' => 4, 'Title' => 5, 'Description' => 6, 'Solved' => 7, ), 
    91     BasePeer::TYPE_STUDLYPHPNAME => array ('id' => 0, 'moduleName' => 1, 'actionName' => 2, 'appName' => 3, 'dateAdded' => 4, 'title' => 5, 'description' => 6, 'solved' => 7, ), 
    92     BasePeer::TYPE_COLNAME => array (self::ID => 0, self::MODULE_NAME => 1, self::ACTION_NAME => 2, self::APP_NAME => 3, self::DATE_ADDED => 4, self::TITLE => 5, self::DESCRIPTION => 6, self::SOLVED => 7, ), 
    93     BasePeer::TYPE_FIELDNAME => array ('id' => 0, 'module_name' => 1, 'action_name' => 2, 'app_name' => 3, 'date_added' => 4, 'title' => 5, 'description' => 6, 'solved' => 7, ), 
     90    BasePeer::TYPE_PHPNAME => array ('Id' => 0, 'Title' => 1, 'ModuleName' => 2, 'ActionName' => 3, 'AppName' => 4, 'DateAdded' => 5, 'Description' => 6, 'Solved' => 7, ), 
     91    BasePeer::TYPE_STUDLYPHPNAME => array ('id' => 0, 'title' => 1, 'moduleName' => 2, 'actionName' => 3, 'appName' => 4, 'dateAdded' => 5, 'description' => 6, 'solved' => 7, ), 
     92    BasePeer::TYPE_COLNAME => array (self::ID => 0, self::TITLE => 1, self::MODULE_NAME => 2, self::ACTION_NAME => 3, self::APP_NAME => 4, self::DATE_ADDED => 5, self::DESCRIPTION => 6, self::SOLVED => 7, ), 
     93    BasePeer::TYPE_FIELDNAME => array ('id' => 0, 'title' => 1, 'module_name' => 2, 'action_name' => 3, 'app_name' => 4, 'date_added' => 5, 'description' => 6, 'solved' => 7, ), 
    9494    BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, ) 
    9595  ); 
     
    176176    $criteria->addSelectColumn(SfWebpanelBugsPeer::ID); 
    177177 
     178    $criteria->addSelectColumn(SfWebpanelBugsPeer::TITLE); 
     179 
    178180    $criteria->addSelectColumn(SfWebpanelBugsPeer::MODULE_NAME); 
    179181 
     
    183185 
    184186    $criteria->addSelectColumn(SfWebpanelBugsPeer::DATE_ADDED); 
    185  
    186     $criteria->addSelectColumn(SfWebpanelBugsPeer::TITLE); 
    187187 
    188188    $criteria->addSelectColumn(SfWebpanelBugsPeer::DESCRIPTION); 
  • plugins/sfBugsPlugin/modules/sfWebPanelBugs/templates/_bugs.php

    r16802 r16804  
    1212    } 
    1313  ?> 
    14   <tr><td style="padding-left:20px; width:200px;"><?php echo $bug->getTitle(); ?></td><td align="right" style="padding-left:20px;"> 
     14  <tr><td style="padding-left:20px; width:280px;"><?php echo $bug->getTitle(); ?></td><td align="right" style="padding-left:20px;"> 
    1515  <?php echo link_to_remote('View', array('url'=>'sfWebPanelBugs/view?id=' . $bug->getId().'&mod='.$module.'&act='.$action.'&app='.$app, 'update' => array('success' => 'sf_webpanel_bug_list'))) ?> 
    1616  <?php 
     
    2121    } 
    2222  ?> 
    23   <?php echo link_to_remote('Remove', array('url'=>'sfWebPanelBugs/delete?id=' . $bug->getId().'&mod='.$module.'&act='.$action.'&app='.$app, 'update' => array('success' => 'sf_webpanel_bug_list'), array('confirm' => 'Are you sure you want to delete this bug?'))) ?></td></tr> 
     23  <?php echo link_to_remote('Remove', array('url'=>'sfWebPanelBugs/delete?id=' . $bug->getId().'&mod='.$module.'&act='.$action.'&app='.$app, 'update' => array('success' => 'sf_webpanel_bug_list')), array('confirm' => 'Are you sure you want to delete this bug?')) ?></td></tr> 
    2424  <?php endforeach; ?> 
    2525</table> 
  • plugins/sfBugsPlugin/modules/sfWebPanelBugs/templates/_list.php

    r16802 r16804  
    1010 
    1111<form id="sf_webpanel_bug_form"> 
    12 <table
     12<table class="sf_webpanel_send_table"
    1313  <tbody> 
    1414  <tr> 
  • plugins/sfBugsPlugin/web/css/sfwebpanel_bugs.css

    r12679 r16804  
    11#sfWebDebugbugsDetails {font-family:Tahoma; font-size:11px;} 
    22#sfWebDebugbugsDetails h1 {font-size:12px; font-weight:bold; margin:0; padding:6px 0 6px 0;} 
    3 #sfWebDebugbugsDetails table {font-size:11px; width:250px;} 
     3#sfWebDebugbugsDetails table {font-size:11px; width:450px;} 
    44#sfWebDebugbugsDetails a:link {color:#0000ff; text-decoration:underline;} 
    55#sfWebDebugbugsDetails a:visited {color:#55007f; text-decoration:underline;} 
    66#sfWebDebugbugsDetails a:hover {text-decoration:none;} 
    77#sfWebDebugbugsDetails #sf_webpanel_bug_form {font-size:11px;} 
     8#sfWebDebugbugsDetails .sf_webpanel_bug_form {width:250px;}