Profile
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.
Git
This commit has been accessed 908 times via Git panel.

commit eef15e03c73b03a171f1ea633573d849eefd09a5
tree eac86d52511ec9c975f51058af6f1d93eb195074
parent d926b0d472214d6ca552ebde2a82b4d434ad48c2
author Engels Antonio <engels@majcms.org> 1294539194 +0800
committer Engels Antonio <engels@majcms.org> 1294539194 +0800

    Holiday release backlog commit

diff --git a/css.php b/css.php
index 2ee1028..e00396c 100644
--- a/css.php
+++ b/css.php
@@ -569,6 +569,59 @@ a.status:link,a.status:visited,a.status:active,a.status:hover {
        ?>                                     
 }
 
+.mbadge {
+       width: 80px;
+       padding: 1px;
+       margin: 0px 0px 3px 0px;
+       color: #ccc;
+       background-color: #fff;
+       border: 1px solid #dedede;
+       font-family: arial,helvetica,sans-serif;
+       font-size: 9px;
+
+       //-webkit-border-radius: 2px;
+       //-khtml-border-radius: 2px;
+       //-moz-border-radius: 2px;
+       //border-radius: 2px;
+
+       -webkit-box-shadow: 0 0 2px #ddd;
+       -khtml-box-shadow: 0 0 2px #ddd;
+       -moz-box-shadow: 0 0 2px #ddd;
+       box-shadow: 0 0 2px #ddd;
+
+       margin-left: auto;
+       margin-right: auto;
+}
+
+a.mblink:link,a.mblink:visited,a.mblink:active,a.mblink:hover {
+       text-decoration: none;
+       color: #ccc;
+       font-size: 9px;
+}
+
+.mbox1, .mbox2 {
+       font-weight: bold;
+       text-align: center;
+       float: left;
+       border: 1px solid #dedede;
+       font-size: 9px;
+}
+
+.mbox1 {
+       width: 25px;
+       margin: 0px 1px 0px 0px;
+}
+
+.mbox2 {
+       width: 50px;
+       margin: 0px;
+       border-color: #dedede;
+}
+
+.mclear {
+       clear: left;
+}
+
 <?php if (file_exists("data/css.txt")) { readfile("data/css.txt"); } ?>
 
 </style>
diff --git a/index.php b/index.php
index ad13d94..c70d528 100644
--- a/index.php
+++ b/index.php
@@ -5202,14 +5202,24 @@ if ($maj_count_right_panels > 0) {
 }
 
 if ($maj_count_latest > 0) {
-       echo '<table border="0" cellspacing="2" cellpadding="0" width="100%">';
-       echo '<tr><td align="center"><a target="_button" href="http://maj.sourceforge.net/"><img src="images/button.maj.png" border="0" width="80" height="15"></a></td></tr>';
-       echo '<tr><td align="center"><a target="_button" href="http://php.net/"><img src="images/button.php.png" border="0" width="80" height="15"></a></td></tr>';
-       echo '<tr><td align="center"><a target="_button" href="rss.php?ver=0.91"><img src="images/button.rss-0.91.png" border="0" width="80" height="15"></a></td></tr>';
-       echo '<tr><td align="center"><a target="_button" href="rss.php?ver=1.0"><img src="images/button.rss-1.0.png" border="0" width="80" height="15"></a></td></tr>';
-       echo '<tr><td align="center"><a target="_button" href="rss.php?ver=2.0"><img src="images/button.rss-2.0.png" border="0" width="80" height="15"></a></td></tr>';
-       echo '<tr><td align="center"><a target="_button" href="sitemap.php"><img src="images/button.sitemap.png" border="0" width="80" height="15"></a></td></tr>';
-       echo '</table>';
+//     echo '<table border="0" cellspacing="2" cellpadding="0" width="100%">';
+//     echo '<tr><td align="center"><a target="_button" href="http://maj.sourceforge.net/"><img src="images/button.maj.png" border="0" width="80" height="15"></a></td></tr>';
+//     echo '<tr><td align="center"><a target="_button" href="http://php.net/"><img src="images/button.php.png" border="0" width="80" height="15"></a></td></tr>';
+//     echo '<tr><td align="center"><a target="_button" href="rss.php?ver=0.91"><img src="images/button.rss-0.91.png" border="0" width="80" height="15"></a></td></tr>';
+//     echo '<tr><td align="center"><a target="_button" href="rss.php?ver=1.0"><img src="images/button.rss-1.0.png" border="0" width="80" height="15"></a></td></tr>';
+//     echo '<tr><td align="center"><a target="_button" href="rss.php?ver=2.0"><img src="images/button.rss-2.0.png" border="0" width="80" height="15"></a></td></tr>';
+//     echo '<tr><td align="center"><a target="_button" href="sitemap.php"><img src="images/button.sitemap.png" border="0" width="80" height="15"></a></td></tr>';
+//     echo '</table>';
+
+$mphp_version = phpversion();
+
+echo "<div class=\"mbadge\"><a class=\"mblink\" target=\"_maj\" href=\"http://majcms.org/\"><div class=\"mbox1\">MAJ</div><div class=\"mbox2\">2.0</div></a><div class=\"mclear\"></div></div>";
+echo "<div class=\"mbadge\"><a class=\"mblink\" target=\"_maj\" href=\"http://php.net/\"><div class=\"mbox1\">PHP</div><div class=\"mbox2\">$mphp_version</div></a><div class=\"mclear\"></div></div>";
+echo "<div class=\"mbadge\"><a class=\"mblink\" target=\"_maj\" href=\"rss.php?ver=0.91\"><div class=\"mbox1\">RSS</div><div class=\"mbox2\">0.91</div></a><div class=\"mclear\"></div></div>";
+echo "<div class=\"mbadge\"><a class=\"mblink\" target=\"_maj\" href=\"rss.php?ver=1.0\"><div class=\"mbox1\">RSS</div><div class=\"mbox2\">1.0</div></a><div class=\"mclear\"></div></div>";
+echo "<div class=\"mbadge\"><a class=\"mblink\" target=\"_maj\" href=\"rss.php?ver=2.0\"><div class=\"mbox1\">RSS</div><div class=\"mbox2\">2.0</div></a><div class=\"mclear\"></div></div>";
+echo "<div class=\"mbadge\"><a class=\"mblink\" target=\"_maj\" href=\"sitemap.php\"><div class=\"mbox1\">XML</div><div class=\"mbox2\">SITEMAP</div></a><div class=\"mclear\"></div></div>";
+
 }
 
 echo "</td></tr>";
diff --git a/rel.txt b/rel.txt
index 689cb5f..c2336ab 100644
--- a/rel.txt
+++ b/rel.txt
@@ -1 +1 @@
-201012200322
+201012231728
diff --git a/url.txt b/url.txt
index df92025..3ab108b 100644
--- a/url.txt
+++ b/url.txt
@@ -1 +1 @@
-http://maj.sourceforge.net/
+http://majcms.org/
\ No newline at end of file
 
Credits
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
Search
Download
MAJ 2.0
75 files
33087 downloads
MAJ 1.0
26 files
13170 downloads
MAJ 0.14
45 files
35071 downloads