Skip to content

Commit 542f925

Browse files
VINADES.,JSChoaquynhtim99
authored andcommitted
Download v4.3.00
1 parent 2da9923 commit 542f925

File tree

5 files changed

+38
-17
lines changed

5 files changed

+38
-17
lines changed

config.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id="25"
33
type="module"
44
name="download"
5-
version="4.2.02"
5+
version="4.3.00"
66

77
[author]
88
name="VINADES"

modules/download/blocks/global.new_files.php

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,40 @@
1313
}
1414

1515
if (! nv_function_exists('nv_bdown_news')) {
16+
/**
17+
* nv_block_config_bdown_news()
18+
*
19+
* @param mixed $module
20+
* @param mixed $data_block
21+
* @param mixed $lang_block
22+
* @return
23+
*/
1624
function nv_block_config_bdown_news($module, $data_block, $lang_block)
1725
{
1826
global $db, $site_mods;
1927
$html = '';
20-
$html .= '<tr>';
21-
$html .= ' <td>' . $lang_block['title_length'] . '</td>';
22-
$html .= ' <td><input type="text" name="config_title_length" size="5" value="' . $data_block['title_length'] . '"/></td>';
23-
$html .= '</tr>';
24-
$html .= '<tr>';
25-
$html .= ' <td>' . $lang_block['numrow'] . '</td>';
26-
$html .= ' <td><input type="text" name="config_numrow" size="5" value="' . $data_block['numrow'] . '"/></td>';
27-
$html .= '</tr>';
28-
$html .= '<tr>';
29-
$html .= ' <td>' . $lang_block['class_name'] . '</td>';
30-
$html .= ' <td><input type="text" name="config_class_name" size="5" value="' . $data_block['class_name'] . '"/></td>';
31-
$html .= '</tr>';
28+
$html .= '<div class="form-group">';
29+
$html .= ' <label class="control-label col-sm-6">' . $lang_block['title_length'] . ':</label>';
30+
$html .= ' <div class="col-sm-5"><input class="form-control" type="text" name="config_title_length" value="' . $data_block['title_length'] . '"/></div>';
31+
$html .= '</div>';
32+
$html .= '<div class="form-group">';
33+
$html .= ' <label class="control-label col-sm-6">' . $lang_block['numrow'] . ':</label>';
34+
$html .= ' <div class="col-sm-5"><input class="form-control" type="text" name="config_numrow" value="' . $data_block['numrow'] . '"/></div>';
35+
$html .= '</div>';
36+
$html .= '<div class="form-group">';
37+
$html .= ' <label class="control-label col-sm-6">' . $lang_block['class_name'] . ':</label>';
38+
$html .= ' <div class="col-sm-18"><input class="form-control" type="text" name="config_class_name" value="' . $data_block['class_name'] . '"/></div>';
39+
$html .= '</div>';
3240
return $html;
3341
}
3442

43+
/**
44+
* nv_block_config_bdown_news_submit()
45+
*
46+
* @param mixed $module
47+
* @param mixed $lang_block
48+
* @return
49+
*/
3550
function nv_block_config_bdown_news_submit($module, $lang_block)
3651
{
3752
global $nv_Request;
@@ -44,6 +59,12 @@ function nv_block_config_bdown_news_submit($module, $lang_block)
4459
return $return;
4560
}
4661

62+
/**
63+
* nv_bdown_news()
64+
*
65+
* @param mixed $block_config
66+
* @return
67+
*/
4768
function nv_bdown_news($block_config)
4869
{
4970
global $db, $module_info, $site_mods, $global_config, $nv_Cache;

modules/download/language/block.global.new_files_en.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121

2222
$lang_block['title_length'] = 'Title length';
2323
$lang_block['numrow'] = 'Number file display';
24-
$lang_block['class_name'] = 'Class name for';
24+
$lang_block['class_name'] = 'Class name for &lt;ul&gt;';
2525
$lang_block['img_bullet'] = 'Image of list';

modules/download/language/block.global.new_files_vi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121

2222
$lang_block['title_length'] = 'Độ dài tiêu đề';
2323
$lang_block['numrow'] = 'Số files hiển thị';
24-
$lang_block['class_name'] = 'Tên lớp (class) cho thẻ <ul>';
24+
$lang_block['class_name'] = 'Tên lớp (class) cho thẻ &lt;ul&gt;';
2525
$lang_block['img_bullet'] = 'Ảnh dạng liệt kê';

modules/download/version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
'submenu' => 'main,upload,search',
2020
'is_sysmod' => (defined('SYS_DOWNLOAD_TABLE')) ? 1 : 0,
2121
'virtual' => (defined('SYS_DOWNLOAD_TABLE')) ? 0 : 1,
22-
'version' => '4.2.02',
23-
'date' => 'Thursday, November 2, 2017 1:49:57 AM',
22+
'version' => '4.3.00',
23+
'date' => 'Tue, 14 Nov 2017 03:46:48 GMT',
2424
'author' => 'VINADES <contact@vinades.vn>',
2525
'note' => '',
2626
'uploads_dir' => array(

0 commit comments

Comments
 (0)