Added write button
This commit is contained in:
parent
8ef32e183d
commit
63d6e1aee9
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$lang = array(
|
$lang = array(
|
||||||
'homeMenu' => 'Home menu'
|
'homeMenu' => 'Return to home',
|
||||||
|
'writeArticle' => 'Write an article'
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$lang = array(
|
$lang = array(
|
||||||
'homeMenu' => 'Menu principal'
|
'homeMenu' => 'Menu principal',
|
||||||
|
'writeArticle' => 'Ecrire un article'
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -37,7 +37,7 @@ if(isset($_GET['page'])){
|
||||||
<body>
|
<body>
|
||||||
<h1><?php echo $config["title"]; ?></h1>
|
<h1><?php echo $config["title"]; ?></h1>
|
||||||
<p><?php echo $config["description"] ?></p>
|
<p><?php echo $config["description"] ?></p>
|
||||||
<a href="?page=index"><?php echo isset($lang["homeMenu"])?$lang["homeMenu"]:"Return to home"; ?></a>
|
<a href="?page=index"><?php echo isset($lang["homeMenu"])?$lang["homeMenu"]:"Return to home"; ?></a> - <a href="?page=write"><?php echo isset($lang["writeArticle"])?$lang["writeArticle"]:"Write an article"; ?></a>
|
||||||
<hr />
|
<hr />
|
||||||
<?php echo isset($content)?$content:'Content not found'; ?>
|
<?php echo isset($content)?$content:'Content not found'; ?>
|
||||||
</body>
|
</body>
|
||||||
|
|
Reference in New Issue