Completed
Pull Request — master (#4)
by Michael
01:24
created
modules/tools/include/common.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  * @author      XOOPS Development Team
16 16
  */
17 17
 
18
-use Xmf\Module\Admin;
18
+use Xmf\Module\Admin;
19 19
 use XoopsModules\Tools;
20 20
 
21 21
 require_once dirname(__DIR__) . '/preloads/autoloader.php';
Please login to merge, or discard this patch.
modules/tools/testdata/index.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
  * @author          Michael Beck (aka Mamba)
14 14
  */
15 15
 
16
-use Xmf\Database\TableLoad;
17
-use Xmf\Request;
16
+use Xmf\Database\TableLoad;
17
+use Xmf\Request;
18 18
 use Xmf\Yaml;
19 19
 use XoopsModules\Tools\{
20 20
     Helper,
Please login to merge, or discard this patch.
class/smarty/xoops_plugins/block.xoBlkTpl.php 1 patch
Doc Comments   -17 removed lines patch added patch discarded remove patch
@@ -9,23 +9,6 @@
 block discarded – undo
9 9
  * how to use
10 10
  * The following code inserted in the template
11 11
  *  
12
- * @param string $module module dirname
13
- * @param string $file  block function file
14
- * @param string $show_func show block function
15
- * @param string $options show block function's option
16
- * @param int $cachetime cachetime Unit for seconds
17
- * @param mixed $user Generate cache solution
18
-
19
-<{xoBlkTpl module="ilog" file="ilog_block_tag.php" show_func="ilog_tag_block_cloud_show" options="100|0|100|80" cachetime=5 userid=$xoops_userid}>
20
-    <link rel="stylesheet" href="<{$xoops_url}>/modules/tag/templates/style.css" />
21
-    <div class="tag-cloud" style="line-height: 150%; padding: 5px;">
22
-    <{foreach item=tag from=$block.tags}>
23
-    	<span class="tag-level-<{$tag.level}>" style="font-size: <{$tag.font}>%; display: inline; padding-right: 5px;">
24
-    		<a href="<{$xoops_url}>/modules/<{$block.tag_dirname}>/view.tag.php<{$smarty.const.URL_DELIMITER}><{$tag.id}>/" title="<{$tag.term}>"><{$tag.term}></a>
25
-    	</span>
26
-    <{/foreach}>
27
-    </div>
28
-<{/xoBlkTpl}>
29 12
 */
30 13
 function smarty_block_xoBlkTpl ($params, $content, $smarty, &$repeat) {
31 14
     static $old_block;
Please login to merge, or discard this patch.
class/smarty/xoops_plugins/function.xoBlk.php 1 patch
Doc Comments   -16 removed lines patch added patch discarded remove patch
@@ -9,22 +9,6 @@
 block discarded – undo
9 9
  * how to use
10 10
  * The following code inserted in the template
11 11
  *  
12
- * @param string $module module dirname
13
- * @param string $file  block function file
14
- * @param string $show_func show block function
15
- * @param string $options show block function's option
16
- * @param int $cachetime cachetime Unit for seconds
17
- * @param mixed $user Generate cache solution
18
-
19
-<{xoBlk 
20
-    module="ilog" 
21
-    file="ilog_block_tag.php" 
22
-    show_func="ilog_tag_block_cloud_show" 
23
-    options="100|0|150|80" 
24
-    template="ilog_tag_block_cloud.html" 
25
-    cachetime=10 
26
-    user=admin
27
-}>
28 12
 */
29 13
 function smarty_function_xoBlk( $params, $smarty )
30 14
 {
Please login to merge, or discard this patch.
modules/tools/class/Common/SysUtility.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 use MyTextSanitizer;
31 31
 use XoopsFormDhtmlTextArea;
32 32
 use XoopsFormEditor;
33
-use XoopsFormTextArea;
34 33
 use XoopsModules\Tools\{
35 34
     Helper
36 35
 };
Please login to merge, or discard this patch.