@@ -87,7 +87,7 @@ |
||
87 | 87 | $generator->setUppercase(true); |
88 | 88 | $generator->setNumbers(true); |
89 | 89 | |
90 | - $key = $generator->generatePasswords(); |
|
90 | + $key = $generator->generatePasswords(); |
|
91 | 91 | |
92 | 92 | return $key[0]; |
93 | 93 | } |
@@ -87,7 +87,7 @@ |
||
87 | 87 | $generator->setUppercase(true); |
88 | 88 | $generator->setNumbers(true); |
89 | 89 | |
90 | - $key = $generator->generatePasswords(); |
|
90 | + $key = $generator->generatePasswords(); |
|
91 | 91 | |
92 | 92 | return $key[0]; |
93 | 93 | } |
@@ -1256,7 +1256,7 @@ |
||
1256 | 1256 | // get sent parameters |
1257 | 1257 | $params = explode(';', $GLOBALS['request'][3]); |
1258 | 1258 | foreach ($params as $idx => $value) { |
1259 | - $params[$idx]=urlSafeB64Decode($value); |
|
1259 | + $params[$idx] = urlSafeB64Decode($value); |
|
1260 | 1260 | } |
1261 | 1261 | |
1262 | 1262 | if (!empty($params[0]) && !empty($params[1]) && !empty($params[3])) { |
@@ -164,7 +164,7 @@ |
||
164 | 164 | { |
165 | 165 | $imgName = $data; |
166 | 166 | $indexOFF = strrpos($imgName, '.'); |
167 | - $nameFile = substr($imgName, 0,$indexOFF); |
|
167 | + $nameFile = substr($imgName, 0, $indexOFF); |
|
168 | 168 | $extension = substr($imgName, $indexOFF); |
169 | 169 | $clean = preg_replace("([^\w\s\d\-_~,;\[\]\(\)])", "", |
170 | 170 | $nameFile); |
@@ -4863,8 +4863,8 @@ |
||
4863 | 4863 | function(data) { |
4864 | 4864 | //check if format error |
4865 | 4865 | if (data.error == "") { |
4866 | - var str = "<?php echo addslashes($LANG['one_time_view_item_url_box']);?>"; |
|
4867 | - var html = str.replace("#URL#", data.url + '<i class="fa-stack tip otv-link" title="<?php echo addslashes($LANG['copy']);?>" style="cursor:pointer;"><span class="fa fa-square fa-stack-2x"></span><span class="fa fa-clipboard fa-stack-1x fa-inverse"></span></i>'); |
|
4866 | + var str = "<?php echo addslashes($LANG['one_time_view_item_url_box']); ?>"; |
|
4867 | + var html = str.replace("#URL#", data.url + '<i class="fa-stack tip otv-link" title="<?php echo addslashes($LANG['copy']); ?>" style="cursor:pointer;"><span class="fa fa-square fa-stack-2x"></span><span class="fa fa-clipboard fa-stack-1x fa-inverse"></span></i>'); |
|
4868 | 4868 | html = html.replace("#DAY#", data.date); |
4869 | 4869 | $('#dialog_otv_text').html(html); |
4870 | 4870 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | '2fa_authentication_selector' => 'Select a 2 factor authenticator method', |
18 | 18 | 'user_ga_code' => 'Trimite cod Google Authenticator catre user prin email', |
19 | 19 | 'send_ga_code' => 'Seteaza si trimite cod Google Authenticator', |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | '2fa_authentication_selector' => 'Select a 2 factor authenticator method', |
18 | 18 | 'user_ga_code' => 'Zaslat uživateli Google Authenticator emailem', |
19 | 19 | 'send_ga_code' => 'Google Authenticator pro uživatele', |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | '2fa_authentication_selector' => 'Select a 2 factor authenticator method', |
18 | 18 | 'user_ga_code' => 'Email Google Authentication to user', |
19 | 19 | 'send_ga_code' => 'Set and email Google Authentication code', |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | '2fa_authentication_selector' => 'Select a 2 factor authenticator method', |
18 | 18 | 'user_ga_code' => 'Изптати Google Authentication на потребителя по имейл', |
19 | 19 | 'send_ga_code' => 'Задаване и изпращане по имейл на Google Authentication код', |