diff options
-rw-r--r-- | demos/quickstart/protected/controls/Layout.tpl | 1 | ||||
-rw-r--r-- | framework/core.php | 10 |
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 © 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>';
}
/**
|