Skip to content

Commit fb9490e

Browse files
committed
Clean the comments
1 parent 45b25be commit fb9490e

2 files changed

Lines changed: 16 additions & 9 deletions

File tree

inc/scripts/fns.html.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
defined('PH7') or exit('Restricted access');
1212

1313
/**
14-
* @return string The links of the files doc tpl.
14+
* @return string The links of the tpl files doc.
1515
*/
1616
function get_links_html()
1717
{
@@ -34,7 +34,7 @@ function get_links_html()
3434
}
3535

3636
/**
37-
* @return string The links of the languages ​​available.
37+
* @return string The links of the ​​available languages.
3838
*/
3939
function get_langs_html()
4040
{

inc/scripts/fns.php

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
defined('PH7') or exit('Restricted access');
1212

1313
/**
14-
* @desc Detect the user's preferred language.
14+
* Detect the user's preferred language.
15+
*
1516
* @return string The first two lowercase letter of the browser language.
1617
*/
1718
function get_browser_lang()
@@ -21,7 +22,8 @@ function get_browser_lang()
2122
}
2223

2324
/**
24-
* @desc Display a page if the file exists, otherwise displays a 404.
25+
* Display a page if the file exists, otherwise displays a 404.
26+
*
2527
* @param string $sPage The page.
2628
* @return void
2729
*/
@@ -39,7 +41,8 @@ function get_page($sPage)
3941
}
4042

4143
/**
42-
* @desc Parse the text to transform variable.
44+
* Parse the text to transform variable.
45+
*
4346
* @param string $sContent The text.
4447
* @return string The text parsed.
4548
*/
@@ -58,7 +61,8 @@ function parse_var($sContent)
5861
}
5962

6063
/**
61-
* @desc Get the page name.
64+
* Get the page name.
65+
*
6266
* @return string
6367
*/
6468
function get_page_name()
@@ -117,7 +121,8 @@ function get_current_url()
117121
}
118122

119123
/**
120-
* @desc Check if the language folder and the language core folder exists.
124+
* Check if the language folder and the language core folder exists.
125+
*
121126
* @return string The language available.
122127
*/
123128
function set_lang()
@@ -144,7 +149,8 @@ function set_lang()
144149
}
145150

146151
/**
147-
* @desc Escape function with htmlspecialchars() PHP function.
152+
* Escape function with htmlspecialchars() PHP function.
153+
*
148154
* @return string
149155
*/
150156
function escape($sVal)
@@ -153,7 +159,8 @@ function escape($sVal)
153159
}
154160

155161
/**
156-
* @desc Sets an error 404 page with HTTP 404 code status.
162+
* Sets an error 404 page with HTTP 404 code status.
163+
*
157164
* @return void
158165
*/
159166
function error_404()

0 commit comments

Comments
 (0)