$title = array('Text', 'geom_title', array(
'label' => __("optional title for this journey"),
- 'attribs' => array('maxlength' => '40', 'size' => '20'),
- 'validators' => array(new Zend_Validate_StringLength(0, 40)),
+ 'attribs' => array('maxlength' => '160', 'size' => '20'),
+ 'validators' => array(new Zend_Validate_StringLength(0, 160)),
'decorators' => array(
'ViewHelper',
'Errors',
*margin-top: -1em; /* in ie <=7, .control-link margin-bottom "pushes" .title */
height: 32px;
clear: left;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ -o-text-overflow: ellipsis;
}
.page-link {
geom GEOGRAPHY (LINESTRING, 4326) NOT NULL,
creator INTEGER REFERENCES users ON DELETE SET NULL,
creator_ip INET NOT NULL,
- title VARCHAR(40),
+ title VARCHAR(160),
last_update TIMESTAMP NOT NULL DEFAULT NOW(),
urlcomp VARCHAR(20) UNIQUE CHECK (urlcomp ~ '^[a-z][a-zA-Z0-9_]*$') -- ~: matches regular expression; case sensitive
);