|
From: <be...@us...> - 2013-08-14 06:37:18
|
Revision: 11910
http://sourceforge.net/p/xoops/svn/11910
Author: beckmi
Date: 2013-08-14 06:37:13 +0000 (Wed, 14 Aug 2013)
Log Message:
-----------
Converted to XOOPS 2.5.6 Admin GUI
Modified Paths:
--------------
XoopsModules/planet/trunk/planet/action.article.php
XoopsModules/planet/trunk/planet/action.blog.php
XoopsModules/planet/trunk/planet/action.bookmark.php
XoopsModules/planet/trunk/planet/action.rate.php
XoopsModules/planet/trunk/planet/admin/about.php
XoopsModules/planet/trunk/planet/admin/admin.article.php
XoopsModules/planet/trunk/planet/admin/admin.blog.php
XoopsModules/planet/trunk/planet/admin/admin.category.php
XoopsModules/planet/trunk/planet/admin/header.php
XoopsModules/planet/trunk/planet/admin/index.php
XoopsModules/planet/trunk/planet/admin/menu.php
XoopsModules/planet/trunk/planet/blocks/block.php
XoopsModules/planet/trunk/planet/class/article.php
XoopsModules/planet/trunk/planet/class/blog.php
XoopsModules/planet/trunk/planet/class/bookmark.php
XoopsModules/planet/trunk/planet/class/category.php
XoopsModules/planet/trunk/planet/class/feedcreator.class.php
XoopsModules/planet/trunk/planet/class/rate.php
XoopsModules/planet/trunk/planet/class/xml.php
XoopsModules/planet/trunk/planet/class/xmlparser.php
XoopsModules/planet/trunk/planet/class/xmlpc.php
XoopsModules/planet/trunk/planet/comment_delete.php
XoopsModules/planet/trunk/planet/comment_edit.php
XoopsModules/planet/trunk/planet/comment_new.php
XoopsModules/planet/trunk/planet/comment_post.php
XoopsModules/planet/trunk/planet/comment_reply.php
XoopsModules/planet/trunk/planet/counter.php
XoopsModules/planet/trunk/planet/footer.php
XoopsModules/planet/trunk/planet/header.php
XoopsModules/planet/trunk/planet/images/logo.png
XoopsModules/planet/trunk/planet/include/action.module.php
XoopsModules/planet/trunk/planet/include/comment.inc.php
XoopsModules/planet/trunk/planet/include/form.blog.php
XoopsModules/planet/trunk/planet/include/functions.ini.php
XoopsModules/planet/trunk/planet/include/functions.php
XoopsModules/planet/trunk/planet/include/search.inc.php
XoopsModules/planet/trunk/planet/include/vars.php
XoopsModules/planet/trunk/planet/index.php
XoopsModules/planet/trunk/planet/language/english/admin.php
XoopsModules/planet/trunk/planet/pdf.php
XoopsModules/planet/trunk/planet/print.php
XoopsModules/planet/trunk/planet/search.php
XoopsModules/planet/trunk/planet/templates/planet_index.html
XoopsModules/planet/trunk/planet/trackback.php
XoopsModules/planet/trunk/planet/update.php
XoopsModules/planet/trunk/planet/view.archive.php
XoopsModules/planet/trunk/planet/view.article.php
XoopsModules/planet/trunk/planet/view.blogs.php
XoopsModules/planet/trunk/planet/xml.php
XoopsModules/planet/trunk/planet/xoops_version.php
Added Paths:
-----------
XoopsModules/planet/trunk/planet/admin/admin_footer.php
XoopsModules/planet/trunk/planet/admin/admin_header.php
XoopsModules/planet/trunk/planet/admin/main.php
XoopsModules/planet/trunk/planet/docs/
XoopsModules/planet/trunk/planet/docs/changelog.txt
XoopsModules/planet/trunk/planet/docs/credits.txt
XoopsModules/planet/trunk/planet/docs/index.html
XoopsModules/planet/trunk/planet/docs/install.txt
XoopsModules/planet/trunk/planet/docs/lang_diff.txt
XoopsModules/planet/trunk/planet/docs/license.txt
XoopsModules/planet/trunk/planet/docs/readme.clone.txt
XoopsModules/planet/trunk/planet/docs/readme.txt
XoopsModules/planet/trunk/planet/images/index.html
XoopsModules/planet/trunk/planet/include/index.html
XoopsModules/planet/trunk/planet/language/english/help/
XoopsModules/planet/trunk/planet/language/english/help/help.html
XoopsModules/planet/trunk/planet/language/english/help/index.html
XoopsModules/planet/trunk/planet/language/english/mail_template/index.html
XoopsModules/planet/trunk/planet/templates/blocks/index.html
Removed Paths:
-------------
XoopsModules/planet/trunk/planet/admin/admin.block.php
XoopsModules/planet/trunk/planet/changelog.txt
XoopsModules/planet/trunk/planet/gpl.txt
XoopsModules/planet/trunk/planet/readme.clone.txt
XoopsModules/planet/trunk/planet/readme.html
Modified: XoopsModules/planet/trunk/planet/action.article.php
===================================================================
--- XoopsModules/planet/trunk/planet/action.article.php 2013-08-14 06:26:06 UTC (rev 11909)
+++ XoopsModules/planet/trunk/planet/action.article.php 2013-08-14 06:37:13 UTC (rev 11910)
@@ -21,7 +21,7 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
// Author: phppp (D.J., in...@gm...) //
-// URL: http://xoopsforge.com, http://xoops.org.cn //
+// URL: http://xoops.org //
// Project: Article Project //
// ------------------------------------------------------------------------ //
Modified: XoopsModules/planet/trunk/planet/action.blog.php
===================================================================
--- XoopsModules/planet/trunk/planet/action.blog.php 2013-08-14 06:26:06 UTC (rev 11909)
+++ XoopsModules/planet/trunk/planet/action.blog.php 2013-08-14 06:37:13 UTC (rev 11910)
@@ -21,7 +21,7 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
// Author: phppp (D.J., in...@gm...) //
-// URL: http://xoopsforge.com, http://xoops.org.cn //
+// URL: http://xoops.org //
// Project: Article Project //
// ------------------------------------------------------------------------ //
Modified: XoopsModules/planet/trunk/planet/action.bookmark.php
===================================================================
--- XoopsModules/planet/trunk/planet/action.bookmark.php 2013-08-14 06:26:06 UTC (rev 11909)
+++ XoopsModules/planet/trunk/planet/action.bookmark.php 2013-08-14 06:37:13 UTC (rev 11910)
@@ -21,7 +21,7 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
// Author: phppp (D.J., in...@gm...) //
-// URL: http://xoopsforge.com, http://xoops.org.cn //
+// URL: http://xoops.org //
// Project: Article Project //
// ------------------------------------------------------------------------ //
Modified: XoopsModules/planet/trunk/planet/action.rate.php
===================================================================
--- XoopsModules/planet/trunk/planet/action.rate.php 2013-08-14 06:26:06 UTC (rev 11909)
+++ XoopsModules/planet/trunk/planet/action.rate.php 2013-08-14 06:37:13 UTC (rev 11910)
@@ -21,7 +21,7 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
// Author: phppp (D.J., in...@gm...) //
-// URL: http://xoopsforge.com, http://xoops.org.cn //
+// URL: http://xoops.org //
// Project: Article Project //
// ------------------------------------------------------------------------ //
Modified: XoopsModules/planet/trunk/planet/admin/about.php
===================================================================
--- XoopsModules/planet/trunk/planet/admin/about.php 2013-08-14 06:26:06 UTC (rev 11909)
+++ XoopsModules/planet/trunk/planet/admin/about.php 2013-08-14 06:37:13 UTC (rev 11910)
@@ -1,99 +1,30 @@
-<?php
-// $Id$
-// ------------------------------------------------------------------------ //
-// This program is free software; you can redistribute it and/or modify //
-// it under the terms of the GNU General Public License as published by //
-// the Free Software Foundation; either version 2 of the License, or //
-// (at your option) any later version. //
-// //
-// You may not change or alter any portion of this comment or credits //
-// of supporting developers from this source code or any supporting //
-// source code which is considered copyrighted (c) material of the //
-// original comment or credit authors. //
-// //
-// This program is distributed in the hope that it will be useful, //
-// but WITHOUT ANY WARRANTY; without even the implied warranty of //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
-// GNU General Public License for more details. //
-// //
-// You should have received a copy of the GNU General Public License //
-// along with this program; if not, write to the Free Software //
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
-// ------------------------------------------------------------------------ //
-// Author: phppp (D.J., in...@gm...) //
-// URL: http://xoopsforge.com, http://xoops.org.cn //
-// Project: Article Project //
-// ------------------------------------------------------------------------ //
-include( "header.php" );
-
-xoops_cp_header();
-planet_adminmenu(5);
-
-$versioninfo =& $module_handler->get( $xoopsModule->getVar( 'mid' ) );
-echo "
- <style type=\"text/css\">
- label,text {
- display: block;
- float: left;
- margin-bottom: 2px;
- }
- label {
- text-align: right;
- width: 150px;
- padding-right: 20px;
- }
- br {
- clear: left;
- }
- </style>
-";
-
-echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . $xoopsModule->getVar("name"). "</legend>";
-echo "<div style='padding: 8px;'>";
-echo "<img src='" . XOOPS_URL . "/modules/" . $xoopsModule->getVar("dirname") . "/" . $versioninfo->getInfo( 'image' ) . "' alt='' hspace='10' vspace='0' /></a>\n";
-echo "<div style='padding: 5px;'><strong>" . $versioninfo->getInfo( 'name' ) . " version " . $versioninfo->getInfo( 'version' ) . "</strong></div>\n";
-echo "<label>" . planet_constant("AM_ABOUT_RELEASEDATE") . ":</label><text>" . $versioninfo->getInfo( 'release' ) . "</text><br />";
-echo "<label>" . planet_constant("AM_ABOUT_AUTHOR") . ":</label><text>" . $versioninfo->getInfo( 'author' ) . "</text><br />";
-echo "<label>" . planet_constant("AM_ABOUT_CREDITS") . ":</label><text>" . $versioninfo->getInfo( 'credits' ) . "</text><br />";
-echo "<label>" . planet_constant("AM_ABOUT_LICENSE") . ":</label><text><a href=\"".$versioninfo->getInfo( 'license_file' )."\" target=\"_blank\" >" . $versioninfo->getInfo( 'license' ) . "</a></text>\n";
-echo "</div>";
-echo "</fieldset>";
-echo "<br clear=\"all\" />";
-
-echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . planet_constant("AM_ABOUT_MODULE_INFO") . "</legend>";
-echo "<div style='padding: 8px;'>";
-echo "<label>" . planet_constant("AM_ABOUT_MODULE_STATUS") . ":</label><text>" . $versioninfo->getInfo( 'module_status' ) . "</text><br />";
-echo "<label>" . planet_constant("AM_ABOUT_WEBSITE") . ":</label><text>" . "<a href='" . $versioninfo->getInfo( 'module_website_url' ) . "' target='_blank'>" . $versioninfo->getInfo( 'module_website_name' ) . "</a>" . "</text><br />";
-echo "<label>" . planet_constant("AM_ABOUT_MODULE_TEAM") . ":</label><text>" . $versioninfo->getInfo( 'module_team' ) . "</text><br />";
-echo "</div>";
-echo "</fieldset>";
-echo "<br clear=\"all\" />";
-
-echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . planet_constant("AM_ABOUT_AUTHOR_INFO") . "</legend>";
-echo "<div style='padding: 8px;'>";
-echo "<label>" . planet_constant("AM_ABOUT_AUTHOR_NAME") . ":</label><text>" . $versioninfo->getInfo( 'author' ) . "</text><br />";
-echo "<label>" . planet_constant("AM_ABOUT_WEBSITE") . ":</label><text>" . "<a href='" . $versioninfo->getInfo( 'author_website_url' ) . "' target='_blank'>" . $versioninfo->getInfo( 'author_website_name' ) . "</a>" . "</text><br />";
-echo "<label>" . planet_constant("AM_ABOUT_AUTHOR_WORD") . ":</label><text>" . $versioninfo->getInfo( 'author_word' ) . "</text><br />";
-echo "</div>";
-echo "</fieldset>";
-echo "<br clear=\"all\" />";
-
-echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . planet_constant("AM_ABOUT_DISCLAIMER") . "</legend>";
-echo "<div style='padding: 8px;'>";
-echo "<div>". planet_constant("AM_ABOUT_DISCLAIMER_TEXT") . "</div>";
-echo "</div>";
-echo "</fieldset>";
-echo "<br clear=\"all\" />";
-
-$file = XOOPS_ROOT_PATH. "/modules/" . $GLOBALS["moddirname"] . "/changelog.txt";
-if ( is_readable( $file ) ){
- echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . planet_constant("AM_ABOUT_CHANGELOG") . "</legend>";
- echo "<div style='padding: 8px;'>";
- echo "<div>". implode("<br />", file( $file )) . "</div>";
- echo "</div>";
- echo "</fieldset>";
- echo "<br clear=\"all\" />";
-}
-
-xoops_cp_footer();
-?>
\ No newline at end of file
+<?php
+/*
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
+ * @package
+ * @since
+ * @author XOOPS Development Team
+ * @version $Id $
+ */
+
+include_once dirname(__FILE__) . '/admin_header.php';
+
+xoops_cp_header();
+
+$aboutAdmin = new ModuleAdmin();
+
+echo $aboutAdmin->addNavigation('about.php');
+echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false);
+
+include 'admin_footer.php';
\ No newline at end of file
Modified: XoopsModules/planet/trunk/planet/admin/admin.article.php
===================================================================
--- XoopsModules/planet/trunk/planet/admin/admin.article.php 2013-08-14 06:26:06 UTC (rev 11909)
+++ XoopsModules/planet/trunk/planet/admin/admin.article.php 2013-08-14 06:37:13 UTC (rev 11910)
@@ -21,12 +21,14 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
// Author: phppp (D.J., in...@gm...) //
-// URL: http://xoopsforge.com, http://xoops.org.cn //
+// URL: http://xoops.org //
// Project: Article Project //
// ------------------------------------------------------------------------ //
-include("header.php");
+include( "admin_header.php" );
xoops_cp_header();
+$indexAdmin = new ModuleAdmin();
+echo $indexAdmin->addNavigation('admin.article.php');
/*
* To restore basic parameters in case cloned modules are installed
* reported by programfan
@@ -35,7 +37,7 @@
* it is expected to have a better solution in article 1.0
*/
require XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/include/vars.php";
-planet_adminmenu(3);
+//planet_adminmenu(3);
$article_handler =& xoops_getmodulehandler("article", $GLOBALS["moddirname"]);
if(!empty($xoopsModuleConfig["article_expire"])){
Deleted: XoopsModules/planet/trunk/planet/admin/admin.block.php
===================================================================
--- XoopsModules/planet/trunk/planet/admin/admin.block.php 2013-08-14 06:26:06 UTC (rev 11909)
+++ XoopsModules/planet/trunk/planet/admin/admin.block.php 2013-08-14 06:37:13 UTC (rev 11910)
@@ -1,29 +0,0 @@
-<?php
-// $Id$
-// ------------------------------------------------------------------------ //
-// This program is free software; you can redistribute it and/or modify //
-// it under the terms of the GNU General Public License as published by //
-// the Free Software Foundation; either version 2 of the License, or //
-// (at your option) any later version. //
-// //
-// You may not change or alter any portion of this comment or credits //
-// of supporting developers from this source code or any supporting //
-// source code which is considered copyrighted (c) material of the //
-// original comment or credit authors. //
-// //
-// This program is distributed in the hope that it will be useful, //
-// but WITHOUT ANY WARRANTY; without even the implied warranty of //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
-// GNU General Public License for more details. //
-// //
-// You should have received a copy of the GNU General Public License //
-// along with this program; if not, write to the Free Software //
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
-// ------------------------------------------------------------------------ //
-// Author: phppp (D.J., in...@gm...) //
-// URL: http://xoopsforge.com, http://xoops.org.cn //
-// Project: Article Project //
-// ------------------------------------------------------------------------ //
-include('header.php');
-header("Location: ".XOOPS_URL."/modules/system/admin.php?fct=blocksadmin&selmod=".$xoopsModule->getVar("mid"));
-?>
\ No newline at end of file
Modified: XoopsModules/planet/trunk/planet/admin/admin.blog.php
===================================================================
--- XoopsModules/planet/trunk/planet/admin/admin.blog.php 2013-08-14 06:26:06 UTC (rev 11909)
+++ XoopsModules/planet/trunk/planet/admin/admin.blog.php 2013-08-14 06:37:13 UTC (rev 11910)
@@ -21,13 +21,15 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
// Author: phppp (D.J., in...@gm...) //
-// URL: http://xoopsforge.com, http://xoops.org.cn //
+// URL: http://xoops.org //
// Project: Article Project //
// ------------------------------------------------------------------------ //
-include("header.php");
+include( "admin_header.php" );
require_once(XOOPS_ROOT_PATH . "/class/xoopsformloader.php");
xoops_cp_header();
+$indexAdmin = new ModuleAdmin();
+echo $indexAdmin->addNavigation('admin.blog.php');
/*
* To restore basic parameters in case cloned modules are installed
* reported by programfan
@@ -36,7 +38,7 @@
* it is expected to have a better solution in article 1.0
*/
require XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/include/vars.php";
-planet_adminmenu(2);
+//planet_adminmenu(2);
$op = !empty($_POST["op"])?$_POST["op"]:(!empty($_GET["op"])?$_GET["op"]:"");
$blog_id = !empty($_POST["blog"])?$_POST["blog"]:(!empty($_GET["blog"])?$_GET["blog"]:0);
@@ -276,25 +278,26 @@
echo "<form name='list' id='list' method='post' action='".xoops_getenv("PHP_SELF")."'>";
echo "<table border='0' cellpadding='4' cellspacing='1' width='100%' class='outer'>";
echo "<tr align='center'>";
- echo "<td class='bg3' width='5%'><input name='blog_check' id='blog_check' value='1' type='checkbox' onclick=\"xoopsCheckAll('list', 'blog_check');\" /></td>";
- echo "<td class='bg3' width='5%'>" . _EDIT . "</td>";
- echo "<td class='bg3' width='5%'>" . _DELETE . "</td>";
- echo "<td class='bg3' width='5%'>" . planet_constant("MD_EMPTY_BLOG") . "</td>";
- echo "<td class='bg3'>" . planet_constant("AM_TITLE") . "</td>";
- echo "<td class='bg3' width='5%'>" . planet_constant("AM_STATUS") . "</td>";
- echo "<td class='bg3' width='40%'>" . planet_constant("AM_FEED") . "</td>";
+ echo "<th class='bg3' width='5%'><input name='blog_check' id='blog_check' value='1' type='checkbox' onclick=\"xoopsCheckAll('list', 'blog_check');\" /></td>";
+ echo "<th class='bg3'>" . planet_constant("AM_TITLE") . "</td>";
+ echo "<th class='bg3' width='5%'>" . planet_constant("AM_STATUS") . "</td>";
+ echo "<th class='bg3' width='40%'>" . planet_constant("AM_FEED") . "</td>";
+// echo "<th class='bg3' width='5%'>" . _EDIT . "</td>";
+// echo "<th class='bg3' width='5%'>" . _DELETE . "</td>";
+ echo "<th class='bg3' width='10%'>" . planet_constant("AM_ACTIONS") . "</td>";
echo "</tr>";
$status = array("0"=>planet_constant("MD_PENDING"), "1"=>planet_constant("MD_ACTIVE"), "2"=>planet_constant("MD_FEATURED"));
foreach(array_keys($blog_objs) as $bid){
echo "<tr class='odd' align='left'>";
- echo "<td><input name='blog[]' value='".$bid."' type='checkbox' /></td>";
- echo "<td><a href='admin.blog.php?op=edit&blog=".$bid."' title='"._EDIT."' />"._EDIT."</a></td>";
- echo "<td><a href='admin.blog.php?op=del&blog=".$bid."' title='"._DELETE."' />"._DELETE."</a></td>";
- echo "<td><a href='admin.blog.php?op=empty&blog=".$bid."' title='".planet_constant("MD_EMPTY_BLOG")."' />".planet_constant("MD_EMPTY_BLOG")."</a></td>";
+ echo "<td align='center'><input name='blog[]' value='".$bid."' type='checkbox' /></td>";
echo "<td><a href='".XOOPS_URL."/modules/".$GLOBALS["moddirname"]."/index.php".URL_DELIMITER."b".$bid."'>".$blog_objs[$bid]->getVar("blog_title")."</a></td>";
- echo "<td>".$status[$blog_objs[$bid]->getVar("blog_status")]."</td>";
+ echo "<td align='center'>".$status[$blog_objs[$bid]->getVar("blog_status")]."</td>";
echo "<td>".$blog_objs[$bid]->getVar("blog_feed")."</td>";
+ echo "<td align='center'><a href='admin.blog.php?op=edit&blog=".$bid. "' title='"._EDIT."'><img src='". $pathIcon16 ."/edit.png '". "alt='" . _EDIT . " title='" ._EDIT." </a>
+ <a href='admin.blog.php?op=del&blog=".$bid. "' title='"._DELETE."'><img src='". $pathIcon16 ."/delete.png '"." alt='" . _EDIT . " title='"._DELETE." </a>
+ <a href='admin.blog.php?op=empty&blog=".$bid."' title='".planet_constant("MD_EMPTY_BLOG")."'><img src='". $pathIcon16 ."/empty.png '"." alt='" . _EDIT . " title='".planet_constant("MD_EMPTY_BLOG")."</a></td>";
+
echo "</tr>";
}
echo "<tr class='even' align='center'>";
Modified: XoopsModules/planet/trunk/planet/admin/admin.category.php
===================================================================
--- XoopsModules/planet/trunk/planet/admin/admin.category.php 2013-08-14 06:26:06 UTC (rev 11909)
+++ XoopsModules/planet/trunk/planet/admin/admin.category.php 2013-08-14 06:37:13 UTC (rev 11910)
@@ -21,15 +21,17 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
// Author: phppp (D.J., in...@gm...) //
-// URL: http://xoopsforge.com, http://xoops.org.cn //
+// URL: http://xoops.org //
// Project: Article Project //
// ------------------------------------------------------------------------ //
-include("header.php");
+include( "admin_header.php" );
require_once(XOOPS_ROOT_PATH . "/class/xoopsformloader.php");
xoops_cp_header();
+$indexAdmin = new ModuleAdmin();
+echo $indexAdmin->addNavigation('admin.category.php');
require XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/include/vars.php";
-planet_adminmenu(1);
+//planet_adminmenu(1);
$op = !empty($_POST["op"])?$_POST["op"]:(!empty($_GET["op"])?$_GET["op"]:"");
$cat_id = !empty($_POST["category"])?$_POST["category"]:(!empty($_GET["category"])?$_GET["category"]:0);
@@ -119,11 +121,12 @@
echo "<form name='list' method='post'>";
echo "<table border='0' cellpadding='4' cellspacing='1' width='100%' class='outer'>";
echo "<tr align='center'>";
- echo "<td class='bg3' width='5%'>" . planet_constant("AM_ORDER") . "</td>";
- echo "<td class='bg3' width='5%'>" . _EDIT . "</td>";
- echo "<td class='bg3' width='5%'>" . _DELETE . "</td>";
- echo "<td class='bg3' width='80%'>" . planet_constant("AM_TITLE") . "</td>";
- echo "<td class='bg3' width='5%'>" . planet_constant("AM_BLOGCOUNT") . "</td>";
+ echo "<th class='bg3' width='5%'>" . planet_constant("AM_ORDER") . "</td>";
+ echo "<th align='left' class='bg3' width='80%'>" . planet_constant("AM_TITLE") . "</td>";
+ echo "<th class='bg3' width='5%'>" . planet_constant("AM_BLOGCOUNT") . "</td>";
+ echo "<th class='bg3' width='5%'>" . planet_constant("AM_ACTIONS") . "</td>";
+// echo "<td class='bg3' width='5%'>" . _DELETE . "</td>";
+
echo "</tr>";
$ii = 0;
@@ -131,10 +134,11 @@
echo "<tr class='odd' align='left'>";
echo "<td><input type='hidden' name='cat[]' value='".$cid."' />";
echo "<input type='text' name='cat_order[]' value='".($ii*10)."' /></td>";
- echo "<td><a href='admin.category.php?op=edit&category=".$cid."' title='"._EDIT."' />"._EDIT."</a></td>";
- echo "<td><a href='admin.category.php?op=del&category=".$cid."' title='"._DELETE."' />"._DELETE."</a></td>";
echo "<td>".$categories[$cid]."</td>";
- echo "<td>".@$blog_counts[$cid]."</td>";
+ echo "<td align='center'>".@$blog_counts[$cid]."</td>";
+
+ echo "<td align='center'><a href='admin.category.php?op=edit &category='".$cid."' title='"._EDIT."'><img src='". $pathIcon16 ."/edit.png '". "alt='" . _EDIT . "' title='" ._EDIT."' </a>
+ <a href='admin.category.php?op=del &category='".$cid."' title='"._DELETE."'><img src='". $pathIcon16 ."/delete.png '"." alt='" . _EDIT . "' title='"._DELETE."' </a></td>";
echo "</tr>";
$ii++;
}
Added: XoopsModules/planet/trunk/planet/admin/admin_footer.php
===================================================================
--- XoopsModules/planet/trunk/planet/admin/admin_footer.php (rev 0)
+++ XoopsModules/planet/trunk/planet/admin/admin_footer.php 2013-08-14 06:37:13 UTC (rev 11910)
@@ -0,0 +1,28 @@
+<?php
+/*
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
+ * @package
+ * @since
+ * @author XOOPS Development Team
+ * @version $Id $
+ */
+
+echo "<div class='adminfooter'>\n"
+ ." <div style='text-align: center;'>\n"
+ ." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"
+ ." </div>\n"
+ ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n"
+ ."</div>";
+
+xoops_cp_footer();
\ No newline at end of file
Property changes on: XoopsModules/planet/trunk/planet/admin/admin_footer.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/planet/trunk/planet/admin/admin_header.php
===================================================================
--- XoopsModules/planet/trunk/planet/admin/admin_header.php (rev 0)
+++ XoopsModules/planet/trunk/planet/admin/admin_header.php 2013-08-14 06:37:13 UTC (rev 11910)
@@ -0,0 +1,55 @@
+<?php
+/*
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
+ * @package
+ * @since
+ * @author XOOPS Development Team
+ * @version $Id $
+ */
+
+$path = dirname(dirname(dirname(dirname(__FILE__))));
+include_once $path . '/mainfile...
[truncated message content] |