mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
new css class
This commit is contained in:
parent
b32f3ed4ae
commit
0e3bda794b
12 changed files with 39 additions and 135 deletions
|
@ -70,7 +70,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<?php print __('Password');?> <a href="javascript:randomString();" class="genpass" ><?php print __('generate');?></a>
|
||||
<?php print __('Password');?> / <a href="javascript:randomString();" class="generate" ><?php print __('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -124,12 +124,14 @@
|
|||
foreach ($languages as $key => $value) {
|
||||
echo "\n\t\t\t\t\t\t\t\t\t<option value=\"".$value."\"";
|
||||
$svalue = "'".$value."'";
|
||||
if (( $value == $v_language ) || ( $svalue == $v_language)){
|
||||
echo 'selected' ;
|
||||
}
|
||||
if (( $value == 'en' ) && (empty($v_language))){
|
||||
echo 'selected' ;
|
||||
}
|
||||
if (isset($v_language)){
|
||||
if (( $value == $v_language ) || ( $svalue == $v_language)){
|
||||
echo 'selected' ;
|
||||
}
|
||||
}
|
||||
echo ">".$value."</option>\n";
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue