Skip to content

Commit

Permalink
Кнопка
Browse files Browse the repository at this point in the history
  • Loading branch information
Simplas920 committed May 20, 2020
1 parent 504ceca commit 7167faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simpla/design/html/license.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<h2 style='color:green;'>Лицензия действительна {if $license->expiration != '*'}до {$license->expiration}{/if} для домен{$license->domains|count|plural:'а':'ов'} {foreach $license->domains as $d}{$d}{if !$d@last}, {/if}{/foreach}</h2>
{else}
<h2 style='color:red;'>Лицензия недействительна</h2>
<input type='button' value='продлить' onclick="document.license.license.value='{$testlicense|escape}';">
<input type='button_green' value='Продлить' onclick="document.license.license.value='{$testlicense|escape}';">
{/if}
<textarea name=license style='width:420px; height:100px;'>{$config->license|escape}</textarea>
</div>
Expand Down

2 comments on commit 7167faa

@kvalood
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нет такого типа у input,

button_green

@disfated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тоже нет

document.license.license.value

Please sign in to comment.