Completed
Push — master ( 4a7303...35968b )
by Khoa
13:53
created
ext/vinabb/web/controllers/helper/helper_select.php 1 patch
Indentation   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@  discard block
 block discarded – undo
25 25
 	protected $template;
26 26
 
27 27
 	/**
28
-	* Generate the license selection drop-down
29
-	*
30
-	* @param string $selected_license Selected license string value
31
-	* @return string HTML code
32
-	*/
28
+	 * Generate the license selection drop-down
29
+	 *
30
+	 * @param string $selected_license Selected license string value
31
+	 * @return string HTML code
32
+	 */
33 33
 	public function build_license_list($selected_license)
34 34
 	{
35 35
 		$license_list = $this->get_licenses();
@@ -46,11 +46,11 @@  discard block
 block discarded – undo
46 46
 	}
47 47
 
48 48
 	/**
49
-	* Generate the icon selection drop-down
50
-	*
51
-	* @param string $selected_icon Selected icon string value
52
-	* @return string HTML code
53
-	*/
49
+	 * Generate the icon selection drop-down
50
+	 *
51
+	 * @param string $selected_icon Selected icon string value
52
+	 * @return string HTML code
53
+	 */
54 54
 	public function build_icon_list($selected_icon)
55 55
 	{
56 56
 		$icon_list = $this->get_icons();
@@ -76,11 +76,11 @@  discard block
 block discarded – undo
76 76
 	}
77 77
 
78 78
 	/**
79
-	* Generate the CSS class selection drop-down
80
-	*
81
-	* @param string $selected_class Selected CSS class name
82
-	* @return string HTML code
83
-	*/
79
+	 * Generate the CSS class selection drop-down
80
+	 *
81
+	 * @param string $selected_class Selected CSS class name
82
+	 * @return string HTML code
83
+	 */
84 84
 	public function build_css_class_list($selected_class)
85 85
 	{
86 86
 		// Bootstrap standard class names
@@ -97,11 +97,11 @@  discard block
 block discarded – undo
97 97
 	}
98 98
 
99 99
 	/**
100
-	* Generate the language selection drop-down
101
-	*
102
-	* @param string $selected_lang 2-letter language ISO code
103
-	* @return string HTML code
104
-	*/
100
+	 * Generate the language selection drop-down
101
+	 *
102
+	 * @param string $selected_lang 2-letter language ISO code
103
+	 * @return string HTML code
104
+	 */
105 105
 	public function build_lang_list($selected_lang)
106 106
 	{
107 107
 		$lang_options = '<option value=""' . (($selected_lang == '') ? ' selected' : '') . '>' . $this->language->lang('SELECT_LANG') . '</option>';
@@ -115,11 +115,11 @@  discard block
 block discarded – undo
115 115
 	}
116 116
 
117 117
 	/**
118
-	* Generate the OS selection drop-down
119
-	*
120
-	* @param int $selected_os OS constant value
121
-	* @return string HTML code
122
-	*/
118
+	 * Generate the OS selection drop-down
119
+	 *
120
+	 * @param int $selected_os OS constant value
121
+	 * @return string HTML code
122
+	 */
123 123
 	public function build_os_list($selected_os)
124 124
 	{
125 125
 		$os_options = '<option value=""' . ((!$selected_os) ? ' selected' : '') . '>' . $this->language->lang('SELECT_OS') . '</option>';
@@ -133,11 +133,11 @@  discard block
 block discarded – undo
133 133
 	}
134 134
 
135 135
 	/**
136
-	* Generate options of available forums
137
-	*
138
-	* @param int	$current_id	Selected forum ID
139
-	* @param string	$loop_name	Twig loop name
140
-	*/
136
+	 * Generate options of available forums
137
+	 *
138
+	 * @param int	$current_id	Selected forum ID
139
+	 * @param string	$loop_name	Twig loop name
140
+	 */
141 141
 	public function build_forum_options($current_id = 0, $loop_name = 'forum_options')
142 142
 	{
143 143
 		$padding = '';
@@ -159,16 +159,16 @@  discard block
 block discarded – undo
159 159
 	}
160 160
 
161 161
 	/**
162
-	* Build the nested item list with padding for each tree level
163
-	*
164
-	* @param string	$padding		Current padding
165
-	* @param array	$padding_store	Padding data of the tree
166
-	* @param int	$right			Right ID of the tree
167
-	* @param int	$parent_id		Current parent ID of the item
168
-	* @param int	$left_id		Current left ID of the item
169
-	* @param int	$right_id		Current right ID of the item
170
-	* @return string
171
-	*/
162
+	 * Build the nested item list with padding for each tree level
163
+	 *
164
+	 * @param string	$padding		Current padding
165
+	 * @param array	$padding_store	Padding data of the tree
166
+	 * @param int	$right			Right ID of the tree
167
+	 * @param int	$parent_id		Current parent ID of the item
168
+	 * @param int	$left_id		Current left ID of the item
169
+	 * @param int	$right_id		Current right ID of the item
170
+	 * @return string
171
+	 */
172 172
 	public function build_parent_padding(&$padding, &$padding_store, &$right, $parent_id, $left_id, $right_id)
173 173
 	{
174 174
 		if ($left_id < $right)
Please login to merge, or discard this patch.
ext/vinabb/web/acp/bbook_chapters_module.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
 	private $chapter_id;
48 48
 
49 49
 	/**
50
-	* Main method of the module
51
-	*
52
-	* @param string	$id		Module basename
53
-	* @param string	$mode	Module mode
54
-	*/
50
+	 * Main method of the module
51
+	 *
52
+	 * @param string	$id		Module basename
53
+	 * @param string	$mode	Module mode
54
+	 */
55 55
 	public function main($id, $mode)
56 56
 	{
57 57
 		global $phpbb_container;
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
86 86
 	}
87 87
 
88 88
 	/**
89
-	* Module action: Display (Default)
90
-	*/
89
+	 * Module action: Display (Default)
90
+	 */
91 91
 	private function action_display()
92 92
 	{
93 93
 		// Select a book before doing something
@@ -102,8 +102,8 @@  discard block
 block discarded – undo
102 102
 	}
103 103
 
104 104
 	/**
105
-	* Module action: Add
106
-	*/
105
+	 * Module action: Add
106
+	 */
107 107
 	private function action_add()
108 108
 	{
109 109
 		$this->tpl_name = 'acp_bbook_chapters_edit';
@@ -112,8 +112,8 @@  discard block
 block discarded – undo
112 112
 	}
113 113
 
114 114
 	/**
115
-	* Module action: Edit
116
-	*/
115
+	 * Module action: Edit
116
+	 */
117 117
 	private function action_edit()
118 118
 	{
119 119
 		$this->tpl_name = 'acp_bbook_chapters_edit';
@@ -122,8 +122,8 @@  discard block
 block discarded – undo
122 122
 	}
123 123
 
124 124
 	/**
125
-	* Module action: Move Down
126
-	*/
125
+	 * Module action: Move Down
126
+	 */
127 127
 	private function action_move_down()
128 128
 	{
129 129
 		$this->controller->move_chapter($this->chapter_id, 'down');
@@ -131,8 +131,8 @@  discard block
 block discarded – undo
131 131
 	}
132 132
 
133 133
 	/**
134
-	* Module action: Move Up
135
-	*/
134
+	 * Module action: Move Up
135
+	 */
136 136
 	private function action_move_up()
137 137
 	{
138 138
 		$this->controller->move_chapter($this->chapter_id, 'up');
@@ -140,8 +140,8 @@  discard block
 block discarded – undo
140 140
 	}
141 141
 
142 142
 	/**
143
-	* Module action: Delete
144
-	*/
143
+	 * Module action: Delete
144
+	 */
145 145
 	private function action_delete()
146 146
 	{
147 147
 		if (confirm_box(true))
Please login to merge, or discard this patch.
ext/vinabb/web/acp/bbook_words_module.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -44,11 +44,11 @@  discard block
 block discarded – undo
44 44
 	private $word_id;
45 45
 
46 46
 	/**
47
-	* Main method of the module
48
-	*
49
-	* @param string	$id		Module basename
50
-	* @param string	$mode	Module mode
51
-	*/
47
+	 * Main method of the module
48
+	 *
49
+	 * @param string	$id		Module basename
50
+	 * @param string	$mode	Module mode
51
+	 */
52 52
 	public function main($id, $mode)
53 53
 	{
54 54
 		global $phpbb_container;
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
 	}
83 83
 
84 84
 	/**
85
-	* Module action: Display (Default)
86
-	*/
85
+	 * Module action: Display (Default)
86
+	 */
87 87
 	private function action_display()
88 88
 	{
89 89
 		// Select a language before doing something
@@ -98,8 +98,8 @@  discard block
 block discarded – undo
98 98
 	}
99 99
 
100 100
 	/**
101
-	* Module action: Add
102
-	*/
101
+	 * Module action: Add
102
+	 */
103 103
 	private function action_add()
104 104
 	{
105 105
 		$this->tpl_name = 'acp_bbook_words_edit';
@@ -108,8 +108,8 @@  discard block
 block discarded – undo
108 108
 	}
109 109
 
110 110
 	/**
111
-	* Module action: Edit
112
-	*/
111
+	 * Module action: Edit
112
+	 */
113 113
 	private function action_edit()
114 114
 	{
115 115
 		$this->tpl_name = 'acp_bbook_words_edit';
@@ -118,8 +118,8 @@  discard block
 block discarded – undo
118 118
 	}
119 119
 
120 120
 	/**
121
-	* Module action: Delete
122
-	*/
121
+	 * Module action: Delete
122
+	 */
123 123
 	private function action_delete()
124 124
 	{
125 125
 		if (confirm_box(true))
Please login to merge, or discard this patch.