// cPanel - Widen Textarea v0.1
// Made By Luke Stevenson {http://www.lucanos.com/}
// Distributed and Maintained via GMVC
// Last updated: 23 February 2007
//
//   Widens the textarea in the cPanel File Edit page. Defaults to 160
// characters wide, but can be adjusted by modifying the script content.
//
// ==UserScript==
// @name              cPanel - Widen Textarea
// @namespace         http://gmvc.lucanos.com/
// @description       (v0.1) Widens the textarea in the cPanel File Edit page.
// @include           */frontend/x/files/editit.html*
// ==/UserScript==

var newCols = "160"; // Characters wide
var newRows = false; // Rows high

var theField = unsafeWindow.document.sform.page;
if ( theField ) {
  if ( newCols ) {
    theField.cols=newCols;
  }
  if ( newRows ) {
    theField.rows=newRows;
  }
}