aboutsummaryrefslogtreecommitdiff
path: root/modules/admin
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-26 21:52:17 -0500
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-26 21:52:17 -0500
commita0701d581dfa39113c1af68637118d99d5a0822a (patch)
tree17858862321c09316dbbeb9038695a8815406e2a /modules/admin
parent6d28ed7cd510621e571da1d5a20848d58d079f53 (diff)
downloadbayonetcms-a0701d581dfa39113c1af68637118d99d5a0822a.tar.gz
commit just prior to some pure insanity.
implementing theme system git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@463 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'modules/admin')
-rw-r--r--modules/admin/admin_functions.php17
-rw-r--r--modules/admin/index.php8
-rw-r--r--modules/admin/operation.php4
3 files changed, 15 insertions, 14 deletions
diff --git a/modules/admin/admin_functions.php b/modules/admin/admin_functions.php
index 30a40d0..6c2b394 100644
--- a/modules/admin/admin_functions.php
+++ b/modules/admin/admin_functions.php
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
+ /*
if(!defined("ADMIN_FILE"))
{
die("Access denied.");
@@ -86,7 +86,7 @@ function logout()
session_unset();
session_destroy();
}
-
+*/
/**
* CompileAdmin()
*
@@ -99,9 +99,10 @@ function logout()
* @param mixed $body
* @return
*/
+ /*
function CompileAdmin($head,$body)
{
- /*if we were not passed arrays, then say goodbye*/
+ /*if we were not passed arrays, then say goodbye
if(!is_array($head) || !is_array($body))
{
echo "must be array\n";
@@ -123,7 +124,7 @@ function CompileAdmin($head,$body)
echo "</tr></table>\n";
}
-/**
+
* OpenTable()
*
* The administration OpenTable() function requires an argument to define
@@ -132,20 +133,20 @@ function CompileAdmin($head,$body)
*
* @param mixed $title
* @return
- */
+
function OpenTable_Ex($title)
{
echo "<table align=\"center\"><tr><th>{$title}</th></tr><tr><td>";
}
-/**
+
* CloseTable()
*
* @return
- */
+
function CloseTable_Ex()
{
echo "</td></tr></table>";
}
-
+ */
?> \ No newline at end of file
diff --git a/modules/admin/index.php b/modules/admin/index.php
index 4dd4539..fc379ea 100644
--- a/modules/admin/index.php
+++ b/modules/admin/index.php
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
+ /*
if(!defined("MODULE_FILE"))
{
die("Access denied.");
@@ -30,12 +30,12 @@
logout();
}
-/* if(login())
+ if(login())
{
//this is so dirty... sigh.
if(is_loggedin())
{
- */ ?>
+ ?>
<!-- Add id="wrapper" for full height -->
<table align="center" width="90%" >
<tr><td><div style="text-align:right"><a href="?load=admin&op=logout">Logout, <?php echo $_SESSION['username']?></a></div></td></tr>
@@ -66,7 +66,7 @@
</table>
</div>
- <?php /*)
+ <?php )
}
} */
diff --git a/modules/admin/operation.php b/modules/admin/operation.php
index 0ac2a9b..2c66ff4 100644
--- a/modules/admin/operation.php
+++ b/modules/admin/operation.php
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
+ /*
if(!defined("ADMIN_FILE"))
{
die("Access denied.");
@@ -49,5 +49,5 @@ else
}
-
+*/
?> \ No newline at end of file