diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2012-12-31 06:17:27 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2012-12-31 06:17:27 +0000 |
commit | 4ad856927ba7174a569b706340aebebfbf85e922 (patch) | |
tree | 248b6c08376734f821d3ec09f95c88b21624c2e1 /h-source/Application/Views/Mobile/Project/index.php | |
parent | b381d1188565cf2ed5a2fc8e0b634af282922d28 (diff) |
improved the way the template is built
Diffstat (limited to 'h-source/Application/Views/Mobile/Project/index.php')
-rw-r--r-- | h-source/Application/Views/Mobile/Project/index.php | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/h-source/Application/Views/Mobile/Project/index.php b/h-source/Application/Views/Mobile/Project/index.php index 8fe1bd2..3fa494d 100644 --- a/h-source/Application/Views/Mobile/Project/index.php +++ b/h-source/Application/Views/Mobile/Project/index.php @@ -20,12 +20,13 @@ // along with h-source. If not, see <http://www.gnu.org/licenses/>. ?> - <div data-role="content"> - - <div class="position_tree_box"> - <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » h-project - </div> - - <p>write in the file <b>Application/Views/Project/index.php</b> your project information</p> - - </div> +<?php + if (file_exists(ROOT."/Template/".Params::$viewSubfolder."/Project/index_$lang.php")) + { + include(ROOT."/Template/".Params::$viewSubfolder."/Project/index_$lang.php"); + } + else + { + include(ROOT."/Template/".Params::$viewSubfolder."/Project/index.php"); + } +?> |