Skip to content

Commit

Permalink
Merge pull request #19 from Smaragda2/Articles
Browse files Browse the repository at this point in the history
Few more minor changes regarding Articles
  • Loading branch information
Smaragda2 authored Aug 30, 2023
2 parents 18bec26 + 20c19a5 commit 865a08d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/articles/newArticle.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function CheckRequired(){
var body = $("#body").val();

var titleMaxChars = 150;
var descriptionMaxChars = 150;
var descriptionMaxChars = 255;
var bodyMaxChars = 65535;

var errorsMsg = "";
Expand Down
2 changes: 1 addition & 1 deletion articles/articles.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
print<<<END
<p style="width: 100%;"><b>Τίτλος Άρθρου:</b> $articleTitle</p>
<div class="jumbotron " style="width:100%;">
<div class="col">$smallDescription</div>
<div class="articleBody col">$smallDescription</div>
<br>
<form action="?p=Article" method="POST" enctype="multipart/form-data" class="needs-validation" style="width:100%" novalidate>
<input type="hidden" id="id" name="id" value="$id"/>
Expand Down

0 comments on commit 865a08d

Please sign in to comment.