summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-01-20 21:24:11 +0000
committerxue <>2006-01-20 21:24:11 +0000
commitf74267f8927d39b5cb3dc43203060488371127c9 (patch)
tree072f9a75cf7d47e7613693b7a297bc3bd8be3a93
parentf61df44944316c87923530ef5f23725ffd410d92 (diff)
Added Prado::poweredByPrado()
-rw-r--r--demos/quickstart/protected/controls/Layout.tpl1
-rw-r--r--framework/core.php10
2 files changed, 10 insertions, 1 deletions
diff --git a/demos/quickstart/protected/controls/Layout.tpl b/demos/quickstart/protected/controls/Layout.tpl
index 9cdc0362..1ff77361 100644
--- a/demos/quickstart/protected/controls/Layout.tpl
+++ b/demos/quickstart/protected/controls/Layout.tpl
@@ -34,6 +34,7 @@
<div id="footer">
Copyright &copy; 2005-2006 <a href="http://www.pradosoft.com">PradoSoft</a>.
<br/><br/>
+<%= Prado::poweredByPrado() %>
<a href="http://validator.w3.org/check?uri=referer"><img border="0" src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
</div>
diff --git a/framework/core.php b/framework/core.php
index 57c683b2..cbb53ddc 100644
--- a/framework/core.php
+++ b/framework/core.php
@@ -386,7 +386,15 @@ class PradoBase
*/
public static function getVersion()
{
- return '3.0a';
+ return '3.0b';
+ }
+
+ /**
+ * @return string a string that can be displayed on your Web page showing powered-by-PRADO information
+ */
+ public static function poweredByPrado()
+ {
+ return '<a title="Powered by PRADO" href="http://www.pradosoft.com/"><img src="http://www.pradosoft.com/images/powered.gif" style="border-width:0px;" alt="Powered by PRADO" /></a>';
}
/**