Completed
Push — master ( a50592...10bab4 )
by Michael
01:56
created
counter.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
 include __DIR__ . '/header.php';
30 30
 $article_id = Request::getInt('article', 0, 'GET');//empty($_GET['article']) ? 0 : (int)$_GET['article'];
31 31
 if (empty($article_id)) {
32
-    return;
32
+	return;
33 33
 }
34 34
 if (planetGetCookie('art_' . $article_id) > 0) {
35
-    return;
35
+	return;
36 36
 }
37 37
 $articleHandler = xoops_getModuleHandler('article', $xoopsModule->getVar('dirname'));
38 38
 $article_obj    = $articleHandler->get($article_id);
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,18 +26,18 @@
 block discarded – undo
26 26
 // ------------------------------------------------------------------------ //
27 27
 use Xmf\Request;
28 28
 
29
-include __DIR__ . '/header.php';
30
-$article_id = Request::getInt('article', 0, 'GET');//empty($_GET['article']) ? 0 : (int)$_GET['article'];
29
+include __DIR__.'/header.php';
30
+$article_id = Request::getInt('article', 0, 'GET'); //empty($_GET['article']) ? 0 : (int)$_GET['article'];
31 31
 if (empty($article_id)) {
32 32
     return;
33 33
 }
34
-if (planetGetCookie('art_' . $article_id) > 0) {
34
+if (planetGetCookie('art_'.$article_id)>0) {
35 35
     return;
36 36
 }
37 37
 $articleHandler = xoops_getModuleHandler('article', $xoopsModule->getVar('dirname'));
38 38
 $article_obj    = $articleHandler->get($article_id);
39
-$article_obj->setVar('art_views', $article_obj->getVar('art_views') + 1, true);
39
+$article_obj->setVar('art_views', $article_obj->getVar('art_views')+1, true);
40 40
 $articleHandler->insert($article_obj, true);
41
-PlanetUtility::planetSetCookie('art_' . $article_id, time());
41
+PlanetUtility::planetSetCookie('art_'.$article_id, time());
42 42
 
43 43
 return;
Please login to merge, or discard this patch.
comment_reply.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,5 +24,5 @@
 block discarded – undo
24 24
 // URL: https://xoops.org                         //
25 25
 // Project: Article Project                                                 //
26 26
 // ------------------------------------------------------------------------ //
27
-include __DIR__ . '/../../mainfile.php';
28
-include XOOPS_ROOT_PATH . '/include/comment_reply.php';
27
+include __DIR__.'/../../mainfile.php';
28
+include XOOPS_ROOT_PATH.'/include/comment_reply.php';
Please login to merge, or discard this patch.
print.php 2 patches
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 use Xmf\Request;
28 28
 
29 29
 error_reporting(0);
30
-include __DIR__ . '/header.php';
30
+include __DIR__.'/header.php';
31 31
 error_reporting(0);
32 32
 
33 33
 if (empty(Request::getString('print_data', '', 'POST'))) {
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         $args['article'] = @$args_num[0];
38 38
     }
39 39
 
40
-    $article_id = Request::getInt('article', @$args['article'], 'POST');//(int)(empty($_GET['article']) ? @$args['article'] : $_GET['article']);
40
+    $article_id = Request::getInt('article', @$args['article'], 'POST'); //(int)(empty($_GET['article']) ? @$args['article'] : $_GET['article']);
41 41
 
42 42
     $articleHandler = xoops_getModuleHandler('article', $GLOBALS['moddirname']);
43 43
     $article_obj    = $articleHandler->get($article_id);
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     $article_data['time'] = $article_obj->getTime('l');
57 57
 
58 58
     // summary
59
-    $article_data['summary'] =& $article_obj->getSummary();
59
+    $article_data['summary'] = & $article_obj->getSummary();
60 60
 
61 61
     // text of page
62 62
     $article_data['text'] = $article_obj->getVar('art_content');
@@ -64,25 +64,25 @@  discard block
 block discarded – undo
64 64
     $print_data['title']   = $article_data['title'];
65 65
     $print_data['author']  = $article_data['author'];
66 66
     $print_data['date']    = $article_data['time'];
67
-    $print_data['summary'] = empty($article_data['summary']) ? '' : planet_constant('MD_SUMMARY') . ': ' . $article_data['summary'];
67
+    $print_data['summary'] = empty($article_data['summary']) ? '' : planet_constant('MD_SUMMARY').': '.$article_data['summary'];
68 68
     $print_data['content'] = $article_data['text'];
69
-    $print_data['url']     = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/view.article.php' . URL_DELIMITER . 'c' . $category_id . '/' . $article_id . '/p' . $page;
70
-} else {
71
-    $print_data = unserialize(base64_decode(Request::getString('print_data', '', 'POST')));//$_POST['print_data']));
69
+    $print_data['url']     = XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname').'/view.article.php'.URL_DELIMITER.'c'.$category_id.'/'.$article_id.'/p'.$page;
70
+}else {
71
+    $print_data = unserialize(base64_decode(Request::getString('print_data', '', 'POST'))); //$_POST['print_data']));
72 72
 }
73 73
 
74
-$print_data['image']  = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/' . $xoopsModule->getInfo('image');
75
-$print_data['module'] = $xoopsModule->getVar('name') . ' V' . $xoopsModule->getInfo('version');
74
+$print_data['image']  = XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname').'/'.$xoopsModule->getInfo('image');
75
+$print_data['module'] = $xoopsModule->getVar('name').' V'.$xoopsModule->getInfo('version');
76 76
 
77
-header('Content-Type: text/html; charset=' . _CHARSET);
77
+header('Content-Type: text/html; charset='._CHARSET);
78 78
 echo "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n";
79 79
 echo "<html>\n<head>\n";
80
-echo '<title>' . $xoopsConfig['sitename'] . "</title>\n";
81
-echo "<meta http-equiv='Content-Type' content='text/html; charset=" . _CHARSET . "'>\n";
82
-echo "<meta name='AUTHOR' content='" . $myts->htmlSpecialChars($xoopsConfig['sitename']) . "'>\n";
83
-echo "<meta name='COPYRIGHT' content='Copyright (c) " . date('Y') . ' by ' . $xoopsConfig['sitename'] . "'>\n";
84
-echo "<meta name='DESCRIPTION' content='" . $myts->htmlSpecialChars($xoopsConfig['slogan']) . "'>\n";
85
-echo "<meta name='GENERATOR' content='" . XOOPS_VERSION . "'>\n";
80
+echo '<title>'.$xoopsConfig['sitename']."</title>\n";
81
+echo "<meta http-equiv='Content-Type' content='text/html; charset="._CHARSET."'>\n";
82
+echo "<meta name='AUTHOR' content='".$myts->htmlSpecialChars($xoopsConfig['sitename'])."'>\n";
83
+echo "<meta name='COPYRIGHT' content='Copyright (c) ".date('Y').' by '.$xoopsConfig['sitename']."'>\n";
84
+echo "<meta name='DESCRIPTION' content='".$myts->htmlSpecialChars($xoopsConfig['slogan'])."'>\n";
85
+echo "<meta name='GENERATOR' content='".XOOPS_VERSION."'>\n";
86 86
 echo "<style type='text/css'>
87 87
             body {
88 88
                 color:#000000;
@@ -111,13 +111,13 @@  discard block
 block discarded – undo
111 111
      . "</h2>\n"
112 112
      . "</div>\n"
113 113
      . "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 2px solid #ccc;'></div>\n";
114
-echo(empty($print_data['author']) ? '' : '<div>' . planet_constant('MD_AUTHOR') . ': ' . $print_data['author'] . "</div>\n")
114
+echo(empty($print_data['author']) ? '' : '<div>'.planet_constant('MD_AUTHOR').': '.$print_data['author']."</div>\n")
115 115
      . '<div>'
116 116
      . planet_constant('MD_DATE')
117 117
      . ': '
118 118
      . $print_data['date']
119 119
      . "</div>\n"
120
-     . (empty($article_data['summary']) ? '' : "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 1px solid #ccc;'></div>\n" . '<div>' . $print_data['summary'] . "</div>\n")
120
+     . (empty($article_data['summary']) ? '' : "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 1px solid #ccc;'></div>\n".'<div>'.$print_data['summary']."</div>\n")
121 121
      . "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 1px solid #ccc;'></div>\n"
122 122
      . '<div>'
123 123
      . $print_data['content']
Please login to merge, or discard this patch.
Indentation   +57 added lines, -57 removed lines patch added patch discarded remove patch
@@ -31,44 +31,44 @@  discard block
 block discarded – undo
31 31
 error_reporting(0);
32 32
 
33 33
 if (empty(Request::getString('print_data', '', 'POST'))) {
34
-    //$_POST['print_data']))
34
+	//$_POST['print_data']))
35 35
 
36
-    if (PlanetUtility::planetParseArguments($args_num, $args, $args_str)) {
37
-        $args['article'] = @$args_num[0];
38
-    }
36
+	if (PlanetUtility::planetParseArguments($args_num, $args, $args_str)) {
37
+		$args['article'] = @$args_num[0];
38
+	}
39 39
 
40
-    $article_id = Request::getInt('article', @$args['article'], 'POST');//(int)(empty($_GET['article']) ? @$args['article'] : $_GET['article']);
40
+	$article_id = Request::getInt('article', @$args['article'], 'POST');//(int)(empty($_GET['article']) ? @$args['article'] : $_GET['article']);
41 41
 
42
-    $articleHandler = xoops_getModuleHandler('article', $GLOBALS['moddirname']);
43
-    $article_obj    = $articleHandler->get($article_id);
42
+	$articleHandler = xoops_getModuleHandler('article', $GLOBALS['moddirname']);
43
+	$article_obj    = $articleHandler->get($article_id);
44 44
 
45
-    $article_data = [];
45
+	$article_data = [];
46 46
 
47
-    // title
48
-    $article_data['title'] = $article_obj->getVar('art_title');
47
+	// title
48
+	$article_data['title'] = $article_obj->getVar('art_title');
49 49
 
50
-    $article_data['author'] = $article_obj->getVar('art_author');
50
+	$article_data['author'] = $article_obj->getVar('art_author');
51 51
 
52
-    // source
53
-    $article_data['source'] = $article_obj->getVar('art_link');
52
+	// source
53
+	$article_data['source'] = $article_obj->getVar('art_link');
54 54
 
55
-    // publish time
56
-    $article_data['time'] = $article_obj->getTime('l');
55
+	// publish time
56
+	$article_data['time'] = $article_obj->getTime('l');
57 57
 
58
-    // summary
59
-    $article_data['summary'] =& $article_obj->getSummary();
58
+	// summary
59
+	$article_data['summary'] =& $article_obj->getSummary();
60 60
 
61
-    // text of page
62
-    $article_data['text'] = $article_obj->getVar('art_content');
61
+	// text of page
62
+	$article_data['text'] = $article_obj->getVar('art_content');
63 63
 
64
-    $print_data['title']   = $article_data['title'];
65
-    $print_data['author']  = $article_data['author'];
66
-    $print_data['date']    = $article_data['time'];
67
-    $print_data['summary'] = empty($article_data['summary']) ? '' : planet_constant('MD_SUMMARY') . ': ' . $article_data['summary'];
68
-    $print_data['content'] = $article_data['text'];
69
-    $print_data['url']     = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/view.article.php' . URL_DELIMITER . 'c' . $category_id . '/' . $article_id . '/p' . $page;
64
+	$print_data['title']   = $article_data['title'];
65
+	$print_data['author']  = $article_data['author'];
66
+	$print_data['date']    = $article_data['time'];
67
+	$print_data['summary'] = empty($article_data['summary']) ? '' : planet_constant('MD_SUMMARY') . ': ' . $article_data['summary'];
68
+	$print_data['content'] = $article_data['text'];
69
+	$print_data['url']     = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/view.article.php' . URL_DELIMITER . 'c' . $category_id . '/' . $article_id . '/p' . $page;
70 70
 } else {
71
-    $print_data = unserialize(base64_decode(Request::getString('print_data', '', 'POST')));//$_POST['print_data']));
71
+	$print_data = unserialize(base64_decode(Request::getString('print_data', '', 'POST')));//$_POST['print_data']));
72 72
 }
73 73
 
74 74
 $print_data['image']  = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/' . $xoopsModule->getInfo('image');
@@ -99,36 +99,36 @@  discard block
 block discarded – undo
99 99
             </style>\n";
100 100
 echo "</head>\n";
101 101
 echo "<body style='background-color:#ffffff; color:#000000; font-family: Arial' onload='window.print()'>\n"
102
-     . "<div style='float:center; width: 750px; border: 1px solid #000; padding: 20px;'>\n"
103
-     . "<div style='text-align: center; display: block; margin: 0 0 6px 0; padding: 5px;'>\n"
104
-     . "<img src='"
105
-     . $print_data['image']
106
-     . "' border='0' alt='"
107
-     . $print_data['module']
108
-     . "'>\n"
109
-     . '<h2>'
110
-     . $print_data['title']
111
-     . "</h2>\n"
112
-     . "</div>\n"
113
-     . "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 2px solid #ccc;'></div>\n";
102
+	 . "<div style='float:center; width: 750px; border: 1px solid #000; padding: 20px;'>\n"
103
+	 . "<div style='text-align: center; display: block; margin: 0 0 6px 0; padding: 5px;'>\n"
104
+	 . "<img src='"
105
+	 . $print_data['image']
106
+	 . "' border='0' alt='"
107
+	 . $print_data['module']
108
+	 . "'>\n"
109
+	 . '<h2>'
110
+	 . $print_data['title']
111
+	 . "</h2>\n"
112
+	 . "</div>\n"
113
+	 . "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 2px solid #ccc;'></div>\n";
114 114
 echo(empty($print_data['author']) ? '' : '<div>' . planet_constant('MD_AUTHOR') . ': ' . $print_data['author'] . "</div>\n")
115
-     . '<div>'
116
-     . planet_constant('MD_DATE')
117
-     . ': '
118
-     . $print_data['date']
119
-     . "</div>\n"
120
-     . (empty($article_data['summary']) ? '' : "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 1px solid #ccc;'></div>\n" . '<div>' . $print_data['summary'] . "</div>\n")
121
-     . "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 1px solid #ccc;'></div>\n"
122
-     . '<div>'
123
-     . $print_data['content']
124
-     . "</div>\n"
125
-     . "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 2px solid #ccc;'></div>\n"
126
-     . '<div>'
127
-     . $print_data['module']
128
-     . "</div>\n"
129
-     . '<div>URL: '
130
-     . $print_data['url']
131
-     . "</div>\n"
132
-     . "</div>\n"
133
-     . "</body>\n</html>\n";
115
+	 . '<div>'
116
+	 . planet_constant('MD_DATE')
117
+	 . ': '
118
+	 . $print_data['date']
119
+	 . "</div>\n"
120
+	 . (empty($article_data['summary']) ? '' : "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 1px solid #ccc;'></div>\n" . '<div>' . $print_data['summary'] . "</div>\n")
121
+	 . "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 1px solid #ccc;'></div>\n"
122
+	 . '<div>'
123
+	 . $print_data['content']
124
+	 . "</div>\n"
125
+	 . "<div style='margin-top: 12px; margin-bottom: 12px; border-top: 2px solid #ccc;'></div>\n"
126
+	 . '<div>'
127
+	 . $print_data['module']
128
+	 . "</div>\n"
129
+	 . '<div>URL: '
130
+	 . $print_data['url']
131
+	 . "</div>\n"
132
+	 . "</div>\n"
133
+	 . "</body>\n</html>\n";
134 134
 exit();
Please login to merge, or discard this patch.
notification_update.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
  * @author       XOOPS Development Team, Kazumi Ono (AKA onokazu)
18 18
  */
19 19
 
20
-include __DIR__ . '/../../mainfile.php';
21
-include XOOPS_ROOT_PATH . '/include/notification_update.php';
20
+include __DIR__.'/../../mainfile.php';
21
+include XOOPS_ROOT_PATH.'/include/notification_update.php';
Please login to merge, or discard this patch.
footer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,4 +25,4 @@
 block discarded – undo
25 25
 // Project: Article Project                                                 //
26 26
 // ------------------------------------------------------------------------ //
27 27
 
28
-require_once XOOPS_ROOT_PATH . '/footer.php';
28
+require_once XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
language/english/modinfo.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,13 +8,13 @@
 block discarded – undo
8 8
 
9 9
 $current_path = __FILE__;
10 10
 if (DIRECTORY_SEPARATOR !== '/') {
11
-    $current_path = str_replace(strpos($current_path, "\\\\", 2) ? "\\\\" : DIRECTORY_SEPARATOR, '/', $current_path);
11
+	$current_path = str_replace(strpos($current_path, "\\\\", 2) ? "\\\\" : DIRECTORY_SEPARATOR, '/', $current_path);
12 12
 }
13 13
 $url_arr = explode('/', strstr($current_path, '/modules/'));
14 14
 include XOOPS_ROOT_PATH . '/modules/' . $url_arr[2] . '/include/vars.php';
15 15
 
16 16
 if (defined($GLOBALS['VAR_PREFIXU'] . '_LANG_EN_MODINFO')) {
17
-    return;
17
+	return;
18 18
 }
19 19
 define($GLOBALS['VAR_PREFIXU'] . '_LANG_EN_MODINFO', 1);
20 20
 
Please login to merge, or discard this patch.
Spacing   +111 added lines, -111 removed lines patch added patch discarded remove patch
@@ -11,117 +11,117 @@
 block discarded – undo
11 11
     $current_path = str_replace(strpos($current_path, "\\\\", 2) ? "\\\\" : DIRECTORY_SEPARATOR, '/', $current_path);
12 12
 }
13 13
 $url_arr = explode('/', strstr($current_path, '/modules/'));
14
-include XOOPS_ROOT_PATH . '/modules/' . $url_arr[2] . '/include/vars.php';
14
+include XOOPS_ROOT_PATH.'/modules/'.$url_arr[2].'/include/vars.php';
15 15
 
16
-if (defined($GLOBALS['VAR_PREFIXU'] . '_LANG_EN_MODINFO')) {
16
+if (defined($GLOBALS['VAR_PREFIXU'].'_LANG_EN_MODINFO')) {
17 17
     return;
18 18
 }
19
-define($GLOBALS['VAR_PREFIXU'] . '_LANG_EN_MODINFO', 1);
20
-
21
-define($GLOBALS['VAR_PREFIXU'] . '_MI_NAME', 'Planet');
22
-define($GLOBALS['VAR_PREFIXU'] . '_MI_DESC', 'Feed Planet For Xoops');
23
-
24
-define($GLOBALS['VAR_PREFIXU'] . '_MI_PAGE_INDEX', 'Index');
25
-define($GLOBALS['VAR_PREFIXU'] . '_MI_PAGE_ARTICLE', 'Article');
26
-define($GLOBALS['VAR_PREFIXU'] . '_MI_PAGE_ARCHIVE', 'Archive');
27
-define($GLOBALS['VAR_PREFIXU'] . '_MI_PAGE_LIST', 'List');
28
-
29
-define($GLOBALS['VAR_PREFIXU'] . '_MI_SUBMIT', 'Submit');
30
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE', 'Articles');
31
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_DESC', '');
32
-define($GLOBALS['VAR_PREFIXU'] . '_MI_CATEGORY', 'Categories');
33
-define($GLOBALS['VAR_PREFIXU'] . '_MI_CATEGORY_DESC', '');
34
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG', 'BLogs');
35
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_DESC', '');
36
-
37
-define($GLOBALS['VAR_PREFIXU'] . '_MI_THEMESET', 'Theme set');
38
-define($GLOBALS['VAR_PREFIXU'] . '_MI_THEMESET_DESC', "Module-wide, select '" . _NONE . "' will use site-wide theme");
39
-
40
-define($GLOBALS['VAR_PREFIXU'] . '_MI_TIMEFORMAT', 'Time format for display');
41
-define($GLOBALS['VAR_PREFIXU'] . '_MI_TIMEFORMAT_DESC', '');
42
-define($GLOBALS['VAR_PREFIXU'] . '_MI_TIMEFORMAT_CUSTOM', 'Custom');
43
-
44
-define($GLOBALS['VAR_PREFIXU'] . '_MI_DISPLAY_SUMMARY', 'Display summary length on article list');
45
-define($GLOBALS['VAR_PREFIXU'] . '_MI_DISPLAY_SUMMARY_DESC', '0 for full text');
46
-
47
-define($GLOBALS['VAR_PREFIXU'] . '_MI_DODEBUG', 'Enable debug');
48
-define($GLOBALS['VAR_PREFIXU'] . '_MI_DODEBUG_DESC', '');
49
-
50
-define($GLOBALS['VAR_PREFIXU'] . '_MI_DOURLREWRITE', 'Enable URL rewrite');
51
-define($GLOBALS['VAR_PREFIXU'] . '_MI_DOURLREWRITE_DESC', 'AcceptPathInfo On for Apache2 is required');
52
-
53
-define($GLOBALS['VAR_PREFIXU'] . '_MI_DOSIBLING', 'Enable sibling articles');
54
-define($GLOBALS['VAR_PREFIXU'] . '_MI_DOSIBLING_DESC', '');
55
-
56
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLESPERPAGE', 'Articles on one page');
57
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLESPERPAGE_DESC', '');
58
-
59
-define($GLOBALS['VAR_PREFIXU'] . '_MI_LISTPERPAGE', 'Lists on one page');
60
-define($GLOBALS['VAR_PREFIXU'] . '_MI_LISTPERPAGE_DESC', '');
61
-
62
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOGSPERUPDATE', 'Blogs for each update');
63
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOGSPERUPDATE_DESC', '');
64
-
65
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_EXPIRE', 'Time for article to expire');
66
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_EXPIRE_DESC', 'In days');
67
-
68
-define($GLOBALS['VAR_PREFIXU'] . '_MI_COPYRIGHT', 'Copyright');
69
-define($GLOBALS['VAR_PREFIXU'] . '_MI_COPYRIGHT_DESC', '');
70
-
71
-define($GLOBALS['VAR_PREFIXU'] . '_MI_PING', 'Pings');
72
-define($GLOBALS['VAR_PREFIXU'] . '_MI_PING_DESC', 'URLs to ping');
73
-
74
-define($GLOBALS['VAR_PREFIXU'] . '_MI_TRACKBACK_OPTION', 'Option for recieved trackbacks');
75
-define($GLOBALS['VAR_PREFIXU'] . '_MI_TRACKBACK_OPTION_DESC', '');
76
-
77
-define($GLOBALS['VAR_PREFIXU'] . '_MI_MODERATION', 'Moderator to approve');
78
-define($GLOBALS['VAR_PREFIXU'] . '_MI_MEMBER', 'Member atuo-approve');
79
-
80
-define($GLOBALS['VAR_PREFIXU'] . '_MI_NEWBLOG_SUBMIT', 'Right for submitting new blog');
81
-define($GLOBALS['VAR_PREFIXU'] . '_MI_NEWBLOG_SUBMIT_DESC', '');
82
-
83
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ANONYMOUSRATE', 'Allow anonymous to rate');
84
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ANONYMOUSRATE_DESC', '');
85
-
86
-define($GLOBALS['VAR_PREFIXU'] . '_MI_PSEUDOCRON', 'Pseudo cron');
87
-define($GLOBALS['VAR_PREFIXU'] . '_MI_PSEUDOCRON_DESC', 'Use pseudo cron to update blogs');
88
-
89
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_INDEX', 'Index');
90
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_CATEGORY', 'Category');
91
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_BLOG', 'Blog');
92
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_ARTICLE', 'Article');
93
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_BLOCK', 'Block');
94
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_ABOUT', 'About');
95
-
96
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NOTIFY', 'Global');
97
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NOTIFYDSC', 'Global notification options');
98
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_NOTIFY', 'Blog');
99
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_NOTIFYDSC', 'Blog notification options');
100
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_NOTIFY', 'Article');
101
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_NOTIFYDSC', 'Article notification options');
102
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_BLOGSUBMIT_NOTIFY', 'Article submission');
103
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_BLOGSUBMIT_NOTIFYCAP', 'Notify me of any pending blog');
104
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_BLOGSUBMIT_NOTIFYDSC', 'Receive notification when a new blog is submitted');
105
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_BLOGSUBMIT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New blog submitted');
106
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NEWBLOG_NOTIFY', 'New blog');
107
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NEWBLOG_NOTIFYCAP', 'Notify of any new blog published');
108
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NEWBLOG_NOTIFYDSC', 'Receive notification when a new blog is published');
109
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NEWBLOG_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New blog published');
110
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_ARTICLEMONITOR_NOTIFY', 'Article monitor');
111
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_ARTICLEMONITOR_NOTIFYCAP', 'Notify me of all actions on my articles');
112
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_ARTICLEMONITOR_NOTIFYDSC', 'Receive notification when an action is taken over my articles');
113
-define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_ARTICLEMONITOR_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New action');
114
-
115
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGAPPROVE_NOTIFY', 'Blog approved');
116
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGAPPROVE_NOTIFYCAP', 'Notify me of approval of this blog');
117
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGAPPROVE_NOTIFYDSC', 'Receive notification when the blog is approved');
118
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGAPPROVE_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : blog approved');
119
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGUPDATE_NOTIFY', 'Blog updated');
120
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGUPDATE_NOTIFYCAP', 'Notify me of update of this blog');
121
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGUPDATE_NOTIFYDSC', 'Receive notification when the blog is upated');
122
-define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGUPDATE_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : blog updated');
123
-
124
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_ARTICLEMONITOR_NOTIFY', 'Article monitor');
125
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_ARTICLEMONITOR_NOTIFYCAP', 'Notify me of any action taken on this article');
126
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_ARTICLEMONITOR_NOTIFYDSC', 'Receive notification when an action is taken on this article');
127
-define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_ARTICLEMONITOR_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New article published');
19
+define($GLOBALS['VAR_PREFIXU'].'_LANG_EN_MODINFO', 1);
20
+
21
+define($GLOBALS['VAR_PREFIXU'].'_MI_NAME', 'Planet');
22
+define($GLOBALS['VAR_PREFIXU'].'_MI_DESC', 'Feed Planet For Xoops');
23
+
24
+define($GLOBALS['VAR_PREFIXU'].'_MI_PAGE_INDEX', 'Index');
25
+define($GLOBALS['VAR_PREFIXU'].'_MI_PAGE_ARTICLE', 'Article');
26
+define($GLOBALS['VAR_PREFIXU'].'_MI_PAGE_ARCHIVE', 'Archive');
27
+define($GLOBALS['VAR_PREFIXU'].'_MI_PAGE_LIST', 'List');
28
+
29
+define($GLOBALS['VAR_PREFIXU'].'_MI_SUBMIT', 'Submit');
30
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLE', 'Articles');
31
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLE_DESC', '');
32
+define($GLOBALS['VAR_PREFIXU'].'_MI_CATEGORY', 'Categories');
33
+define($GLOBALS['VAR_PREFIXU'].'_MI_CATEGORY_DESC', '');
34
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG', 'BLogs');
35
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG_DESC', '');
36
+
37
+define($GLOBALS['VAR_PREFIXU'].'_MI_THEMESET', 'Theme set');
38
+define($GLOBALS['VAR_PREFIXU'].'_MI_THEMESET_DESC', "Module-wide, select '"._NONE."' will use site-wide theme");
39
+
40
+define($GLOBALS['VAR_PREFIXU'].'_MI_TIMEFORMAT', 'Time format for display');
41
+define($GLOBALS['VAR_PREFIXU'].'_MI_TIMEFORMAT_DESC', '');
42
+define($GLOBALS['VAR_PREFIXU'].'_MI_TIMEFORMAT_CUSTOM', 'Custom');
43
+
44
+define($GLOBALS['VAR_PREFIXU'].'_MI_DISPLAY_SUMMARY', 'Display summary length on article list');
45
+define($GLOBALS['VAR_PREFIXU'].'_MI_DISPLAY_SUMMARY_DESC', '0 for full text');
46
+
47
+define($GLOBALS['VAR_PREFIXU'].'_MI_DODEBUG', 'Enable debug');
48
+define($GLOBALS['VAR_PREFIXU'].'_MI_DODEBUG_DESC', '');
49
+
50
+define($GLOBALS['VAR_PREFIXU'].'_MI_DOURLREWRITE', 'Enable URL rewrite');
51
+define($GLOBALS['VAR_PREFIXU'].'_MI_DOURLREWRITE_DESC', 'AcceptPathInfo On for Apache2 is required');
52
+
53
+define($GLOBALS['VAR_PREFIXU'].'_MI_DOSIBLING', 'Enable sibling articles');
54
+define($GLOBALS['VAR_PREFIXU'].'_MI_DOSIBLING_DESC', '');
55
+
56
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLESPERPAGE', 'Articles on one page');
57
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLESPERPAGE_DESC', '');
58
+
59
+define($GLOBALS['VAR_PREFIXU'].'_MI_LISTPERPAGE', 'Lists on one page');
60
+define($GLOBALS['VAR_PREFIXU'].'_MI_LISTPERPAGE_DESC', '');
61
+
62
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOGSPERUPDATE', 'Blogs for each update');
63
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOGSPERUPDATE_DESC', '');
64
+
65
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLE_EXPIRE', 'Time for article to expire');
66
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLE_EXPIRE_DESC', 'In days');
67
+
68
+define($GLOBALS['VAR_PREFIXU'].'_MI_COPYRIGHT', 'Copyright');
69
+define($GLOBALS['VAR_PREFIXU'].'_MI_COPYRIGHT_DESC', '');
70
+
71
+define($GLOBALS['VAR_PREFIXU'].'_MI_PING', 'Pings');
72
+define($GLOBALS['VAR_PREFIXU'].'_MI_PING_DESC', 'URLs to ping');
73
+
74
+define($GLOBALS['VAR_PREFIXU'].'_MI_TRACKBACK_OPTION', 'Option for recieved trackbacks');
75
+define($GLOBALS['VAR_PREFIXU'].'_MI_TRACKBACK_OPTION_DESC', '');
76
+
77
+define($GLOBALS['VAR_PREFIXU'].'_MI_MODERATION', 'Moderator to approve');
78
+define($GLOBALS['VAR_PREFIXU'].'_MI_MEMBER', 'Member atuo-approve');
79
+
80
+define($GLOBALS['VAR_PREFIXU'].'_MI_NEWBLOG_SUBMIT', 'Right for submitting new blog');
81
+define($GLOBALS['VAR_PREFIXU'].'_MI_NEWBLOG_SUBMIT_DESC', '');
82
+
83
+define($GLOBALS['VAR_PREFIXU'].'_MI_ANONYMOUSRATE', 'Allow anonymous to rate');
84
+define($GLOBALS['VAR_PREFIXU'].'_MI_ANONYMOUSRATE_DESC', '');
85
+
86
+define($GLOBALS['VAR_PREFIXU'].'_MI_PSEUDOCRON', 'Pseudo cron');
87
+define($GLOBALS['VAR_PREFIXU'].'_MI_PSEUDOCRON_DESC', 'Use pseudo cron to update blogs');
88
+
89
+define($GLOBALS['VAR_PREFIXU'].'_MI_ADMENU_INDEX', 'Index');
90
+define($GLOBALS['VAR_PREFIXU'].'_MI_ADMENU_CATEGORY', 'Category');
91
+define($GLOBALS['VAR_PREFIXU'].'_MI_ADMENU_BLOG', 'Blog');
92
+define($GLOBALS['VAR_PREFIXU'].'_MI_ADMENU_ARTICLE', 'Article');
93
+define($GLOBALS['VAR_PREFIXU'].'_MI_ADMENU_BLOCK', 'Block');
94
+define($GLOBALS['VAR_PREFIXU'].'_MI_ADMENU_ABOUT', 'About');
95
+
96
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_NOTIFY', 'Global');
97
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_NOTIFYDSC', 'Global notification options');
98
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG_NOTIFY', 'Blog');
99
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG_NOTIFYDSC', 'Blog notification options');
100
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLE_NOTIFY', 'Article');
101
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLE_NOTIFYDSC', 'Article notification options');
102
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_BLOGSUBMIT_NOTIFY', 'Article submission');
103
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_BLOGSUBMIT_NOTIFYCAP', 'Notify me of any pending blog');
104
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_BLOGSUBMIT_NOTIFYDSC', 'Receive notification when a new blog is submitted');
105
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_BLOGSUBMIT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New blog submitted');
106
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_NEWBLOG_NOTIFY', 'New blog');
107
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_NEWBLOG_NOTIFYCAP', 'Notify of any new blog published');
108
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_NEWBLOG_NOTIFYDSC', 'Receive notification when a new blog is published');
109
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_NEWBLOG_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New blog published');
110
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_ARTICLEMONITOR_NOTIFY', 'Article monitor');
111
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_ARTICLEMONITOR_NOTIFYCAP', 'Notify me of all actions on my articles');
112
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_ARTICLEMONITOR_NOTIFYDSC', 'Receive notification when an action is taken over my articles');
113
+define($GLOBALS['VAR_PREFIXU'].'_MI_GLOBAL_ARTICLEMONITOR_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New action');
114
+
115
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG_BLOGAPPROVE_NOTIFY', 'Blog approved');
116
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG_BLOGAPPROVE_NOTIFYCAP', 'Notify me of approval of this blog');
117
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG_BLOGAPPROVE_NOTIFYDSC', 'Receive notification when the blog is approved');
118
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG_BLOGAPPROVE_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : blog approved');
119
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG_BLOGUPDATE_NOTIFY', 'Blog updated');
120
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG_BLOGUPDATE_NOTIFYCAP', 'Notify me of update of this blog');
121
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG_BLOGUPDATE_NOTIFYDSC', 'Receive notification when the blog is upated');
122
+define($GLOBALS['VAR_PREFIXU'].'_MI_BLOG_BLOGUPDATE_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : blog updated');
123
+
124
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLE_ARTICLEMONITOR_NOTIFY', 'Article monitor');
125
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLE_ARTICLEMONITOR_NOTIFYCAP', 'Notify me of any action taken on this article');
126
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLE_ARTICLEMONITOR_NOTIFYDSC', 'Receive notification when an action is taken on this article');
127
+define($GLOBALS['VAR_PREFIXU'].'_MI_ARTICLE_ARTICLEMONITOR_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New article published');
Please login to merge, or discard this patch.
update.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -31,12 +31,12 @@  discard block
 block discarded – undo
31 31
 $blog_id     = Request::getInt('blog', Request::getInt('blog', 0, 'POST'), 'GET'); //(int)(!empty($_POST['blog']) ? $_POST['blog'] : (!empty($_GET['blog']) ? $_GET['blog'] : 0));
32 32
 $blogHandler = xoops_getModuleHandler('blog', $GLOBALS['moddirname']);
33 33
 if ($blog_id > 0) {
34
-    $blog  = $blogHandler->get($blog_id);
35
-    $count = $blogHandler->do_update($blog);
36
-    redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/index.php?blog=' . $blog_id, 2, sprintf(planet_constant('MD_UPDATED'), (int)$count));
34
+	$blog  = $blogHandler->get($blog_id);
35
+	$count = $blogHandler->do_update($blog);
36
+	redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/index.php?blog=' . $blog_id, 2, sprintf(planet_constant('MD_UPDATED'), (int)$count));
37 37
 }
38 38
 if (planetGetCookie('upd') + 30 * 60 > time()) {
39
-    return;
39
+	return;
40 40
 }
41 41
 PlanetUtility::planetSetCookie('upd', time());
42 42
 $start = 0;
@@ -47,15 +47,15 @@  discard block
 block discarded – undo
47 47
 $criteria->setLimit($xoopsModuleConfig['blogs_perupdate']);
48 48
 $blogs = $blogHandler->getAll($criteria);
49 49
 foreach (array_keys($blogs) as $id) {
50
-    $blogHandler->do_update($blogs[$id]);
50
+	$blogHandler->do_update($blogs[$id]);
51 51
 }
52 52
 $start += count($blogs);
53 53
 if (count($blogs) < $xoopsModuleConfig['blogs_perupdate']) {
54
-    $start = 0;
54
+	$start = 0;
55 55
 }
56 56
 $fp = fopen(XOOPS_CACHE_PATH . '/' . $xoopsModule->getVar('dirname') . '_update.php', 'w');
57 57
 if (!$fp) {
58
-    return;
58
+	return;
59 59
 }
60 60
 fwrite($fp, "<?php\n \$start=" . (int)$start . ";\n?>");
61 61
 fclose($fp);
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -26,21 +26,21 @@  discard block
 block discarded – undo
26 26
 // ------------------------------------------------------------------------ //
27 27
 use Xmf\Request;
28 28
 
29
-include __DIR__ . '/header.php';
29
+include __DIR__.'/header.php';
30 30
 
31 31
 $blog_id     = Request::getInt('blog', Request::getInt('blog', 0, 'POST'), 'GET'); //(int)(!empty($_POST['blog']) ? $_POST['blog'] : (!empty($_GET['blog']) ? $_GET['blog'] : 0));
32 32
 $blogHandler = xoops_getModuleHandler('blog', $GLOBALS['moddirname']);
33
-if ($blog_id > 0) {
33
+if ($blog_id>0) {
34 34
     $blog  = $blogHandler->get($blog_id);
35 35
     $count = $blogHandler->do_update($blog);
36
-    redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/index.php?blog=' . $blog_id, 2, sprintf(planet_constant('MD_UPDATED'), (int)$count));
36
+    redirect_header(XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].'/index.php?blog='.$blog_id, 2, sprintf(planet_constant('MD_UPDATED'), (int) $count));
37 37
 }
38
-if (planetGetCookie('upd') + 30 * 60 > time()) {
38
+if (planetGetCookie('upd')+30*60>time()) {
39 39
     return;
40 40
 }
41 41
 PlanetUtility::planetSetCookie('upd', time());
42 42
 $start = 0;
43
-@include XOOPS_CACHE_PATH . '/' . $xoopsModule->getVar('dirname') . '_update.php';
43
+@include XOOPS_CACHE_PATH.'/'.$xoopsModule->getVar('dirname').'_update.php';
44 44
 $criteria = new Criteria('blog_status', 0, '>');
45 45
 $criteria->setSort('blog_id');
46 46
 $criteria->setStart($start);
@@ -50,12 +50,12 @@  discard block
 block discarded – undo
50 50
     $blogHandler->do_update($blogs[$id]);
51 51
 }
52 52
 $start += count($blogs);
53
-if (count($blogs) < $xoopsModuleConfig['blogs_perupdate']) {
53
+if (count($blogs)<$xoopsModuleConfig['blogs_perupdate']) {
54 54
     $start = 0;
55 55
 }
56
-$fp = fopen(XOOPS_CACHE_PATH . '/' . $xoopsModule->getVar('dirname') . '_update.php', 'w');
56
+$fp = fopen(XOOPS_CACHE_PATH.'/'.$xoopsModule->getVar('dirname').'_update.php', 'w');
57 57
 if (!$fp) {
58 58
     return;
59 59
 }
60
-fwrite($fp, "<?php\n \$start=" . (int)$start . ";\n?>");
60
+fwrite($fp, "<?php\n \$start=".(int) $start.";\n?>");
61 61
 fclose($fp);
Please login to merge, or discard this patch.
comment_edit.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,5 +24,5 @@
 block discarded – undo
24 24
 // URL: https://xoops.org                         //
25 25
 // Project: Article Project                                                 //
26 26
 // ------------------------------------------------------------------------ //
27
-include __DIR__ . '/../../mainfile.php';
28
-include XOOPS_ROOT_PATH . '/include/comment_edit.php';
27
+include __DIR__.'/../../mainfile.php';
28
+include XOOPS_ROOT_PATH.'/include/comment_edit.php';
Please login to merge, or discard this patch.
comment_delete.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,5 +24,5 @@
 block discarded – undo
24 24
 // URL: https://xoops.org                         //
25 25
 // Project: Article Project                                                 //
26 26
 // ------------------------------------------------------------------------ //
27
-include __DIR__ . '/../../mainfile.php';
28
-include XOOPS_ROOT_PATH . '/include/comment_delete.php';
27
+include __DIR__.'/../../mainfile.php';
28
+include XOOPS_ROOT_PATH.'/include/comment_delete.php';
Please login to merge, or discard this patch.