AastraIPPhoneTextMenu: Add some missing elements

Signed-off-by: James Bottomley <JBottomley@Parallels.com>
diff --git a/include/AastraIPPhoneTextMenu.class.php b/include/AastraIPPhoneTextMenu.class.php
index a346d26..1d4995e 100644
--- a/include/AastraIPPhoneTextMenu.class.php
+++ b/include/AastraIPPhoneTextMenu.class.php
@@ -101,6 +101,9 @@
 	var $_maxitems='30';
 	var $_scrollConstrain='';
 	var $_numberLaunch='';
+	var $_scrollUp='';
+	var $_scrollDown='';
+	var $_unitScroll='';
     
 	function setDefaultIndex($defaultIndex)
 	{
@@ -117,6 +120,21 @@
 		$this->_entries[] = new AastraIPPhoneTextMenuEntry($name, $url, $selection, $icon, $dial, $line, NULL);
 	}
 
+	function setScrollUp($uri)
+	{
+		$this->_scrollUp = $uri;
+	}
+
+	function setScrollDown($uri)
+	{
+		$this->_scrollDown = $uri;
+	}
+
+	function setUnitScroll()
+	{
+		$this->_unitScroll = 'yes';
+	}
+
 	function setBase($base)
 	{
 		$this->_entries[] = new AastraIPPhoneTextMenuEntry(NULL, NULL, NULL, NULL, NULL, NULL, $base);
@@ -193,6 +211,13 @@
 		# AllowConf
 		if ($this->_allowConf == 'yes') $out .= " allowConf=\"yes\"";
 
+		# UnitScroll
+		if ($this->_unitScroll == 'yes') $out .= " unitScroll=\"yes\"";
+
+		# Scrolls up/down
+		if($this->_scrollUp!='') $out .= " scrollUp=\"".$this->escape($this->_scrollUp)."\"";
+		if($this->_scrollDown!='') $out .= " scrollDown=\"".$this->escape($this->_scrollDown)."\"";
+
 		# Timeout
 		if ($this->_timeout!=0) $out .= " Timeout=\"{$this->_timeout}\"";