Skip to content

Commit fe39f6b

Browse files
author
Till Brehm
committed
Removed broken logo upload. Needs to be reimplemented from scratch.
1 parent a585f9b commit fe39f6b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

interface/web/admin/system_config_edit.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,7 @@ function onUpdateSave($sql) {
206206
$data = file_get_contents($path);
207207
$base64 = 'data:image/' . $type . ';base64,' . base64_encode($data);
208208
$app->db->query("UPDATE sys_ini SET custom_logo = ? WHERE sysini_id = ?", $base64, $this->id);
209-
}
210-
*/
209+
}*/
211210

212211
// Maintenance mode
213212
if($server_config_array['misc']['maintenance_mode'] == 'y'){

interface/web/admin/templates/system_config_misc_edit.htm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<h1><tmpl_var name="list_head_txt"></h1>
33
</div>
44
<p><tmpl_var name="list_desc_txt"></p>
5-
5+
<!--
66
<div class="form-group">
77
<label for="file" class="col-sm-3 control-label">{tmpl_var name='logo_txt'}</label>
88
<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>
99
</div>
1010
<div class="form-group">
1111
<label for="dashboard_atom_url_admin" class="col-sm-3 control-label">{tmpl_var name='used_logo_txt'}</label>
1212
<div class="col-sm-9" id="used_logo">{tmpl_var name='used_logo'}</div>
13-
</div>
13+
</div>-->
1414
<div class="form-group">
1515
<label for="page_title" class="col-sm-3 control-label">{tmpl_var name='company_name_txt'}</label>
1616
<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 @@ <h1><tmpl_var name="list_head_txt"></h1>
126126
<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>
127127
<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>
128128
</div></div>
129-
<script language="JavaScript" type="text/javascript">
129+
<!--<script language="JavaScript" type="text/javascript">
130+
130131
var defaultLogo = '{tmpl_var name='default_logo'}';
131132
$(document).on('click', '#del_custom_logo', function(){
132133
delCustomLogo();
@@ -192,4 +193,4 @@ <h1><tmpl_var name="list_head_txt"></h1>
192193
});
193194
}
194195
195-
</script>
196+
</script>-->

0 commit comments

Comments
 (0)