Take out old prod dev directories from demo.
Add Registry.php
Remove Phing directory.
+++ /dev/null
-<?php
-
-/**
- * ImageStyleCode.php
- *
- * PHP version 5.2
- *
- * @category Toolkit
- * @package Package
- * @author Steve Sutton <steve@gaslightmedia.com>
- * @copyright 2012 Gaslight Media
- * @license Gaslight Media
- * @version SVN: $Id$
- * @link <>
- */
-
-/**
- * ImageStyleCode
- *
- * Description of imageStyleCode
- *
- * @category Photos
- * @package Photos
- * @author Steve Sutton <steve@gaslightmedia.com>
- * @copyright 2012 Gaslight Media
- * @license Gaslight Media
- * @version Release: 1.0
- * @link <>
- */
-class ImageStyleCode
-{
- protected $id;
- protected $owner_id;
- protected $code;
- protected $filetype = 1;
- protected $descr = 'Created using Phing';
- protected $format = 'JPG';
- protected $compress_type = 8;
- protected $compression = 70;
- protected $resize = false;
- protected $size_mode = 1;
- protected $width = 287;
- protected $height = 0;
- protected $resize_filter = 0;
- protected $max_size = true;
- protected $max_width = 287;
- protected $max_height = 0;
- protected $max_storage = 0;
- protected $composite = false;
- protected $comp_image = null;
- protected $comp_type = 40;
- protected $comp_x = 0;
- protected $comp_y = 0;
- protected $comp_rel_pos = 1;
- protected $border = false;
- protected $border_color = null;
- protected $border_x = 0;
- protected $border_y = 0;
- protected $commands = null;
- protected $resolution_x = 72;
- protected $resolution_y = 72;
- protected $resolution = false;
- protected $resize_blur = 1;
- protected $resolution_blur = 1;
- protected $resolution_filter = 0;
- protected $aspect_ratio = false;
- protected $trim_h = 0;
- protected $trim_w = 0;
- protected $aspect_h = 1;
- protected $aspect_w = 1;
- protected $no_expand = false;
-
- private function __construct($values)
- {
- extract($values);
- $this->setAspect_h($aspect_h)
- ->setAspect_ratio($aspect_ratio)
- ->setAspect_w($aspect_w)
- ->setBorder($border)
- ->setBorder_color($border_color)
- ->setBorder_x($border_x)
- ->setBorder_y($border_y)
- ->setCode($code)
- ->setCommands($commands)
- ->setComp_image($comp_image)
- ->setComp_rel_pos($comp_rel_pos)
- ->setComp_type($comp_type)
- ->setComp_x($comp_x)
- ->setComp_y($comp_y)
- ->setComposite($composite)
- ->setCompress_type($compress_type)
- ->setCompression($compression)
- ->setDescr($descr)
- ->setFiletype($filetype)
- ->setFormat($format)
- ->setHeight($height)
- ->setMax_height($max_height)
- ->setMax_size($max_size)
- ->setMax_storage($max_storage)
- ->setMax_width($max_width)
- ->setNo_expand($no_expand)
- ->setOwner_id($owner_id)
- ->setResize($resize)
- ->setResize_blur($resize_blur)
- ->setResize_filter($resize_filter)
- ->setResolution($resolution)
- ->setResolution_filter($resolution_filter)
- ->setResolution_blur($resolution_blur)
- ->setResolution_x($resolution_x)
- ->setResolution_y($resolution_y)
- ->setSize_mode($size_mode)
- ->setTrim_h($trim_h)
- ->setTrim_w($trim_w)
- ->setWidth($width);
- if ($id) {
- $this->setId($id);
- }
- return $this;
- }
-
-
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * sets the id of object
- *
- * @param Int $id set the id of object if not numeric throw Exception
- *
- * @return Toolkit_Table
- */
- public function setId($id)
- {
- if (!is_numeric($id)) {
- throw new Exception('id must be an integer');
- }
- if (!$this->id) {
- $this->id = $id;
- }
- return $this;
- }
-
- public function getOwner_id()
- {
- return $this->owner_id;
- }
-
- public function setOwner_id($owner_id)
- {
- $this->owner_id = $owner_id;
- return $this;
- }
-
- public function getCode()
- {
- return $this->code;
- }
-
- public function setCode($code)
- {
- $this->code = $code;
- return $this;
- }
-
- public function getFiletype()
- {
- return $this->filetype;
- }
-
- public function setFiletype($filetype)
- {
- $this->filetype = $filetype;
- return $this;
- }
-
- public function getDescr()
- {
- return $this->descr;
- }
-
- public function setDescr($descr)
- {
- $this->descr = $descr;
- return $this;
- }
-
- public function getFormat()
- {
- return $this->format;
- }
-
- public function setFormat($format)
- {
- $this->format = $format;
- return $this;
- }
-
- public function getCompress_type()
- {
- return $this->compress_type;
- }
-
- public function setCompress_type($compress_type)
- {
- $this->compress_type = $compress_type;
- return $this;
- }
-
- public function getCompression()
- {
- return $this->compression;
- }
-
- public function setCompression($compression)
- {
- $this->compression = $compression;
- return $this;
- }
-
- public function getResize()
- {
- return $this->resize;
- }
-
- public function setResize($resize)
- {
- $this->resize = $resize;
- return $this;
- }
-
- public function getSize_mode()
- {
- return $this->size_mode;
- }
-
- public function setSize_mode($size_mode)
- {
- $this->size_mode = $size_mode;
- return $this;
- }
-
- public function getWidth()
- {
- return $this->width;
- }
-
- public function setWidth($width)
- {
- $this->width = $width;
- return $this;
- }
-
- public function getHeight()
- {
- return $this->height;
- }
-
- public function setHeight($height)
- {
- $this->height = $height;
- return $this;
- }
-
- public function getResize_filter()
- {
- return $this->resize_filter;
- }
-
- public function setResize_filter($resize_filter)
- {
- $this->resize_filter = $resize_filter;
- return $this;
- }
-
- public function getMax_size()
- {
- return $this->max_size;
- }
-
- public function setMax_size($max_size)
- {
- $this->max_size = $max_size;
- return $this;
- }
-
- public function getMax_width()
- {
- return $this->max_width;
- }
-
- public function setMax_width($max_width)
- {
- $this->max_width = $max_width;
- return $this;
- }
-
- public function getMax_height()
- {
- return $this->max_height;
- }
-
- public function setMax_height($max_height)
- {
- $this->max_height = $max_height;
- return $this;
- }
-
- public function getMax_storage()
- {
- return $this->max_storage;
- }
-
- public function setMax_storage($max_storage)
- {
- $this->max_storage = $max_storage;
- return $this;
- }
-
- public function getComposite()
- {
- return $this->composite;
- }
-
- public function setComposite($composite)
- {
- $this->composite = $composite;
- return $this;
- }
-
- public function getComp_image()
- {
- return $this->comp_image;
- }
-
- public function setComp_image($comp_image)
- {
- $this->comp_image = $comp_image;
- return $this;
- }
-
- public function getComp_type()
- {
- return $this->comp_type;
- }
-
- public function setComp_type($comp_type)
- {
- $this->comp_type = $comp_type;
- return $this;
- }
-
- public function getComp_x()
- {
- return $this->comp_x;
- }
-
- public function setComp_x($comp_x)
- {
- $this->comp_x = $comp_x;
- return $this;
- }
-
- public function getComp_y()
- {
- return $this->comp_y;
- }
-
- public function setComp_y($comp_y)
- {
- $this->comp_y = $comp_y;
- return $this;
- }
-
- public function getComp_rel_pos()
- {
- return $this->comp_rel_pos;
- }
-
- public function setComp_rel_pos($comp_rel_pos)
- {
- $this->comp_rel_pos = $comp_rel_pos;
- return $this;
- }
-
- public function getBorder()
- {
- return $this->border;
- }
-
- public function setBorder($border)
- {
- $this->border = $border;
- return $this;
- }
-
- public function getBorder_color()
- {
- return $this->border_color;
- }
-
- public function setBorder_color($border_color)
- {
- $this->border_color = $border_color;
- return $this;
- }
-
- public function getBorder_x()
- {
- return $this->border_x;
- }
-
- public function setBorder_x($border_x)
- {
- $this->border_x = $border_x;
- return $this;
- }
-
- public function getBorder_y()
- {
- return $this->border_y;
- }
-
- public function setBorder_y($border_y)
- {
- $this->border_y = $border_y;
- return $this;
- }
-
- public function getCommands()
- {
- return $this->commands;
- }
-
- public function setCommands($commands)
- {
- $this->commands = $commands;
- return $this;
- }
-
- public function getResolution_x()
- {
- return $this->resolution_x;
- }
-
- public function setResolution_x($resolution_x)
- {
- $this->resolution_x = $resolution_x;
- return $this;
- }
-
- public function getResolution_y()
- {
- return $this->resolution_y;
- }
-
- public function setResolution_y($resolution_y)
- {
- $this->resolution_y = $resolution_y;
- return $this;
- }
-
- public function getResolution()
- {
- return $this->resolution;
- }
-
- public function setResolution($resolution)
- {
- $this->resolution = $resolution;
- return $this;
- }
-
- public function getResize_blur()
- {
- return $this->resize_blur;
- }
-
- public function setResize_blur($resize_blur)
- {
- $this->resize_blur = $resize_blur;
- return $this;
- }
-
- public function getResolution_blur()
- {
- return $this->resolution_blur;
- }
-
- public function setResolution_blur($resolution_blur)
- {
- $this->resolution_blur = $resolution_blur;
- return $this;
- }
-
- public function getResolution_filter()
- {
- return $this->resolution_filter;
- }
-
- public function setResolution_filter($resolution_filter)
- {
- $this->resolution_filter = $resolution_filter;
- return $this;
- }
-
- public function getAspect_ratio()
- {
- return $this->aspect_ratio;
- }
-
- public function setAspect_ratio($aspect_ratio)
- {
- $this->aspect_ratio = $aspect_ratio;
- return $this;
- }
-
- public function getTrim_h()
- {
- return $this->trim_h;
- }
-
- public function setTrim_h($trim_h)
- {
- $this->trim_h = $trim_h;
- return $this;
- }
-
- public function getTrim_w()
- {
- return $this->trim_w;
- }
-
- public function setTrim_w($trim_w)
- {
- $this->trim_w = $trim_w;
- return $this;
- }
-
- public function getAspect_h()
- {
- return $this->aspect_h;
- }
-
- public function setAspect_h($aspect_h)
- {
- $this->aspect_h = $aspect_h;
- return $this;
- }
-
- public function getAspect_w()
- {
- return $this->aspect_w;
- }
-
- public function setAspect_w($aspect_w)
- {
- $this->aspect_w = $aspect_w;
- return $this;
- }
-
- public function getNo_expand()
- {
- return $this->no_expand;
- }
-
- public function setNo_expand($no_expand)
- {
- $this->no_expand = $no_expand;
- return $this;
- }
-
- /**
- * insert the object
- *
- * @param PDO $dbh Database Connection
- *
- * @return Toolkit_Table
- */
- public function insert(PDO $dbh)
- {
-
- try {
- $values = get_object_vars($this);
- unset($values['id']);
- $columns = array_keys($values);
- $params = implode(', ', $columns);
- $bindParams = ':' . implode(', :', $columns);
-
- $sql = "
- INSERT INTO iscs
- ($params)
- VALUES
- ($bindParams)
- RETURNING id";
- $stmt = $dbh->prepare($sql);
- foreach ($values as $k => &$v) {
- if (is_integer($v)) {
- $dataType = PDO::PARAM_INT;
- } else if (is_bool($v)) {
- $dataType = PDO::PARAM_BOOL;
- } else {
- $dataType = PDO::PARAM_STR;
- }
- // for empty values that are not actually a zero (0), we
- // want to insert null's.
- // as empty values '', are not considered unique
- if ( empty($v)
- && $dataType !== PDO::PARAM_BOOL
- && $dataType !== PDO::PARAM_INT
- ) {
- $v = null;
- $dataType = PDO::PARAM_NULL;
- }
- $stmt->bindParam(":$k", $v, $dataType);
- }
-
- $stmt->execute();
- $this->setId($stmt->fetchColumn());
- return $this;
- } catch(PDOException $e) {
- throw new RuntimeException("Error insert on {$e->getMessage()}");
- }
- }
-
- /**
- * Checks the id of the object if it is set then calls update othervise
- * calls insert function
- *
- * @param PDO $dbh Database connection
- *
- * @return viod
- */
- public function save(PDO $dbh)
- {
- if ($this->id) {
- $this->update($dbh);
- } else {
- $this->insert($dbh);
- }
- }
-
- /**
- * update the object
- *
- * @param PDO $dbh Database connection
- *
- * @return Toolkit_Table
- */
- public function update(PDO $dbh)
- {
- return false;
- try {
- $values = get_object_vars($this);
- unset($values['tableName']);
- $sql = Toolkit_Common::createSQLUpdate(
- $this->tableName,
- array_keys($values),
- array('id = :id')
- );
- $stmt = Toolkit_Common::prepareQuery(
- $dbh,
- $this->tableName,
- $sql,
- $values
- );
- $stmt->execute();
- return $this;
- } catch(PDOException $e) {
- throw new RuntimeException("Error update on {$e->getMessage()}");
- }
- }
-
- /**
- * Create a class object that has the given values from an array
- *
- * @param Array $values Array of values to set the class properties to
- *
- * @return Object
- */
- public static function createByValues($values)
- {
- return new ImageStyleCode($values);
- }
-
-}
+++ /dev/null
-<?php
-
-/**
- * File Server site setup
- *
- * This file is an extension of PHING used to setup and deploy sites.
- * This custom task locates existing file server records so we can obtain
- * the owner_id and passwd to set in the config files. If an existing record
- * cannot be found then a new record for this client is inserted and those
- * credentials are used in the config file
- *
- * PHP version 5
- *
- * The license text...
- *
- * @category Phing
- * @package Phing_FileServer
- * @author Jamie Kahgee <jamie@gaslightmedia.com>
- * @copyright 2010 Jamie Kahgee
- * @license http://www.gaslightmedia.com/ Gaslightmedia
- * @version CVS: $Id:$
- * @link <>
- * @see References to other sections (if any)...
- */
-
-/**
- * File Server site setup
- *
- * This file is an extension of PHING used to setup and deploy sites.
- * This custom task locates existing file server records so we can obtain
- * the owner_id and passwd to set in the config files. If an existing record
- * cannot be found then a new record for this client is inserted and those
- * credentials are used in the config file
- *
- * @category Phing
- * @package Phing_FileServer
- * @author Jamie Kahgee <jamie@gaslightmedia.com>
- * @copyright 2010 Jamie Kahgee
- * @license http://www.gaslightmedia.com/ Gaslightmedia
- * @version Release: @package_version@
- * @link <>
- * @see References to other sections (if any)...
- */
-class Phing_FileServer_Setup extends Task
-{
-
- /**
- * Host the db is on
- * @var unknown
- * @access private
- */
- private $_host = null;
-
- /**
- * User to connect to db as
- * @var unknown
- * @access private
- */
- private $_user = null;
-
- /**
- * Name of db
- * @var unknown
- * @access private
- */
- private $_dbname = null;
-
- /**
- * Database handler
- * @var object
- * @access private
- */
- private $_dbh = null;
-
- /**
- * Site name we are working on
- * @var unknown
- * @access private
- */
- private $_siteName = null;
-
- /**
- * File server client user name
- * @var unknown
- * @access private
- */
- private $_username = null;
-
- /**
- * File server client password
- * @var unknown
- * @access private
- */
- private $_password = null;
-
- /**
- * Set the database to use
- *
- * @param string $dbname database name
- *
- * @return void
- * @access public
- */
- public function setDbname($dbname)
- {
- $this->_dbname = $dbname;
- }
-
- /**
- * Sets the host
- *
- * @param string $host host the db is on
- *
- * @return void
- * @access public
- */
- public function setHost($host)
- {
- $this->_host = $host;
- }
-
- /**
- * Set the file server client password
- *
- * @param string $pword file server client password
- *
- * @return void
- * @access public
- */
- public function setPassword($pword)
- {
- $this->_password = $pword;
- }
-
- /**
- * Set the sitename
- *
- * @param string $siteName Sitename
- *
- * @return void
- * @access public
- */
- public function setSiteName($siteName)
- {
- $this->_siteName = $siteName;
- }
-
- /**
- * Set the user
- *
- * @param string $user User to connect to db as
- *
- * @return void
- * @access public
- */
- public function setUser($user)
- {
- $this->_user = $user;
- }
-
- /**
- * Set the file server client username
- *
- * @param string $uname file server username
- *
- * @return void
- * @access public
- */
- public function setUsername($uname)
- {
- $this->_username = $uname;
- }
-
- /**
- * extra initialzation steps
- *
- * The init method gets called when the <taskname> xml element closes.
- * It must be implemented even if it does nothing. You can do init steps
- * here required to setup your task object properly. After calling the
- * Init-Method the task object remains untouched by the parser. Init should
- * not perform operations related somehow to the action the task performs.
- * An example of using init may be cleaning up a variable
- * (i.e. trim($this->_variable)) or importing additional workers needed for
- * this task.
- *
- * The init method should return true or an error object evaluated by the
- * goverining logic. If you don't implement init method, phing will
- * shut down with a fatal error.
- *
- * @return void
- * @access public
- */
- public function init()
- {
- }
-
- /**
- * Entry point to execute the task
- *
- * There is exactly one entry point to execute the task. It is called
- * after the complete buildfile has been parsed and all targets and tasks
- * have been scheduled for execution. From this point forward the very
- * implementation of the tasks action starts.
- *
- * @return void
- * @access public
- */
- public function main()
- {
- $dsn = "pgsql:host={$this->_host} user={$this->_user} dbname={$this->_dbname}";
- $driverOptions = array(
- PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
- );
-
- $this->_dbh = new PDO($dsn, null, null, $driverOptions);
- $this->_dbh->setAttribute(
- PDO::ATTR_ERRMODE,
- PDO::ERRMODE_EXCEPTION
- );
- $credentials = $this->_getFileServerCredentials();
- $this->project->setProperty($this->_username, $credentials['owner_id']);
- $this->project->setProperty($this->_password, $credentials['passwd']);
- }
-
- /**
- * Create a new user in the file server db
- *
- * @return array new client credentials
- * @access private
- * @throws RuntimeException on PDO Error
- */
- private function _createNewUserCredentials()
- {
- $credentials = array(
- 'owner_id' => strtolower(preg_replace("/\W/", "", $this->_siteName)),
- 'passwd' => $this->_createRandomPassword()
- );
- try {
- $sql = "
- INSERT INTO owners (name, owner_id, descr, passwd, active)
- VALUES (:name, :owner_id, :descr, :passwd, true)";
-
- $stmt = $this->_dbh->prepare($sql);
- $stmt->bindParam(':name', $this->_siteName, PDO::PARAM_STR);
- $stmt->bindValue(':descr', "New record automatically created from PHING setup script", PDO::PARAM_STR);
- $stmt->bindParam(':owner_id', $credentials['owner_id'], PDO::PARAM_STR);
- $stmt->bindParam(':passwd', $credentials['passwd'], PDO::PARAM_STR);
- $stmt->execute();
- } catch (PDOException $e) {
- throw new RuntimeException("Error creating credentials {$e->getMessage()}");
- }
- echo "Creating file server credentials for new record\n";
- echo "owner_id: {$credentials['owner_id']}\n";
- echo "passwd: {$credentials['passwd']}\n";
-
- return $credentials;
- }
-
- /**
- * Generates a random password for the client
- *
- * @return string Random password
- * @access private
- */
- private function _createRandomPassword()
- {
- $chars = 'abcdefghkmnpqrstuvwxyz23456789';
- srand((double)microtime() * 1000000);
- $i = 0;
- $pass = '';
-
- while ($i <= 7) {
- $num = rand() % 29;
- if (rand(0, 1)) {
- $pass .= substr($chars, $num, 1);
- } else {
- $pass .= strtoupper(substr($chars, $num, 1));
- }
- ++$i;
- }
-
- return $pass;
- }
-
- /**
- * Locates username and password of existing client by sitename
- *
- * @return mixed return value of this function on success depends on fetch
- * type. In all cases, FALSE is returned on failure.
- * @access private
- * @throws RuntimeException on PDO error
- */
- private function _getExistingCredentials()
- {
- try {
- $sql = "
- SELECT *
- FROM owners
- WHERE owner_id = :siteNameShort";
-
- $stmt = $this->_dbh->prepare($sql);
- $ownerIdName = strtolower(preg_replace("/\W/", "", $this->_siteName));
- $stmt->bindParam(':siteNameShort', $ownerIdName, PDO::PARAM_STR);
- $stmt->execute();
-
- return $stmt->fetch();
- } catch (PDOException $e) {
- throw new RuntimeException("Error fetching credentials {$e->getMessage()}");
- }
- }
-
- /**
- * Gets the clients credentials from the file server
- *
- * @return array client credentials
- * @access private
- */
- private function _getFileServerCredentials()
- {
- $credentials = $this->_getExistingCredentials();
- if ( $credentials !== false
- && is_array($credentials)
- && !empty($credentials)
- ) {
- echo "Setting file server credentials from existing record\n";
- echo "owner_id: {$credentials['owner_id']}\n";
- echo "passwd: {$credentials['passwd']}\n";
- return $credentials;
- } else {
- return $this->_createNewUserCredentials();
- }
- }
-
-}
+++ /dev/null
-<?php
-
-/**
- * ToolboxImage.php
- *
- * PHP version 5.2
- *
- * @category Toolkit
- * @package Package
- * @author Steve Sutton <steve@gaslightmedia.com>
- * @copyright 2012 Gaslight Media
- * @license Gaslight Media
- * @version SVN: (0.1)
- * @link <>
- */
-
-require_once 'ImageStyleCode.php';
-/**
- * Toolkit_Package_ToolboxImage
- *
- * Description of ToolboxImage
- *
- * @category Toolkit
- * @package Package
- * @author Steve Sutton <steve@gaslightmedia.com>
- * @copyright 2012 Gaslight Media
- * @license Gaslight Media
- * @release Release: (0.1)
- * @link <>
- */
-class Phing_FileServer_ToolboxImage
- extends Task
-{
-
- /**
- * Host the db is on
- * @var unknown
- * @access private
- */
- private $_host = null;
-
- /**
- * User to connect to db as
- * @var unknown
- * @access private
- */
- private $_user = null;
-
- /**
- * Name of db
- * @var unknown
- * @access private
- */
- private $_dbname = null;
-
- /**
- * Database handler
- * @var object
- * @access private
- */
- private $_dbh = null;
-
- /**
- * Path of the config file
- * @var unknown
- * @access private
- */
- private $_configPath = null;
-
- /**
- * Image style code
- * @var type
- * @access private
- */
- private $_imageCode = null;
-
- /**
- * Sets the imageCode
- *
- * @param type $imageCode Name of the image style
- *
- * @return void
- * @access public
- */
- public function setImageCode($imageCode)
- {
- $this->_imageCode = $imageCode;
- }
-
- /**
- * Set the database to use
- *
- * @param string $dbname database name
- *
- * @return void
- * @access public
- */
- public function setDbname($dbname)
- {
- $this->_dbname = $dbname;
- }
-
- /**
- * Set the user
- *
- * @param string $user User to connect to db as
- *
- * @return void
- * @access public
- */
- public function setUser($user)
- {
- $this->_user = $user;
- }
-
- /**
- * Sets the host
- *
- * @param string $host host the db is on
- *
- * @return void
- * @access public
- */
- public function setHost($host)
- {
- $this->_host = $host;
- }
-
- /**
- * Set the file server client password
- *
- * @param string $pword file server client password
- *
- * @return void
- * @access public
- */
- public function setPassword($pword)
- {
- $this->_password = $pword;
- }
-
- /**
- * Set the config path
- *
- * @param string $configPath Path to Config file
- *
- * @return void
- * @access public
- */
- public function setConfigPath($configPath)
- {
- $this->_configPath = $configPath;
- }
-
- /**
- * extra initialzation steps
- *
- * The init method gets called when the <taskname> xml element closes.
- * It must be implemented even if it does nothing. You can do init steps
- * here required to setup your task object properly. After calling the
- * Init-Method the task object remains untouched by the parser. Init should
- * not perform operations related somehow to the action the task performs.
- * An example of using init may be cleaning up a variable
- * (i.e. trim($this->_variable)) or importing additional workers needed for
- * this task.
- *
- * The init method should return true or an error object evaluated by the
- * goverining logic. If you don't implement init method, phing will
- * shut down with a fatal error.
- *
- * @return void
- * @access public
- */
- public function init()
- {
- }
-
- /**
- * Entry point to execute the task
- *
- * There is exactly one entry point to execute the task. It is called
- * after the complete buildfile has been parsed and all targets and tasks
- * have been scheduled for execution. From this point forward the very
- * implementation of the tasks action starts.
- *
- * @return void
- * @access public
- */
- public function main()
- {
- $dsn = "pgsql:host={$this->_host} user={$this->_user} dbname={$this->_dbname}";
- $driverOptions = array(
- PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
- );
-
- $this->_dbh = new PDO($dsn, null, null, $driverOptions);
- $this->_dbh->setAttribute(
- PDO::ATTR_ERRMODE,
- PDO::ERRMODE_EXCEPTION
- );
- $ownerId = $this->_getOwnerId();
- if ($ownerId) {
- $this->_hasImageStyle($ownerId);
- } else {
- throw new RuntimeException('no owner id found!');
- }
- }
-
- private function _getOwnerId()
- {
- $config = parse_ini_file($this->_configPath, true);
- $ownerId = $config['production']['file_server.owner_id'];
- return $this->_getExistingCredentials($ownerId);
- }
-
- private function _hasImageStyle($ownerId)
- {
- try {
- $sql = "
- SELECT id
- FROM iscs
- WHERE owner_id = :id
- AND code = :code";
- $stmt = $this->_dbh->prepare($sql);
- $stmt->bindParam(':id', $ownerId, PDO::PARAM_INT);
- $stmt->bindParam(':code', $this->_imageCode);
- $stmt->execute();
- $id = $stmt->fetchColumn();
- if ($id) {
- echo "Image Style {$this->_imageCode} already exists\n";
- } else {
- echo "no id found for {$this->_imageCode} imageStyle\n";
- $this->_createToolboxImageStyle($ownerId);
- }
- } catch(PDOException $e) {
- throw new RuntimeException("Error fetching tbs1 {$e->getMessage()}");
- }
- }
-
- /**
- * Locates username and password of existing client by sitename
- *
- * @return mixed return value of this function on success depends on fetch
- * type. In all cases, FALSE is returned on failure.
- * @access private
- * @throws RuntimeException on PDO error
- */
- private function _getExistingCredentials($ownerId)
- {
- try {
- $sql = "
- SELECT id
- FROM owners
- WHERE owner_id = :ownerId";
- $stmt = $this->_dbh->prepare($sql);
- $stmt->bindParam(':ownerId', $ownerId, PDO::PARAM_STR);
- $stmt->execute();
- return $stmt->fetchColumn();
- } catch (PDOException $e) {
- throw new RuntimeException(
- "Error fetching credentials {$e->getMessage()}"
- );
- }
- }
-
- public function _createToolboxImageStyle($ownerId)
- {
- try {
- $sql = "
- SELECT *
- FROM iscs
- WHERE owner_id = 1
- AND code = :code";
- $stmt = $this->_dbh->prepare($sql);
- $stmt->bindParam(':code', $this->_imageCode);
- $stmt->execute();
- $values = $stmt->fetch();
- } catch(PDOException $e) {
- throw new RuntimeException("Error fetching tbs1 {$e->getMessage()}");
- }
- $values['owner_id'] = $ownerId;
- unset($values['id']);
- $imageStyle = ImageStyleCode::createByValues($values);
- $imageStyle->save($this->_dbh);
- echo "Creating Image style {$this->_imageCode}\n";
- }
-
-}
+++ /dev/null
-<?php
-
-/**
- * File Server site setup
- *
- * This file is an extension of PHING used to setup and deploy sites.
- * This custom task locates existing file server records so we can obtain
- * the owner_id and passwd to set in the config files. If an existing record
- * cannot be found then a new record for this client is inserted and those
- * credentials are used in the config file
- *
- * PHP version 5
- *
- * The license text...
- *
- * @category Phing
- * @package Phing_FileServer
- * @author Jamie Kahgee <jamie@gaslightmedia.com>
- * @copyright 2010 Jamie Kahgee
- * @license http://www.gaslightmedia.com/ Gaslightmedia
- * @version CVS: $Id:$
- * @link <>
- * @see References to other sections (if any)...
- */
-
-/**
- * File Server site setup
- *
- * This file is an extension of PHING used to setup and deploy sites.
- * This custom task locates existing file server records so we can obtain
- * the owner_id and passwd to set in the config files. If an existing record
- * cannot be found then a new record for this client is inserted and those
- * credentials are used in the config file
- *
- * @category Phing
- * @package Phing_FileServer
- * @author Jamie Kahgee <jamie@gaslightmedia.com>
- * @copyright 2010 Jamie Kahgee
- * @license http://www.gaslightmedia.com/ Gaslightmedia
- * @version Release: @package_version@
- * @link <>
- * @see References to other sections (if any)...
- */
-class Phing_Member_Setup extends Task
-{
-
- /**
- * Host the db is on
- * @var unknown
- * @access private
- */
- private $_host = null;
-
- /**
- * User to connect to db as
- * @var unknown
- * @access private
- */
- private $_user = null;
-
- /**
- * Name of db
- * @var unknown
- * @access private
- */
- private $_dbname = null;
-
- /**
- * Database handler
- * @var object
- * @access private
- */
- private $_dbh = null;
-
- /**
- * Page Name
- * @var unknown
- * @access private
- */
- private $_pageName = null;
-
- /**
- * Page id
- * @var unknown
- * @access private
- */
- private $_pageId = null;
- /**
- * Parent id
- * @var unknown
- * @access private
- */
- private $_parent = null;
-
- /**
- * Set the database to use
- *
- * @param string $dbname database name
- *
- * @return void
- * @access public
- */
- public function setDbname($dbname)
- {
- $this->_dbname = $dbname;
- }
-
- /**
- * Sets the host
- *
- * @param string $host host the db is on
- *
- * @return void
- * @access public
- */
- public function setHost($host)
- {
- $this->_host = $host;
- }
-
- /**
- * Set the pagename
- *
- * @param string $pageName Page Name
- *
- * @return void
- * @access public
- */
- public function setPageName($pageName)
- {
- $this->_pageName = $pageName;
- }
-
- /**
- * Set the user
- *
- * @param string $user User to connect to db as
- *
- * @return void
- * @access public
- */
- public function setUser($user)
- {
- $this->_user = $user;
- }
-
- /**
- * Set the page id
- *
- * @param int $pageId Page id
- *
- * @return void
- * @access public
- */
- public function setPageId($pageId)
- {
- $this->_pageId = $pageId;
- }
-
- /**
- * Set the parent id
- *
- * @param int $parent Parent id
- *
- * @return void
- * @access public
- */
- public function setParent($parent)
- {
- $this->_parent = $parent;
- }
-
- /**
- * extra initialzation steps
- *
- * The init method gets called when the <taskname> xml element closes.
- * It must be implemented even if it does nothing. You can do init steps
- * here required to setup your task object properly. After calling the
- * Init-Method the task object remains untouched by the parser. Init should
- * not perform operations related somehow to the action the task performs.
- * An example of using init may be cleaning up a variable
- * (i.e. trim($this->_variable)) or importing additional workers needed for
- * this task.
- *
- * The init method should return true or an error object evaluated by the
- * goverining logic. If you don't implement init method, phing will
- * shut down with a fatal error.
- *
- * @return void
- * @access public
- */
- public function init()
- {
- }
-
- /**
- * Entry point to execute the task
- *
- * There is exactly one entry point to execute the task. It is called
- * after the complete buildfile has been parsed and all targets and tasks
- * have been scheduled for execution. From this point forward the very
- * implementation of the tasks action starts.
- *
- * @return void
- * @access public
- */
- public function main()
- {
- $dsn
- = "pgsql:host={$this->_host} user={$this->_user} dbname={$this->_dbname}";
- $driverOptions = array(
- PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
- );
-
- $this->_dbh = new PDO($dsn, null, null, $driverOptions);
- $this->_dbh->setAttribute(
- PDO::ATTR_ERRMODE,
- PDO::ERRMODE_EXCEPTION
- );
- $pageId = $this->_createPage($this->_pageName, $this->_parent);
- $this->_createParagraph($pageId);
- $this->project->setProperty(
- $this->_pageId,
- $pageId
- );
- }
-
- /**
- * Create a page given a parent id
- *
- * The page will be given the next position available for it
- *
- * @param string $pageName Name of the Page (navigation_name)
- *
- * @param int $parent Parent page to attach page to
- *
- * @return int
- * @throws RuntimeException
- */
- private function _createPage($pageName, $parent)
- {
- try {
- $sql = "
- INSERT INTO toolbox.pages
- (active, template, parent, pos, navigation_name)
- VALUES
- (TRUE, 1, :parent, (SELECT count(id)
- FROM toolbox.pages
- WHERE parent = :parent) + 1, :navigation_name)
- RETURNING id";
- $stmt = $this->_dbh->prepare($sql);
- $stmt->bindParam(':parent', $parent, PDO::PARAM_INT);
- $stmt->bindParam(':navigation_name', $pageName);
- $stmt->execute();
- $pageId = $stmt->fetchColumn();
- return $pageId;
- } catch(PDOException $e) {
- throw new RuntimeException(
- "Error creating page {$e->getMessage()}"
- );
- }
- }
-
- /**
- * Create a paragraph for the page using pageId
- *
- * @param type $pageId Page to create paragraph for
- *
- * @return boolean
- * @throws RuntimeException
- */
- private function _createParagraph($pageId)
- {
- try {
- $sql = "
- INSERT INTO toolbox.paragraphs
- (active, title, description, image, caption, back_to_top, page, pos)
- VALUES
- (TRUE, '','', '', '', FALSE, :page, 1)";
- $stmt = $this->_dbh->prepare($sql);
- $stmt->bindParam(':page', $pageId, PDO::PARAM_INT);
- return $stmt->execute();
- } catch(PDOException $e) {
- throw new RuntimeException(
- "Error creating paragraph {$e->getMessage()}"
- );
- }
- }
-}
--- /dev/null
+<?php
+
+/**
+ * Registry.php
+ *
+ * PHP version 5.2
+ *
+ * @category CommonApps
+ * @package Registry
+ * @author Steve Sutton <steve@gaslightmedia.com>
+ * @copyright 2012 Gaslight Media
+ * @license Gaslight Media
+ * @version SVN: $Id$
+ * @link <>
+ */
+
+/**
+ * Registry
+ *
+ * Registry.php class to hold objects for access anywhere. Think of the Registry
+ * as a key/value store. With the key being an identifier for an instance of an
+ * object, and the value being the instance itself.
+ *
+ * PHP version 5.2
+ *
+ * @category CommonApps
+ * @package Registry
+ * @author Steve Sutton <steve@gaslightmedia.com>
+ * @copyright 2014 Gaslight Media
+ * @license Gaslight Media
+ * @version Release: 1.0
+ * @link <>
+ */
+
+class Registry
+{
+ static private $_store = array();
+
+ /**
+ * Add a object to the Registry::_store
+ *
+ * @param object $object Object
+ * @param object $name name of object key
+ *
+ * @return object
+ */
+ static public function add($object, $name = null)
+ {
+ // Use the class name if no name given, simulates singleton
+ $name = (!is_null($name)) ? $name: get_class($object);
+
+ $return = null;
+ if (isset(self::$_store[$name])) {
+ // Store the old object for returning
+ $return = self::$_store[$name];
+ }
+
+ self::$_store[$name] = $object;
+ return $return;
+ }
+
+ /**
+ * get the object from the Registry::_store
+ *
+ * @param type $name Name of the object key
+ *
+ * @return type
+ * @throws Exception
+ */
+ static public function get($name)
+ {
+ if (!self::contains($name)) {
+ throw new Exception("Object does not exist in registry");
+ }
+
+ return self::$_store[$name];
+ }
+
+ /**
+ * Check to see if the Registry::_store contains the object
+ *
+ * @param type $name name of object key
+ *
+ * @return boolean
+ */
+ static public function contains($name)
+ {
+ if (!isset(self::$_store[$name])) {
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Remove the object from the Registry::_store
+ *
+ * @param type $name name of object key
+ *
+ * @return void
+ */
+ static public function remove($name)
+ {
+ if (self::contains($name)) {
+ unset(self::$_store[$name]);
+ }
+ }
+}
+++ /dev/null
-body {
- background-color: #ff;
- color: black;
- font-family: verdana, arial, helvetica, sans-serif;
-}
-h1, h2 {
- font-family: arial, helvetica, sans-serif;
-}
-h1 {
- font-size: 18px;
-}
-h2 {
- font-size: 16px;
- margin-bottom: 5px;
-}
-p {
- font-size: 12px;
-}
-.label {
- font-weight: bold;
- background-color: transparent;
- text-align: right;
- width: 200px;
- padding: 5px;
-}
-.field {
- background-color: #fff;
- padding: 3px;
-}
-table.data {
- background-color: #fff;
- color: #000;
- width: 500px;
- border: 1px solid #ccc;
- border-collapse: collapse;
- margin-left: 20px;
-}
-table.data td {
- border: 1px solid #ccc;
- padding-left: 4px;
- font-size: 12px;
-}
+++ /dev/null
-/** Copyright 2005 Google Inc. All rights reserved. */
-
-/* the GSearchControl CSS Classes
- * .gsc-control : the primary class of the control
- */
-#searchcontrol {background-color:white; padding: 20px; clear: both;}
-.gsc-control {
- width: auto;
-}
-
-.gsc-control div {
- position: static;
-}
-
-/* control inputs
- * .gsc-search-box : the container that hosts the text input area
- * .gsc-input : the text input area
- * .gsc-keeper : the save link below savable results
- */
-form.gsc-search-box {
- font-size: 13px;
- margin-top : 0px;
- margin-right : 0px;
- margin-bottom : 4px;
- margin-left : 0px;
- width: 100%;
-}
-
-/*
- * This table contains the input element as well as the search button
- * Note that the search button column is fixed width, designed to hold the
- * button div's background image
- */
-table.gsc-search-box {
- border-style : none;
- border-width : 0px;
- border-spacing : 0px 0px;
- width : 100%;
- margin-bottom : 2px;
-}
-
-table.gsc-search-box td {
- vertical-align : middle;
-}
-
-td.gsc-search-button {
- width : 1%;
-}
-
-td.gsc-clear-button {
- width : 14px;
- display: none;
-}
-
-table.gsc-branding {
- border-style : none;
- border-width : 0px;
- border-spacing : 0px 0px;
- width : 100%;
- display: none;
- }
-
-td.gsc-branding-text {
- vertical-align : top;
-}
-
-td.gsc-branding-text div.gsc-branding-text {
- padding-bottom : 2px;
- text-align : right;
- color : #676767;
- font-size : 11px;
- margin-right : 2px;
-}
-
-td.gsc-branding-img-noclear {
- width : 51px;
- vertical-align : bottom;
-}
-
-td.gsc-branding-img {
- width : 65px;
- vertical-align : bottom;
-}
-
-table.gsc-branding-vertical td.gsc-branding-text div.gsc-branding-text {
- margin-right : 0px;
- text-align : center;
-}
-
-table.gsc-branding-vertical td.gsc-branding-img-noclear {
- text-align : center;
-}
-
-div.gsc-branding-img,
-div.gsc-branding-img-noclear,
-img.gsc-branding-img,
-img.gsc-branding-img-noclear {
- padding-top : 1px;
-}
-
-img.gsc-branding-img,
-img.gsc-branding-img-noclear {
- margin : 0 0 0 0;
- padding-right : 0;
- padding-left : 0;
- padding-bottom : 0;
- border : none;
-}
-
-input.gsc-search-button {
- margin-left : 4px;
-}
-
-div.gsc-clear-button {
- display : inline;
- text-align : right;
- margin-left : 4px;
- margin-right : 4px;
- padding-left : 10px;
- background-repeat: no-repeat;
- background-position: center center;
- background-image: url('http://www.google.com/uds/css/clear.gif');
- cursor : pointer;
-}
-
-/*
- * Given that this is sitting in a variable width tabel cell, the idea is
- * for it to consume the entire cell. The adjacent cell contains the search
- * button and that is a fixed width cell.
- */
-input.gsc-input {
- padding-left : 2px;
- border-style : solid;
- border-width : 1px;
- border-color : #BCCDF0;
- width : 99%;
-}
-
-.gsc-keeper {
- color: #3366cc;
- text-decoration: underline;
- font-size: 13px;
- cursor: pointer;
- font-weight: normal;
-
- padding-left: 16px;
- background-repeat: no-repeat;
- background-position: 1px 3px;
- background-image: url('http://www.google.com/uds/css/blue_check.gif');
-}
-.gsc-imageResult .gsc-keeper {
- text-decoration: none;
-}
-
-/* each section of results has a results header table
- * .gsc-resultsHeader : the header itseld
- * td.twiddleRegionCell : the section that controls twiddleing of the section to expand/collapse
- * td.configLabelCell : the twiddler that controls active configuration of a searcher (used in GlocalSearch)
- * .gsc-twiddle : the twiddle image, note, this is a div that wraps gsc-title so that standard image replacement is feasible
- * .gsc-twiddle-closed : class added to gsc-twiddle when the twiddler is in the closed state
- * .gsc-twiddle-opened : class added to gsc-twiddle when the twiddler is in the opened state
- * .gsc-title : the section's title (e.g., Web Results, etc.)
- * .gsc-stats : contains the result counts
- * .gsc-stats
- */
-.gsc-resultsHeader {
- clear: both;
- width: 100%;
- border-bottom: 1px solid #e9e9e9;
- margin-bottom : 4px;
-}
-
-.gsc-resultsHeader td.gsc-twiddleRegionCell{
- width: 75%;
-}
-
-.gsc-resultsHeader td.gsc-configLabelCell{
- text-align: right;
- width: 75%;
-}
-
-/*
- * note that the next three classes are all joined together
- * to implement the twiddle image. apps can substitute in their
- * own images but will need to account for the image size here
- * as well as in the left padding of the title element
- *
- * Note: uds provides the following images that work with the geometry/padding defined below
- * to use these images simply over-ride the.gsc-twiddle-opened/-closed class and specify an alternate image
- * or use an image of your own design
- */
-.gsc-resultsHeader .gsc-twiddle{
- margin-top: 4px;
- display: inline;
- cursor: pointer;
- background-repeat: no-repeat;
- background-position: 0px 2px;
-}
-.gsc-resultsHeader td.gsc-twiddle-closed div.gsc-twiddle{
- background-image: url('http://www.google.com/uds/css/arrow_close.gif');
-}
-.gsc-resultsHeader td.gsc-twiddle-opened div.gsc-twiddle{
- background-image: url('http://www.google.com/uds/css/arrow_open.gif');
-}
-
-.gsc-resultsHeader .gsc-title{
- color: #676767;
- margin-right: 10px;
- padding-left: 14px;
- display: inline;
-}
-
-.gsc-resultsHeader .gsc-stats {
- color: #676767;
- font-size: 11px;
- font-weight: normal;
- display : inline;
-}
-
-.gsc-resultsHeader td.gsc-twiddle-opened .gsc-stats {
- display : none;
-}
-
-/*
- * .gsc-results-selector : box surrounding individual selectors for 1, more, or all results
- * .gsc-result-selector : an individual selector
- * .gsc-one-result : single result selector
- * .gsc-more-results : more (4) results selector
- * .gsc-all-results : all results (8) selector
- */
-.gsc-results-selector {
- display : inline;
-}
-
-.gsc-resultsHeader td.gsc-twiddle-closed .gsc-results-selector {
- display : none;
-}
-
-.gsc-result-selector {
- cursor : pointer;
- display : inline;
- font-size : 13px;
- padding-left : 13px;
- background-repeat: no-repeat;
- background-position: center left;
-}
-
-/* default mode is dark */
-.gsc-one-result {
- background-image: url('http://www.google.com/uds/css/one-complex-dark.gif');
-}
-
-.gsc-more-results {
- background-image: url('http://www.google.com/uds/css/more-complex-dark.gif');
-}
-
-.gsc-all-results {
- background-image: url('http://www.google.com/uds/css/all-complex-dark.gif');
- padding-right : 1px;
-}
-
-/* active mode is light */
-.gsc-one-result-active .gsc-one-result {
- background-image: url('http://www.google.com/uds/css/one-complex-light-blue.gif');
-}
-
-.gsc-more-results-active .gsc-more-results {
- background-image: url('http://www.google.com/uds/css/more-complex-light-blue.gif');
-}
-
-.gsc-all-results-active .gsc-all-results {
- background-image: url('http://www.google.com/uds/css/all-complex-light-blue.gif');
-}
-
-.gsc-resultsHeader .gsc-configLabel{
- color: #676767;
- display: inline;
- font-size: 11px;
- cursor: pointer;
-}
-
-.gsc-resultsHeader td.gsc-configLabelCell span.gsc-twiddle-closed {
- padding-right: 12px;
- background-repeat: no-repeat;
- background-position: center center;
- background-image: url('http://www.google.com/uds/css/settings.gif');
-}
-
-
-/* tabbed mode of search control
- * .gsc-tabsArea : the box containing all of the tabs
- * .gsc-tabsAreaInvisible : same as above, but this is the state when search has been cleared
- * .gsc-tabHeader : an individual tab
- * .gsc-tabHeader.gsc-tabhActive : the active tab
- * .gsc-tabHeader.gsc-tabhInactive : an inactive tab
- * .gsc-tabData : the data area/box containg results and header data for each tab
- * .gsc-tabData.gsc-tabdActive : the data area for the active tab
- * .gsc-tabData.gsc-tabdInactive : the data area for inactive tabs
- */
-.gsc-tabsArea {
- clear: both;
- margin-top: 6px;
- display: none;
- }
-
-.gsc-tabsAreaInvisible {
- display : none;
- }
-
-.gsc-tabHeader {
- display: inline;
- cursor: pointer;
- padding-left: 6px;
- padding-right: 6px;
- margin-right: 2px;
- }
-
-.gsc-tabHeader.gsc-tabhActive {
- border-left: 1px solid #e9e9e9;
- border-right: 1px solid #e9e9e9;
- border-top: 2px solid #ff9900;
- color: black;
- }
-
-.gsc-tabHeader.gsc-tabhInactive {
- border-left: 1px solid #e9e9e9;
- border-right: 1px solid #e9e9e9;
- border-top: 2px solid #e9e9e9;
- background: #e9e9e9;
- color: #676767;
- }
-
-.gsc-tabData.gsc-tabdActive {
- display: block;
- }
-
-.gsc-tabData.gsc-tabdInactive {
- display: none;
- }
-
-/* tab specific results header supression
- * - no twiddle, tabbed mode runs in full expand mode
- * - no title
- * - no stats
- */
-.gsc-tabData .gsc-resultsHeader .gsc-title {
- display: none;
- }
-
-.gsc-tabData .gsc-resultsHeader .gsc-stats {
- display: none;
- }
-
-.gsc-tabData .gsc-resultsHeader .gsc-results-selector {
- display : none;
-}
-
-
-
-/* the results for each section
- * .gsc-resultsbox-{visible,invisible} : a complete-collection of results including headers
- * .gsc-results : the collection of results for a given searcher
- * .gsc-result : a generic result within the control. each result has this class, as well as .gsc-xxxResult where xxx is web, image, local, blog, etc.
- */
-.gsc-resultsbox-visible {
- display : block;
-}
-
-.gsc-resultsbox-invisible {
- display : none;
-}
-
-.gsc-results {
- clear: both;
- padding-bottom: 2px;
-}
-
-.gsc-result {
- margin-bottom: 10px;
-}
-
-.gsc-result .gs-title {
- height: 1.4em;
- overflow: hidden;
- }
-
-/* specialized, result type specific, fine grained controls */
-.gsc-result div.gs-watermark {
- display: none;
-}
-
-/* Ads
- * inline the title div so that we can have an adjecent ad marker
- * in the control, the ad-marker is supressed since ads are already positioned
- * underneath a results divider
- */
-.gsc-webResult a div.gs-title {
- display: inline;
-}
-.gsc-results .gsc-result img.gs-ad-marker {
- display: none;
-}
-
-/* Standard configuration div/form */
-div.gsc-config {
- border: 1px solid #e9e9e9;
- margin-top: 0px;
- margin-bottom: 10px;
- padding-top : 2px;
- padding-left : 6px;
- padding-right : 6px;
- padding-bottom : 6px;
-}
-
-form.gsc-config {
- margin-bottom : 0px;
-}
-
-.gsc-configSetting {
- margin-top : 6px;
- }
-
-.gsc-configSetting_Label {
- color: #676767;
- }
-
-.gsc-configSettingInput {
- color: #676767;
- border: 1px solid #e9e9e9;
- width: 75%;
- }
-
-.gsc-configSettingCheckbox {
- color: #676767;
- margin-right: 6px;
- }
-
-.gsc-configSettingCheckboxLabel {
- display : inline;
- color: #676767;
- }
-
-div.gsc-configSettingSubmit {
- margin-top : 8px;
- text-align : right;
-}
-
-input.gsc-configSettingSubmit {
- display: inline;
- font-size: 11px;
- cursor: pointer;
-}
-
-
-/* Image Search
- * - support for horizontal and vertical orientation
- * - title, url, and size supression
- */
-.gsc-results.gsc-imageResult .gsc-imageResult.horizontal{
- float: left;
- width: 65px;
- margin-bottom: 4px;
- margin-right: 8px;
- text-align: center;
-}
-
-.gsc-results.gsc-imageResult .gsc-imageResult.horizontal .gs-imageResult {
- height: 41px;
-}
-
-.gsc-results.gsc-imageResult .gsc-imageResult.vertical{
- float: none;
- margin-bottom: 4px;
- margin-right: 8px;
- text-align: left;
-}
-
-.gsc-results.gsc-imageResult .gsc-imageResult.horizontal .gsc-keeper {
- background-position: center;
-}
-
-.gsc-imageResult .gs-title {
- display: none;
-}
-.gsc-imageResult .gs-visibleUrl {
- display: none;
-}
-.gsc-imageResult .gs-size {
- display: none;
-}
-
-/* Video Search
- * - metadata, publisher small font
- * - single line title
- */
-
-.gsc-videoResult .gs-videoResult .gs-metadata {
- font-size: 11px;
-}
-
-.gsc-videoResult .gs-videoResult .gs-title {
- line-height: 1.3em;
- height: 1.3em;
- overflow: hidden;
- }
-
-.gsc-videoResult .gs-videoResult .gs-snippet {
- line-height: 1.3em;
- max-height: 2.6em;
- overflow: hidden;
- }
-
-/*** End of Control, Begin Results ***/
-
-/* generic, cross cutting result style
- * - in the form of .gs-result .gs-xxx where xxx is the generic style
- * .gs-title : typically the first line of a result, typically a link, image results over ride this, since for image results, the image is the link
- * .gs-divider : typically seperates results from ads
- * .gs-visibleUrl : typically the last line of a result, displayed in green. sometimes a link (like in blog search)
- * .gs-clusterUrl : for news, and other similar services, this is a cluster of additional results
- * img.gs-image : an actial image in a result
- * .gs-phone : a phone number
- * .gs-address : an address (includes street, city, region, country)
- * .gs-streetAddress : a street (including #)
- * .gs-city : a city
- * .gs-region : a region (zip code, area, etc.)
- * .gs-country : a country
- * .gs-snippet : snippetized content
- * .gs-watermark : indicator that user selected this result
- * .gs-metadata : generic metadata, e.g.,
- * .gs-image-box : generic container for a result's image (within a table)
- * .gs-text-box : generic container for a result's text content (within a table). Note that this class, and image-box are only used in video
- */
-.gs-result .gs-title,
-.gs-result .gs-title * {
- color: #0000cc;
- text-decoration: underline;
-}
-
-.gs-divider {
- padding-bottom: 8px;
- text-align: center;
- color: #676767;
-}
-
-.gs-result a.gs-visibleUrl,
-.gs-result .gs-visibleUrl {
- color: #008000;
- text-decoration: none;
-}
-
-/* relative and absolute dates, not, news inlines these */
-.gs-relativePublishedDate,
-.gs-publishedDate {
- color: #6f6f6f;
- text-decoration: none;
-}
-.gs-result a.gs-clusterUrl,
-.gs-result .gs-clusterUrl {
- color: #008000;
- text-decoration: none;
- cursor: pointer;
-}
-
-.gs-newsResult .gs-publisher {
- color: #6f6f6f;
- display : inline;
- text-decoration: none;
-}
-
-.gs-bookResult .gs-author {
- color: #6f6f6f;
-}
-
-/*
- * For news results there are two dates...
- * The relative date is visible while in the
- * search control and the published date
- * is visible when clipped. Why? It doesn't
- * make sense to say 4 hours ago for a clipped
- * result...
- */
-
-/* establish the base style */
-.gs-newsResult .gs-relativePublishedDate,
-.gs-newsResult .gs-publishedDate {
- display : inline;
- margin-left : 4px;
-}
-
-/* base styling for relative date is none */
-.gs-blogResult .gs-relativePublishedDate,
-.gs-newsResult .gs-relativePublishedDate {
- display : none;
-}
-
-/* suppress publishedDate while in the control */
-.gsc-blogResult .gs-blogResult .gs-publishedDate,
-.gsc-newsResult .gs-newsResult .gs-publishedDate {
- display : none;
-}
-
-/* enable relativePublishedDate while in the control */
-.gsc-blogResult .gs-blogResult .gs-relativePublishedDate,
-.gsc-newsResult .gs-newsResult .gs-relativePublishedDate {
- display : inline;
-}
-
-.gs-newsResult .gs-location {
- color: #6f6f6f;
- display : inline;
- text-decoration: none;
-}
-
-.gs-result img.gs-image {
- vertical-align : middle;
- border : 1px solid #0000cc;
-}
-
-.gs-result div.gs-phone {}
-
-.gs-result .gs-directions,
-.gs-result .gs-directions * {
- color: #3366cc;
- font-weight: normal;
- text-decoration : underline;
-}
-
-.gs-videoResult a.gs-publisher,
-.gs-videoResult .gs-publisher {
- color: #008000;
- text-decoration: none;
-}
-
-.gs-result a {
- cursor: pointer;
-}
-
-.gs-result .gs-address {
-}
-
-.gs-result .gs-snippet {
-}
-
-.gs-result .gs-watermark{
- font-size: 10px;
- color: #7777cc;
-}
-
-div.gs-results-attribution {
- text-align : center;
- margin-bottom : 4px;
-}
-
-div.gs-results-attribution,
-div.gs-results-attribution * {
- font-size : 10px;
- color : #676767;
- text-decoration : none;
-}
-
-div.gs-results-attribution a {
- color: #0000cc;
- cursor : pointer;
-}
-
-div.gs-results-attribution a:hover {
- text-decoration : underline;
-}
-
-.gs-result .gs-metadata{
- color: #676767;
-}
-
-/* searcher specific styling for
- * - web ad
- * - web
- * - local
- * - image (none)
- * - blog (none)
- * - video (none)
- */
-
-/* webAd search specific over rides
- * .gs-ad-marker : disabled in control, but on in green to indicate clipped result is an ad
- */
-.gs-localAd img.gs-ad-marker,
-.gs-webAd img.gs-ad-marker {
- padding-left: 4px;
-}
-
-.gs-localAd a.gs-visibleUrl div.gs-visibleUrl,
-.gs-webAd a.gs-visibleUrl div.gs-visibleUrl {
- display : none;
-}
-
-/* default is to not show long mode visible urls
- * apps should selectively enable this while disabling
- * div.gs-visibleUrl-short
- */
-.gs-webResult div.gs-visibleUrl-long {
- width : 100%;
- overflow : hidden;
- display : block;
-}
-
-.gs-webResult div.gs-visibleUrl-short {
- display: none;
-}
-
-/* local search specific over rides
- * - city, region displayed inline
- * - country supressed
- * - small font size for info window's
- */
-
-.gs-localAd div.gs-address * {
- color : #676767;
-}
-
-.gs-localAd div.gs-street {
- display: inline;
-}
-
-div.gs-city {
- display: inline;
-}
-
-div.gs-region {
- display: inline;
-}
-
-div.gs-country {
- display: none;
-}
-
-div.gs-infoWindow * {
- font-size: 11px;
- }
-
-/* video search specific over rides
- * - align the table data
- * - default image width garuntee
- * - appropriate cell seperation
- */
-
-/* todo(markl): workaround until gre in gmail fixes his styles */
-.gs-videoResult * {
- font-size: 13px;
- }
-
-/*
-.gs-videoResult td .gs-image {
- vertical-align : middle;
-}
-
-.gs-videoResult td.gs-image-box {
- background-color : #000000;
-}*/
-
-.gs-videoResult td div.gs-image-box {
- width : 110px;
- height : 78px;
-}
-
-.gs-videoResult td div.gs-text-box {
- vertical-align: top;
- margin-left: 4px;
- }
-
-
-/* book search specific over rides
- * - default image width garuntee
- * - appropriate cell seperation
- */
-.gs-bookResult td div.gs-image-box {
- width : 75px;
- height : 90px;
-}
-
-.gs-bookResult td div.gs-text-box {
- vertical-align: top;
- margin-left: 4px;
- }
-
-.gs-bookResult img.gs-image,
-.gs-bookResult img {
- border-spacing : 0px 0px;
- border : none;
-}
-
-.gs-bookResult table.gs-image-box {
- border-style : none;
- border-width : 0px;
- border-spacing : 0px 0px;
-}
-
-.gs-bookResult td.gs-pages img {
- height : 7px;
- width : 45px;
-}
-
-.gs-bookResult td.gs-page-edge img {
- height : 7px;
- width : 11px;
-}
-
-.gs-bookResult td.gs-shadow {
- vertical-align : bottom;
-}
-
-.gs-bookResult td.gs-image img {
- height : 80px;
-}
-.gsc-ad-box { display:none;}
-
-
-/* trailing cursor section
- */
-.gsc-imageResult .gsc-cursor-box {
- clear : both;
-}
-
-.gsc-results .gsc-cursor-box .gsc-trailing-more-results {
- margin-bottom : 0px;
- display : inline;
-}
-
-.gsc-results .gsc-cursor {
- display : inline;
-}
-
-.gsc-results .gsc-cursor-box {
- margin-bottom : 10px;
-}
-
-.gsc-results .gsc-cursor-box .gsc-cursor-page {
- cursor : pointer;
- color : #000000;
- text-decoration: underline;
- margin-right : 8px;
- display : inline;
-}
-
-.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
- color : #A90A08;
- font-weight : bold;
- text-decoration: none;
-}
-
-.gsc-resultsHeader *{display:none;}
+++ /dev/null
-body .imagecaption {
- position: relative;
- width: auto;
- bottom: auto;
- background: url("../../assets/imagecaptionBg.gif") no-repeat bottom center !important;
- padding: 0 0 10px 0;
- margin-top: 4px;
- }
-
+++ /dev/null
-/** Copyright 2005 Google Inc. All rights reserved. */
-
-/* the GSearchControl CSS Classes
- * .gsc-control : the primary class of the control
- */
-#searchcontrol {background-color:white; padding: 20px; clear: both;}
-.gsc-control {
- width: auto;
-}
-
-.gsc-control div {
- position: static;
-}
-
-/* control inputs
- * .gsc-search-box : the container that hosts the text input area
- * .gsc-input : the text input area
- * .gsc-keeper : the save link below savable results
- */
-form.gsc-search-box {
- font-size: 13px;
- margin-top : 0px;
- margin-right : 0px;
- margin-bottom : 4px;
- margin-left : 0px;
- width: 100%;
-}
-
-/*
- * This table contains the input element as well as the search button
- * Note that the search button column is fixed width, designed to hold the
- * button div's background image
- */
-table.gsc-search-box {
- border-style : none;
- border-width : 0px;
- border-spacing : 0px 0px;
- width : 100%;
- margin-bottom : 2px;
-}
-
-table.gsc-search-box td {
- vertical-align : middle;
-}
-
-td.gsc-search-button {
- width : 1%;
-}
-
-td.gsc-clear-button {
- width : 14px;
- display: none;
-}
-
-table.gsc-branding {
- border-style : none;
- border-width : 0px;
- border-spacing : 0px 0px;
- width : 100%;
- display: none;
- }
-
-td.gsc-branding-text {
- vertical-align : top;
-}
-
-td.gsc-branding-text div.gsc-branding-text {
- padding-bottom : 2px;
- text-align : right;
- color : #676767;
- font-size : 11px;
- margin-right : 2px;
-}
-
-td.gsc-branding-img-noclear {
- width : 51px;
- vertical-align : bottom;
-}
-
-td.gsc-branding-img {
- width : 65px;
- vertical-align : bottom;
-}
-
-table.gsc-branding-vertical td.gsc-branding-text div.gsc-branding-text {
- margin-right : 0px;
- text-align : center;
-}
-
-table.gsc-branding-vertical td.gsc-branding-img-noclear {
- text-align : center;
-}
-
-div.gsc-branding-img,
-div.gsc-branding-img-noclear,
-img.gsc-branding-img,
-img.gsc-branding-img-noclear {
- padding-top : 1px;
-}
-
-img.gsc-branding-img,
-img.gsc-branding-img-noclear {
- margin : 0 0 0 0;
- padding-right : 0;
- padding-left : 0;
- padding-bottom : 0;
- border : none;
-}
-
-input.gsc-search-button {
- margin-left : 4px;
-}
-
-div.gsc-clear-button {
- display : inline;
- text-align : right;
- margin-left : 4px;
- margin-right : 4px;
- padding-left : 10px;
- background-repeat: no-repeat;
- background-position: center center;
- background-image: url('http://www.google.com/uds/css/clear.gif');
- cursor : pointer;
-}
-
-/*
- * Given that this is sitting in a variable width tabel cell, the idea is
- * for it to consume the entire cell. The adjacent cell contains the search
- * button and that is a fixed width cell.
- */
-input.gsc-input {
- padding-left : 2px;
- border-style : solid;
- border-width : 1px;
- border-color : #BCCDF0;
- width : 99%;
-}
-
-.gsc-keeper {
- color: #3366cc;
- text-decoration: underline;
- font-size: 13px;
- cursor: pointer;
- font-weight: normal;
-
- padding-left: 16px;
- background-repeat: no-repeat;
- background-position: 1px 3px;
- background-image: url('http://www.google.com/uds/css/blue_check.gif');
-}
-.gsc-imageResult .gsc-keeper {
- text-decoration: none;
-}
-
-/* each section of results has a results header table
- * .gsc-resultsHeader : the header itseld
- * td.twiddleRegionCell : the section that controls twiddleing of the section to expand/collapse
- * td.configLabelCell : the twiddler that controls active configuration of a searcher (used in GlocalSearch)
- * .gsc-twiddle : the twiddle image, note, this is a div that wraps gsc-title so that standard image replacement is feasible
- * .gsc-twiddle-closed : class added to gsc-twiddle when the twiddler is in the closed state
- * .gsc-twiddle-opened : class added to gsc-twiddle when the twiddler is in the opened state
- * .gsc-title : the section's title (e.g., Web Results, etc.)
- * .gsc-stats : contains the result counts
- * .gsc-stats
- */
-.gsc-resultsHeader {
- clear: both;
- width: 100%;
- border-bottom: 1px solid #e9e9e9;
- margin-bottom : 4px;
-}
-
-.gsc-resultsHeader td.gsc-twiddleRegionCell{
- width: 75%;
-}
-
-.gsc-resultsHeader td.gsc-configLabelCell{
- text-align: right;
- width: 75%;
-}
-
-/*
- * note that the next three classes are all joined together
- * to implement the twiddle image. apps can substitute in their
- * own images but will need to account for the image size here
- * as well as in the left padding of the title element
- *
- * Note: uds provides the following images that work with the geometry/padding defined below
- * to use these images simply over-ride the.gsc-twiddle-opened/-closed class and specify an alternate image
- * or use an image of your own design
- */
-.gsc-resultsHeader .gsc-twiddle{
- margin-top: 4px;
- display: inline;
- cursor: pointer;
- background-repeat: no-repeat;
- background-position: 0px 2px;
-}
-.gsc-resultsHeader td.gsc-twiddle-closed div.gsc-twiddle{
- background-image: url('http://www.google.com/uds/css/arrow_close.gif');
-}
-.gsc-resultsHeader td.gsc-twiddle-opened div.gsc-twiddle{
- background-image: url('http://www.google.com/uds/css/arrow_open.gif');
-}
-
-.gsc-resultsHeader .gsc-title{
- color: #676767;
- margin-right: 10px;
- padding-left: 14px;
- display: inline;
-}
-
-.gsc-resultsHeader .gsc-stats {
- color: #676767;
- font-size: 11px;
- font-weight: normal;
- display : inline;
-}
-
-.gsc-resultsHeader td.gsc-twiddle-opened .gsc-stats {
- display : none;
-}
-
-/*
- * .gsc-results-selector : box surrounding individual selectors for 1, more, or all results
- * .gsc-result-selector : an individual selector
- * .gsc-one-result : single result selector
- * .gsc-more-results : more (4) results selector
- * .gsc-all-results : all results (8) selector
- */
-.gsc-results-selector {
- display : inline;
-}
-
-.gsc-resultsHeader td.gsc-twiddle-closed .gsc-results-selector {
- display : none;
-}
-
-.gsc-result-selector {
- cursor : pointer;
- display : inline;
- font-size : 13px;
- padding-left : 13px;
- background-repeat: no-repeat;
- background-position: center left;
-}
-
-/* default mode is dark */
-.gsc-one-result {
- background-image: url('http://www.google.com/uds/css/one-complex-dark.gif');
-}
-
-.gsc-more-results {
- background-image: url('http://www.google.com/uds/css/more-complex-dark.gif');
-}
-
-.gsc-all-results {
- background-image: url('http://www.google.com/uds/css/all-complex-dark.gif');
- padding-right : 1px;
-}
-
-/* active mode is light */
-.gsc-one-result-active .gsc-one-result {
- background-image: url('http://www.google.com/uds/css/one-complex-light-blue.gif');
-}
-
-.gsc-more-results-active .gsc-more-results {
- background-image: url('http://www.google.com/uds/css/more-complex-light-blue.gif');
-}
-
-.gsc-all-results-active .gsc-all-results {
- background-image: url('http://www.google.com/uds/css/all-complex-light-blue.gif');
-}
-
-.gsc-resultsHeader .gsc-configLabel{
- color: #676767;
- display: inline;
- font-size: 11px;
- cursor: pointer;
-}
-
-.gsc-resultsHeader td.gsc-configLabelCell span.gsc-twiddle-closed {
- padding-right: 12px;
- background-repeat: no-repeat;
- background-position: center center;
- background-image: url('http://www.google.com/uds/css/settings.gif');
-}
-
-
-/* tabbed mode of search control
- * .gsc-tabsArea : the box containing all of the tabs
- * .gsc-tabsAreaInvisible : same as above, but this is the state when search has been cleared
- * .gsc-tabHeader : an individual tab
- * .gsc-tabHeader.gsc-tabhActive : the active tab
- * .gsc-tabHeader.gsc-tabhInactive : an inactive tab
- * .gsc-tabData : the data area/box containg results and header data for each tab
- * .gsc-tabData.gsc-tabdActive : the data area for the active tab
- * .gsc-tabData.gsc-tabdInactive : the data area for inactive tabs
- */
-.gsc-tabsArea {
- clear: both;
- margin-top: 6px;
- display: none;
- }
-
-.gsc-tabsAreaInvisible {
- display : none;
- }
-
-.gsc-tabHeader {
- display: inline;
- cursor: pointer;
- padding-left: 6px;
- padding-right: 6px;
- margin-right: 2px;
- }
-
-.gsc-tabHeader.gsc-tabhActive {
- border-left: 1px solid #e9e9e9;
- border-right: 1px solid #e9e9e9;
- border-top: 2px solid #ff9900;
- color: black;
- }
-
-.gsc-tabHeader.gsc-tabhInactive {
- border-left: 1px solid #e9e9e9;
- border-right: 1px solid #e9e9e9;
- border-top: 2px solid #e9e9e9;
- background: #e9e9e9;
- color: #676767;
- }
-
-.gsc-tabData.gsc-tabdActive {
- display: block;
- }
-
-.gsc-tabData.gsc-tabdInactive {
- display: none;
- }
-
-/* tab specific results header supression
- * - no twiddle, tabbed mode runs in full expand mode
- * - no title
- * - no stats
- */
-.gsc-tabData .gsc-resultsHeader .gsc-title {
- display: none;
- }
-
-.gsc-tabData .gsc-resultsHeader .gsc-stats {
- display: none;
- }
-
-.gsc-tabData .gsc-resultsHeader .gsc-results-selector {
- display : none;
-}
-
-
-
-/* the results for each section
- * .gsc-resultsbox-{visible,invisible} : a complete-collection of results including headers
- * .gsc-results : the collection of results for a given searcher
- * .gsc-result : a generic result within the control. each result has this class, as well as .gsc-xxxResult where xxx is web, image, local, blog, etc.
- */
-.gsc-resultsbox-visible {
- display : block;
-}
-
-.gsc-resultsbox-invisible {
- display : none;
-}
-
-.gsc-results {
- clear: both;
- padding-bottom: 2px;
-}
-
-.gsc-result {
- margin-bottom: 10px;
-}
-
-.gsc-result .gs-title {
- height: 1.4em;
- overflow: hidden;
- }
-
-/* specialized, result type specific, fine grained controls */
-.gsc-result div.gs-watermark {
- display: none;
-}
-
-/* Ads
- * inline the title div so that we can have an adjecent ad marker
- * in the control, the ad-marker is supressed since ads are already positioned
- * underneath a results divider
- */
-.gsc-webResult a div.gs-title {
- display: inline;
-}
-.gsc-results .gsc-result img.gs-ad-marker {
- display: none;
-}
-
-/* Standard configuration div/form */
-div.gsc-config {
- border: 1px solid #e9e9e9;
- margin-top: 0px;
- margin-bottom: 10px;
- padding-top : 2px;
- padding-left : 6px;
- padding-right : 6px;
- padding-bottom : 6px;
-}
-
-form.gsc-config {
- margin-bottom : 0px;
-}
-
-.gsc-configSetting {
- margin-top : 6px;
- }
-
-.gsc-configSetting_Label {
- color: #676767;
- }
-
-.gsc-configSettingInput {
- color: #676767;
- border: 1px solid #e9e9e9;
- width: 75%;
- }
-
-.gsc-configSettingCheckbox {
- color: #676767;
- margin-right: 6px;
- }
-
-.gsc-configSettingCheckboxLabel {
- display : inline;
- color: #676767;
- }
-
-div.gsc-configSettingSubmit {
- margin-top : 8px;
- text-align : right;
-}
-
-input.gsc-configSettingSubmit {
- display: inline;
- font-size: 11px;
- cursor: pointer;
-}
-
-
-/* Image Search
- * - support for horizontal and vertical orientation
- * - title, url, and size supression
- */
-.gsc-results.gsc-imageResult .gsc-imageResult.horizontal{
- float: left;
- width: 65px;
- margin-bottom: 4px;
- margin-right: 8px;
- text-align: center;
-}
-
-.gsc-results.gsc-imageResult .gsc-imageResult.horizontal .gs-imageResult {
- height: 41px;
-}
-
-.gsc-results.gsc-imageResult .gsc-imageResult.vertical{
- float: none;
- margin-bottom: 4px;
- margin-right: 8px;
- text-align: left;
-}
-
-.gsc-results.gsc-imageResult .gsc-imageResult.horizontal .gsc-keeper {
- background-position: center;
-}
-
-.gsc-imageResult .gs-title {
- display: none;
-}
-.gsc-imageResult .gs-visibleUrl {
- display: none;
-}
-.gsc-imageResult .gs-size {
- display: none;
-}
-
-/* Video Search
- * - metadata, publisher small font
- * - single line title
- */
-
-.gsc-videoResult .gs-videoResult .gs-metadata {
- font-size: 11px;
-}
-
-.gsc-videoResult .gs-videoResult .gs-title {
- line-height: 1.3em;
- height: 1.3em;
- overflow: hidden;
- }
-
-.gsc-videoResult .gs-videoResult .gs-snippet {
- line-height: 1.3em;
- max-height: 2.6em;
- overflow: hidden;
- }
-
-/*** End of Control, Begin Results ***/
-
-/* generic, cross cutting result style
- * - in the form of .gs-result .gs-xxx where xxx is the generic style
- * .gs-title : typically the first line of a result, typically a link, image results over ride this, since for image results, the image is the link
- * .gs-divider : typically seperates results from ads
- * .gs-visibleUrl : typically the last line of a result, displayed in green. sometimes a link (like in blog search)
- * .gs-clusterUrl : for news, and other similar services, this is a cluster of additional results
- * img.gs-image : an actial image in a result
- * .gs-phone : a phone number
- * .gs-address : an address (includes street, city, region, country)
- * .gs-streetAddress : a street (including #)
- * .gs-city : a city
- * .gs-region : a region (zip code, area, etc.)
- * .gs-country : a country
- * .gs-snippet : snippetized content
- * .gs-watermark : indicator that user selected this result
- * .gs-metadata : generic metadata, e.g.,
- * .gs-image-box : generic container for a result's image (within a table)
- * .gs-text-box : generic container for a result's text content (within a table). Note that this class, and image-box are only used in video
- */
-.gs-result .gs-title,
-.gs-result .gs-title * {
- color: #0000cc;
- text-decoration: underline;
-}
-
-.gs-divider {
- padding-bottom: 8px;
- text-align: center;
- color: #676767;
-}
-
-.gs-result a.gs-visibleUrl,
-.gs-result .gs-visibleUrl {
- color: #008000;
- text-decoration: none;
-}
-
-/* relative and absolute dates, not, news inlines these */
-.gs-relativePublishedDate,
-.gs-publishedDate {
- color: #6f6f6f;
- text-decoration: none;
-}
-.gs-result a.gs-clusterUrl,
-.gs-result .gs-clusterUrl {
- color: #008000;
- text-decoration: none;
- cursor: pointer;
-}
-
-.gs-newsResult .gs-publisher {
- color: #6f6f6f;
- display : inline;
- text-decoration: none;
-}
-
-.gs-bookResult .gs-author {
- color: #6f6f6f;
-}
-
-/*
- * For news results there are two dates...
- * The relative date is visible while in the
- * search control and the published date
- * is visible when clipped. Why? It doesn't
- * make sense to say 4 hours ago for a clipped
- * result...
- */
-
-/* establish the base style */
-.gs-newsResult .gs-relativePublishedDate,
-.gs-newsResult .gs-publishedDate {
- display : inline;
- margin-left : 4px;
-}
-
-/* base styling for relative date is none */
-.gs-blogResult .gs-relativePublishedDate,
-.gs-newsResult .gs-relativePublishedDate {
- display : none;
-}
-
-/* suppress publishedDate while in the control */
-.gsc-blogResult .gs-blogResult .gs-publishedDate,
-.gsc-newsResult .gs-newsResult .gs-publishedDate {
- display : none;
-}
-
-/* enable relativePublishedDate while in the control */
-.gsc-blogResult .gs-blogResult .gs-relativePublishedDate,
-.gsc-newsResult .gs-newsResult .gs-relativePublishedDate {
- display : inline;
-}
-
-.gs-newsResult .gs-location {
- color: #6f6f6f;
- display : inline;
- text-decoration: none;
-}
-
-.gs-result img.gs-image {
- vertical-align : middle;
- border : 1px solid #0000cc;
-}
-
-.gs-result div.gs-phone {}
-
-.gs-result .gs-directions,
-.gs-result .gs-directions * {
- color: #3366cc;
- font-weight: normal;
- text-decoration : underline;
-}
-
-.gs-videoResult a.gs-publisher,
-.gs-videoResult .gs-publisher {
- color: #008000;
- text-decoration: none;
-}
-
-.gs-result a {
- cursor: pointer;
-}
-
-.gs-result .gs-address {
-}
-
-.gs-result .gs-snippet {
-}
-
-.gs-result .gs-watermark{
- font-size: 10px;
- color: #7777cc;
-}
-
-div.gs-results-attribution {
- text-align : center;
- margin-bottom : 4px;
-}
-
-div.gs-results-attribution,
-div.gs-results-attribution * {
- font-size : 10px;
- color : #676767;
- text-decoration : none;
-}
-
-div.gs-results-attribution a {
- color: #0000cc;
- cursor : pointer;
-}
-
-div.gs-results-attribution a:hover {
- text-decoration : underline;
-}
-
-.gs-result .gs-metadata{
- color: #676767;
-}
-
-/* searcher specific styling for
- * - web ad
- * - web
- * - local
- * - image (none)
- * - blog (none)
- * - video (none)
- */
-
-/* webAd search specific over rides
- * .gs-ad-marker : disabled in control, but on in green to indicate clipped result is an ad
- */
-.gs-localAd img.gs-ad-marker,
-.gs-webAd img.gs-ad-marker {
- padding-left: 4px;
-}
-
-.gs-localAd a.gs-visibleUrl div.gs-visibleUrl,
-.gs-webAd a.gs-visibleUrl div.gs-visibleUrl {
- display : none;
-}
-
-/* default is to not show long mode visible urls
- * apps should selectively enable this while disabling
- * div.gs-visibleUrl-short
- */
-.gs-webResult div.gs-visibleUrl-long {
- width : 100%;
- overflow : hidden;
- display : block;
-}
-
-.gs-webResult div.gs-visibleUrl-short {
- display: none;
-}
-
-/* local search specific over rides
- * - city, region displayed inline
- * - country supressed
- * - small font size for info window's
- */
-
-.gs-localAd div.gs-address * {
- color : #676767;
-}
-
-.gs-localAd div.gs-street {
- display: inline;
-}
-
-div.gs-city {
- display: inline;
-}
-
-div.gs-region {
- display: inline;
-}
-
-div.gs-country {
- display: none;
-}
-
-div.gs-infoWindow * {
- font-size: 11px;
- }
-
-/* video search specific over rides
- * - align the table data
- * - default image width garuntee
- * - appropriate cell seperation
- */
-
-/* todo(markl): workaround until gre in gmail fixes his styles */
-.gs-videoResult * {
- font-size: 13px;
- }
-
-/*
-.gs-videoResult td .gs-image {
- vertical-align : middle;
-}
-
-.gs-videoResult td.gs-image-box {
- background-color : #000000;
-}*/
-
-.gs-videoResult td div.gs-image-box {
- width : 110px;
- height : 78px;
-}
-
-.gs-videoResult td div.gs-text-box {
- vertical-align: top;
- margin-left: 4px;
- }
-
-
-/* book search specific over rides
- * - default image width garuntee
- * - appropriate cell seperation
- */
-.gs-bookResult td div.gs-image-box {
- width : 75px;
- height : 90px;
-}
-
-.gs-bookResult td div.gs-text-box {
- vertical-align: top;
- margin-left: 4px;
- }
-
-.gs-bookResult img.gs-image,
-.gs-bookResult img {
- border-spacing : 0px 0px;
- border : none;
-}
-
-.gs-bookResult table.gs-image-box {
- border-style : none;
- border-width : 0px;
- border-spacing : 0px 0px;
-}
-
-.gs-bookResult td.gs-pages img {
- height : 7px;
- width : 45px;
-}
-
-.gs-bookResult td.gs-page-edge img {
- height : 7px;
- width : 11px;
-}
-
-.gs-bookResult td.gs-shadow {
- vertical-align : bottom;
-}
-
-.gs-bookResult td.gs-image img {
- height : 80px;
-}
-.gsc-ad-box { display:none;}
-
-
-/* trailing cursor section
- */
-.gsc-imageResult .gsc-cursor-box {
- clear : both;
-}
-
-.gsc-results .gsc-cursor-box .gsc-trailing-more-results {
- margin-bottom : 0px;
- display : inline;
-}
-
-.gsc-results .gsc-cursor {
- display : inline;
-}
-
-.gsc-results .gsc-cursor-box {
- margin-bottom : 10px;
-}
-
-.gsc-results .gsc-cursor-box .gsc-cursor-page {
- cursor : pointer;
- color : #000000;
- text-decoration: underline;
- margin-right : 8px;
- display : inline;
-}
-
-.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
- color : #A90A08;
- font-weight : bold;
- text-decoration: none;
-}
-
-.gsc-resultsHeader *{display:none;}
+++ /dev/null
-body{background-color:#ff;color:black;font-family:verdana,arial,helvetica,sans-serif;}h1,h2{font-family:arial,helvetica,sans-serif;}h1{font-size:18px;}h2{font-size:16px;margin-bottom:5px;}p{font-size:12px;}.label{font-weight:bold;background-color:transparent;text-align:right;width:200px;padding:5px;}.field{background-color:#fff;padding:3px;}table.data{background-color:#fff;color:#000;width:500px;border:1px solid #ccc;border-collapse:collapse;margin-left:20px;}table.data td{border:1px solid #ccc;padding-left:4px;font-size:12px;}
\ No newline at end of file
+++ /dev/null
-#searchcontrol{background-color:white;padding:20px;clear:both;}.gsc-control{width:auto;}.gsc-control div{position:static;}form.gsc-search-box{font-size:13px;margin-top:0;margin-right:0;margin-bottom:4px;margin-left:0;width:100%;}table.gsc-search-box{border-style:none;border-width:0;border-spacing:0;width:100%;margin-bottom:2px;}table.gsc-search-box td{vertical-align:middle;}td.gsc-search-button{width:1%;}td.gsc-clear-button{width:14px;display:none;}table.gsc-branding{border-style:none;border-width:0;border-spacing:0;width:100%;display:none;}td.gsc-branding-text{vertical-align:top;}td.gsc-branding-text div.gsc-branding-text{padding-bottom:2px;text-align:right;color:#676767;font-size:11px;margin-right:2px;}td.gsc-branding-img-noclear{width:51px;vertical-align:bottom;}td.gsc-branding-img{width:65px;vertical-align:bottom;}table.gsc-branding-vertical td.gsc-branding-text div.gsc-branding-text{margin-right:0;text-align:center;}table.gsc-branding-vertical td.gsc-branding-img-noclear{text-align:center;}div.gsc-branding-img,div.gsc-branding-img-noclear,img.gsc-branding-img,img.gsc-branding-img-noclear{padding-top:1px;}img.gsc-branding-img,img.gsc-branding-img-noclear{margin:0;padding-right:0;padding-left:0;padding-bottom:0;border:none;}input.gsc-search-button{margin-left:4px;}div.gsc-clear-button{display:inline;text-align:right;margin-left:4px;margin-right:4px;padding-left:10px;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.google.com/uds/css/clear.gif');cursor:pointer;}input.gsc-input{padding-left:2px;border-style:solid;border-width:1px;border-color:#BCCDF0;width:99%;}.gsc-keeper{color:#36c;text-decoration:underline;font-size:13px;cursor:pointer;font-weight:normal;padding-left:16px;background-repeat:no-repeat;background-position:1px 3px;background-image:url('http://www.google.com/uds/css/blue_check.gif');}.gsc-imageResult .gsc-keeper{text-decoration:none;}.gsc-resultsHeader{clear:both;width:100%;border-bottom:1px solid #e9e9e9;margin-bottom:4px;}.gsc-resultsHeader td.gsc-twiddleRegionCell{width:75%;}.gsc-resultsHeader td.gsc-configLabelCell{text-align:right;width:75%;}.gsc-resultsHeader .gsc-twiddle{margin-top:4px;display:inline;cursor:pointer;background-repeat:no-repeat;background-position:0 2px;}.gsc-resultsHeader td.gsc-twiddle-closed div.gsc-twiddle{background-image:url('http://www.google.com/uds/css/arrow_close.gif');}.gsc-resultsHeader td.gsc-twiddle-opened div.gsc-twiddle{background-image:url('http://www.google.com/uds/css/arrow_open.gif');}.gsc-resultsHeader .gsc-title{color:#676767;margin-right:10px;padding-left:14px;display:inline;}.gsc-resultsHeader .gsc-stats{color:#676767;font-size:11px;font-weight:normal;display:inline;}.gsc-resultsHeader td.gsc-twiddle-opened .gsc-stats{display:none;}.gsc-results-selector{display:inline;}.gsc-resultsHeader td.gsc-twiddle-closed .gsc-results-selector{display:none;}.gsc-result-selector{cursor:pointer;display:inline;font-size:13px;padding-left:13px;background-repeat:no-repeat;background-position:center left;}.gsc-one-result{background-image:url('http://www.google.com/uds/css/one-complex-dark.gif');}.gsc-more-results{background-image:url('http://www.google.com/uds/css/more-complex-dark.gif');}.gsc-all-results{background-image:url('http://www.google.com/uds/css/all-complex-dark.gif');padding-right:1px;}.gsc-one-result-active .gsc-one-result{background-image:url('http://www.google.com/uds/css/one-complex-light-blue.gif');}.gsc-more-results-active .gsc-more-results{background-image:url('http://www.google.com/uds/css/more-complex-light-blue.gif');}.gsc-all-results-active .gsc-all-results{background-image:url('http://www.google.com/uds/css/all-complex-light-blue.gif');}.gsc-resultsHeader .gsc-configLabel{color:#676767;display:inline;font-size:11px;cursor:pointer;}.gsc-resultsHeader td.gsc-configLabelCell span.gsc-twiddle-closed{padding-right:12px;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.google.com/uds/css/settings.gif');}.gsc-tabsArea{clear:both;margin-top:6px;display:none;}.gsc-tabsAreaInvisible{display:none;}.gsc-tabHeader{display:inline;cursor:pointer;padding-left:6px;padding-right:6px;margin-right:2px;}.gsc-tabHeader.gsc-tabhActive{border-left:1px solid #e9e9e9;border-right:1px solid #e9e9e9;border-top:2px solid #f90;color:black;}.gsc-tabHeader.gsc-tabhInactive{border-left:1px solid #e9e9e9;border-right:1px solid #e9e9e9;border-top:2px solid #e9e9e9;background:#e9e9e9;color:#676767;}.gsc-tabData.gsc-tabdActive{display:block;}.gsc-tabData.gsc-tabdInactive{display:none;}.gsc-tabData .gsc-resultsHeader .gsc-title{display:none;}.gsc-tabData .gsc-resultsHeader .gsc-stats{display:none;}.gsc-tabData .gsc-resultsHeader .gsc-results-selector{display:none;}.gsc-resultsbox-visible{display:block;}.gsc-resultsbox-invisible{display:none;}.gsc-results{clear:both;padding-bottom:2px;}.gsc-result{margin-bottom:10px;}.gsc-result .gs-title{height:1.4em;overflow:hidden;}.gsc-result div.gs-watermark{display:none;}.gsc-webResult a div.gs-title{display:inline;}.gsc-results .gsc-result img.gs-ad-marker{display:none;}div.gsc-config{border:1px solid #e9e9e9;margin-top:0;margin-bottom:10px;padding-top:2px;padding-left:6px;padding-right:6px;padding-bottom:6px;}form.gsc-config{margin-bottom:0;}.gsc-configSetting{margin-top:6px;}.gsc-configSetting_Label{color:#676767;}.gsc-configSettingInput{color:#676767;border:1px solid #e9e9e9;width:75%;}.gsc-configSettingCheckbox{color:#676767;margin-right:6px;}.gsc-configSettingCheckboxLabel{display:inline;color:#676767;}div.gsc-configSettingSubmit{margin-top:8px;text-align:right;}input.gsc-configSettingSubmit{display:inline;font-size:11px;cursor:pointer;}.gsc-results.gsc-imageResult .gsc-imageResult.horizontal{float:left;width:65px;margin-bottom:4px;margin-right:8px;text-align:center;}.gsc-results.gsc-imageResult .gsc-imageResult.horizontal .gs-imageResult{height:41px;}.gsc-results.gsc-imageResult .gsc-imageResult.vertical{float:none;margin-bottom:4px;margin-right:8px;text-align:left;}.gsc-results.gsc-imageResult .gsc-imageResult.horizontal .gsc-keeper{background-position:center;}.gsc-imageResult .gs-title{display:none;}.gsc-imageResult .gs-visibleUrl{display:none;}.gsc-imageResult .gs-size{display:none;}.gsc-videoResult .gs-videoResult .gs-metadata{font-size:11px;}.gsc-videoResult .gs-videoResult .gs-title{line-height:1.3em;height:1.3em;overflow:hidden;}.gsc-videoResult .gs-videoResult .gs-snippet{line-height:1.3em;max-height:2.6em;overflow:hidden;}.gs-result .gs-title,.gs-result .gs-title *{color:#00c;text-decoration:underline;}.gs-divider{padding-bottom:8px;text-align:center;color:#676767;}.gs-result a.gs-visibleUrl,.gs-result .gs-visibleUrl{color:#008000;text-decoration:none;}.gs-relativePublishedDate,.gs-publishedDate{color:#6f6f6f;text-decoration:none;}.gs-result a.gs-clusterUrl,.gs-result .gs-clusterUrl{color:#008000;text-decoration:none;cursor:pointer;}.gs-newsResult .gs-publisher{color:#6f6f6f;display:inline;text-decoration:none;}.gs-bookResult .gs-author{color:#6f6f6f;}.gs-newsResult .gs-relativePublishedDate,.gs-newsResult .gs-publishedDate{display:inline;margin-left:4px;}.gs-blogResult .gs-relativePublishedDate,.gs-newsResult .gs-relativePublishedDate{display:none;}.gsc-blogResult .gs-blogResult .gs-publishedDate,.gsc-newsResult .gs-newsResult .gs-publishedDate{display:none;}.gsc-blogResult .gs-blogResult .gs-relativePublishedDate,.gsc-newsResult .gs-newsResult .gs-relativePublishedDate{display:inline;}.gs-newsResult .gs-location{color:#6f6f6f;display:inline;text-decoration:none;}.gs-result img.gs-image{vertical-align:middle;border:1px solid #00c;}.gs-result .gs-directions,.gs-result .gs-directions *{color:#36c;font-weight:normal;text-decoration:underline;}.gs-videoResult a.gs-publisher,.gs-videoResult .gs-publisher{color:#008000;text-decoration:none;}.gs-result a{cursor:pointer;}.gs-result .gs-watermark{font-size:10px;color:#77c;}div.gs-results-attribution{text-align:center;margin-bottom:4px;}div.gs-results-attribution,div.gs-results-attribution *{font-size:10px;color:#676767;text-decoration:none;}div.gs-results-attribution a{color:#00c;cursor:pointer;}div.gs-results-attribution a:hover{text-decoration:underline;}.gs-result .gs-metadata{color:#676767;}.gs-localAd img.gs-ad-marker,.gs-webAd img.gs-ad-marker{padding-left:4px;}.gs-localAd a.gs-visibleUrl div.gs-visibleUrl,.gs-webAd a.gs-visibleUrl div.gs-visibleUrl{display:none;}.gs-webResult div.gs-visibleUrl-long{width:100%;overflow:hidden;display:block;}.gs-webResult div.gs-visibleUrl-short{display:none;}.gs-localAd div.gs-address *{color:#676767;}.gs-localAd div.gs-street{display:inline;}div.gs-city{display:inline;}div.gs-region{display:inline;}div.gs-country{display:none;}div.gs-infoWindow *{font-size:11px;}.gs-videoResult *{font-size:13px;}.gs-videoResult td div.gs-image-box{width:110px;height:78px;}.gs-videoResult td div.gs-text-box{vertical-align:top;margin-left:4px;}.gs-bookResult td div.gs-image-box{width:75px;height:90px;}.gs-bookResult td div.gs-text-box{vertical-align:top;margin-left:4px;}.gs-bookResult img.gs-image,.gs-bookResult img{border-spacing:0;border:none;}.gs-bookResult table.gs-image-box{border-style:none;border-width:0;border-spacing:0;}.gs-bookResult td.gs-pages img{height:7px;width:45px;}.gs-bookResult td.gs-page-edge img{height:7px;width:11px;}.gs-bookResult td.gs-shadow{vertical-align:bottom;}.gs-bookResult td.gs-image img{height:80px;}.gsc-ad-box{display:none;}.gsc-imageResult .gsc-cursor-box{clear:both;}.gsc-results .gsc-cursor-box .gsc-trailing-more-results{margin-bottom:0;display:inline;}.gsc-results .gsc-cursor{display:inline;}.gsc-results .gsc-cursor-box{margin-bottom:10px;}.gsc-results .gsc-cursor-box .gsc-cursor-page{cursor:pointer;color:#000;text-decoration:underline;margin-right:8px;display:inline;}.gsc-results .gsc-cursor-box .gsc-cursor-current-page{color:#A90A08;font-weight:bold;text-decoration:none;}.gsc-resultsHeader *{display:none;}
\ No newline at end of file
+++ /dev/null
-body .imagecaption{position:relative;width:auto;bottom:auto;background:url("../../assets/imagecaptionBg.gif") no-repeat bottom center!important;padding:0 0 10px 0;margin-top:4px;}
\ No newline at end of file
+++ /dev/null
-body{margin:0;padding:0;text-align:center;font-family:arial,sans-serif;font-size:12px;background:#adc7e8;}a:link{color:#006BB5;}a:visited{color:#006BB5;}a:hover{color:#000;}a:active{color:#006BB5;}img{border:0;display:block;}#wrapper{width:806px;margin:0 auto;text-align:left;background:url(../../assets/bg.gif) repeat-y;}#wrapperInner{width:760px;margin:0 auto;height:1%;overflow:hidden;}#top{background:url(../../assets/topBg.jpg) #fff no-repeat top right;height:154px;position:relative;}#logo{position:absolute;top:67px;left:84px;}#nav{background:url(../../assets/navBg.gif) no-repeat;height:40px;}#nav ul,#nav li{margin:0;padding:0;height:31px;list-style-type:none;}#nav li{float:left;position:relative;margin-top:4px;}#nav li a{line-height:31px;display:block;text-decoration:none;width:152px;text-align:center;font-weight:bold;}#nav li a:link{color:white;}#nav li a:visited{color:white;}#nav li a:hover{color:#e66b23;background:white;color:#006BB5;}#nav li a:active{color:white;}#main{width:593px;float:right;position:relative;padding-bottom:30px;}#column{width:167px;float:left;position:relative;}#toolbox{margin:20px 15px;}h1,h2{font-size:14px;margin-bottom:1em;}.imageright,.imageleft{position:relative;}.imageright{float:right;margin:0 0 10px 10px;}.imageleft{float:left;margin:0 10px 10px 0;}.imageright img,.imageleft img{border-bottom:1px solid #e66b23;}.imagecaption{position:absolute;width:271px;bottom:0;background:rgba(255,255,255,0.7);color:black;padding:4px 8px;font-size:12px;}.listing{clear:both;}#subnav{background:#006BB5;margin:6px 6px 6px 5px;}#subnav h2{background:url(../../assets/subnav-h-bg.gif) repeat-x left bottom;padding:5px 5px 10px 5px;color:#fff;margin:0;border-bottom:1px solid white;}#subnav ul{margin:0;padding:0;list-style-type:none;}#subnav ul li{margin:0;padding:0;zoom:1;}#subnav ul li a{display:block;padding:3px 4px 3px 8px;font-weight:bold;text-decoration:none;zoom:1;}#subnav ul a:link{color:white;}#subnav ul a:visited{color:white;}#subnav ul a:hover{color:white;background:#E66B23;}#subnav ul a:active{color:white;}#subnav ul ul a{padding-left:16px;background:#67A5CF;}a#current{color:#E8D092!important;}ul ul a#current{color:#BF7723!important;}#guide{background:url(../../assets/guideBg.gif) no-repeat;width:156px;height:180px;position:relative;margin-left:5px;}#guide a{position:absolute;top:160px;left:38px;font-weight:bold;}#guide a:link{color:white;}#guide a:visited{color:white;}#guide a:hover{color:white;text-decoration:none;}#guide a:active{color:white;}#cReservations{background:url(../../assets/reservationBg.gif) no-repeat;width:156px;height:114px;margin:6px 6px 6px 5px;text-align:center;}#cReservations a{display:block;padding-top:95px;text-align:center;text-decoration:none;font-weight:bold;}#cReservations a:link{color:white;}#cReservations a:visited{color:white;}#cReservations a:hover{color:#006BB5;}#cReservations a:active{color:white;}#cEvents{background:url(../../assets/eventsBg.gif) no-repeat #006bb5 20px 6px;margin:6px 6px 6px 5px;padding-top:61px;padding-bottom:5px;border:2px solid white;}a.cEventItem{border-top:1px solid #adc7e8;margin:0 6px;display:block;color:white;text-decoration:none;padding:5px;}.cEventDate{display:block;}.cEventTitle{display:block;font-weight:bold;}a.cEventItem:link{color:white;}a.cEventItem:visited{color:white;}a.cEventItem:hover{color:white;background:#E66B23;}a.cEventItem:active{color:white;}#cNewsletter{height:75px;margin-left:12px;margin-top:28px;background:url(../../assets/signupBg.gif) no-repeat;position:relative;}#cNewsletter .text{position:absolute;top:35px;left:3px;border:1px solid #2950ae;height:18px;width:140px;}#cNewsletter .submit{position:absolute;top:56px;left:3px;}#bottom{clear:both;background:#006bb5;position:relative;}#bottom #logoGlm{position:absolute;top:-10px;right:0;}#bottom #address{color:white;padding-left:50px;padding-top:10px;padding-bottom:5px;font-size:11px;font-weight:bold;}#bottom #address span{margin:15px;}#copyright{clear:both;padding:10px;text-align:center;background:white;position:relative;font-size:11px;}#banner{text-align:center;clear:left;}#banner img{margin:0 auto 0 auto;margin-left:30px;}#headlines{margin:40px 20px 20px;}#headlines h2{margin:0;padding:0;text-indent:-9999px;background:url(../../assets/headlinesHeader.gif) no-repeat;width:463px;height:47px;}#headlines h3{color:#e66b23;margin:0;}#headlines p{color:#002b91;margin:0;margin-bottom:1em;}#headlines h3,#headlines p{margin-left:50px;}#headlines p a{font-weight:bold;}.pages{padding:1em 0;clear:left;}.pages a,.pages b{color:#036;display:block;float:left;padding:.2em .5em;margin-right:.1em;border:1px solid #fff;background:#fff;}.pages b,.business-first-letter a.curr{border:1px solid #2E6AB1;font-weight:bold;background:#2E6AB1;color:#fff;}.pages a{border:1px solid #9AAFE5;text-decoration:none;}.pages a:hover,.business-first-letter a:hover{border-color:#2E6AB1;}.business-first-letter{margin:1em 0;}.business-first-letter>div{margin-bottom:1em;}.business-first-letter a{margin-right:.1em;color:#036;padding:.1em .4em;border:1px solid #9AAFE5;text-decoration:none;}#accountBox{border-right:1px solid #3D1006;border-bottom:1px solid #3D1006;border-left:1px solid #CBCBAA;border-top:1px solid #CBCBAA;background:#E7E7D5;width:230px;float:right;margin-left:10px;}#accountBox h2{margin:0 0 6px 0;}#accountBox #plannerLogin{padding:6px;}#accountBox #plannerLogin p{margin:0;}#plannerUser,#plannerP{float:left;}#accountBox #plannerLogin #plannerUser{margin-right:3px;}#accountBox #plannerLogin input{width:90px;display:block;}#accountBox #plannerLogin a{font-size:11px;}#plannerSubmit{float:right;}#accountBox #plannerLogin input.submit{border:0;width:20px;height:20px;text-indent:-5000px;padding:0;margin-top:15px;margin-left:3px;}#accountBox #plannerNew{padding:0;}#accountBox #plannerNew a{display:block;width:220px;height:30px;text-indent:-5000px;background:url(../../assets/saveplanner.gif) no-repeat;margin-left:0;}#plannerList{padding:6px;margin:0;clear:both;}.page-break{display:none;}.plannerItem{border:1px solid #E7E7D5;border-left:20px solid #CBCBAA;background:#CBCBAA;background:#E7E7D5;background:#FFF7DF;background:#FFFBEF;padding:1px 0 26px 0;position:relative;clear:both;margin-top:12px;height:1%;overflow:hidden;}.plannerRemove{text-indent:-5000px;background:url(../../assets/btn_close.gif) no-repeat;width:20px;height:20px;display:block;position:absolute;top:6px;right:6px;}.plannerItem h2{font-size:12px;padding:6px 0 3px 10px;margin:0;}.plannerItem h2 a{font-weight:normal;}.plannerItem h3{font-size:18px;padding:3px 0 0 10px;margin:0;}.plannerItem .plannerAddress{width:270px;float:left;}.plannerItem p{margin:0 10px;}.plannerInfo{float:right;width:280px;margin-top:0;}p.plannerTime{background:#CBCBAA;background:transparent;padding:3px 6px;padding:0;margin:0;position:absolute;bottom:6px;left:10px;font-style:italic;}ul#plannerNav{list-style-type:none;margin:0;padding:0;}ul#plannerNav li{list-style-type:none;margin:0;padding:0;float:left;}ul#plannerNav li a{text-indent:-5000px;display:block;}ul#plannerNav li#pN1 a{background:url(../../assets/btn_planneractions.gif) no-repeat;width:100px;height:35px;}ul#plannerNav li#pN2 a{background:url(../../assets/btn_planneractions.gif) no-repeat;height:35px;width:110px;background-position:-100px;}ul#plannerNav li#pN3 a{background:url(../../assets/btn_planneractions.gif) no-repeat;height:35px;width:85px;background-position:-210px;}ul#plannerNav li#pN4 a{background:url(../../assets/btn_planneractions.gif) no-repeat;height:35px;width:50px;background-position:-295px;}.galleryRow{height:180px;overflow:hidden;}div.thumb{height:160px!important;margin:3px!important;}.first-in-row{clear:left!important;}.thumb img{display:block!important;}.file-download{background-repeat:no-repeat;background-position:left;padding:1px 2px;padding-left:18px;position:relative;margin-right:10px;margin-bottom:5px;display:block;float:left;clear:left;background-image:url(images/file-ext/txt.png);}.avi,.mov,.wmv{background-image:url(images/file-ext/movie.gif);}.doc{background-image:url(images/file-ext/doc.gif);}.gif{background-image:url(images/file-ext/gif.gif);}.html{background-image:url(images/file-ext/html.gif);}.jpg{background-image:url(images/file-ext/jpg.gif);}.mp3{background-image:url(images/file-ext/mp3.gif);}.pdf{background-image:url(images/file-ext/pdf.png);}.ppt{background-image:url(images/file-ext/ppt.gif);}.txt{background-image:url(images/file-ext/txt.png);}.xls{background-image:url(images/file-ext/xls.gif);}.zip{background-image:url(images/file-ext/zip.png);}.rar{background-image:url(images/file-ext/rar.gif);}#slideshow,#slideshow li{margin:0;padding:0;overflow:hidden;list-style-type:none;}
\ No newline at end of file
+++ /dev/null
-var SignUp =
-{
- originalText: null,
- targetBox: null,
- verifyBox: null,
-
- init: function()
- {
- SignUp.targetBox = $('#email-f');
- SignUp.verifyBox = $('#email-h');
- SignUp.originalText = SignUp.targetBox.val();
- SignUp.targetBox.parent().bind('submit', SignUp.submit);
- SignUp.targetBox.focus(SignUp.clear);
- SignUp.targetBox.blur(SignUp.reset);
- },
-
- clear: function(event)
- {
- // Only clear the search string if the user
- // has not previously entered anything.
- if (this.value == SignUp.originalText) {
- this.value = '';
- }
- },
-
- reset: function(event)
- {
- // Only reset the search string if there was
- // nothing entered into the search box.
- if (!this.value) {
- this.value = SignUp.originalText;
- }
- },
-
- submit: function(event)
- {
- var signUpEmpty = !SignUp.targetBox.val(),
- signUpTextIsOrig = (SignUp.targetBox.val() == SignUp.originalText);
- if (signUpEmpty || signUpTextIsOrig) {
- event.preventDefault();
- alert('Please enter your email address!');
- SignUp.targetBox.focus();
- }
-
- SignUp.verifyBox.val(SignUp.targetBox.val());
- }
-};
-
-$(document).ready(SignUp.init);
+++ /dev/null
-var SignUp={originalText:null,targetBox:null,verifyBox:null,init:function(){SignUp.targetBox=$("#email-f");SignUp.verifyBox=$("#email-h");SignUp.originalText=SignUp.targetBox.val();SignUp.targetBox.parent().bind("submit",SignUp.submit);SignUp.targetBox.focus(SignUp.clear);SignUp.targetBox.blur(SignUp.reset)},clear:function(a){if(this.value==SignUp.originalText){this.value=""}},reset:function(a){if(!this.value){this.value=SignUp.originalText}},submit:function(c){var b=!SignUp.targetBox.val(),a=(SignUp.targetBox.val()==SignUp.originalText);if(b||a){c.preventDefault();alert("Please enter your email address!");SignUp.targetBox.focus()}SignUp.verifyBox.val(SignUp.targetBox.val())}};$(document).ready(SignUp.init);
\ No newline at end of file