summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demos/quickstart/themes/Simple/style.css18
-rw-r--r--framework/Web/Services/TPageService.php5
2 files changed, 21 insertions, 2 deletions
diff --git a/demos/quickstart/themes/Simple/style.css b/demos/quickstart/themes/Simple/style.css
index a0d2a8fb..9bde1930 100644
--- a/demos/quickstart/themes/Simple/style.css
+++ b/demos/quickstart/themes/Simple/style.css
@@ -7,6 +7,24 @@ body {
padding:0px;
}
+h1 {
+ font-size:14pt;
+}
+
+h2 {
+ font-size:12pt;
+}
+
+h3 {
+ font-size:11pt;
+ font-weight:bold;
+}
+
+h4 {
+ font-size:10pt;
+ font-weight:bold;
+}
+
#header {
font-size:13pt;
font-weight:bold;
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php
index 6834e269..886fec24 100644
--- a/framework/Web/Services/TPageService.php
+++ b/framework/Web/Services/TPageService.php
@@ -458,11 +458,12 @@ class TPageService extends TService
* Constructs a URL with specified page path and GET parameters.
* @param string page path
* @param array list of GET parameters, null if no GET parameters required
+ * @param boolean whether to encode the ampersand in URL, defaults to false.
* @return string URL for the page and GET parameters
*/
- public function constructUrl($pagePath,$getParams=null)
+ public function constructUrl($pagePath,$getParams=null,$encodeAmpersand=false)
{
- return $this->_application->getRequest()->constructUrl($this->_id,$pagePath,$getParams);
+ return $this->_application->getRequest()->constructUrl($this->_id,$pagePath,$getParams,$encodeAmpersand);
}
}