diff --git a/interface/web/admin/system_config_edit.php b/interface/web/admin/system_config_edit.php index f48f11b7ed5faf17521c4cb4b18f003568fefdd4..155a894ff2399850b01a8016a8a3e0dcae823261 100644 --- a/interface/web/admin/system_config_edit.php +++ b/interface/web/admin/system_config_edit.php @@ -206,8 +206,7 @@ class page_action extends tform_actions { $data = file_get_contents($path); $base64 = 'data:image/' . $type . ';base64,' . base64_encode($data); $app->db->query("UPDATE sys_ini SET custom_logo = ? WHERE sysini_id = ?", $base64, $this->id); - } - */ + }*/ // Maintenance mode if($server_config_array['misc']['maintenance_mode'] == 'y'){ diff --git a/interface/web/admin/templates/system_config_misc_edit.htm b/interface/web/admin/templates/system_config_misc_edit.htm index 5e2f1914721d6cdbe9e0cd553dd7a467272f6db6..e7255d62c11e68596d163299584838eb8b3c70b2 100644 --- a/interface/web/admin/templates/system_config_misc_edit.htm +++ b/interface/web/admin/templates/system_config_misc_edit.htm @@ -2,7 +2,7 @@ <h1><tmpl_var name="list_head_txt"></h1> </div> <p><tmpl_var name="list_desc_txt"></p> - + <!-- <div class="form-group"> <label for="file" class="col-sm-3 control-label">{tmpl_var name='logo_txt'}</label> <div class="col-sm-3 col-text"><input name="file" id="file" size="30" type="file" class="fileUpload" /></div><div class="col-sm-6"><button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" id="start_upload">{tmpl_var name='upload_txt'}</button></div> @@ -10,7 +10,7 @@ <div class="form-group"> <label for="dashboard_atom_url_admin" class="col-sm-3 control-label">{tmpl_var name='used_logo_txt'}</label> <div class="col-sm-9" id="used_logo">{tmpl_var name='used_logo'}</div> - </div> + </div>--> <div class="form-group"> <label for="page_title" class="col-sm-3 control-label">{tmpl_var name='company_name_txt'}</label> <div class="col-sm-9"><input type="text" name="company_name" id="company_name" value="{tmpl_var name='company_name'}" size="" maxlength="" class="form-control" /></div></div> @@ -126,7 +126,8 @@ <button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="admin/system_config_edit.php">{tmpl_var name='btn_save_txt'}</button> <button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="admin/server_list.php">{tmpl_var name='btn_cancel_txt'}</button> </div></div> -<script language="JavaScript" type="text/javascript"> +<!--<script language="JavaScript" type="text/javascript"> + var defaultLogo = '{tmpl_var name='default_logo'}'; $(document).on('click', '#del_custom_logo', function(){ delCustomLogo(); @@ -192,4 +193,4 @@ }); } -</script> +</script>-->