summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/protected/layout
diff options
context:
space:
mode:
Diffstat (limited to 'demos/blog-tutorial/protected/layout')
-rwxr-xr-xdemos/blog-tutorial/protected/layout/MainLayout.php3
-rwxr-xr-xdemos/blog-tutorial/protected/layout/MainLayout.tpl26
-rwxr-xr-xdemos/blog-tutorial/protected/layout/fr/MainLayout.tpl54
-rwxr-xr-xdemos/blog-tutorial/protected/layout/id/MainLayout.tpl54
4 files changed, 16 insertions, 121 deletions
diff --git a/demos/blog-tutorial/protected/layout/MainLayout.php b/demos/blog-tutorial/protected/layout/MainLayout.php
index e2a2b4b6..001069f5 100755
--- a/demos/blog-tutorial/protected/layout/MainLayout.php
+++ b/demos/blog-tutorial/protected/layout/MainLayout.php
@@ -2,7 +2,7 @@
class MainLayout extends TTemplateControl
{
-
+ /*
public function onLoad($param)
{
parent::onLoad($param);
@@ -10,6 +10,7 @@ class MainLayout extends TTemplateControl
$this->languages->DataSource = TPropertyValue::ensureArray($this->Application->Parameters['languages']);
$this->languages->dataBind();
}
+ */
public function languageLinkCreated($sender, $param)
{
diff --git a/demos/blog-tutorial/protected/layout/MainLayout.tpl b/demos/blog-tutorial/protected/layout/MainLayout.tpl
index f2bc1f96..c8b3eb87 100755
--- a/demos/blog-tutorial/protected/layout/MainLayout.tpl
+++ b/demos/blog-tutorial/protected/layout/MainLayout.tpl
@@ -15,7 +15,7 @@
<com:TPanel ID="MainMenu" CssClass="mainmenu">
<a href="?">Home</a> |
-<a href="http://www.pradosoft.com">PradoSoft.com</a>
+<a href="https://github.com/pradosoft/prado">Prado Project</a>
</com:TPanel>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
@@ -24,17 +24,19 @@
<com:TopicList ID="TopicPanel" />
</td>
<td valign="top">
-<com:TRepeater ID="languages" OnItemCreated="languageLinkCreated">
- <prop:HeaderTemplate>
- <div class="languages">Available Languages: <ul>
- </prop:HeaderTemplate>
- <prop:ItemTemplate>
- <li><com:THyperLink ID="link" Text=<%# $this->DataItem %> /></li>
- </prop:ItemTemplate>
- <prop:FooterTemplate>
- </ul></div>
- </prop:FooterTemplate>
+<!---
+<com:TRepeater ID="languages" OnItemCreated="languageLinkCreated">
+ <prop:HeaderTemplate>
+ <div class="languages">Available Languages: <ul>
+ </prop:HeaderTemplate>
+ <prop:ItemTemplate>
+ <li><com:THyperLink ID="link" Text=<%# $this->DataItem %> /></li>
+ </prop:ItemTemplate>
+ <prop:FooterTemplate>
+ </ul></div>
+ </prop:FooterTemplate>
</com:TRepeater>
+--->
<div id="content">
<com:TContentPlaceHolder ID="Main" />
</div>
@@ -43,7 +45,7 @@
</table>
<div id="footer">
-Copyright &copy; 2005-2007 <a href="http://www.pradosoft.com">PradoSoft</a>.
+Copyright &copy; 2005-2015 <a href="https://github.com/pradosoft">The PRADO Group</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>
diff --git a/demos/blog-tutorial/protected/layout/fr/MainLayout.tpl b/demos/blog-tutorial/protected/layout/fr/MainLayout.tpl
deleted file mode 100755
index 31464213..00000000
--- a/demos/blog-tutorial/protected/layout/fr/MainLayout.tpl
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-
-<com:THead Title="PRADO Tutoriel Blog">
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
-<meta http-equiv="content-language" content="en"/>
-</com:THead>
-
-<body>
-<com:TForm>
-<div id="header">
-<div class="title">PRADO for Dummies</div>
-<div class="image"></div>
-</div>
-
-<com:TPanel ID="MainMenu" CssClass="mainmenu">
-<a href="?">Accueil</a> |
-<a href="http://www.pradosoft.com">PradoSoft.com</a>
-</com:TPanel>
-
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
-<tr>
-<td valign="top" width="1">
-<com:TopicList ID="TopicPanel" />
-</td>
-<td valign="top">
-<com:TRepeater ID="languages" OnItemCreated="languageLinkCreated">
- <prop:HeaderTemplate>
- <div class="languages">Available Languages: <ul>
- </prop:HeaderTemplate>
- <prop:ItemTemplate>
- <li><com:THyperLink ID="link" Text=<%# $this->DataItem %> /></li>
- </prop:ItemTemplate>
- <prop:FooterTemplate>
- </ul></div>
- </prop:FooterTemplate>
-</com:TRepeater>
-<div id="content">
-<com:TContentPlaceHolder ID="Main" />
-</div>
-</td>
-</tr>
-</table>
-
-<div id="footer">
-Copyright &copy; 2005-2007 <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>
-
-</com:TForm>
-</body>
-</html>
diff --git a/demos/blog-tutorial/protected/layout/id/MainLayout.tpl b/demos/blog-tutorial/protected/layout/id/MainLayout.tpl
deleted file mode 100755
index 96e38c95..00000000
--- a/demos/blog-tutorial/protected/layout/id/MainLayout.tpl
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
-
-<com:THead Title="Tutorial Blog PRADO">
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
-<meta http-equiv="content-language" content="en"/>
-</com:THead>
-
-<body>
-<com:TForm>
-<div id="header">
-<div class="title">PRADO untuk Pemula</div>
-<div class="image"></div>
-</div>
-
-<com:TPanel ID="MainMenu" CssClass="mainmenu">
-<a href="?">Home</a> |
-<a href="http://www.pradosoft.com">PradoSoft.com</a>
-</com:TPanel>
-
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
-<tr>
-<td valign="top" width="1">
-<com:TopicList ID="TopicPanel" />
-</td>
-<td valign="top">
-<com:TRepeater ID="languages" OnItemCreated="languageLinkCreated">
- <prop:HeaderTemplate>
- <div class="languages">Bahasa Tersedia: <ul>
- </prop:HeaderTemplate>
- <prop:ItemTemplate>
- <li><com:THyperLink ID="link" Text=<%# $this->DataItem %> /></li>
- </prop:ItemTemplate>
- <prop:FooterTemplate>
- </ul></div>
- </prop:FooterTemplate>
-</com:TRepeater>
-<div id="content">
-<com:TContentPlaceHolder ID="Main" />
-</div>
-</td>
-</tr>
-</table>
-
-<div id="footer">
-Hak Cipta &copy; 2005-2008 <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>
-
-</com:TForm>
-</body>
-</html> \ No newline at end of file