1313}
1414
1515if (! 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 ;
0 commit comments