Skip to content

Commit

Permalink
Edit development message & author + fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPierrre committed Aug 17, 2020
1 parent 1792b3b commit 41789e1
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Controller/ForumAppController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ForumAppController extends AppController

public $atualTheme;

protected $version = '1.4.5';
protected $version = '1.4.7';


protected function date($date, $day = true)
Expand Down
37 changes: 21 additions & 16 deletions View/Forum/admin_index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,27 @@
</div>
<div class="row">
<div class="col-md-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title"><?= $Lang->get('FORUM__INFORMATION') ?></h3>
</div>
<div class="box-body">
<p>
<?= $Lang->get('FORUM__PHRASE__PAGE__ADMININDEX_8'); ?>
<ul>
<li><a href="https://www.phpierre.fr/" target="_blank">Site web</a></li>
<li><a href="https://twitter.com/PHPierrre" target="_blank">Profil Twitter</a></li>
<li><a href="https://github.com/PHPierrre" target="_blank">Profil Github</a></li>
</ul>
</p>
<br />
<b><?= $Lang->get('FORUM__PHRASE__PAGE__ADMININDEX_7'); ?></b>
<ul>
<li><a href="https://github.com/MineWeb/Plugin-Forum" target="_blank">Le code du forum sur Github</a></li>
<li><a href="https://discordapp.com/invite/3QYdt8r" target="_blank">Le discord de MineWeb</a></li>
</ul>
</div>
</div>
<div class="box box-success">
<div class="box-header with-border">
<h3 class="box-title"><?= $Lang->get('USER__RANK_MEMBER'); ?><?php if($stats['countuser'] > 1) echo 's'; ?><?= $Lang->get('FORUM__PHRASE__ONLINE'); ?></h3>
Expand Down Expand Up @@ -53,11 +74,6 @@
</div>
<div class="box-body">
<?= $remoteMsg['info']; ?>
<p>
<?= $Lang->get('FORUM__PHRASE__PAGE__ADMININDEX_1'); ?><br />
<?= $Lang->get('FORUM__PHRASE__PAGE__ADMININDEX_2'); ?><a href="https://www.phpierre.fr/contact">lien</a><?= $Lang->get('FORUM__PHRASE__PAGE__ADMININDEX_3'); ?><br />
<?= $Lang->get('FORUM__PHRASE__PAGE__ADMININDEX_4'); ?>
</p>
</div>
</div>
<div class="row">
Expand Down Expand Up @@ -144,17 +160,6 @@
</form>
</div>
</div>
<div class="box">
<div class="box-header with-border">
<h3 class="box-title"><?= $Lang->get('FORUM__NEXT__UPDATE') ?></h3>
</div>
<div class="box-body">
<?= $Lang->get('FORUM__PHRASE__PAGE__ADMININDEX_7'); ?>
<?php foreach ($remoteMsg['nextupdate'] as $msg): ?>
<?= $msg; ?>
<?php endforeach; ?>
</div>
</div>
</div>
</div>
</section>
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"Forum": "/forum"
},
"author":"PHPierre",
"version":"1.4.6",
"version":"1.4.7",
"apiID":-1,
"useEvents":false,
"permissions" : {
Expand Down
3 changes: 2 additions & 1 deletion lang/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@
"FORUM__PHRASE__PAGE__ADMININDEX_4": "The forum at a rate of update very sustained, a message will appear above if there is a more recent version of the plugin.",
"FORUM__PHRASE__PAGE__ADMININDEX_5": "Warning, these buttons will delete all posts, topics, forums!",
"FORUM__PHRASE__PAGE__ADMININDEX_6": "Warning, pressing this button will delete all the history of the actions of the forum.",
"FORUM__PHRASE__PAGE__ADMININDEX_7": "Below, you can find the list of your suggestions.Theses suggestions will be added in later versions of the Forum plugin.",
"FORUM__PHRASE__PAGE__ADMININDEX_7": "If you are a developer or you want to participate to the forum's development, you can report the bugs, help others users, participate in its development on Github via the following links :",
"FORUM__PHRASE__PAGE__ADMININDEX_8": "Forum developed by <b>PHPierre</b> since 2017 : ",
"FORUM__PHRASE__PAGE_ADMINADDFORUM_1": "A forum is a section that includes sub-forums.",
"FORUM__PHRASE__RECIPIENT": "Recipient (s) (separated by a comma)",
"FORUM__PHRASE__SENDMYMSG": "Send my message",
Expand Down
3 changes: 2 additions & 1 deletion lang/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@
"FORUM__PHRASE__PAGE__ADMININDEX_4": "Le forum à un rythme de mise à jour très soutenu, un message apparaitra ci-dessus s'il existe une version plus récente du plugin.",
"FORUM__PHRASE__PAGE__ADMININDEX_5": "Attention ! Ces boutons supprimeront tous les posts, topics, forums !",
"FORUM__PHRASE__PAGE__ADMININDEX_6": "Attention, appuyer sur ce bouton supprimera tout l'historique des actions du forum.",
"FORUM__PHRASE__PAGE__ADMININDEX_7": "Ci-dessous, vous pourrez trouver la liste de vos suggestions. Ces suggestions seront ajoutées dans des versions ultérieures du plugin Forum.",
"FORUM__PHRASE__PAGE__ADMININDEX_7": "Si vous êtes développeur ou que vous voulez participer au développement du Forum, vous pouvez signaler les bugs, aider les autres utilisateurs, participer à son développement sur Github via les liens suivants :",
"FORUM__PHRASE__PAGE__ADMININDEX_8": "Forum développé par <b>PHPierre</b> depuis 2017 : ",
"FORUM__PHRASE__PAGE_ADMINADDFORUM_1": "Un forum est une section qui englobe les sous-forums.",
"FORUM__PHRASE__RECIPIENT": "Destinataire(s) (séparé par une virgule)",
"FORUM__PHRASE__SENDMYMSG": "Envoyer mon message",
Expand Down

0 comments on commit 41789e1

Please sign in to comment.