bug fixes. added payment type to deposits
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
{if $setting->get_setv_setting()->get_set_setting_type_st_id() == 1}
|
||||
<div class="full_width">
|
||||
<form method="post">
|
||||
@@ -14,7 +14,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div>
|
||||
<div class="right">
|
||||
<input class="button black" type="submit" value="Mentés">
|
||||
@@ -37,19 +37,19 @@
|
||||
<div class="list">
|
||||
|
||||
{foreach $backups as $backup}
|
||||
{if
|
||||
{if
|
||||
$backup@first ||
|
||||
(
|
||||
$backups[$backup@index]->get_bu_date()|substr:5:2 != $backups[$backup@index-1]->get_bu_date()|substr:5:2
|
||||
$backups[$backup@index]->get_bu_date()|substr:5:2 != $backups[$backup@index-1]->get_bu_date()|substr:5:2
|
||||
)
|
||||
|
||||
|
||||
}
|
||||
{if !$backup@first &&
|
||||
{if !$backup@first &&
|
||||
$backups[$backup@index]->get_bu_date()|substr:5:2 != $backups[$backup@index-1]->get_bu_date()|substr:5:2
|
||||
}
|
||||
</div>
|
||||
{/if}
|
||||
<span onclick="block_action('block_{$backup->get_bu_date()|substr:0:4}{$backup->get_bu_date()|substr:5:2}');" class="date_separator clickable">{$backups[$backup@index]->get_bu_date()|substr:0:4}.
|
||||
<span onclick="block_action('block_{$backup->get_bu_date()|substr:0:4}{$backup->get_bu_date()|substr:5:2}');" class="date_separator clickable">{$backups[$backup@index]->get_bu_date()|substr:0:4}.
|
||||
{$months[$backups[$backup@index]->get_bu_date()|substr:5:2]}
|
||||
<img src="/_image/open_folder.png">
|
||||
</span>
|
||||
@@ -57,7 +57,7 @@
|
||||
{/if}
|
||||
<div class="list_item clickable" id="kid_{$backup->get_bu_id()}" onclick="open_kid_menu({$backup->get_bu_id()})">
|
||||
<img src="/_image/backup.png">
|
||||
<span class="bold">{$backup->get_bu_date()|date_format:"%Y.%m.%d %H:%M"}</span> #{$backup->get_bu_id()}
|
||||
<span class="bold">{$backup->get_bu_date()|date_format:"%Y.%m.%d %H:%M"}</span> #{$backup->get_bu_id()}
|
||||
</div>
|
||||
<div class="kid_menu" id="kid_menu_{$backup->get_bu_id()}">
|
||||
<div class="kid_submenu" onclick="download_backup('{$backup->get_bu_name()}')">
|
||||
@@ -114,8 +114,10 @@ $( document ).ready(function() {
|
||||
$( ".list" ).find( divs ).hide();
|
||||
var div_list = $( ".list" ).find( divs );
|
||||
|
||||
open_block(div_list[0].id);
|
||||
|
||||
if (div_list[0] !== undefined) {
|
||||
open_block(div_list[0].id);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
@@ -133,4 +135,4 @@ function open_kid_menu(uk_id) {
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user