Fixed bug
This commit is contained in:
parent
d1be93cbbe
commit
df5d9798cc
|
@ -73,7 +73,12 @@ class xmlinterface {
|
|||
foreach ($def_xml_fields as $value) {
|
||||
if (!empty($data_values['dev_' . $value])) {
|
||||
$xml_work->$value = trim($data_values['dev_' . $value]);
|
||||
} else {
|
||||
// $xml_work->$value = '';
|
||||
$node = $xml_work->$value;
|
||||
unset($node[0][0]);
|
||||
}
|
||||
|
||||
}
|
||||
foreach ($def_xml_locale as $key) {
|
||||
if (!empty($xml_work->$key)) {
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<uid>64</uid>
|
||||
<version>4.0(1)</version>
|
||||
</networkLocaleInfo>
|
||||
<deviceSecurityMode>1</deviceSecurityMode>
|
||||
<deviceSecurityMode>0</deviceSecurityMode>
|
||||
<idleTimeout>3600</idleTimeout>
|
||||
<authenticationURL>http://x.x.x.x/cisco_menu/authentication.php</authenticationURL>
|
||||
<idleURL>http://x.x.x.x/cisco_menu/idle.php</idleURL>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
<uid>64</uid>
|
||||
<version>4.0(1)</version>
|
||||
</networkLocaleInfo>
|
||||
<deviceSecurityMode>1</deviceSecurityMode>
|
||||
<deviceSecurityMode>0</deviceSecurityMode>
|
||||
<idleTimeout>3600</idleTimeout>
|
||||
<authenticationURL>http://x.x.x.x/cisco_menu/authentication.php</authenticationURL>
|
||||
<idleURL>http://x.x.x.x/cisco_menu/idle.php</idleURL>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
<uid>64</uid>
|
||||
<version>4.0(1)</version>
|
||||
</networkLocaleInfo>
|
||||
<deviceSecurityMode>1</deviceSecurityMode>
|
||||
<deviceSecurityMode>0</deviceSecurityMode>
|
||||
<idleTimeout>3600</idleTimeout>
|
||||
<authenticationURL>http://x.x.x.x/cisco_menu/authentication.php</authenticationURL>
|
||||
<idleURL>http://x.x.x.x/cisco_menu/idle.php</idleURL>
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<uid>64</uid>
|
||||
<version>4.0(1)</version>
|
||||
</networkLocaleInfo>
|
||||
<deviceSecurityMode>1</deviceSecurityMode>
|
||||
<deviceSecurityMode>0</deviceSecurityMode>
|
||||
<idleTimeout>3600</idleTimeout>
|
||||
<authenticationURL>http://x.x.x.x/cisco_menu/authentication.php</authenticationURL>
|
||||
<idleURL>http://x.x.x.x/cisco_menu/idle.php</idleURL>
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<uid>64</uid>
|
||||
<version>4.0(1)</version>
|
||||
</networkLocaleInfo>
|
||||
<deviceSecurityMode>1</deviceSecurityMode>
|
||||
<deviceSecurityMode>0</deviceSecurityMode>
|
||||
<idleTimeout>3600</idleTimeout>
|
||||
<authenticationURL>http://x.x.x.x/cisco_menu/authentication.php</authenticationURL>
|
||||
<idleURL>http://x.x.x.x/cisco_menu/idle.php</idleURL>
|
||||
|
|
|
@ -840,8 +840,8 @@ and open the template in the editor. Base Version before all crash :-)
|
|||
<name>createlangdir</name>
|
||||
<label>Create tftp empty language dir</label>
|
||||
<default>off</default>
|
||||
<button value="on">Yes</button>
|
||||
<button value="off">No</button>
|
||||
<button value="yes">Yes</button>
|
||||
<button value="no">No</button>
|
||||
<help>Say 'yes' if you need to create cisco default language directory in tftp path.</help>
|
||||
</item>
|
||||
|
||||
|
|
Loading…
Reference in a new issue