diff options
Diffstat (limited to 'h-source/Application/Views/Desktop/Home/left.php')
-rw-r--r-- | h-source/Application/Views/Desktop/Home/left.php | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/h-source/Application/Views/Desktop/Home/left.php b/h-source/Application/Views/Desktop/Home/left.php index 82c6ac0..01b7f7f 100644 --- a/h-source/Application/Views/Desktop/Home/left.php +++ b/h-source/Application/Views/Desktop/Home/left.php @@ -20,17 +20,14 @@ // along with h-source. If not, see <http://www.gnu.org/licenses/>. ?> - <div id="left"> - - <div class="position_tree_box"> - Home - </div> - - <?php echo $htmlNewsBox;?> - - <p>it works!!</p> - - <p>modify the file <b>Application/Views/Home/left.php</b> in order to change the english version of your homepage</p> +<?php + if (file_exists(ROOT."/Template/".Params::$viewSubfolder."/Home/left_$lang.php")) + { + include(ROOT."/Template/".Params::$viewSubfolder."/Home/left_$lang.php"); + } + else + { + include(ROOT."/Template/".Params::$viewSubfolder."/Home/left.php"); + } +?> - <p>modify the file <b>Application/Include/languages.php</b> in order to add new languages</p> - </div> |