|
From: <be...@us...> - 2014-04-20 09:47:12
|
Revision: 12464
http://sourceforge.net/p/xoops/svn/12464
Author: beckmi
Date: 2014-04-20 09:47:08 +0000 (Sun, 20 Apr 2014)
Log Message:
-----------
Small changes
Modified Paths:
--------------
XoopsModules/wfdownloads/branches/mamba/wfdownloads/blocks/top_by_cat.php
XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/category.php
XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/dbupdater.php
XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/img_uploader.php
XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/wfdownloads_lists.php
XoopsModules/wfdownloads/branches/mamba/wfdownloads/docs/changelog.txt
XoopsModules/wfdownloads/branches/mamba/wfdownloads/include/functions.php
XoopsModules/wfdownloads/branches/mamba/wfdownloads/language/english/help/help.html
XoopsModules/wfdownloads/branches/mamba/wfdownloads/language/english/help/tips_tricks.html
XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_categorieslist.tpl
XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_downloadslist.tpl
XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_reportsmodificationslist.tpl
XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/wfdownloads_download.tpl
XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/wfdownloads_singlefile.tpl
XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/wfdownloads_viewcat.tpl
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/blocks/top_by_cat.php
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/blocks/top_by_cat.php 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/blocks/top_by_cat.php 2014-04-20 09:47:08 UTC (rev 12464)
@@ -78,7 +78,8 @@
$block['topcats'][$cid]['imgurl'] = $wfdownloads->getHandler('category')->allCategories[$cid]->getVar('imgurl');
}
- foreach ($block['downloads'] as $key => $value) {
+//mb foreach ($block['downloads'] as $key => $value) {
+ foreach ($block['downloads'] as $value) {
$block['topcats'][$allsubcats_linked_totop[$value['cid']]]['downloads'][] = $value;
}
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/category.php
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/category.php 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/category.php 2014-04-20 09:47:08 UTC (rev 12464)
@@ -345,7 +345,7 @@
if (!isset($this->topCategories[$topcid])) {
$this->topCategories[$topcid] = $topcid;
}
- foreach ($tree->getAllChild($topcid) as $key => $category) {
+ foreach ($tree->getAllChild($topcid) as /*$key =>*/ $category) {
$childrenids[] = $category->getVar('cid');
}
$childrenids = isset($childrenids) ? $childrenids : 0;
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/dbupdater.php
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/dbupdater.php 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/dbupdater.php 2014-04-20 09:47:08 UTC (rev 12464)
@@ -96,7 +96,7 @@
* @param string $name name of the table
*
*/
- function WfdownloadsTable($name)
+ function __construct($name)
{
$this->_name = $name;
$this->_data = array();
@@ -511,7 +511,10 @@
class WfdownloadsDbupdater
{
- function WfdownloadsDbupdater()
+ /**
+ *
+ */
+ function __construct()
{
}
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/img_uploader.php
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/img_uploader.php 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/img_uploader.php 2014-04-20 09:47:08 UTC (rev 12464)
@@ -90,9 +90,9 @@
*
* @internal param int $cmodvalue
*/
- function XoopsMediaImgUploader($uploadDir, $allowedMimeTypes = 0, $maxFileSize, $maxWidth = 0, $maxHeight = 0)
+ function __construct($uploadDir, $allowedMimeTypes = 0, $maxFileSize, $maxWidth = 0, $maxHeight = 0)
{
- $this->XoopsMediaUploader($uploadDir, $allowedMimeTypes, $maxFileSize, $maxWidth, $maxHeight);
+ parent::__construct($uploadDir, $allowedMimeTypes, $maxFileSize, $maxWidth, $maxHeight);
$this->randomfilename = false;
}
}
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/wfdownloads_lists.php
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/wfdownloads_lists.php 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/class/wfdownloads_lists.php 2014-04-20 09:47:08 UTC (rev 12464)
@@ -42,7 +42,7 @@
* dir
*/
- function WfsLists($path = "uploads", $value = null, $selected = '', $size = 1, $emptyselect = 0, $type = 0, $prefix = '', $suffix = '')
+ function __construct($path = "uploads", $value = null, $selected = '', $size = 1, $emptyselect = 0, $type = 0, $prefix = '', $suffix = '')
{
$this->value = $value;
$this->selection = $selected;
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/docs/changelog.txt
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/docs/changelog.txt 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/docs/changelog.txt 2014-04-20 09:47:08 UTC (rev 12464)
@@ -1,5 +1,6 @@
-<b><u>=> Version 3.23 Beta (2014-04-19)</u></b>
-- replacing "or" with "||" (mamba)
+<b><u>=> Version 3.23 Beta (2014-04-20)</u></b>
+- small changes based on testing tool feedback (mamba)
+- replacing "or" with "||", and "and" with "&&" (mamba)
- replaced template extensions from .html to .tpl (mamba)
- replaced Thickbox with MagnificPopup (mamba)
- fixed: source code for HTML5/CSS3 (mamba)
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/include/functions.php
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/include/functions.php 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/include/functions.php 2014-04-20 09:47:08 UTC (rev 12464)
@@ -43,7 +43,7 @@
return @round(
$bytes / pow(1000, ($i = floor(log($bytes, 1000)))),
$precision
- ) . ' ' . $unit[$i];
+ ) . ' ' . $unit[(int)$i];
}
/**
@@ -60,7 +60,7 @@
return @round(
$bytes / pow(1024, ($i = floor(log($bytes, 1024)))),
$precision
- ) . ' ' . $unit[$i];
+ ) . ' ' . $unit[(int)$i];
}
/**
@@ -575,7 +575,8 @@
function wfdownloads_formatErrors($errors = array())
{
$ret = '';
- foreach ($errors as $key => $value) {
+//mb foreach ($errors as $key => $value) {
+ foreach ($errors as $value) {
$ret .= "<br /> - {$value}";
}
@@ -698,7 +699,7 @@
*/
function wfdownloads_serverStats()
{
- $wfdownloads = WfdownloadsWfdownloads::getInstance();
+//mb $wfdownloads = WfdownloadsWfdownloads::getInstance();
global $xoopsDB;
$html = "";
$sql = "SELECT metavalue";
@@ -1487,6 +1488,7 @@
flush();
}
if (connection_status() !== CONNECTION_NORMAL) {
+ //TODO traslation
echo "Connection aborted";
}
fclose($handle);
@@ -1496,9 +1498,11 @@
readfile($filePath);
}
} else {
+ //TODO traslation
echo 'File does not exist!';
}
} else {
+ //TODO traslation
echo 'There is no file to download!';
}
}
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/language/english/help/help.html
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/language/english/help/help.html 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/language/english/help/help.html 2014-04-20 09:47:08 UTC (rev 12464)
@@ -61,7 +61,6 @@
<h4 class="odd">Tutorial</h4>
<p class="even">
- You can see more info <a href="<{$xoops_url}>/modules/wfdownloads/docs/english/readme.html" title="Wfdownloads Detailed Help"
- alt="Wfdownloads Detailed Help"/> here</a>.
+ You can see more info <a href="<{$xoops_url}>/modules/wfdownloads/docs/english/readme.html" title="Wfdownloads Detailed Help" alt="Wfdownloads Detailed Help"/> here</a>.
</p>
</div>
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/language/english/help/tips_tricks.html
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/language/english/help/tips_tricks.html 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/language/english/help/tips_tricks.html 2014-04-20 09:47:08 UTC (rev 12464)
@@ -1,24 +1,22 @@
<div id="help-template" class="outer">
<h1 class="head">Help:
- <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/wfdownloads/admin/index.php" title="Back to the administration of Wfdownloads">
- Wfdownloads
- <img src="<{xoAdminIcons home.png}>" alt="Back to the Administration of Wfdownloads"/>
- </a>
+ <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/wfdownloads/admin/index.php" title="Back to the administration of Wfdownloads">Wfdownloads<img src="<{xoAdminIcons home.png}>" alt="Back to the Administration of Wfdownloads"/></a>
</h1>
<h4>Upload files</h4>
+
+ <div class="even">
+ <span style="font-weight: bold;">How set maximum upload file size limit?</span>
+ </div>
+ <div class="odd">
+ <p>Maximum upload file size limit is the mimimum value between:</p>
+ <ul>
+ <li>Max upload size permitted: <span style="font-weight: bold;">upload_max_filesize</span> directive in php.ini</li>
+ <li>Max post size permitted: <span style="font-weight: bold;">post_max_size</span> directive in php.ini</li>
+ <li>Memory limit: <span style="font-weight: bold;">memory_limit directive</span> in php.ini</li>
+ <li>Module preferences: <span style="font-weight: bold;">[upload files] Max file size (bytes)</span></li>
+ </ul>
<div class="even">
- <span style="font-weight: bold;">How set maximum upload file size limit?</span>
- </div>
- <div class="odd">
- <p>Maximum upload file size limit is the mimimum value between:</p>
- <ul>
- <li>Max upload size permitted: <span style="font-weight: bold;">upload_max_filesize</span> directive in php.ini</li>
- <li>Max post size permitted: <span style="font-weight: bold;">post_max_size</span> directive in php.ini</li>
- <li>Memory limit: <span style="font-weight: bold;">memory_limit directive</span> in php.ini</li>
- <li>Module preferences: <span style="font-weight: bold;">[upload files] Max file size (bytes)</span></li>
- </ul>
- <div class="even">
<span style="font-weight: bold;">How can I upload files bigger than maximum upload file size limit?</span>
</div>
<div class="odd">
@@ -27,18 +25,21 @@
<li>use an ftp client to upload file in <span style="font-weight: bold;">Module preferences > [upload files] Upload directory</span> directory</li>
<li>create a new Download and fill
<ul>
- <li><span style="font-weight: bold;">"Local file name"</span> field with the path relative to <span style="font-weight: bold;">Module preferences > [upload files] Upload directory</span></li>
+ <li><span style="font-weight: bold;">"Local file name"</span> field with the path relative to <span style="font-weight: bold;">Module preferences > [upload files] Upload directory</span>
+ </li>
<li><span style="font-weight: bold;">"File type"</span> field with the file mimetype</li>
</ul>
</li>
</ol>
</div>
- <h4>Download files</h4>
+ <h4>Download files</h4>
+
<div class="even">
<span style='font-weight: bold;'>Are there some limits in download file size?</span>
</div>
<div class="odd">
<p>No, this module split a big file and serve it chunk by chunk, to avoid errors by exceeding the memory_limit setting.</p>
</div>
+ </div>
</div>
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_categorieslist.tpl
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_categorieslist.tpl 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_categorieslist.tpl 2014-04-20 09:47:08 UTC (rev 12464)
@@ -10,27 +10,23 @@
<th><{$smarty.const._AM_WFDOWNLOADS_ACTION}></th>
</tr>
<{foreach item=sorted_category from=$sorted_categories}>
- <tr class="<{cycle values='even, odd'}>">
- <td><{$sorted_category.category.cid}></td>
- <td>
- <{section name=indent loop=$sorted_category.level-1 step=1}}>-<{/section}>
- <a href='../viewcat.php?cid=<{$sorted_category.category.cid}>'><{$sorted_category.category.title}></a>
- </td>
- <td>
- <input type="text" name="new_weights[<{$sorted_category.category.cid}>]" size="5" maxlength="5"
- value="<{$sorted_category.category.weight}>"/>
- </td>
- <td><{$sorted_category.category.description}></td>
- <td align='center'>
- <a href="?op=category.edit&cid=<{$sorted_category.category.cid}>" title="<{$smarty.const._EDIT}>"><img
- src="<{xoModuleIcons16 edit.png}>" title="<{$smarty.const._EDIT}>" alt="<{$smarty.const._EDIT}>"/></a>
- <a href="?op=category.delete&cid=<{$sorted_category.category.cid}>" title="<{$smarty.const._DELETE}>"><img
- src="<{xoModuleIcons16 delete.png}>" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>"/></a>
- <a href="?op=category.move&cid=<{$sorted_category.category.cid}>" title="<{$smarty.const._AM_WFDOWNLOADS_BMOVE}>"><img
- src="<{xoModuleIcons16 forward.png}>" title="<{$smarty.const._AM_WFDOWNLOADS_BMOVE}>"
- alt="<{$smarty.const._AM_WFDOWNLOADS_BMOVE}>"/></a>
- </td>
- </tr>
+ <tr class="<{cycle values='even, odd'}>">
+ <td><{$sorted_category.category.cid}></td>
+ <td>
+ <{section name=indent loop=$sorted_category.level-1 step=1}>-<{/section}>
+ <a href='../viewcat.php?cid=<{$sorted_category.category.cid}>'><{$sorted_category.category.title}></a>
+ </td>
+ <td>
+ <input type="text" name="new_weights[<{$sorted_category.category.cid}>]" size="5" maxlength="5"
+ value="<{$sorted_category.category.weight}>"/>
+ </td>
+ <td><{$sorted_category.category.description}></td>
+ <td align='center'>
+ <a href="?op=category.edit&cid=<{$sorted_category.category.cid}>" title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>" title="<{$smarty.const._EDIT}>" alt="<{$smarty.const._EDIT}>"/></a>
+ <a href="?op=category.delete&cid=<{$sorted_category.category.cid}>" title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>"/></a>
+ <a href="?op=category.move&cid=<{$sorted_category.category.cid}>" title="<{$smarty.const._AM_WFDOWNLOADS_BMOVE}>"><img src="<{xoModuleIcons16 forward.png}>" title="<{$smarty.const._AM_WFDOWNLOADS_BMOVE}>" alt="<{$smarty.const._AM_WFDOWNLOADS_BMOVE}>"/></a>
+ </td>
+ </tr>
<{/foreach}>
<tr>
<td colspan="1"> </td>
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_downloadslist.tpl
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_downloadslist.tpl 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_downloadslist.tpl 2014-04-20 09:47:08 UTC (rev 12464)
@@ -2,326 +2,317 @@
<fieldset>
<legend style='font-weight: bold; color: #900;'><{$smarty.const._AM_WFDOWNLOADS_MINDEX_PUBLISHEDDOWN}></legend>
<{if ($published_downloads_count == 0)}>
- <{$smarty.const._AM_WFDOWNLOADS_MINDEX_NODOWNLOADSFOUND}>
+ <{$smarty.const._AM_WFDOWNLOADS_MINDEX_NODOWNLOADSFOUND}>
<{else}>
- <table class="outer">
- <tr>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ID}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_TITLE}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_TITLE}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_POSTER}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_SUBMITTED}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ONLINESTATUS}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_PUBLISHED}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_LOG}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ACTION}></th>
- </tr>
-
- <form id='form_filter' enctype='multipart/form-data' method='post' action='' name='form_filter'>
+ <table class="outer">
<tr>
- <td> </td>
- <td>
- <select id='filter_title_condition' title='<{$smarty.const._AM_WFDOWNLOADS_SEARCH}>' name='filter_title_condition' size='1'>
- <option value='='
- <{if $filter_title_condition == '='}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_EQUAL}></option>
- <option value='LIKE'
- <{if $filter_title_condition == 'LIKE'}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_CONTAINS}></option>
- </select>
- <input id='filter_title' type='text' value='<{$filter_title}>' maxlength='100' size='15' title='' name='filter_title'>
- </td>
- <td>
- <select id='filter_category_title_condition' title='<{$smarty.const._AM_WFDOWNLOADS_SEARCH}>'
- name='filter_category_title_condition' size='1'>
- <option value='='
- <{if $filter_category_title_condition ==
- '='}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_EQUAL}></option>
- <option value='LIKE'
- <{if $filter_category_title_condition ==
- 'LIKE'}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_CONTAINS}></option>
- </select>
- <input id='filter_category_title' type='text' value='<{$filter_category_title}>' maxlength='100' size='15' title=''
- name='filter_category_title'>
- </td>
- <td><{$filter_submitter_select}></td>
- <td>
- <{*
- <select id='filter_date_condition' title='<{$smarty.const._AM_WFDOWNLOADS_SEARCH}>' name='filter_date_condition' size='1'>
- <option value='='
- <{if $filter_date_condition == '='}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_EQUAL}></option>
- <option value='>'
- <{if $filter_date_condition == '>'}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_GREATERTHAN}></option>
- <option value='<'
- <{if $filter_date_condition == '<'}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_LESSTHAN}></option>
- </select>
- <{$filter_date_select}>
- *}>
- </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td align='center'>
- <input id='submit' class='formButton' type='submit' title='<{$smarty.const._AM_WFDOWNLOADS_FILTER}>'
- value='<{$smarty.const._AM_WFDOWNLOADS_FILTER}>' name='submit'>
- </td>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ID}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_TITLE}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_TITLE}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_POSTER}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_SUBMITTED}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ONLINESTATUS}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_PUBLISHED}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_LOG}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ACTION}></th>
</tr>
- <input id='op' type='hidden' value='downloads.filter' name='op'>
- </form>
- <{foreach item=download from=$published_downloads}>
- <tr class="<{cycle values='even, odd'}>">
- <td align='center'><{$download.lid}></td>
- <td>
- <a href='../singlefile.php?cid=<{$download.cid}>&lid=<{$download.lid}>'><{$download.title}></a>
- </td>
- <td>
- <a href='../viewcat.php?cid=<{$download.cid}>'><{$download.category_title}></a>
- </td>
- <td><{$download.submitter_uname}></td>
- <td><{$download.published_timestamp}></td>
- <td align='center'>
- <{if $download.offline}>
- <img src="<{xoModuleIcons16 0.png}>"/>
- <{else}>
- <img src="<{xoModuleIcons16 1.png}>"/>
- <{/if}>
- </td>
- <td align='center'>
- <{if $download.published}>
- <img src="<{xoModuleIcons16 1.png}>"/>
- <!--<{$download.published_timestamp}>-->
- <{else}>
- <img src="<{xoModuleIcons16 0.png}>"/>
- <{/if}>
- </td>
- <td>
- <a href='?op=ip_logs.list&lid=<{$download.lid}>' title="<{$smarty.const._AM_WFDOWNLOADS_IP_LOGS}>"><{$smarty.const._AM_WFDOWNLOADS_IP_LOGS}></a>
- </td>
- <td align='center'>
- <a href='?op=download.add&lid=<{$download.lid}>' title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>"
- title="<{$smarty.const._EDIT}>"
- alt="<{$smarty.const._EDIT}>"/></a>
- <a href='?op=download.delete&lid=<{$download.lid}>' title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>"
- title="<{$smarty.const._DELETE}>"
- alt="<{$smarty.const._DELETE}>"/></a>
- </td>
- </tr>
- <{/foreach}>
- </table>
- <{$published_downloads_pagenav}>
+ <form id='form_filter' enctype='multipart/form-data' method='post' action='' name='form_filter'>
+ <tr>
+ <td> </td>
+ <td>
+ <select id='filter_title_condition' title='<{$smarty.const._AM_WFDOWNLOADS_SEARCH}>' name='filter_title_condition' size='1'>
+ <option value='='<{if $filter_title_condition == '='}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_EQUAL}></option>
+ <option value='LIKE'<{if $filter_title_condition == 'LIKE'}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_CONTAINS}></option>
+ </select>
+ <input id='filter_title' type='text' value='<{$filter_title}>' maxlength='100' size='15' title='' name='filter_title'>
+ </td>
+ <td>
+ <select id='filter_category_title_condition' title='<{$smarty.const._AM_WFDOWNLOADS_SEARCH}>' name='filter_category_title_condition' size='1'>
+ <option value='='<{if $filter_category_title_condition =='='}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_EQUAL}></option>
+ <option value='LIKE' <{if $filter_category_title_condition =='LIKE'}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_CONTAINS}></option>
+ </select>
+ <input id='filter_category_title' type='text' value='<{$filter_category_title}>' maxlength='100' size='15' title='' name='filter_category_title'>
+ </td>
+ <td><{$filter_submitter_select}></td>
+ <td>
+ <{*
+ <select id='filter_date_condition' title='<{$smarty.const._AM_WFDOWNLOADS_SEARCH}>' name='filter_date_condition' size='1'>
+ <option value='='
+ <{if $filter_date_condition == '='}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_EQUAL}></option>
+ <option value='>'
+ <{if $filter_date_condition == '>'}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_GREATERTHAN}></option>
+ <option value='<'
+ <{if $filter_date_condition == '<'}>selected='selected'<{/if}>><{$smarty.const._AM_WFDOWNLOADS_SEARCH_LESSTHAN}></option>
+ </select>
+ <{$filter_date_select}>
+ *}>
+ </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td align='center'>
+ <input id='submit' class='formButton' type='submit' title='<{$smarty.const._AM_WFDOWNLOADS_FILTER}>' value='<{$smarty.const._AM_WFDOWNLOADS_FILTER}>' name='submit'>
+ </td>
+ </tr>
+ <input id='op' type='hidden' value='downloads.filter' name='op'>
+ </form>
+
+ <{foreach item=download from=$published_downloads}>
+ <tr class="<{cycle values='even, odd'}>">
+ <td align='center'><{$download.lid}></td>
+ <td>
+ <a href='../singlefile.php?cid=<{$download.cid}>&lid=<{$download.lid}>'><{$download.title}></a>
+ </td>
+ <td>
+ <a href='../viewcat.php?cid=<{$download.cid}>'><{$download.category_title}></a>
+ </td>
+ <td><{$download.submitter_uname}></td>
+ <td><{$download.published_timestamp}></td>
+ <td align='center'>
+ <{if $download.offline}>
+ <img src="<{xoModuleIcons16 0.png}>"/>
+ <{else}>
+ <img src="<{xoModuleIcons16 1.png}>"/>
+ <{/if}>
+ </td>
+ <td align='center'>
+ <{if $download.published}>
+ <img src="<{xoModuleIcons16 1.png}>"/>
+ <!--<{$download.published_timestamp}>-->
+ <{else}>
+ <img src="<{xoModuleIcons16 0.png}>"/>
+ <{/if}>
+ </td>
+ <td>
+ <a href='?op=ip_logs.list&lid=<{$download.lid}>' title="<{$smarty.const._AM_WFDOWNLOADS_IP_LOGS}>"><{$smarty.const._AM_WFDOWNLOADS_IP_LOGS}></a>
+ </td>
+ <td align='center'>
+ <a href='?op=download.add&lid=<{$download.lid}>' title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>"
+ title="<{$smarty.const._EDIT}>"
+ alt="<{$smarty.const._EDIT}>"/></a>
+ <a href='?op=download.delete&lid=<{$download.lid}>' title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>"
+ title="<{$smarty.const._DELETE}>"
+ alt="<{$smarty.const._DELETE}>"/></a>
+ </td>
+ </tr>
+ <{/foreach}>
+ </table>
+ <{$published_downloads_pagenav}>
<{/if}>
</fieldset>
-<br />
+<br/>
<fieldset>
<legend style='font-weight: bold; color: #900;'><{$smarty.const._AM_WFDOWNLOADS_MINDEX_NEWDOWN}></legend>
<{if ($new_downloads_count == 0)}>
- <{$smarty.const._AM_WFDOWNLOADS_MINDEX_NODOWNLOADSFOUND}>
+ <{$smarty.const._AM_WFDOWNLOADS_MINDEX_NODOWNLOADSFOUND}>
<{else}>
- <table class='outer'>
- <tr>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ID}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_TITLE}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_TITLE}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_POSTER}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_SUBMITTED}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ACTION}></th>
- </tr>
- <{foreach item=new_download from=$new_downloads}>
- <tr class="<{cycle values='even, odd'}>">
- <td><{$new_download.lid}></td>
- <td><{$new_download.title}></td>
- <td><{$new_download.category_title}></td>
- <td><{$new_download.submitter_uname}></td>
- <td><{$new_download.date_timestamp}></td>
- <td align='center'>
- <a href='?op=newdownload.approve&lid=<{$new_download.lid}>' title="<{$smarty.const._AM_WFDOWNLOADS_BAPPROVE}>"><img
- src="<{xoModuleIcons16 1.png}>" title="<{$smarty.const._AM_WFDOWNLOADS_BAPPROVE}>"
- alt="<{$smarty.const._AM_WFDOWNLOADS_BAPPROVE}>"/></a>
- <a href='?op=download.edit&lid=<{$new_download.lid}>' title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>"
- title="<{$smarty.const._EDIT}>"
- alt="<{$smarty.const._EDIT}>"/></a>
- <a href='?op=download.delete&lid=<{$new_download.lid}>' title="<{$smarty.const._DELETE}>"><img
- src="<{xoModuleIcons16 delete.png}>" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>"/></a>
- </td>
- </tr>
- <{/foreach}>
- </table>
- <{$newdownloads_pagenav}>
+ <table class='outer'>
+ <tr>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ID}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_TITLE}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_TITLE}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_POSTER}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_SUBMITTED}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ACTION}></th>
+ </tr>
+ <{foreach item=new_download from=$new_downloads}>
+ <tr class="<{cycle values='even, odd'}>">
+ <td><{$new_download.lid}></td>
+ <td><{$new_download.title}></td>
+ <td><{$new_download.category_title}></td>
+ <td><{$new_download.submitter_uname}></td>
+ <td><{$new_download.date_timestamp}></td>
+ <td align='center'>
+ <a href='?op=newdownload.approve&lid=<{$new_download.lid}>' title="<{$smarty.const._AM_WFDOWNLOADS_BAPPROVE}>"><img
+ src="<{xoModuleIcons16 1.png}>" title="<{$smarty.const._AM_WFDOWNLOADS_BAPPROVE}>"
+ alt="<{$smarty.const._AM_WFDOWNLOADS_BAPPROVE}>"/></a>
+ <a href='?op=download.edit&lid=<{$new_download.lid}>' title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>"
+ title="<{$smarty.const._EDIT}>"
+ alt="<{$smarty.const._EDIT}>"/></a>
+ <a href='?op=download.delete&lid=<{$new_download.lid}>' title="<{$smarty.const._DELETE}>"><img
+ src="<{xoModuleIcons16 delete.png}>" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>"/></a>
+ </td>
+ </tr>
+ <{/foreach}>
+ </table>
+ <{$newdownloads_pagenav}>
<{/if}>
</fieldset>
-<br />
+<br/>
<fieldset>
<legend style='font-weight: bold; color: #900;'><{$smarty.const._AM_WFDOWNLOADS_MINDEX_AUTOPUBLISHEDDOWN}></legend>
- <br />
+ <br/>
<{if ($autopublished_downloads_count == 0)}>
- <{$smarty.const._AM_WFDOWNLOADS_MINDEX_NODOWNLOADSFOUND}>
+ <{$smarty.const._AM_WFDOWNLOADS_MINDEX_NODOWNLOADSFOUND}>
<{else}>
- <table class="outer">
- <tr>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ID}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_TITLE}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_TITLE}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_POSTER}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_SUBMITTED}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ONLINESTATUS}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_PUBLISHED}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_LOG}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ACTION}></th>
- </tr>
- <{foreach item=download from=$autopublished_downloads}>
- <tr class="<{cycle values='even, odd'}>">
- <td><{$download.lid}></td>
- <td><a href='../singlefile.php?cid=<{$download.cid}>&lid=<{$download.lid}>'><{$download.title}></a></td>
- <td><{$download.category_title}></td>
- <td><{$download.submitter_uname}></td>
- <td><{$download.published_timestamp}></td>
- <td align='center'>
- <{if $download.offline}>
- <img src="<{xoModuleIcons16 0.png}>"/>
- <{else}>
- <img src="<{xoModuleIcons16 1.png}>"/>
- <{/if}>
- </td>
- <td align='center'>
- <{if $download.published}>
- <img src="<{xoModuleIcons16 1.png}>"/>
- <!--<{$download.published_timestamp}>-->
- <{else}>
- <img src="<{xoModuleIcons16 0.png}>"/>
- <{/if}>
- </td>
- <td><a href='ip_logs.php?lid=<{$download.lid}>'><{$smarty.const._AM_WFDOWNLOADS_IP_LOGS}></a></td>
- <td align='center'>
- <a href='?op=download.add&lid=<{$download.lid}>' title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>"
- title="<{$smarty.const._EDIT}>"
- alt="<{$smarty.const._EDIT}>"/></a>
- <a href='?op=download.delete&lid=<{$download.lid}>' title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>"
- title="<{$smarty.const._DELETE}>"
- alt="<{$smarty.const._DELETE}>"/></a>
- </td>
- </tr>
- <{/foreach}>
- </table>
- <{$autopublished_downloads_pagenav}>
+ <table class="outer">
+ <tr>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ID}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_TITLE}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_TITLE}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_POSTER}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_SUBMITTED}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ONLINESTATUS}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_PUBLISHED}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_LOG}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ACTION}></th>
+ </tr>
+ <{foreach item=download from=$autopublished_downloads}>
+ <tr class="<{cycle values='even, odd'}>">
+ <td><{$download.lid}></td>
+ <td><a href='../singlefile.php?cid=<{$download.cid}>&lid=<{$download.lid}>'><{$download.title}></a></td>
+ <td><{$download.category_title}></td>
+ <td><{$download.submitter_uname}></td>
+ <td><{$download.published_timestamp}></td>
+ <td align='center'>
+ <{if $download.offline}>
+ <img src="<{xoModuleIcons16 0.png}>"/>
+ <{else}>
+ <img src="<{xoModuleIcons16 1.png}>"/>
+ <{/if}>
+ </td>
+ <td align='center'>
+ <{if $download.published}>
+ <img src="<{xoModuleIcons16 1.png}>"/>
+ <!--<{$download.published_timestamp}>-->
+ <{else}>
+ <img src="<{xoModuleIcons16 0.png}>"/>
+ <{/if}>
+ </td>
+ <td><a href='ip_logs.php?lid=<{$download.lid}>'><{$smarty.const._AM_WFDOWNLOADS_IP_LOGS}></a></td>
+ <td align='center'>
+ <a href='?op=download.add&lid=<{$download.lid}>' title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>"
+ title="<{$smarty.const._EDIT}>"
+ alt="<{$smarty.const._EDIT}>"/></a>
+ <a href='?op=download.delete&lid=<{$download.lid}>' title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>"
+ title="<{$smarty.const._DELETE}>"
+ alt="<{$smarty.const._DELETE}>"/></a>
+ </td>
+ </tr>
+ <{/foreach}>
+ </table>
+ <{$autopublished_downloads_pagenav}>
<{/if}>
</fieldset>
-<br />
+<br/>
<fieldset>
<legend style='font-weight: bold; color: #900;'><{$smarty.const._AM_WFDOWNLOADS_MINDEX_EXPIREDDOWN}></legend>
- <br />
+ <br/>
<{if ($expired_downloads_count == 0)}>
- <{$smarty.const._AM_WFDOWNLOADS_MINDEX_NODOWNLOADSFOUND}>
+ <{$smarty.const._AM_WFDOWNLOADS_MINDEX_NODOWNLOADSFOUND}>
<{else}>
- <table class="outer">
- <tr>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ID}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_TITLE}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_TITLE}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_POSTER}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_SUBMITTED}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ONLINESTATUS}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_PUBLISHED}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_LOG}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ACTION}></th>
- </tr>
- <{foreach item=download from=$expired_downloads}>
- <tr class="<{cycle values='even, odd'}>">
- <td><{$download.lid}></td>
- <td><a href='../singlefile.php?cid=<{$download.cid}>&lid=<{$download.lid}>'><{$download.title}></a></td>
- <td><{$download.category_title}></td>
- <td><{$download.submitter_uname}></td>
- <td><{$download.published_timestamp}></td>
- <td align='center'>
- <{if $download.offline}>
- <img src="<{xoModuleIcons16 0.png}>"/>
- <{else}>
- <img src="<{xoModuleIcons16 1.png}>"/>
- <{/if}>
- </td>
- <td align='center'>
- <{if $download.published}>
- <img src="<{xoModuleIcons16 1.png}>"/>
- <!--<{$download.published_timestamp}>-->
- <{else}>
- <img src="<{xoModuleIcons16 0.png}>"/>
- <{/if}>
- </td>
- <td><a href='ip_logs.php?lid=<{$download.lid}>'><{$smarty.const._AM_WFDOWNLOADS_IP_LOGS}></a></td>
- <td align='center'>
- <a href='?op=download.add&lid=<{$download.lid}>' title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>"
- title="<{$smarty.const._EDIT}>"
- alt="<{$smarty.const._EDIT}>"/></a>
- <a href='?op=download.delete&lid=<{$download.lid}>' title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>"
- title="<{$smarty.const._DELETE}>"
- alt="<{$smarty.const._DELETE}>"/></a>
- </td>
- </tr>
- <{/foreach}>
- </table>
- <{$expired_downloads_pagenav}>
+ <table class="outer">
+ <tr>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ID}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_TITLE}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_TITLE}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_POSTER}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_SUBMITTED}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ONLINESTATUS}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_PUBLISHED}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_LOG}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ACTION}></th>
+ </tr>
+ <{foreach item=download from=$expired_downloads}>
+ <tr class="<{cycle values='even, odd'}>">
+ <td><{$download.lid}></td>
+ <td><a href='../singlefile.php?cid=<{$download.cid}>&lid=<{$download.lid}>'><{$download.title}></a></td>
+ <td><{$download.category_title}></td>
+ <td><{$download.submitter_uname}></td>
+ <td><{$download.published_timestamp}></td>
+ <td align='center'>
+ <{if $download.offline}>
+ <img src="<{xoModuleIcons16 0.png}>"/>
+ <{else}>
+ <img src="<{xoModuleIcons16 1.png}>"/>
+ <{/if}>
+ </td>
+ <td align='center'>
+ <{if $download.published}>
+ <img src="<{xoModuleIcons16 1.png}>"/>
+ <!--<{$download.published_timestamp}>-->
+ <{else}>
+ <img src="<{xoModuleIcons16 0.png}>"/>
+ <{/if}>
+ </td>
+ <td><a href='ip_logs.php?lid=<{$download.lid}>'><{$smarty.const._AM_WFDOWNLOADS_IP_LOGS}></a></td>
+ <td align='center'>
+ <a href='?op=download.add&lid=<{$download.lid}>' title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>"
+ title="<{$smarty.const._EDIT}>"
+ alt="<{$smarty.const._EDIT}>"/></a>
+ <a href='?op=download.delete&lid=<{$download.lid}>' title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>"
+ title="<{$smarty.const._DELETE}>"
+ alt="<{$smarty.const._DELETE}>"/></a>
+ </td>
+ </tr>
+ <{/foreach}>
+ </table>
+ <{$expired_downloads_pagenav}>
<{/if}>
</fieldset>
-<br />
+<br/>
<fieldset>
<legend style='font-weight: bold; color: #900;'><{$smarty.const._AM_WFDOWNLOADS_MINDEX_OFFLINEDOWN}></legend>
<br/>
<{if ($offline_downloads_count == 0)}>
- <{$smarty.const._AM_WFDOWNLOADS_MINDEX_NODOWNLOADSFOUND}>
+ <{$smarty.const._AM_WFDOWNLOADS_MINDEX_NODOWNLOADSFOUND}>
<{else}>
- <table class="outer">
- <tr>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ID}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_TITLE}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_TITLE}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_POSTER}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_SUBMITTED}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ONLINESTATUS}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_PUBLISHED}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_LOG}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ACTION}></th>
- </tr>
- <{foreach item=download from=$offline_downloads}>
- <tr class="<{cycle values='even, odd'}>">
- <td><{$download.lid}></td>
- <td><a href='../singlefile.php?cid=<{$download.cid}>&lid=<{$download.lid}>'><{$download.title}></a></td>
- <td><{$download.category_title}></td>
- <td><{$download.submitter_uname}></td>
- <td><{$download.published_timestamp}></td>
- <td align='center'>
- <{if $download.offline}>
- <img src="<{xoModuleIcons16 0.png}>"/>
- <{else}>
- <img src="<{xoModuleIcons16 1.png}>"/>
- <{/if}>
- </td>
- <td align='center'>
- <{if $download.published}>
- <img src="<{xoModuleIcons16 1.png}>"/>
- <!--<{$download.published_timestamp}>-->
- <{else}>
- <img src="<{xoModuleIcons16 0.png}>"/>
- <{/if}>
- </td>
- <td><a href='ip_logs.php?lid=<{$download.lid}>'><{$smarty.const._AM_WFDOWNLOADS_IP_LOGS}></a></td>
- <td align='center'>
- <a href='?op=download.add&lid=<{$download.lid}>' title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>"
- title="<{$smarty.const._EDIT}>"
- alt="<{$smarty.const._EDIT}>"/></a>
- <a href='?op=download.delete&lid=<{$download.lid}>' title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>"
- title="<{$smarty.const._DELETE}>"
- alt="<{$smarty.const._DELETE}>"/></a>
- </td>
- </tr>
- <{/foreach}>
- </table>
- <{$offline_downloads_pagenav}>
+ <table class="outer">
+ <tr>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ID}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_TITLE}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_TITLE}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_POSTER}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_SUBMITTED}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ONLINESTATUS}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_PUBLISHED}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_LOG}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ACTION}></th>
+ </tr>
+ <{foreach item=download from=$offline_downloads}>
+ <tr class="<{cycle values='even, odd'}>">
+ <td><{$download.lid}></td>
+ <td><a href='../singlefile.php?cid=<{$download.cid}>&lid=<{$download.lid}>'><{$download.title}></a></td>
+ <td><{$download.category_title}></td>
+ <td><{$download.submitter_uname}></td>
+ <td><{$download.published_timestamp}></td>
+ <td align='center'>
+ <{if $download.offline}>
+ <img src="<{xoModuleIcons16 0.png}>"/>
+ <{else}>
+ <img src="<{xoModuleIcons16 1.png}>"/>
+ <{/if}>
+ </td>
+ <td align='center'>
+ <{if $download.published}>
+ <img src="<{xoModuleIcons16 1.png}>"/>
+ <!--<{$download.published_timestamp}>-->
+ <{else}>
+ <img src="<{xoModuleIcons16 0.png}>"/>
+ <{/if}>
+ </td>
+ <td><a href='ip_logs.php?lid=<{$download.lid}>'><{$smarty.const._AM_WFDOWNLOADS_IP_LOGS}></a></td>
+ <td align='center'>
+ <a href='?op=download.add&lid=<{$download.lid}>' title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>"
+ title="<{$smarty.const._EDIT}>"
+ alt="<{$smarty.const._EDIT}>"/></a>
+ <a href='?op=download.delete&lid=<{$download.lid}>' title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>"
+ title="<{$smarty.const._DELETE}>"
+ alt="<{$smarty.const._DELETE}>"/></a>
+ </td>
+ </tr>
+ <{/foreach}>
+ </table>
+ <{$offline_downloads_pagenav}>
<{/if}>
</fieldset>
</form>
Modified: XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_reportsmodificationslist.tpl
===================================================================
--- XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_reportsmodificationslist.tpl 2014-04-19 23:21:34 UTC (rev 12463)
+++ XoopsModules/wfdownloads/branches/mamba/wfdownloads/templates/admin/wfdownloads_admin_reportsmodificationslist.tpl 2014-04-20 09:47:08 UTC (rev 12464)
@@ -1,5 +1,5 @@
<{if $use_brokenreports == false}>
-<div class="errorMsg"><{$smarty.const._AM_WFDOWNLOADS_BROKENREPORT_DISABLED}></div>
+ <div class="errorMsg"><{$smarty.const._AM_WFDOWNLOADS_BROKENREPORT_DISABLED}></div>
<{/if}>
<fieldset>
<legend style='font-weight: bold;'><{$smarty.const._AM_WFDOWNLOADS_BROKEN_REPORTINFO}></legend>
@@ -10,156 +10,157 @@
<p>
<img src="<{xoModuleIcons16 1.png}>" title="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_IGNOREDESC}>"
alt="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_IGNOREDESC}>"/> <{$smarty.const._AM_WFDOWNLOADS_BROKEN_IGNOREDESC}>
- <br />
+ <br/>
<img src="<{xoModuleIcons16 edit.png}>" title="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_EDITDESC}>"
alt="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_EDITDESC}>"/> <{$smarty.const._AM_WFDOWNLOADS_BROKEN_EDITDESC}>
- <br />
+ <br/>
<img src="<{xoModuleIcons16 delete.png}>" title="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_DELETEDESC}>"
alt="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_DELETEDESC}>"/> <{$smarty.const._AM_WFDOWNLOADS_BROKEN_DELETEDESC}>
- <br />
+ <br/>
<img src="<{xoModuleIcons16 1.png}>"/> <{$smarty.const._AM_WFDOWNLOADS_BROKEN_ACKDESC}>
- <br />
+ <br/>
<img src="<{xoModuleIcons16 1.png}>"/> <{$smarty.const._AM_WFDOWNLOADS_BROKEN_CONFIRMDESC}>
</p>
</fieldset>
-<br />
+<br/>
<fieldset>
<legend style='font-weight: bold; color: #900;'><{$smarty.const._AM_WFDOWNLOADS_BROKEN_REPORTS}></legend>
<{if ($reports_count == 0)}>
- <{$smarty.const._AM_WFDOWNLOADS_BROKEN_NOFILEMATCH}>
+ <{$smarty.const._AM_WFDOWNLOADS_BROKEN_NOFILEMATCH}>
<{else}>
- <table class='outer'>
- <tr>
- <th><{$smarty.const._AM_WFDOWNLOADS_BROKEN_ID}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_BROKEN_DATESUBMITTED}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_BROKEN_REPORTER}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_BROKEN_TITLE}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_BROKEN_FILESUBMITTER}></th>
- <th><{$smarty.const._AM_WFDOWNLOADS_MINDEX_ACTION}></th>
- </tr>
- <{foreach item=report from=$reports}>
- <tr class="<{cycle values='even, odd'}>">
- <td><{$report.reportid}></td>
- <td><{$report.formatted_date}></td>
- <td>
- <{if ($report.reporter_email) == ''}>
- <{$report.reporter_uname}> (<{$report.ip}>)
- <{else}>
- <a href='mailto:<{$report.reporter_email}>'><{$report.reporter_uname}></a> (<{$report.ip}>)
- <{/if}>
- </td>
- <td>
- <{if ($report.download_lid) == false}>
- <{$smarty.const._AM_WFDOWNLOADS_BROKEN_DOWNLOAD_DONT_EXISTS}>
- <{else}>
- <a href='" . WFDOWNLOADS_URL . "/singlefile.php?cid=<{$report.download_cid}>&lid=<{$report.download_lid}>' target='_blank'><{$report.download_title}></a>
- <{/if}>
- </td>
- <td>
- <{if ($report.submitter_email) == ''}>
- <{$report.submitter_uname}>
- <{else}>
- <a href='mailto:<{$report.submitter_email}>'><{$report.submitter_uname}></a>
- <{/if}>
- </td>
- <td align='center'>
- <a href='?op=report.ignore&lid=' alt='' title=''>
- <img src="<{xoModuleIcons16 on.png}>" title="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_IGNOREDESC}>"
- alt="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_IGNOREDESC}>"/>
- </a>
- <a href='downloads.php?op=download.edit&lid=<{$report.download_lid}>' alt='' title=''>
- <img src="<{xoModuleIcons16 edit.png}>" title="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_EDITDESC}>"
- alt="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_EDITDESC}>"/>
- </a>
- <a href='?op=report.delete&lid=<{$report.download_lid}>' alt='' title=''>
- <img src="<{xoModuleIcons16 delete.png}>" title="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_DELETEDESC}>"
- alt="<{$smarty.const._AM_WFDOWNLOADS_BROKEN_DELETEDESC}>"/>
- </a>
- <a href='?op=reports.update&lid=<{$report.download_lid}>&ack=<{$report.acknowledged}>'
- alt='<{$smarty.const._AM_WFDOWNLOADS_BROKEN_ACK_ALT}>' title='<{$smarty.const._AM_WFDOWNLOADS_BROKEN_ACK_ALT}>'>
- <{if ($report.acknowledged)}>
- <img src="<{xoModuleIcons16 1.png}>"/>
- <{else}>
- <img src="<{xoModuleIcons16 0.png}>"/>
- <{/if}>
- </a>
- <a href='?op=reports.update&lid=<{$report.download_lid}>&con=<{$report.confirmed}>'
- alt='<{$smarty.const._AM_WFDOWNLOADS_BROKEN_CONFIRM_ALT}>' title='<{$smarty.const._AM_WFDOWNLOADS_BROKEN_CONFIRM_ALT}>'>
- <{if ($report.confirmed)}>
- <img src="<{xoModuleIcons16 1.png}>"/>
- <{else}>
- <img src="<{xoModuleIcons16 0.png}>"/>
- <{/if}>
- </a>
- </td>
- </tr>
- <{/foreach}>
- </table>
- <{$reports_pagenav}>
+ <table class='outer'>
+ <tr>
+ <th><{$smarty.const._AM_WFDOWNLOADS_BROKEN_ID}></th>
+ <th><{$smarty.const._AM_WFDOWNLOADS_BROKEN_DATESUBMITTED}></th>...
[truncated message content] |