mirror of
https://github.com/unraid/webgui.git
synced 2026-05-08 05:12:14 -05:00
Multi-language support
This commit is contained in:
@@ -15,7 +15,7 @@ Tag="user"
|
|||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<?
|
<?
|
||||||
$void = "<img src='/webGui/images/user.png' width='48' height='48' onclick='$(\"#\").click()' style='cursor:pointer' title='".my_lang('Click to select PNG file',4)."'>";
|
$void = "<img src='/webGui/images/user.png' width='48' height='48' onclick='$(\"#drop\").click()' style='cursor:pointer' title='".my_lang('Click to select PNG file',4)."'>";
|
||||||
$icon = "<i class='fa fa-trash top' title='".my_lang('Restore default image',4)."' onclick='restore()'></i>";
|
$icon = "<i class='fa fa-trash top' title='".my_lang('Restore default image',4)."' onclick='restore()'></i>";
|
||||||
$zxcvbn = file_exists('/boot/config/plugins/dynamix/zxcvbn.js');
|
$zxcvbn = file_exists('/boot/config/plugins/dynamix/zxcvbn.js');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ Tag="user"
|
|||||||
<?endif;?>
|
<?endif;?>
|
||||||
<?
|
<?
|
||||||
$user = "/boot/config/plugins/dynamix/users/$name.png";
|
$user = "/boot/config/plugins/dynamix/users/$name.png";
|
||||||
$void = "<img src='/webGui/images/user.png' width='48' height='48' id='image' onclick='$(\"#\").click()' style='cursor:pointer' title='".my_lang('Click to select PNG file',4)."'>";
|
$void = "<img src='/webGui/images/user.png' width='48' height='48' id='image' onclick='$(\"#drop\").click()' style='cursor:pointer' title='".my_lang('Click to select PNG file',4)."'>";
|
||||||
$icon = "<i class='fa fa-trash top' title='".my_lang('Restore default image',4)."' onclick='restore()'></i>";
|
$icon = "<i class='fa fa-trash top' title='".my_lang('Restore default image',4)."' onclick='restore()'></i>";
|
||||||
|
|
||||||
$zxcvbn = file_exists('/boot/config/plugins/dynamix/zxcvbn.js');
|
$zxcvbn = file_exists('/boot/config/plugins/dynamix/zxcvbn.js');
|
||||||
|
|||||||
Reference in New Issue
Block a user