Update normal.php
parent
88d3ea30f1
commit
be3d12f145
|
@ -190,8 +190,8 @@ Can not write config to file.<br>
|
||||||
$app_url = "https://apps.dev.microsoft.com/?deepLink=".urlencode($deepLink);
|
$app_url = "https://apps.dev.microsoft.com/?deepLink=".urlencode($deepLink);
|
||||||
$html = '
|
$html = '
|
||||||
<form action="?AddDisk&install0" method="post" onsubmit="return notnull(this);">
|
<form action="?AddDisk&install0" method="post" onsubmit="return notnull(this);">
|
||||||
'.getconstStr('OnedriveDiskTag').':<input type="text" name="disktag_add"><br>
|
'.getconstStr('OnedriveDiskTag').':<input type="text" name="disktag_add" placeholder="' . getconstStr('EnvironmentsDescription')['disktag'] . '" style="width:100%"><br>
|
||||||
'.getconstStr('OnedriveDiskName').':<input type="text" name="diskname"><br>
|
'.getconstStr('OnedriveDiskName').':<input type="text" name="diskname" placeholder="' . getconstStr('EnvironmentsDescription')['diskname'] . '" style="width:100%"><br>
|
||||||
Onedrive_Ver:<br>
|
Onedrive_Ver:<br>
|
||||||
<label><input type="radio" name="Onedrive_ver" value="MS" checked>MS: '.getconstStr('OndriveVerMS').'</label><br>
|
<label><input type="radio" name="Onedrive_ver" value="MS" checked>MS: '.getconstStr('OndriveVerMS').'</label><br>
|
||||||
<label><input type="radio" name="Onedrive_ver" value="CN">CN: '.getconstStr('OndriveVerCN').'</label><br>
|
<label><input type="radio" name="Onedrive_ver" value="CN">CN: '.getconstStr('OndriveVerCN').'</label><br>
|
||||||
|
@ -199,7 +199,7 @@ Can not write config to file.<br>
|
||||||
<div id="secret" style="display:none">
|
<div id="secret" style="display:none">
|
||||||
<a href="'.$app_url.'" target="_blank">'.getconstStr('GetSecretIDandKEY').'</a><br>
|
<a href="'.$app_url.'" target="_blank">'.getconstStr('GetSecretIDandKEY').'</a><br>
|
||||||
client_secret:<input type="text" name="client_secret"><br>
|
client_secret:<input type="text" name="client_secret"><br>
|
||||||
client_id(12345678-90ab-cdef-ghij-klmnopqrstuv):<input type="text" name="client_id"><br>
|
client_id:<input type="text" name="client_id" placeholder="12345678-90ab-cdef-ghij-klmnopqrstuv"><br>
|
||||||
</div>
|
</div>
|
||||||
</label><br>
|
</label><br>
|
||||||
<input type="submit" value="'.getconstStr('Submit').'">
|
<input type="submit" value="'.getconstStr('Submit').'">
|
||||||
|
@ -208,7 +208,7 @@ Can not write config to file.<br>
|
||||||
function notnull(t)
|
function notnull(t)
|
||||||
{
|
{
|
||||||
if (t.disktag_add.value==\'\') {
|
if (t.disktag_add.value==\'\') {
|
||||||
alert(\'input Disk Tag\');
|
alert(\'Input Disk Tag\');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
var reg = /^[a-zA-Z]([-_a-zA-Z0-9]{1,20})$/;
|
var reg = /^[a-zA-Z]([-_a-zA-Z0-9]{1,20})$/;
|
||||||
|
|
Loading…
Reference in New Issue