mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
fixes
This commit is contained in:
@@ -151,7 +151,7 @@ while ($row=$SQL->fetch_array($result))
|
||||
@closedir($dh);
|
||||
}
|
||||
}
|
||||
elseif ($row['name'] == 'user_system')
|
||||
elseif (in_array($row['name'], ['user_system', 'www_url']))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -56,7 +56,6 @@ $config_values[] = ['filesnum', '3', '<input type=\"text\" id=\"filesnum\" name=
|
||||
$config_values[] = ['sec_down', '5', '<input type=\"text\" id=\"sec_down\" name=\"sec_down\" value=\"{con.sec_down}\" size=\"6\" style=\"text-align:center\" />', 23, 'groups', 0, 0];
|
||||
$config_values[] = ['del_url_file', '1', '<label>{lang.YES}<input type=\"radio\" id=\"del_url_file\" name=\"del_url_file\" value=\"1\" <IF NAME=\"con.del_url_file==1\"> checked=\"checked\"</IF> /></label>\r\n <label>{lang.NO}<input type=\"radio\" id=\"del_url_file\" name=\"del_url_file\" value=\"0\" <IF NAME=\"con.del_url_file==0\"> checked=\"checked\"</IF> /></label>', 24, 'upload', 0, 0];
|
||||
$config_values[] = ['safe_code', '0', '<label>{lang.YES}<input type=\"radio\" id=\"safe_code\" name=\"safe_code\" value=\"1\" <IF NAME=\"con.safe_code==1\"> checked=\"checked\"</IF> /></label>\r\n <label>{lang.NO}<input type=\"radio\" id=\"safe_code\" name=\"safe_code\" value=\"0\" <IF NAME=\"con.safe_code==0\"> checked=\"checked\"</IF> /></label>', 25, 'upload', 0, 0];
|
||||
$config_values[] = ['www_url', '0', '<label>{lang.YES}<input type=\"radio\" id=\"www_url\" name=\"www_url\" value=\"1\" <IF NAME=\"con.www_url==1\"> checked=\"checked\"</IF> /></label>\r\n <label>{lang.NO}<input type=\"radio\" id=\"www_url\" name=\"www_url\" value=\"0\" <IF NAME=\"con.www_url==0\"> checked=\"checked\"</IF> /></label>', 26, 'upload', 0, 0];
|
||||
$config_values[] = ['thumbs_imgs', '1', '<input type=\"text\" id=\"thmb_dim_w\" name=\"thmb_dim_w\" value=\"{thmb_dim_w}\" size=\"2\" style=\"text-align:center\" /> * <input type=\"text\" id=\"thmb_dim_h\" name=\"thmb_dim_h\" value=\"{thmb_dim_h}\" size=\"2\" style=\"text-align:center\" /> ', 27, 'upload', 0, 0];
|
||||
$config_values[] = ['write_imgs', '0' , '<label>{lang.YES}<input type=\"radio\" id=\"write_imgs\" name=\"write_imgs\" value=\"1\" <IF NAME=\"con.write_imgs==1\"> checked=\"checked\"</IF> /></label>\r\n <label>{lang.NO}<input type=\"radio\" id=\"write_imgs\" name=\"write_imgs\" value=\"0\" <IF NAME=\"con.write_imgs==0\"> checked=\"checked\"</IF> /></label>\r\n <br /><img src=\"{STAMP_IMG_URL}\" alt=\"Seal photo\" style=\"margin-top:4px;border:1px groove #FF865E;\" />\r\n ', 28, 'groups', 0, 0];
|
||||
$config_values[] = ['livexts', 'swf', '<input type=\"text\" id=\"livexts\" name=\"livexts\" value=\"{con.livexts}\" size=\"62\" style=\"direction:ltr\" />{lang.COMMA_X}', '29', 'upload', 0, 0];
|
||||
|
||||
@@ -39,7 +39,6 @@ return [
|
||||
'IDFF_IMG' => 'إسم الملف (example.com/do.php?imgf=filename.png)',
|
||||
'IDFD_IMG' => 'رابط مباشر (example.com/uploads/filename.png)',
|
||||
'DEL_URL_FILE' => 'تفعيل رابط الحذف المباشر',
|
||||
'WWW_URL' => 'تفعيل التحميل من رابط',
|
||||
'ALLOW_STAT_PG' => 'تفعيل صفحة الإحصائيات',
|
||||
'ALLOW_ONLINE' => 'تفعيل عرض المتواجدون الآن',
|
||||
'DEL_F_DAY' => 'حذف الملفات الخاملة بعد × يوم - صفر للتعطيل',
|
||||
|
||||
@@ -39,7 +39,6 @@ return [
|
||||
'IDFF_IMG' => 'File name (example.com/do.php?imgf=filename.png)',
|
||||
'IDFD_IMG' => 'Direct (example.com/uploads/filename.png)',
|
||||
'DEL_URL_FILE' => 'Enable file deletion URL feature',
|
||||
'WWW_URL' => 'Enable uploading from URL',
|
||||
'ALLOW_STAT_PG' => 'Enable statistics page',
|
||||
'ALLOW_ONLINE' => 'Enable Who is Online',
|
||||
'MOD_WRITER' => 'Mod Rewrite',
|
||||
|
||||
@@ -59,12 +59,11 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
|
||||
<IF NAME="config.www_url == 0">
|
||||
if(numfiles == 0){
|
||||
alert('{lang.NO_FILE_SELECTED}');
|
||||
return false;
|
||||
}
|
||||
</IF>
|
||||
|
||||
|
||||
$('#loadbox').css('display', 'block');
|
||||
$('#uploader').css('display', 'none');
|
||||
|
||||
@@ -59,12 +59,10 @@ $(document).ready(function(){
|
||||
}
|
||||
});
|
||||
|
||||
<IF NAME="config.www_url == 0">
|
||||
if(numfiles == 0){
|
||||
alert('{lang.NO_FILE_SELECTED}');
|
||||
return false;
|
||||
}
|
||||
</IF>
|
||||
|
||||
$('#loadbox').css('display', 'block');
|
||||
$('#uploader').css('display', 'none');
|
||||
|
||||
Reference in New Issue
Block a user