mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-16 17:14:11 +03:00
Add labels for all input fields to improve user experience
This commit is contained in:
parent
f739935096
commit
ecb95933aa
@ -320,6 +320,7 @@ div.errinfo {
|
||||
}
|
||||
|
||||
.flabel {
|
||||
display: block;
|
||||
position: relative;
|
||||
margin: 8px auto 2px;
|
||||
color: black;
|
||||
@ -379,8 +380,9 @@ div.errinfo {
|
||||
.fvalueframe iframe {
|
||||
border: solid 1px #999;
|
||||
}
|
||||
|
||||
|
||||
.fdescr {
|
||||
display: block;
|
||||
float:left;
|
||||
padding-left:10px;
|
||||
color: #676767;
|
||||
|
@ -54,65 +54,65 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.login') ?><span class="required">*</span></div>
|
||||
<label for="login" class="flabel"><?php echo getlocal('form.field.login') ?><span class="required">*</span></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="login" size="40" value="<?php echo form_value('login') ?>" class="formauth"<?php echo $page['canchangelogin'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="login" type="text" name="login" size="40" value="<?php echo form_value('login') ?>" class="formauth"<?php echo $page['canchangelogin'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.login.description') ?></div>
|
||||
<label for="login" class="fdescr"> — <?php echo getlocal('form.field.login.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.mail') ?><span class="required">*</span></div>
|
||||
<label for="email" class="flabel"><?php echo getlocal('form.field.mail') ?><span class="required">*</span></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="email" size="40" value="<?php echo form_value('email') ?>" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="email" type="text" name="email" size="40" value="<?php echo form_value('email') ?>" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.mail.description') ?></div>
|
||||
<label for="email" class="fdescr"> — <?php echo getlocal('form.field.mail.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.password') ?><?php if( !$page['opid'] || $page['needChangePassword'] ) { ?><span class="required">*</span><?php } ?></div>
|
||||
<label for="password" class="flabel"><?php echo getlocal('form.field.password') ?><?php if( !$page['opid'] || $page['needChangePassword'] ) { ?><span class="required">*</span><?php } ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="password" name="password" size="40" value="" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="password" type="password" name="password" size="40" value="" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.password.description') ?></div>
|
||||
<label for="password" class="fdescr"> — <?php echo getlocal('form.field.password.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.password_confirm') ?><?php if( !$page['opid'] || $page['needChangePassword'] ) { ?><span class="required">*</span><?php } ?></div>
|
||||
<label for="passwordConfirm" class="flabel"><?php echo getlocal('form.field.password_confirm') ?><?php if( !$page['opid'] || $page['needChangePassword'] ) { ?><span class="required">*</span><?php } ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="password" name="passwordConfirm" size="40" value="" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="passwordConfirm" type="password" name="passwordConfirm" size="40" value="" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.password_confirm.description') ?></div>
|
||||
<label for="passwordConfirm" class="fdescr"> — <?php echo getlocal('form.field.password_confirm.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.agent_name') ?><span class="required">*</span></div>
|
||||
<label for="name" class="flabel"><?php echo getlocal('form.field.agent_name') ?><span class="required">*</span></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="name" size="40" value="<?php echo form_value('name') ?>" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="name" type="text" name="name" size="40" value="<?php echo form_value('name') ?>" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.agent_name.description') ?></div>
|
||||
<label for="name" class="fdescr"> — <?php echo getlocal('form.field.agent_name.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.agent_commonname') ?><span class="required">*</span></div>
|
||||
<label for="commonname" class="flabel"><?php echo getlocal('form.field.agent_commonname') ?><span class="required">*</span></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="commonname" size="40" value="<?php echo form_value('commonname') ?>" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="commonname" type="text" name="commonname" size="40" value="<?php echo form_value('commonname') ?>" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.agent_commonname.description') ?></div>
|
||||
<label for="commonname" class="fdescr"> — <?php echo getlocal('form.field.agent_commonname.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.agent_code') ?></div>
|
||||
<label for="code" class="flabel"><?php echo getlocal('form.field.agent_code') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="code" size="40" value="<?php echo form_value('code') ?>" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="code" type="text" name="code" size="40" value="<?php echo form_value('code') ?>" class="formauth"<?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.agent_code.description') ?></div>
|
||||
<label for="code" class="fdescr"> — <?php echo getlocal('form.field.agent_code.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
<?php if($page['canmodify']) { ?>
|
||||
|
@ -68,11 +68,11 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<?php if($page['canmodify']) { ?>
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.avatar.upload') ?><span class="required">*</span></div>
|
||||
<label for="avatarFile" class="flabel"><?php echo getlocal('form.field.avatar.upload') ?><span class="required">*</span></label>
|
||||
<div class="fvalue">
|
||||
<input type="file" name="avatarFile" size="40" value="<?php echo form_value('avatarFile') ?>" class="formauth"/>
|
||||
<input id="avatarFile" type="file" name="avatarFile" size="40" value="<?php echo form_value('avatarFile') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.avatar.upload.description') ?></div>
|
||||
<label for="avatarFile" class="fdescr"> — <?php echo getlocal('form.field.avatar.upload.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
|
@ -51,29 +51,29 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.address') ?><span class="required">*</span></div>
|
||||
<label for="address" class="flabel"><?php echo getlocal('form.field.address') ?><span class="required">*</span></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="address" size="40" value="<?php echo form_value('address') ?>" class="formauth"/>
|
||||
<input id="address" type="text" name="address" size="40" value="<?php echo form_value('address') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.address.description') ?></div>
|
||||
<label for="address" class="fdescr"> — <?php echo getlocal('form.field.address.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.ban_days') ?><span class="required">*</span></div>
|
||||
<label for="days" class="flabel"><?php echo getlocal('form.field.ban_days') ?><span class="required">*</span></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="days" size="4" value="<?php echo form_value('days') ?>" class="formauth"/>
|
||||
<input id="days" type="text" name="days" size="4" value="<?php echo form_value('days') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.ban_days.description') ?></div>
|
||||
<label for="days" class="fdescr"> — <?php echo getlocal('form.field.ban_days.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.ban_comment') ?><span class="required">*</span></div>
|
||||
<label for="comment" class="flabel"><?php echo getlocal('form.field.ban_comment') ?><span class="required">*</span></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="comment" size="40" value="<?php echo form_value('comment') ?>" class="formauth"/>
|
||||
<input id="comment" type="text" name="comment" size="40" value="<?php echo form_value('comment') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.ban_comment.description') ?></div>
|
||||
<label for="comment" class="fdescr"> — <?php echo getlocal('form.field.ban_comment.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
|
@ -50,16 +50,16 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal("canned.message_title") ?></div>
|
||||
<label for="titlefield" class="flabel"><?php echo getlocal("canned.message_title") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<input type="text" name="title" class="wide" maxlength="100" value="<?php echo form_value('title') ?>"/>
|
||||
<input id="titlefield" type="text" name="title" class="wide" maxlength="100" value="<?php echo form_value('title') ?>"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal("cannededit.message") ?></div>
|
||||
<label for="message" class="flabel"><?php echo getlocal("cannededit.message") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<textarea name="message" cols="20" rows="5" class="wide"><?php echo form_value('message') ?></textarea>
|
||||
<textarea id="message" name="message" cols="20" rows="5" class="wide"><?php echo form_value('message') ?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -89,137 +89,137 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.usercanchangename') ?></div>
|
||||
<label for="usercanchangename" class="flabel"><?php echo getlocal('settings.usercanchangename') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="usercanchangename" value="on"<?php echo form_value_cb('usercanchangename') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="usercanchangename" type="checkbox" name="usercanchangename" value="on"<?php echo form_value_cb('usercanchangename') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.usercanchangename.description') ?></div>
|
||||
<label for="usercanchangename" class="fdescr"> — <?php echo getlocal('settings.usercanchangename.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.enablessl') ?></div>
|
||||
<label for="enablessl" class="flabel"><?php echo getlocal('settings.enablessl') ?></label>
|
||||
<div class="fvalue">
|
||||
<input id="enablessl" type="checkbox" name="enablessl" value="on"<?php echo form_value_cb('enablessl') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.enablessl.description') ?></div>
|
||||
<label for="enablessl" class="fdescr"> — <?php echo getlocal('settings.enablessl.description') ?></label>
|
||||
<br clear="all"/>
|
||||
|
||||
<div class="subfield underssl">
|
||||
<div class="flabel"><?php echo getlocal('settings.forcessl') ?></div>
|
||||
<label for="forcessl" class="flabel"><?php echo getlocal('settings.forcessl') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="forcessl" value="on"<?php echo form_value_cb('forcessl') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="forcessl" type="checkbox" name="forcessl" value="on"<?php echo form_value_cb('forcessl') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.forcessl.description') ?></div>
|
||||
<label for="forcessl" class="fdescr"> — <?php echo getlocal('settings.forcessl.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.enablegroups') ?></div>
|
||||
<label for="enablegroups" class="flabel"><?php echo getlocal('settings.enablegroups') ?></label>
|
||||
<div class="fvalue">
|
||||
<input id="enablegroups" type="checkbox" name="enablegroups" value="on"<?php echo form_value_cb('enablegroups') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.enablegroups.description') ?></div>
|
||||
<label for="enablegroups" class="fdescr"> — <?php echo getlocal('settings.enablegroups.description') ?></label>
|
||||
<br clear="all"/>
|
||||
|
||||
<div class="subfield undergroups">
|
||||
<div class="flabel"><?php echo getlocal('settings.enablegroupsisolation') ?></div>
|
||||
<label for="enablegroupsisolation" class="flabel"><?php echo getlocal('settings.enablegroupsisolation') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="enablegroupsisolation" value="on"<?php echo form_value_cb('enablegroupsisolation') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="enablegroupsisolation" type="checkbox" name="enablegroupsisolation" value="on"<?php echo form_value_cb('enablegroupsisolation') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.enablegroupsisolation.description') ?></div>
|
||||
<label for="enablegroupsisolation" class="fdescr"> — <?php echo getlocal('settings.enablegroupsisolation.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.enablestatistics') ?></div>
|
||||
<label for="enablestatistics" class="flabel"><?php echo getlocal('settings.enablestatistics') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="enablestatistics" value="on"<?php echo form_value_cb('enablestatistics') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="enablestatistics" type="checkbox" name="enablestatistics" value="on"<?php echo form_value_cb('enablestatistics') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.enablestatistics.description') ?></div>
|
||||
<label for="enablestatistics" class="fdescr"> — <?php echo getlocal('settings.enablestatistics.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.enabletracking') ?></div>
|
||||
<label for="enabletracking" class="flabel"><?php echo getlocal('settings.enabletracking') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="enabletracking" value="on"<?php echo form_value_cb('enabletracking') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="enabletracking" type="checkbox" name="enabletracking" value="on"<?php echo form_value_cb('enabletracking') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.enabletracking.description') ?></div>
|
||||
<label for="enabletracking" class="fdescr"> — <?php echo getlocal('settings.enabletracking.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.enableban') ?></div>
|
||||
<label for="enableban" class="flabel"><?php echo getlocal('settings.enableban') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="enableban" value="on"<?php echo form_value_cb('enableban') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="enableban" type="checkbox" name="enableban" value="on"<?php echo form_value_cb('enableban') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.enableban.description') ?></div>
|
||||
<label for="enableban" class="fdescr"> — <?php echo getlocal('settings.enableban.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.enablepresurvey') ?></div>
|
||||
<label for="enablepresurvey" class="flabel"><?php echo getlocal('settings.enablepresurvey') ?></label>
|
||||
<div class="fvalue">
|
||||
<input id="enablepresurvey" type="checkbox" name="enablepresurvey" value="on"<?php echo form_value_cb('enablepresurvey') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.enablepresurvey.description') ?></div>
|
||||
<label for="enablepresurvey" class="fdescr"> — <?php echo getlocal('settings.enablepresurvey.description') ?></label>
|
||||
<br clear="all"/>
|
||||
|
||||
<div class="subfield undersurvey">
|
||||
<div class="flabel"><?php echo getlocal('settings.survey.askmail') ?></div>
|
||||
<label for="surveyaskmail" class="flabel"><?php echo getlocal('settings.survey.askmail') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="surveyaskmail" value="on"<?php echo form_value_cb('surveyaskmail') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="surveyaskmail" type="checkbox" name="surveyaskmail" value="on"<?php echo form_value_cb('surveyaskmail') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.survey.askmail.description') ?></div>
|
||||
<label for="surveyaskmail" class="fdescr"> — <?php echo getlocal('settings.survey.askmail.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="subfield undersurvey">
|
||||
<div class="flabel"><?php echo getlocal('settings.survey.askgroup') ?></div>
|
||||
<label for="surveyaskgroup" class="flabel"><?php echo getlocal('settings.survey.askgroup') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="surveyaskgroup" value="on"<?php echo form_value_cb('surveyaskgroup') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="surveyaskgroup" type="checkbox" name="surveyaskgroup" value="on"<?php echo form_value_cb('surveyaskgroup') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.survey.askgroup.description') ?></div>
|
||||
<label for="surveyaskgroup" class="fdescr"> — <?php echo getlocal('settings.survey.askgroup.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="subfield undersurvey">
|
||||
<div class="flabel"><?php echo getlocal('settings.survey.askmessage') ?></div>
|
||||
<label for="surveyaskmessage" class="flabel"><?php echo getlocal('settings.survey.askmessage') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="surveyaskmessage" value="on"<?php echo form_value_cb('surveyaskmessage') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="surveyaskmessage" type="checkbox" name="surveyaskmessage" value="on"<?php echo form_value_cb('surveyaskmessage') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.survey.askmessage.description') ?></div>
|
||||
<label for="surveyaskmessage" class="fdescr"> — <?php echo getlocal('settings.survey.askmessage.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.popup_notification') ?></div>
|
||||
<label for="enablepopupnotification" class="flabel"><?php echo getlocal('settings.popup_notification') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="enablepopupnotification" value="on"<?php echo form_value_cb('enablepopupnotification') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="enablepopupnotification" type="checkbox" name="enablepopupnotification" value="on"<?php echo form_value_cb('enablepopupnotification') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.popup_notification.description') ?></div>
|
||||
<label for="enablepopupnotification" class="fdescr"> — <?php echo getlocal('settings.popup_notification.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.show_online_operators') ?></div>
|
||||
<label for="showonlineoperators" class="flabel"><?php echo getlocal('settings.show_online_operators') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="showonlineoperators" value="on"<?php echo form_value_cb('showonlineoperators') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="showonlineoperators" type="checkbox" name="showonlineoperators" value="on"<?php echo form_value_cb('showonlineoperators') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.show_online_operators.description') ?></div>
|
||||
<label for="showonlineoperators" class="fdescr"> — <?php echo getlocal('settings.show_online_operators.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.leavemessage_captcha') ?></div>
|
||||
<label for="enablecaptcha" class="flabel"><?php echo getlocal('settings.leavemessage_captcha') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="enablecaptcha" value="on"<?php echo form_value_cb('enablecaptcha') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="enablecaptcha" type="checkbox" name="enablecaptcha" value="on"<?php echo form_value_cb('enablecaptcha') ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.leavemessage_captcha.description') ?></div>
|
||||
<label for="enablecaptcha" class="fdescr"> — <?php echo getlocal('settings.leavemessage_captcha.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
|
@ -34,41 +34,41 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="fieldinrow">
|
||||
<div class="flabel"><?php echo getlocal("page.gen_button.choose_locale") ?></div>
|
||||
<label for="lang" class="flabel"><?php echo getlocal("page.gen_button.choose_locale") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<select name="lang" onchange="this.form.submit();"><?php foreach($page['availableLocales'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("lang") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
<select id="lang" name="lang" onchange="this.form.submit();"><?php foreach($page['availableLocales'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("lang") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="fieldinrow">
|
||||
<div class="flabel"><?php echo getlocal("page.gen_button.choose_style") ?></div>
|
||||
<label for="style" class="flabel"><?php echo getlocal("page.gen_button.choose_style") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<select name="style" onchange="this.form.submit();"><?php foreach($page['availableChatStyles'] as $k => $v) { echo "<option value=\"".$k."\"".($k == form_value("style") ? " selected=\"selected\"" : "").">".$v."</option>"; } ?></select>
|
||||
<select id="style" name="style" onchange="this.form.submit();"><?php foreach($page['availableChatStyles'] as $k => $v) { echo "<option value=\"".$k."\"".($k == form_value("style") ? " selected=\"selected\"" : "").">".$v."</option>"; } ?></select>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all"/>
|
||||
|
||||
<div class="fieldinrow">
|
||||
<div class="flabel"><?php echo getlocal("page.gen_button.choose_type") ?></div>
|
||||
<label for="codetype" class="flabel"><?php echo getlocal("page.gen_button.choose_type") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<select name="codetype" onchange="this.form.submit();"><?php foreach($page['availableCodeTypes'] as $k => $v) { echo "<option value=\"".$k."\"".($k == form_value("codetype") ? " selected=\"selected\"" : "").">".$v."</option>"; } ?></select>
|
||||
<select id="codetype" name="codetype" onchange="this.form.submit();"><?php foreach($page['availableCodeTypes'] as $k => $v) { echo "<option value=\"".$k."\"".($k == form_value("codetype") ? " selected=\"selected\"" : "").">".$v."</option>"; } ?></select>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all"/>
|
||||
|
||||
<?php if(! $page['operator_code']) { ?>
|
||||
<div class="fieldinrow">
|
||||
<div class="flabel"><?php echo getlocal("page.gen_button.choose_image") ?></div>
|
||||
<label for="i" class="flabel"><?php echo getlocal("page.gen_button.choose_image") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<select name="i" onchange="this.form.submit();"><?php foreach($page['availableImages'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("image") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
<select id="i" name="i" onchange="this.form.submit();"><?php foreach($page['availableImages'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("image") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if($page['enabletracking']) { ?>
|
||||
<div class="fieldinrow">
|
||||
<div class="flabel"><?php echo getlocal("page.gen_button.choose_invitationstyle") ?></div>
|
||||
<label for="invitationstyle" class="flabel"><?php echo getlocal("page.gen_button.choose_invitationstyle") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<select name="invitationstyle" onchange="this.form.submit();"><?php foreach($page['availableInvitationStyles'] as $k => $v) { echo "<option value=\"".$k."\"".($k == form_value("invitationstyle") ? " selected=\"selected\"" : "").">".$v."</option>"; } ?></select>
|
||||
<select id="invitationstyle" name="invitationstyle" onchange="this.form.submit();"><?php foreach($page['availableInvitationStyles'] as $k => $v) { echo "<option value=\"".$k."\"".($k == form_value("invitationstyle") ? " selected=\"selected\"" : "").">".$v."</option>"; } ?></select>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
@ -76,44 +76,44 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
<?php } ?>
|
||||
|
||||
<div class="fieldinrow">
|
||||
<div class="flabel"><?php echo getlocal("page.gen_button.choose_group") ?></div>
|
||||
<label for="group" class="flabel"><?php echo getlocal("page.gen_button.choose_group") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<select name="group" onchange="this.form.submit();"><?php foreach($page['groups'] as $k) { echo "<option value=\"".$k['groupid']."\"".($k['groupid'] == form_value("group") ? " selected=\"selected\"" : "").">".str_repeat(' ', $k['level']*2).$k['vclocalname']."</option>"; } ?></select>
|
||||
<select id="group" name="group" onchange="this.form.submit();"><?php foreach($page['groups'] as $k) { echo "<option value=\"".$k['groupid']."\"".($k['groupid'] == form_value("group") ? " selected=\"selected\"" : "").">".str_repeat(' ', $k['level']*2).$k['vclocalname']."</option>"; } ?></select>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all"/>
|
||||
|
||||
<div class="fieldinrow">
|
||||
<div class="flabel"><?php echo getlocal("page.gen_button.include_site_name") ?></div>
|
||||
<label for="hostname" class="flabel"><?php echo getlocal("page.gen_button.include_site_name") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<input type="checkbox" name="hostname" value="on"<?php echo form_value_cb('hostname') ? " checked=\"checked\"" : "" ?> onchange="this.form.submit();"/>
|
||||
<input id="hostname" type="checkbox" name="hostname" value="on"<?php echo form_value_cb('hostname') ? " checked=\"checked\"" : "" ?> onchange="this.form.submit();"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if( $page['formhostname'] ) { ?>
|
||||
|
||||
<div class="fieldinrow">
|
||||
<div class="flabel"><?php echo getlocal("page.gen_button.secure_links") ?></div>
|
||||
<label for="secure" class="flabel"><?php echo getlocal("page.gen_button.secure_links") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<input type="checkbox" name="secure" value="on"<?php echo form_value_cb('secure') ? " checked=\"checked\"" : "" ?> onchange="this.form.submit();"/>
|
||||
<input id="secure" type="checkbox" name="secure" value="on"<?php echo form_value_cb('secure') ? " checked=\"checked\"" : "" ?> onchange="this.form.submit();"/>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<br clear="all"/>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal("page.gen_button.modsecurity") ?></div>
|
||||
<label for="modsecurity" class="flabel"><?php echo getlocal("page.gen_button.modsecurity") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<input type="checkbox" name="modsecurity" value="on"<?php echo form_value_cb('modsecurity') ? " checked=\"checked\"" : "" ?> onchange="this.form.submit();"/>
|
||||
<input id="modsecurity" type="checkbox" name="modsecurity" value="on"<?php echo form_value_cb('modsecurity') ? " checked=\"checked\"" : "" ?> onchange="this.form.submit();"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal("page.gen_button.code") ?></div>
|
||||
<label for="buttonCode" class="flabel"><?php echo getlocal("page.gen_button.code") ?></label>
|
||||
<div class="fvaluewithta" dir="ltr">
|
||||
<textarea cols="44" rows="15"><?php echo htmlspecialchars($page['buttonCode']) ?></textarea>
|
||||
<textarea id="buttonCode" cols="44" rows="15"><?php echo htmlspecialchars($page['buttonCode']) ?></textarea>
|
||||
</div>
|
||||
<div class="fdescr"><?php echo getlocal("page.gen_button.code.description") ?></div>
|
||||
<label for="buttonCode" class="fdescr"><?php echo getlocal("page.gen_button.code.description") ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
|
@ -71,65 +71,65 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.groupname') ?><span class="required">*</span></div>
|
||||
<label for="name" class="flabel"><?php echo getlocal('form.field.groupname') ?><span class="required">*</span></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="name" size="40" value="<?php echo form_value('name') ?>" class="formauth"/>
|
||||
<input id="name" type="text" name="name" size="40" value="<?php echo form_value('name') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.groupname.description') ?></div>
|
||||
<label for="name" class="fdescr"> — <?php echo getlocal('form.field.groupname.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.groupdesc') ?></div>
|
||||
<label for="description" class="flabel"><?php echo getlocal('form.field.groupdesc') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="description" size="40" value="<?php echo form_value('description') ?>" class="formauth"/>
|
||||
<input id="description" type="text" name="description" size="40" value="<?php echo form_value('description') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.groupdesc.description') ?></div>
|
||||
<label for="description" class="fdescr"> — <?php echo getlocal('form.field.groupdesc.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.groupcommonname') ?></div>
|
||||
<label for="commonname" class="flabel"><?php echo getlocal('form.field.groupcommonname') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="commonname" size="40" value="<?php echo form_value('commonname') ?>" class="formauth"/>
|
||||
<input id="commonname" type="text" name="commonname" size="40" value="<?php echo form_value('commonname') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.groupcommonname.description') ?></div>
|
||||
<label for="commonname" class="fdescr"> — <?php echo getlocal('form.field.groupcommonname.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.groupcommondesc') ?></div>
|
||||
<label for="commondescription" class="flabel"><?php echo getlocal('form.field.groupcommondesc') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="commondescription" size="40" value="<?php echo form_value('commondescription') ?>" class="formauth"/>
|
||||
<input id="commondescription" type="text" name="commondescription" size="40" value="<?php echo form_value('commondescription') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.groupcommondesc.description') ?></div>
|
||||
<label for="commondescription" class="fdescr"> — <?php echo getlocal('form.field.groupcommondesc.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.mail') ?></div>
|
||||
<label for="email" class="flabel"><?php echo getlocal('form.field.mail') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="email" size="40" value="<?php echo form_value('email') ?>" class="formauth"/>
|
||||
<input id="email" type="text" name="email" size="40" value="<?php echo form_value('email') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.groupemail.description') ?></div>
|
||||
<label for="email" class="fdescr"> — <?php echo getlocal('form.field.groupemail.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.groupweight') ?></div>
|
||||
<label for="weight" class="flabel"><?php echo getlocal('form.field.groupweight') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="weight" size="40" value="<?php echo form_value('weight') ?>" class="formauth"/>
|
||||
<input id="weight" type="text" name="weight" size="40" value="<?php echo form_value('weight') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.groupweight.description') ?></div>
|
||||
<label for="weight" class="fdescr"> — <?php echo getlocal('form.field.groupweight.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('form.field.groupparent') ?></div>
|
||||
<label for="parentgroup" class="flabel"><?php echo getlocal('form.field.groupparent') ?></label>
|
||||
<div class="fvalue">
|
||||
<select name="parentgroup" id="parentgroup"><?php foreach($page['availableParentGroups'] as $k) { echo "<option value=\"".$k['groupid']."\"".($k['groupid'] == form_value("parentgroup") ? " selected=\"selected\"" : "").">".str_repeat(' ', $k['level']*2).$k['vclocalname']."</option>"; } ?></select>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('form.field.groupparent.description') ?></div>
|
||||
<label for="parentgroup" class="fdescr"> — <?php echo getlocal('form.field.groupparent.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
@ -137,38 +137,38 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
<div class="fheader"><?php echo getlocal('page.group.extrafields.title') ?></div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.company.title') ?></div>
|
||||
<label for="titlefield" class="flabel"><?php echo getlocal('settings.company.title') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="title" size="40" value="<?php echo form_value('title') ?>" class="formauth"/>
|
||||
<input id="titlefield" type="text" name="title" size="40" value="<?php echo form_value('title') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.company.title.description') ?></div>
|
||||
<label for="titlefield" class="fdescr"> — <?php echo getlocal('settings.company.title.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.chat.title') ?></div>
|
||||
<label for="chattitle" class="flabel"><?php echo getlocal('settings.chat.title') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="chattitle" size="40" value="<?php echo form_value('chattitle') ?>" class="formauth"/>
|
||||
<input id="chattitle" type="text" name="chattitle" size="40" value="<?php echo form_value('chattitle') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.chat.title') ?></div>
|
||||
<label for="chattitle" class="fdescr"> — <?php echo getlocal('settings.chat.title') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.logo') ?></div>
|
||||
<label for="logofield" class="flabel"><?php echo getlocal('settings.logo') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="logo" size="40" value="<?php echo form_value('logo') ?>" class="formauth"/>
|
||||
<input id="logofield" type="text" name="logo" size="40" value="<?php echo form_value('logo') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.logo.description') ?></div>
|
||||
<label for="logofield" class="fdescr"> — <?php echo getlocal('settings.logo.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.host') ?></div>
|
||||
<label for="hosturl" class="flabel"><?php echo getlocal('settings.host') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="hosturl" size="40" value="<?php echo form_value('hosturl') ?>" class="formauth"/>
|
||||
<input id="hosturl" type="text" name="hosturl" size="40" value="<?php echo form_value('hosturl') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.host.description') ?></div>
|
||||
<label for="hosturl" class="fdescr"> — <?php echo getlocal('settings.host.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -47,9 +47,8 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
<?php foreach( $page['operators'] as $pm ) { ?>
|
||||
<div class="field">
|
||||
<div class="fvaluenodesc">
|
||||
<input type="checkbox" name="op<?php echo $pm['operatorid'] ?>" value="on"<?php echo form_value_mb('op',$pm['operatorid']) ? " checked=\"checked\"" : "" ?>/>
|
||||
<?php echo htmlspecialchars(topage($pm['vclocalename'])) ?> (<a href="operator.php?op=<?php echo $pm['operatorid'] ?>"
|
||||
><?php echo htmlspecialchars(topage($pm['vclogin'])) ?></a>)
|
||||
<input id="op<?php echo htmlspecialchars($pm['operatorid']); ?>" type="checkbox" name="op<?php echo htmlspecialchars($pm['operatorid']); ?>" value="on"<?php echo form_value_mb('op',$pm['operatorid']) ? " checked=\"checked\"" : "" ?>/>
|
||||
<label for="op<?php echo htmlspecialchars($pm['operatorid']); ?>"><?php echo htmlspecialchars(topage($pm['vclocalename'])) ?> (<a href="operator.php?op=<?php echo $pm['operatorid'] ?>"><?php echo htmlspecialchars(topage($pm['vclogin'])) ?></a>)</label>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
@ -41,9 +41,9 @@ function tpl_content() { global $page, $mibewroot;
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal("page.preview.choose") ?></div>
|
||||
<label for="preview" class="flabel"><?php echo getlocal("page.preview.choose") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<select name="preview" onchange="this.form.submit();"><?php foreach($page['availablePreviews'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("preview") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
<select id="preview" name="preview" onchange="this.form.submit();"><?php foreach($page['availablePreviews'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("preview") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -46,11 +46,11 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
</p>
|
||||
<?php foreach( $page['groups'] as $pm ) { ?>
|
||||
<div class="field level<?php echo $pm['level'] ?>">
|
||||
<div class="flabel"><?php echo htmlspecialchars(topage($pm['vclocalname'])) ?></div>
|
||||
<label for="group<?php echo htmlspecialchars($pm['groupid']); ?>" class="flabel"><?php echo htmlspecialchars(topage($pm['vclocalname'])) ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="checkbox" name="group<?php echo $pm['groupid'] ?>" value="on"<?php echo form_value_mb('group',$pm['groupid']) ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
<input id="group<?php echo htmlspecialchars($pm['groupid']); ?>" type="checkbox" name="group<?php echo htmlspecialchars($pm['groupid']); ?>" value="on"<?php echo form_value_mb('group',$pm['groupid']) ? " checked=\"checked\"" : "" ?><?php echo $page['canmodify'] ? "" : " disabled=\"disabled\"" ?>/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo $pm['vclocaldescription'] ? htmlspecialchars(topage($pm['vclocaldescription'])) : getlocal("operator.group.no_description") ?></div>
|
||||
<label for="group<?php echo htmlspecialchars($pm['groupid']); ?>" class="fdescr"> — <?php echo $pm['vclocaldescription'] ? htmlspecialchars(topage($pm['vclocaldescription'])) : getlocal("operator.group.no_description") ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
@ -42,93 +42,93 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.onlinetimeout') ?></div>
|
||||
<label for="onlinetimeout" class="flabel"><?php echo getlocal('settings.onlinetimeout') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="onlinetimeout" size="40" value="<?php echo form_value('onlinetimeout') ?>" class="formauth"/>
|
||||
<input id="onlinetimeout" type="text" name="onlinetimeout" size="40" value="<?php echo form_value('onlinetimeout') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.onlinetimeout.description') ?></div>
|
||||
<label for="onlinetimeout" class="fdescr"> — <?php echo getlocal('settings.onlinetimeout.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.frequencyoperator') ?></div>
|
||||
<label for="frequencyoperator" class="flabel"><?php echo getlocal('settings.frequencyoperator') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="frequencyoperator" size="40" value="<?php echo form_value('frequencyoperator') ?>" class="formauth"/>
|
||||
<input id="frequencyoperator" type="text" name="frequencyoperator" size="40" value="<?php echo form_value('frequencyoperator') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.frequencyoperator.description') ?></div>
|
||||
<label for="frequencyoperator" class="fdescr"> — <?php echo getlocal('settings.frequencyoperator.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.frequencychat') ?></div>
|
||||
<label for="frequencychat" class="flabel"><?php echo getlocal('settings.frequencychat') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="frequencychat" size="40" value="<?php echo form_value('frequencychat') ?>" class="formauth"/>
|
||||
<input id="frequencychat" type="text" name="frequencychat" size="40" value="<?php echo form_value('frequencychat') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.frequencychat.description') ?></div>
|
||||
<label for="frequencychat" class="fdescr"> — <?php echo getlocal('settings.frequencychat.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.onehostconnections') ?></div>
|
||||
<label for="onehostconnections" class="flabel"><?php echo getlocal('settings.onehostconnections') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="onehostconnections" size="40" value="<?php echo form_value('onehostconnections') ?>" class="formauth"/>
|
||||
<input id="onehostconnections" type="text" name="onehostconnections" size="40" value="<?php echo form_value('onehostconnections') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.onehostconnections.description') ?></div>
|
||||
<label for="onehostconnections" class="fdescr"> — <?php echo getlocal('settings.onehostconnections.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.threadlifetime') ?></div>
|
||||
<label for="threadlifetime" class="flabel"><?php echo getlocal('settings.threadlifetime') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="threadlifetime" size="40" value="<?php echo form_value('threadlifetime') ?>" class="formauth"/>
|
||||
<input id="threadlifetime" type="text" name="threadlifetime" size="40" value="<?php echo form_value('threadlifetime') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.threadlifetime.description') ?></div>
|
||||
<label for="threadlifetime" class="fdescr"> — <?php echo getlocal('settings.threadlifetime.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.statistics_aggregation_interval') ?></div>
|
||||
<label for="statistics_aggregation_interval" class="flabel"><?php echo getlocal('settings.statistics_aggregation_interval') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="statistics_aggregation_interval" size="40" value="<?php echo form_value('statistics_aggregation_interval') ?>" class="formauth"/>
|
||||
<input id="statistics_aggregation_interval" type="text" name="statistics_aggregation_interval" size="40" value="<?php echo form_value('statistics_aggregation_interval') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.statistics_aggregation_interval.description') ?></div>
|
||||
<label for="statistics_aggregation_interval" class="fdescr"> — <?php echo getlocal('settings.statistics_aggregation_interval.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<?php if ($page['enabletracking']) { ?>
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.frequencytracking') ?></div>
|
||||
<label for="frequencytracking" class="flabel"><?php echo getlocal('settings.frequencytracking') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="frequencytracking" size="40" value="<?php echo form_value('frequencytracking') ?>" class="formauth"/>
|
||||
<input id="frequencytracking" type="text" name="frequencytracking" size="40" value="<?php echo form_value('frequencytracking') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.frequencytracking.description') ?></div>
|
||||
<label for="frequencytracking" class="fdescr"> — <?php echo getlocal('settings.frequencytracking.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.visitorslimit') ?></div>
|
||||
<label for="visitorslimit" class="flabel"><?php echo getlocal('settings.visitorslimit') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="visitorslimit" size="40" value="<?php echo form_value('visitorslimit') ?>" class="formauth"/>
|
||||
<input id="visitorslimit" type="text" name="visitorslimit" size="40" value="<?php echo form_value('visitorslimit') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.visitorslimit.description') ?></div>
|
||||
<label for="visitorslimit" class="fdescr"> — <?php echo getlocal('settings.visitorslimit.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.invitationlifetime') ?></div>
|
||||
<label for="invitationlifetime" class="flabel"><?php echo getlocal('settings.invitationlifetime') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="invitationlifetime" size="40" value="<?php echo form_value('invitationlifetime') ?>" class="formauth"/>
|
||||
<input id="invitationlifetime" type="text" name="invitationlifetime" size="40" value="<?php echo form_value('invitationlifetime') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.invitationlifetime.description') ?></div>
|
||||
<label for="invitationlifetime" class="fdescr"> — <?php echo getlocal('settings.invitationlifetime.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.trackinglifetime') ?></div>
|
||||
<label for="trackinglifetime" class="flabel"><?php echo getlocal('settings.trackinglifetime') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="trackinglifetime" size="40" value="<?php echo form_value('trackinglifetime') ?>" class="formauth"/>
|
||||
<input id="trackinglifetime" type="text" name="trackinglifetime" size="40" value="<?php echo form_value('trackinglifetime') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.trackinglifetime.description') ?></div>
|
||||
<label for="trackinglifetime" class="fdescr"> — <?php echo getlocal('settings.trackinglifetime.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
@ -42,111 +42,109 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.email') ?></div>
|
||||
<label for="email" class="flabel"><?php echo getlocal('settings.email') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="email" size="40" value="<?php echo form_value('email') ?>" class="formauth"/>
|
||||
<input id="email" type="text" name="email" size="40" value="<?php echo form_value('email') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.email.description') ?></div>
|
||||
<label for="email" class="fdescr"> — <?php echo getlocal('settings.email.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.company.title') ?></div>
|
||||
<label for="titlefield" class="flabel"><?php echo getlocal('settings.company.title') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="title" size="40" value="<?php echo form_value('title') ?>" class="formauth"/>
|
||||
<input id="titlefield" type="text" name="title" size="40" value="<?php echo form_value('title') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.company.title.description') ?></div>
|
||||
<label for="titlefield" class="fdescr"> — <?php echo getlocal('settings.company.title.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.chat.title') ?></div>
|
||||
<label for="chattitle" class="flabel"><?php echo getlocal('settings.chat.title') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="chattitle" size="40" value="<?php echo form_value('chattitle') ?>" class="formauth"/>
|
||||
<input id="chattitle" type="text" name="chattitle" size="40" value="<?php echo form_value('chattitle') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.chat.title.description') ?></div>
|
||||
<label for="chattitle" class="fdescr"> — <?php echo getlocal('settings.chat.title.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.logo') ?></div>
|
||||
<label for="logofield" class="flabel"><?php echo getlocal('settings.logo') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="logo" size="40" value="<?php echo form_value('logo') ?>" class="formauth"/>
|
||||
<input id="logofield" type="text" name="logo" size="40" value="<?php echo form_value('logo') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.logo.description') ?></div>
|
||||
<label for="logofield" class="fdescr"> — <?php echo getlocal('settings.logo.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.host') ?></div>
|
||||
<label for="hosturl" class="flabel"><?php echo getlocal('settings.host') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="hosturl" size="40" value="<?php echo form_value('hosturl') ?>" class="formauth"/>
|
||||
<input id="hosturl" type="text" name="hosturl" size="40" value="<?php echo form_value('hosturl') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.host.description') ?></div>
|
||||
<label for="hosturl" class="fdescr"> — <?php echo getlocal('settings.host.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.geolink') ?></div>
|
||||
<label for="geolink" class="flabel"><?php echo getlocal('settings.geolink') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="geolink" size="40" value="<?php echo form_value('geolink') ?>" class="formauth"/>
|
||||
<input id="geolink" type="text" name="geolink" size="40" value="<?php echo form_value('geolink') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.geolink.description') ?></div>
|
||||
<label for="geolink" class="fdescr"> — <?php echo getlocal('settings.geolink.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.geolinkparams') ?></div>
|
||||
<label for="geolinkparams" class="flabel"><?php echo getlocal('settings.geolinkparams') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="geolinkparams" size="40" value="<?php echo form_value('geolinkparams') ?>" class="formauth"/>
|
||||
<input id="geolinkparams" type="text" name="geolinkparams" size="40" value="<?php echo form_value('geolinkparams') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.geolinkparams.description') ?></div>
|
||||
<label for="geolinkparams" class="fdescr"> — <?php echo getlocal('settings.geolinkparams.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.usernamepattern') ?></div>
|
||||
<label for="usernamepattern" class="flabel"><?php echo getlocal('settings.usernamepattern') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="usernamepattern" size="40" value="<?php echo form_value('usernamepattern') ?>" class="formauth"/>
|
||||
<input id="usernamepattern" type="text" name="usernamepattern" size="40" value="<?php echo form_value('usernamepattern') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.usernamepattern.description') ?></div>
|
||||
<label for="usernamepattern" class="fdescr"> — <?php echo getlocal('settings.usernamepattern.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.cronkey') ?></div>
|
||||
<label for="cronkey" class="flabel"><?php echo getlocal('settings.cronkey') ?></label>
|
||||
<div class="fvalue">
|
||||
<input type="text" name="cronkey" size="40" value="<?php echo form_value('cronkey') ?>" class="formauth"/>
|
||||
<input id="cronkey" type="text" name="cronkey" size="40" value="<?php echo form_value('cronkey') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal2('settings.cronkey.description', array($page['cron_path'])) ?></div>
|
||||
<label for="cronkey" class="fdescr"> — <?php echo getlocal2('settings.cronkey.description', array($page['cron_path'])) ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.chatstyle') ?></div>
|
||||
<label for="chatstyle" class="flabel"><?php echo getlocal('settings.chatstyle') ?></label>
|
||||
<div class="fvalue">
|
||||
<select name="chatstyle" ><?php foreach($page['availableChatStyles'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("chatstyle") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
<select id="chatstyle" name="chatstyle" ><?php foreach($page['availableChatStyles'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("chatstyle") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.chatstyle.description') ?></div>
|
||||
<label for="chatstyle" class="fdescr"> — <?php echo getlocal('settings.chatstyle.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
<?php if ($page['enabletracking']) { ?>
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.invitationstyle') ?></div>
|
||||
<label for="invitationstyle" class="flabel"><?php echo getlocal('settings.invitationstyle') ?></label>
|
||||
<div class="fvalue">
|
||||
<select name="invitationstyle" ><?php foreach($page['availableInvitationStyles'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("invitationstyle") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
<select id="invitationstyle" name="invitationstyle" ><?php foreach($page['availableInvitationStyles'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("invitationstyle") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
</div>
|
||||
<div class="fdescr"> — <?php echo getlocal('settings.invitationstyle.description') ?></div>
|
||||
<label for="invitationstyle" class="fdescr"> — <?php echo getlocal('settings.invitationstyle.description') ?></label>
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal('settings.sendmessagekey') ?></div>
|
||||
<div class="fvaluenodesc">
|
||||
<label>
|
||||
<input type="radio" name="sendmessagekey" value="enter" <?php echo form_value("sendmessagekey") == "enter" ? " checked=\"checked\"" : ""?>/>Enter</label>
|
||||
<label>
|
||||
<input type="radio" name="sendmessagekey" value="center" <?php echo form_value("sendmessagekey") == "center" ? " checked=\"checked\"" : ""?>/>Ctrl-Enter</label>
|
||||
<input id="sendmessagekeyenter" type="radio" name="sendmessagekey" value="enter" <?php echo form_value("sendmessagekey") == "enter" ? " checked=\"checked\"" : ""?>/><label for="sendmessagekeyenter">Enter</label>
|
||||
<input id="sendmessagekeycenter" type="radio" name="sendmessagekey" value="center" <?php echo form_value("sendmessagekey") == "center" ? " checked=\"checked\"" : ""?>/><label for="sendmessagekeycenter">Ctrl-Enter</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -43,14 +43,14 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
<div class="flabel"><?php echo getlocal("statistics.dates") ?></div>
|
||||
<div class="fvaluenodesc">
|
||||
<div class="searchctrl">
|
||||
<?php echo getlocal("statistics.from") ?>
|
||||
<select name="startday"><?php foreach($page['availableDays'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("startday") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
<label for="startday"><?php echo getlocal("statistics.from") ?></label>
|
||||
<select id="startday" name="startday"><?php foreach($page['availableDays'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("startday") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
|
||||
<select name="startmonth"><?php foreach($page['availableMonth'] as $k => $v) { echo "<option value=\"".$k."\"".($k == form_value("startmonth") ? " selected=\"selected\"" : "").">".$v."</option>"; } ?></select>
|
||||
</div>
|
||||
<div class="searchctrl">
|
||||
<?php echo getlocal("statistics.till") ?>
|
||||
<select name="endday"><?php foreach($page['availableDays'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("endday") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
<label for="endday"><?php echo getlocal("statistics.till") ?></label>
|
||||
<select id="endday" name="endday"><?php foreach($page['availableDays'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("endday") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
|
||||
<select name="endmonth"><?php foreach($page['availableMonth'] as $k => $v) { echo "<option value=\"".$k."\"".($k == form_value("endmonth") ? " selected=\"selected\"" : "").">".$v."</option>"; } ?></select>
|
||||
</div>
|
||||
|
@ -35,9 +35,9 @@ function tpl_content() { global $page, $mibewroot;
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal("page.preview.choose") ?></div>
|
||||
<label for="preview" class="flabel"><?php echo getlocal("page.preview.choose") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<select name="preview" onchange="this.form.submit();"><?php foreach($page['availablePreviews'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("preview") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
<select id="preview" name="preview" onchange="this.form.submit();"><?php foreach($page['availablePreviews'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("preview") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
||||
</div>
|
||||
</div>
|
||||
<?php foreach($page['screenshotsList'] as $screenshot) { ?>
|
||||
|
@ -31,14 +31,14 @@ function tpl_content() { global $page, $mibewroot;
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo getlocal("page_analysis.full.text.search") ?></div>
|
||||
<label for="q" class="flabel"><?php echo getlocal("page_analysis.full.text.search") ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<div id="searchtext">
|
||||
<input type="text" name="q" size="60" value="<?php echo form_value('q') ?>" class="formauth"/>
|
||||
<input id="q" type="text" name="q" size="60" value="<?php echo form_value('q') ?>" class="formauth"/>
|
||||
</div>
|
||||
<div class="searchctrl">
|
||||
<?php echo getlocal("page_search.type.title") ?>
|
||||
<select name="type" onchange="if (this.value == 'all' || this.value == 'message') {document.getElementById('inSystemMessages').style.display='inline'} else {document.getElementById('inSystemMessages').style.display='none'}; ">
|
||||
<label for="type"><?php echo getlocal("page_search.type.title") ?></label>
|
||||
<select id="type" name="type" onchange="if (this.value == 'all' || this.value == 'message') {document.getElementById('inSystemMessages').style.display='inline'} else {document.getElementById('inSystemMessages').style.display='none'}; ">
|
||||
<option value="all" <?php echo (form_value('type') == 'all')?'selected="selected"':'' ?>><?php echo getlocal("page_search.type.all") ?></option>
|
||||
<option value="message" <?php echo (form_value('type') == 'message')?'selected="selected"':'' ?>><?php echo getlocal("page_search.type.message") ?></option>
|
||||
<option value="operator" <?php echo (form_value('type') == 'operator')?'selected="selected"':'' ?>><?php echo getlocal("page_search.type.operator") ?></option>
|
||||
@ -49,7 +49,7 @@ function tpl_content() { global $page, $mibewroot;
|
||||
<input type="image" name="search" src='<?php echo $mibewroot.getlocal("image.button.search") ?>' alt='<?php echo getlocal("button.search") ?>'/>
|
||||
</div><br clear="all"/>
|
||||
<div class="searchctrl" id="inSystemMessages"<?php echo ((form_value('type') != 'all' && form_value('type') != 'message')?' style="display: none;"':'')?>>
|
||||
<input type="checkbox" name="insystemmessages" <?php echo (form_value('insystemmessages')?'checked="checked"':'') ?>/> <?php echo getlocal("page_search.search.type.in_system_messages") ?>
|
||||
<input id="insystemmessagesfield" type="checkbox" name="insystemmessages" <?php echo (form_value('insystemmessages')?'checked="checked"':'') ?>/> <label for="insystemmessagesfield"><?php echo getlocal("page_search.search.type.in_system_messages") ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all"/>
|
||||
|
@ -47,16 +47,16 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<div class="fieldForm">
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo $page['title1'] ?></div>
|
||||
<label for="original" class="flabel"><?php echo $page['title1'] ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<textarea name="original" disabled="disabled" cols="20" rows="5" class="wide"><?php echo form_value('original') ?></textarea>
|
||||
<textarea id="original" name="original" disabled="disabled" cols="20" rows="5" class="wide"><?php echo form_value('original') ?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="flabel"><?php echo $page['title2'] ?></div>
|
||||
<label for="translation" class="flabel"><?php echo $page['title2'] ?></label>
|
||||
<div class="fvaluenodesc">
|
||||
<textarea name="translation" cols="20" rows="5" class="wide"><?php echo form_value('translation') ?></textarea>
|
||||
<textarea id="translation" name="translation" cols="20" rows="5" class="wide"><?php echo form_value('translation') ?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user