MAJ is an Open Source, PHP-based content management system (CMS) that can be deployed as a blog, bulletin or message board, Internet forum, and wiki. It is extensible via PHP panels and is HTML5 and CSS3 ready.
This commit has been accessed 926 times via Git panel.

commit 4b72636d268c915cc14aa50b0469e4f0e57f9a68
tree 197a49df31947570b44574eb474297f05f76b31a
parent 56794c7d158ce3c5fd4ca33f82d7a919634c6ad2
author Magie Antonio <> 1307309739 +0800
committer Magie Antonio <> 1307309739 +0800

    Fix HTML5 form field attributes in edit.php and reg.php

diff --git a/edit.php b/edit.php
index d8c2b35..5bae69a 100644
--- a/edit.php
+++ b/edit.php
@@ -640,7 +640,7 @@ if (file_exists("images/{$_REQUEST['entry']}/album")) {
 <tr><td><input required autocomplete="off" class="input_title" type="text" name="title_input" value="<?php
-<tr><td><textarea class="input_body" name="body_input" rows="15" autofocus required>
+<tr><td><textarea class="input_body" name="body_input" rows="15" required>
   $open_body_file = fopen($body_file, "r");
   $read_body_file = fread($open_body_file, filesize($body_file));
diff --git a/reg.php b/reg.php
index e6c31ec..86dc782 100644
--- a/reg.php
+++ b/reg.php
@@ -716,7 +716,7 @@ if (file_exists("data/bb-disclaimer.txt")) {
 <tr><td width=100><p>Country</p></td><td colspan=3>
-<select class="input" name="country">
+<select class="input" name="country" required>
 <option value=""></option>
 <option value="AF">Afghanistan</option>
 <option value="AX">Aland (Ahvenanmaa) Islands</option>
Sunday, Sep 18, 2005, 12:00 AM (Revision 11 - Thursday, Jul 14, 2011, 7:30 PM)
Open Source enables software developers to stand on the shoulders of giants instead of reinventing the wheel, so to speak. Kudos and many thanks to the folks who made their work freely available for reuse in MAJ.

read more
Bugs and Exploits
Friday, Aug 26, 2005, 12:00 AM (Revision 23 - Wednesday, May 29, 2013, 5:25 AM)
Although MAJ started as a family project, care has been taken to make it as "safe" as possible. With more people now working on MAJ, bugs and exploitable code may sometimes slip in. We invite you to poke around and see if you can find any. Generally, there are two things you can do when you find a MAJ or PHP-related bug or exploit:

1. Take advantage of it. But hey, what's so exciting about messing up someone's blog? Ho-hum, right?
2. Report it here so that we can work on a fix and make MAJ better.

read more
MAJ 2.0
75 files
MAJ 1.0
26 files
MAJ 0.14
45 files