@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | public $compile_id = null; |
| 24 | 24 | |
| 25 | - public $cache_id = null; // This is a smarty caching ID, not a caches.cache_id. |
|
| 25 | + public $cache_id = null; // This is a smarty caching ID, not a caches.cache_id. |
|
| 26 | 26 | |
| 27 | 27 | public $title = ''; |
| 28 | 28 | |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | <?php |
| 155 | 155 | foreach ($opt['template']['locales'] AS $k => $lang) { |
| 156 | 156 | if ($lang['status'] == OC_LOCALE_ACTIVE) { |
| 157 | - echo '<a style="text-decoration: none;" href="'.$langUrl . $k . '"><img src="' . $lang['flag'] . |
|
| 157 | + echo '<a style="text-decoration: none;" href="' . $langUrl . $k . '"><img src="' . $lang['flag'] . |
|
| 158 | 158 | '" alt="' . $lang['name'] . '" title="' . $lang['name'] . '" width="24px" height="18px" /></a> '; |
| 159 | 159 | } |
| 160 | 160 | } |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | } |
| 186 | 186 | $nLastGroup = $tpl_usercountries[$i]['group']; |
| 187 | 187 | |
| 188 | - echo '<option value="' . htmlspecialchars($tpl_usercountries[$i]['country'], ENT_COMPAT, 'UTF-8') . '"' . (($sUserCountry==$tpl_usercountries[$i]['country']) ? ' selected="selected"' : '') . '>' . htmlspecialchars($tpl_usercountries[$i]['name'], ENT_COMPAT, 'UTF-8') . '</option>'; |
|
| 188 | + echo '<option value="' . htmlspecialchars($tpl_usercountries[$i]['country'], ENT_COMPAT, 'UTF-8') . '"' . (($sUserCountry == $tpl_usercountries[$i]['country']) ? ' selected="selected"' : '') . '>' . htmlspecialchars($tpl_usercountries[$i]['name'], ENT_COMPAT, 'UTF-8') . '</option>'; |
|
| 189 | 189 | } |
| 190 | 190 | ?> |
| 191 | 191 | </select> |
@@ -506,6 +506,9 @@ |
||
| 506 | 506 | return mysql_fetch_assoc($rs); |
| 507 | 507 | } |
| 508 | 508 | |
| 509 | +/** |
|
| 510 | + * @param resource $rs |
|
| 511 | + */ |
|
| 509 | 512 | function sql_fetch_row($rs) |
| 510 | 513 | { |
| 511 | 514 | return mysql_fetch_row($rs); |
@@ -493,7 +493,7 @@ discard block |
||
| 493 | 493 | /** |
| 494 | 494 | * @param integer $byte |
| 495 | 495 | * @param $start |
| 496 | - * @param $len |
|
| 496 | + * @param integer $len |
|
| 497 | 497 | * |
| 498 | 498 | * @return number |
| 499 | 499 | */ |
@@ -574,7 +574,7 @@ discard block |
||
| 574 | 574 | } |
| 575 | 575 | |
| 576 | 576 | /** |
| 577 | - * @param $d |
|
| 577 | + * @param integer $d |
|
| 578 | 578 | * |
| 579 | 579 | * @return string |
| 580 | 580 | */ |
@@ -40,9 +40,9 @@ |
||
| 40 | 40 | * translate the given string |
| 41 | 41 | * |
| 42 | 42 | * @param $message |
| 43 | - * @param $style |
|
| 44 | - * @param $resource_name |
|
| 45 | - * @param $line |
|
| 43 | + * @param string $style |
|
| 44 | + * @param string $resource_name |
|
| 45 | + * @param string $line |
|
| 46 | 46 | * @param string $plural |
| 47 | 47 | * @param int $count |
| 48 | 48 | * @param null $lang |
@@ -298,7 +298,7 @@ |
||
| 298 | 298 | * @param $message |
| 299 | 299 | * @param $attrs |
| 300 | 300 | * @param $smarty |
| 301 | - * @param $line |
|
| 301 | + * @param integer $line |
|
| 302 | 302 | * |
| 303 | 303 | * @return string |
| 304 | 304 | */ |