|
From: <luc...@us...> - 2013-06-03 19:17:18
|
Revision: 11617
http://sourceforge.net/p/xoops/svn/11617
Author: luciorota
Date: 2013-06-03 19:17:16 +0000 (Mon, 03 Jun 2013)
Log Message:
-----------
deleted unused files
Removed Paths:
-------------
XoopsModules/wfdownloads/trunk/wfdownloads/admin/admin_header2.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/newstory.php
Deleted: XoopsModules/wfdownloads/trunk/wfdownloads/admin/admin_header2.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/admin_header2.php 2013-06-03 17:23:26 UTC (rev 11616)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/admin_header2.php 2013-06-03 19:17:16 UTC (rev 11617)
@@ -1,46 +0,0 @@
-<?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.
- */
-/**
- * WF-Downloads module
- *
- * @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 wfdownload
- * @since 3.23
- * @author Xoops Development Team
- * @version svn:$id$
- */
-include '../../../include/cp_header.php';
-include_once(XOOPS_ROOT_PATH . '/modules/wfdownloads/include/functions.php');
-include_once(XOOPS_ROOT_PATH . '/modules/wfdownloads/include/common.php');
-
-include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
-
-$myts = &MyTextSanitizer::getInstance();
-
-$imagearray = array(
- 'editimg' => "<img src='../images/icon/edit.gif' alt='" . _AM_WFD_ICO_EDIT . "' title='" . _AM_WFD_ICO_EDIT . "' align='middle'>",
- 'deleteimg' => "<img src='../images/icon/delete.gif' alt='" . _AM_WFD_ICO_DELETE . "' title='" . _AM_WFD_ICO_DELETE . "' align='middle'>",
- 'online' => "<img src='../images/icon/on.gif' alt='" . _AM_WFD_ICO_ONLINE . "' title='" . _AM_WFD_ICO_ONLINE . "' align='middle'>",
- 'offline' => "<img src='../images/icon/off.gif' alt='" . _AM_WFD_ICO_OFFLINE . "' title='" . _AM_WFD_ICO_OFFLINE . "' align='middle'>",
- 'approved' => "<img src='../images/icon/on.gif' alt=''" . _AM_WFD_ICO_APPROVED . "' title=''" . _AM_WFD_ICO_APPROVED . "' align='middle'>",
- 'notapproved' => "<img src='../images/icon/off.gif' alt='" . _AM_WFD_ICO_NOTAPPROVED . "' title='" . _AM_WFD_ICO_NOTAPPROVED . "' align='middle'>",
- 'relatedfaq' => "<img src='../images/icon/link.gif' alt='" . _AM_WFD_ICO_LINK . "' title='" . _AM_WFD_ICO_LINK . "' align='middle'>",
- 'relatedurl' => "<img src='../images/icon/urllink.gif' alt='" . _AM_WFD_ICO_URL . "' title='" . _AM_WFD_ICO_URL . "' align='middle'>",
- 'addfaq' => "<img src='../images/icon/add.gif' alt='" . _AM_WFD_ICO_ADD . "' title='" . _AM_WFD_ICO_ADD . "' align='middle'>",
- 'approve' => "<img src='../images/icon/approve.gif' alt='" . _AM_WFD_ICO_APPROVE . "' title='" . _AM_WFD_ICO_APPROVE . "' align='middle'>",
- 'statsimg' => "<img src='../images/icon/stats.gif' alt='" . _AM_WFD_ICO_STATS . "' title='" . _AM_WFD_ICO_STATS . "' align='middle'>",
- 'ignore' => "<img src='../images/icon/ignore.gif' alt='" . _AM_WFD_ICO_IGNORE . "' title='" . _AM_WFD_ICO_IGNORE . "' align='middle'>",
- 'ack_yes' => "<img src='../images/icon/on.gif' alt='" . _AM_WFD_ICO_ACK . "' title='" . _AM_WFD_ICO_ACK . "' align='middle'>",
- 'ack_no' => "<img src='../images/icon/off.gif' alt='" . _AM_WFD_ICO_REPORT . "' title='" . _AM_WFD_ICO_REPORT . "' align='middle'>",
- 'con_yes' => "<img src='../images/icon/on.gif' alt='" . _AM_WFD_ICO_CONFIRM . "' title='" . _AM_WFD_ICO_CONFIRM . "' align='middle'>",
- 'con_no' => "<img src='../images/icon/off.gif' alt='" . _AM_WFD_ICO_CONBROKEN . "' title='" . _AM_WFD_ICO_CONBROKEN . "' align='middle'>"
- );
Deleted: XoopsModules/wfdownloads/trunk/wfdownloads/admin/newstory.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/newstory.php 2013-06-03 17:23:26 UTC (rev 11616)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/newstory.php 2013-06-03 19:17:16 UTC (rev 11617)
@@ -1,57 +0,0 @@
-<?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.
- */
-/**
- * WF-Downloads module
- *
- * @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 wfdownload
- * @since 3.23
- * @author Xoops Development Team
- * @version svn:$id$
- */
-include_once XOOPS_ROOT_PATH . '/modules/news/class/class.newsstory.php';
-
-$story = new NewsStory();
-$story -> setUid($xoopsUser -> uid());
-$story -> setPublished(time());
-$story -> setExpired(0);
-$story -> setType("admin");
-$story -> setHostname(getenv("REMOTE_ADDR"));
-$story -> setApproved(1);
-$topicid = $_POST["newstopicid"];
-$story -> setTopicId($topicid);
-$story -> setTitle($title);
-
-$_fileid = (isset($lid) && $lid > 0) ? $lid : $newid;
-$_link = $_POST["description"] . "<br /><div><a href=" . XOOPS_URL . "/modules/wfdownloads/singlefile.php?cid=" . $cid . "&lid=" . $_fileid . ">" . $title . "</a></div>";
-
-$description = $myts->addslashes(trim($_link));
-$story -> setHometext($description);
-$story -> setBodytext('');
-$nohtml = (empty($nohtml)) ? 0 : 1;
-$nosmiley = (empty($nosmiley)) ? 0 : 1;
-$story -> setNohtml($nohtml);
-$story -> setNosmiley($nosmiley);
-$story -> store();
-$notification_handler = & xoops_gethandler('notification');
-$tags = array();
-$tags['STORY_NAME'] = $story -> title();
-
-$modhandler = & xoops_gethandler('module');
-$newsModule = & $modhandler -> getByDirname("news");
-
-$tags['STORY_URL'] = XOOPS_URL . '/modules/news/article.php?storyid=' . $story -> storyid();
-if (!empty($isnew)) {
- $notification_handler -> triggerEvent('story', $story -> storyid(), 'approve', $tags);
-}
-$notification_handler -> triggerEvent('global', 0, 'new_story', $tags);
-unset($xoopsModule);
|