Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MINOR: remove $template var as sapphire/07d2d52 will pick this up aut…
…omatically
  • Loading branch information
wilr committed Apr 14, 2012
1 parent dc0168d commit 8531525
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions code/forms/SiteTreeURLSegmentField.php
@@ -1,24 +1,21 @@
<?php
/**
* @package cms
* @subpackage forms
*/

/**
* Used to edit the SiteTree->URLSegment property, and suggest input based on the serverside rules
* defined through {@link SiteTree->generateURLSegment()} and {@link URLSegmentFilter}.
*
* Note: The actual conversion for saving the value takes place in the model layer.
*
* @package cms
* @subpackage forms
*/

class SiteTreeURLSegmentField extends TextField {

protected $template = 'SiteTreeURLSegmentField';

/** @var String */
protected $helpText;

/** @var String */
protected $urlPrefix;
/**
* @var string
*/
protected $helpText, $urlPrefix;

static $allowed_actions = array(
'suggest'
Expand Down Expand Up @@ -81,6 +78,4 @@ function getURLPrefix(){
function Type() {
return 'text sitetreeurlsegment';
}


}

0 comments on commit 8531525

Please sign in to comment.