commit
9b331813d1
@ -4,7 +4,7 @@
|
||||
"Announcement": "Pemberitahuan",
|
||||
"Registration_Info": "Info Pendaftaran",
|
||||
"Voucher_not_found__please_buy_voucher_befor_register": "Voucher tidak ditemukan, silakan beli voucher sebelum mendaftar",
|
||||
"Register_Success__You_can_login_now": "Daftar Sukses! Anda dapat masuk sekarang",
|
||||
"Register_Success__You_can_login_now": "Daftar berhadil! Anda dapat masuk sekarang",
|
||||
"Log_in_to_Member_Panel": "Masuk ke Panel Anggota",
|
||||
"Register_as_Member": "Daftar sebagai Anggota",
|
||||
"Enter_Admin_Area": "Masuk ke Admin Panel",
|
||||
@ -13,11 +13,12 @@
|
||||
"Password": "Kata Sandi",
|
||||
"Passwords_does_not_match": "Kata sandi tidak cocok",
|
||||
"Account_already_axist": "Akun telah ada",
|
||||
"Manage": "Mengelola",
|
||||
"Manage": "Kelola",
|
||||
"Submit": "Kirim",
|
||||
"Save_Changes": "Simpan Perubahan",
|
||||
"Cancel": "Batal",
|
||||
"Edit": "Sunting",
|
||||
"Order": "Urutan",
|
||||
"Delete": "Hapus",
|
||||
"Welcome": "Selamat Datang",
|
||||
"Data_Created_Successfully": "Data Berhasil Dibuat",
|
||||
@ -199,7 +200,7 @@
|
||||
"Search_by_Username": "Cari berdasarkan nama pengguna",
|
||||
"Search_by_Name": "Cari berdasarkan nama",
|
||||
"Search_by_Code_Voucher": "Cari berdasarkan kode voucher",
|
||||
"Search": "Mencari",
|
||||
"Search": "Cari",
|
||||
"Select_a_customer": "Pilih pelanggan",
|
||||
"Select_Routers": "Pilih Router",
|
||||
"Select_Plans": "Pilih Paket",
|
||||
@ -331,7 +332,7 @@
|
||||
"Pay_this_with_Balance__your_active_package_will_be_overwrite": "Bayar ini dengan Saldo? Paket aktif Anda akan ditimpa",
|
||||
"Success_to_buy_package": "Berhasil membeli paket",
|
||||
"Auto_Renewal": "Perpanjangan otomatis",
|
||||
"View": "Melihat",
|
||||
"View": "Lihat",
|
||||
"Back": "Kembali",
|
||||
"Active": "Aktif",
|
||||
"Transfer_Balance": "Kirim saldo",
|
||||
@ -411,7 +412,7 @@
|
||||
"Paid": "Dibayar",
|
||||
"Personal": "Pribadi",
|
||||
"Coordinates": "Koordinat",
|
||||
"Confirm": "Mengonfirmasi",
|
||||
"Confirm": "Konfirmasi",
|
||||
"Name": "Nama",
|
||||
"Plan": "Paket",
|
||||
"Using": "Menggunakan",
|
||||
@ -522,7 +523,8 @@
|
||||
"Ascending": "Naik",
|
||||
"Descending": "Menurun",
|
||||
"Query": "Query",
|
||||
"Add": "Menambahkan",
|
||||
"Add": "Tambah",
|
||||
"Search": "Cari",
|
||||
"Logout_Successful": "Berhasil Keluar",
|
||||
"warning": "peringatan",
|
||||
"Created___Expired": "Dibuat \/ Kedaluwarsa",
|
||||
@ -533,7 +535,7 @@
|
||||
"Don_t_forget_to_deactivate_all_active_plan_too": "Jangan lupa untuk menonaktifkan semua paket aktif juga",
|
||||
"Attributes": "Atribut",
|
||||
"Additional_Information": "Informasi tambahan",
|
||||
"City_of_Resident": "Kota Residen",
|
||||
"City_of_Resident": "Kota Tempat Tinggal",
|
||||
"State_of_Resident": "Negara Bagian Tempat Tinggal",
|
||||
"Zip_Code": "Kode Pos",
|
||||
"Phone": "Telepon",
|
||||
@ -554,7 +556,7 @@
|
||||
"Input_your_phone_number": "Masukkan nomor telepon Anda",
|
||||
"OTP": "OTP",
|
||||
"Enter_OTP_that_was_sent_to_your_phone": "Masukkan OTP yang dikirimkan ke ponsel Anda",
|
||||
"Update": "Memperbarui",
|
||||
"Update": "Perbarui",
|
||||
"Verification_code_has_been_sent_to_your_phone": "Kode verifikasi telah dikirimkan ke ponsel Anda",
|
||||
"Please_wait_1039_seconds_before_sending_another_SMS": "Harap tunggu 1039 detik sebelum mengirim SMS lainnya",
|
||||
"Please_wait_1015_seconds_before_sending_another_SMS": "Harap tunggu 1015 detik sebelum mengirim SMS lainnya",
|
||||
@ -583,37 +585,37 @@
|
||||
"_": "-",
|
||||
"Search_Users": "Pencarian Pengguna",
|
||||
"Routers_Maps": "Peta Router",
|
||||
"Theme_Voucher": "Voucher Tema",
|
||||
"Theme_Voucher": "Tema Voucher",
|
||||
"Payment_Info": "Info Pembayaran",
|
||||
"Documentation": "Dokumentasi",
|
||||
"Customers": "Pelanggan",
|
||||
"Package_Name": "Nama Paket",
|
||||
"Routers_Offline": "Router Offline",
|
||||
"Routers_Offline": "Router Off",
|
||||
"Cron_appear_not_been_setup__please_check_your_cron_setup_": "Cron tampaknya belum disiapkan, silakan periksa pengaturan cron Anda.",
|
||||
"Buy": "Membeli",
|
||||
"Buy": "Beli",
|
||||
"You_are_already_logged_in": "Anda sudah masuk",
|
||||
"PPPOE_Package": "Paket PPPoE",
|
||||
"Prepaid": "Prabayar",
|
||||
"Postpaid": "Pascabayar",
|
||||
"Enabled": "Diaktifkan",
|
||||
"Enabled": "Aktifkan",
|
||||
"Disable": "Nonaktifkan",
|
||||
"Create_expired_Internet_Plan": "Buat Paket Internet yang Kedaluwarsa",
|
||||
"When_customer_expired__you_can_move_it_to_Expired_Internet_Plan": "Ketika pelanggan kedaluwarsa, Anda dapat memindahkannya ke Paket Internet Kedaluwarsa",
|
||||
"Price_Before_Discount": "Harga Sebelum Diskon",
|
||||
"For_Discount_Rate__this_is_price_before_get_discount__must_be_more_expensive_with_real_price": "Untuk Discount Rate, ini adalah harga sebelum mendapat diskon, pasti lebih mahal dari harga sebenarnya",
|
||||
"on_login___on_up": "saat masuk \/ saat mendaftar",
|
||||
"For_Discount_Rate__this_is_price_before_get_discount__must_be_more_expensive_with_real_price": "Untuk tarif diskon. Ini adalah harga sebelum mendapat diskon, pasti lebih mahal dari harga sebenarnya",
|
||||
"on_login___on_up": "saat masuk \/ saat naik",
|
||||
"on_logout___on_down": "saat keluar \/ saat turun",
|
||||
"Get_Directions": "Dapatkan Petunjuk Arah",
|
||||
"Not_Working_with_Freeradius_Mysql": "Tidak Bekerja dengan Freeradius Mysql",
|
||||
"User_Cannot_change_this__only_admin__if_it_Empty_it_will_use_Customer_Credentials": "Pengguna tidak dapat mengubah ini, hanya admin. Jika Kosong, maka akan menggunakan Kredensial Pelanggan",
|
||||
"Buy_this__your_active_package_will_be_overwritten": "Beli ini? Paket aktif Anda akan ditimpa",
|
||||
"Buy_this__your_active_package_will_be_overwritten": "Beli paket ini? Paket aktif Anda akan ditimpa",
|
||||
"Pay_this_with_Balance__your_active_package_will_be_overwritten": "Bayar ini dengan Saldo? Paket aktif Anda akan ditimpa",
|
||||
"Error": "Kesalahan",
|
||||
"Internal_Error": "Kesalahan Internal",
|
||||
"Sorry__the_software_failed_to_process_the_request__if_it_still_happening__please_tell": "Maaf, perangkat lunak gagal memproses permintaan, jika masih terjadi, mohon beri tahu",
|
||||
"Sorry__the_software_failed_to_process_the_request__if_it_still_happening__please_tell": "Maaf, perangkat lunak gagal memproses permintaan. Jika masih terjadi, mohon beri tahu",
|
||||
"Try_Again": "Coba Lagi",
|
||||
"Make_sure_you_use_API_Port__Default_8728": "Pastikan Anda menggunakan Port API, Default 8728",
|
||||
"Make_sure_Username_and_Password_are_correct": "Pastikan Username dan Password sudah benar",
|
||||
"Make_sure_Username_and_Password_are_correct": "Pastikan nama pengguna dan kata sandi sudah benar",
|
||||
"Make_sure_your_hosting_not_blocking_port_to_external": "Pastikan hosting Anda tidak memblokir port ke eksternal",
|
||||
"Make_sure_your_Mikrotik_accessible_from_PHPNuxBill": "Pastikan Mikrotik Anda dapat diakses dari PHPNuxBill",
|
||||
"If_you_just_update_PHPNuxBill_from_upload_files__try_click_Update": "Jika Anda baru saja memperbarui PHPNuxBill dari mengunggah file, coba klik Perbarui",
|
||||
@ -669,11 +671,11 @@
|
||||
"Logout_Admin_if_not_Available_Online_a_period_of_time": "Logout Admin jika tidak tersedia\/Online dalam jangka waktu tertentu",
|
||||
"Timeout_Duration": "Durasi Waktu Habis",
|
||||
"Enter_the_session_timeout_duration__minutes_": "Masukkan durasi batas waktu sesi (menit)",
|
||||
"Idle_Timeout__Logout_Admin_if_Idle_for_xx_minutes": "Waktu Habis Idle, Keluar dari Admin jika Idle selama xx menit",
|
||||
"Idle_Timeout__Logout_Admin_if_Idle_for_xx_minutes": "Batas waktu idle, Keluar dari Admin jika Idle selama xx menit",
|
||||
"New_Version_Notification": "Pemberitahuan Versi Baru",
|
||||
"This_is_to_notify_you_when_new_updates_is_available": "Ini untuk memberi tahu Anda ketika pembaruan baru tersedia",
|
||||
"Router_Check": "Pemeriksaan Router",
|
||||
"If_enabled__the_system_will_notify_Admin_when_router_goes_Offline__If_admin_have_10_or_more_router_and_many_customers__it_will_get_overlapping__you_can_disabled": "Jika diaktifkan, sistem akan memberitahu Admin ketika router Offline, Jika admin memiliki 10 atau lebih router dan banyak pelanggan, maka akan terjadi tumpang tindih, Anda dapat menonaktifkannya",
|
||||
"If_enabled__the_system_will_notify_Admin_when_router_goes_Offline__If_admin_have_10_or_more_router_and_many_customers__it_will_get_overlapping__you_can_disabled": "Jika diaktifkan, sistem akan memberitahu Admin ketika router Off, Jika Admin memiliki 10 atau lebih router dan banyak pelanggan, maka akan terjadi tumpang tindih, Anda dapat menonaktifkannya",
|
||||
"Phone_OTP_Required": "Diperlukan OTP Telepon",
|
||||
"OTP_is_required_when_user_want_to_change_phone_number_and_registration": "OTP diperlukan ketika pengguna ingin mengubah nomor telepon dan registrasi",
|
||||
"by_WhatsApp": "melalui WhatsApp",
|
||||
@ -701,7 +703,7 @@
|
||||
"Used_Date": "Tanggal Penggunaan",
|
||||
"Plugin_Installer": "Pemasang Plugin",
|
||||
"Upload_Zip_Plugin_Theme_Device": "Unggah Plugin\/Tema\/Perangkat Zip",
|
||||
"Install": "Memasang",
|
||||
"Install": "Pasang",
|
||||
"via_SMS": "melalui SMS",
|
||||
"Via_WhatsApp": "Melalui WhatsApp",
|
||||
"Via_WhatsApp_and_SMS": "Melalui WhatsApp dan SMS",
|
||||
@ -740,9 +742,9 @@
|
||||
"Status_": "Status:",
|
||||
"Force_Logout_": "Paksa Keluar:",
|
||||
"End_Date_": "Tanggal Berakhir:",
|
||||
"Save": "Menyimpan",
|
||||
"Save": "Simpan",
|
||||
"Not_Active": "Tidak Aktif",
|
||||
"Limit": "Membatasi",
|
||||
"Limit": "Batasi",
|
||||
"Create_expired_Internet_Package": "Buat Paket Internet yang Kedaluwarsa",
|
||||
"When_customer_expired__you_can_move_it_to_Expired_Internet_Package": "Ketika pelanggan telah kedaluwarsa, Anda dapat memindahkannya ke Paket Internet Kedaluwarsa",
|
||||
"Miscellaneous_Settings": "Pengaturan Lain-Lain",
|
||||
@ -751,7 +753,7 @@
|
||||
"Buy_Balance_Plans": "Beli Paket Saldo",
|
||||
"New_Voucher_for_10mbps_Created": "Voucher Baru untuk 10mbps Dibuat",
|
||||
"Previous": "Sebelumnya",
|
||||
"Share": "Membagikan",
|
||||
"Share": "Bagikan",
|
||||
"Agent": "Agen",
|
||||
"Sub_District": "Kecamatan",
|
||||
"Ward": "Kelurahan",
|
||||
|
@ -37,7 +37,7 @@
|
||||
<span class="input-group-addon">{Lang::T('Days')}</span>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-danger btn-sm"
|
||||
onclick="return ask(this, 'Clear old logs?')">{Lang::T('Clean Logs')}</button>
|
||||
onclick="return ask(this, '{Lang::T("Clear old logs?")}')">{Lang::T('Clean up Logs')}</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -7,12 +7,12 @@
|
||||
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
|
||||
<div class="btn-group pull-right">
|
||||
<a class="btn btn-primary btn-xs" title="save" href="{Text::url('')}plan/sync"
|
||||
onclick="return ask(this, '{Lang::T('This will sync/send Caustomer active plan to Mikrotik')}?')"><span
|
||||
class="glyphicon glyphicon-refresh" aria-hidden="true"></span> {Lang::T('Sync')}</a>
|
||||
onclick="return ask(this, '{Lang::T("This will sync dan send Customer active package to Mikrotik")}?')"><span
|
||||
class="glyphicon glyphicon-refresh" aria-hidden="true"></span> {Lang::T("Sync")}</a>
|
||||
</div>
|
||||
{* <div class="btn-group pull-right">
|
||||
<a class="btn btn-info btn-xs" title="save" href="{Text::url('plan/csv',$append_url)}"
|
||||
onclick="return ask(this, 'This will export to CSV?')"><span class="glyphicon glyphicon-download"
|
||||
onclick="return ask(this, '{Lang::T("This will export to CSV?")}')"><span class="glyphicon glyphicon-download"
|
||||
aria-hidden="true"></span> CSV</a>
|
||||
</div> *}
|
||||
{/if}
|
||||
@ -30,12 +30,12 @@
|
||||
class="glyphicon glyphicon-remove-circle"></span></a>
|
||||
</div>
|
||||
<input type="text" name="search" class="form-control"
|
||||
placeholder="{Lang::T('Search')}..." value="{$search}">
|
||||
placeholder="{Lang::T("Search")}..." value="{$search}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-xs-4">
|
||||
<select class="form-control" id="router" name="router">
|
||||
<option value="">{Lang::T('Location')}</option>
|
||||
<option value="">{Lang::T("Location")}</option>
|
||||
{foreach $routers as $r}
|
||||
<option value="{$r}" {if $router eq $r }selected{/if}>{$r}
|
||||
</option>
|
||||
@ -44,7 +44,7 @@
|
||||
</div>
|
||||
<div class="col-lg-2 col-xs-4">
|
||||
<select class="form-control" id="plan" name="plan">
|
||||
<option value="">{Lang::T('Plan Name')}</option>
|
||||
<option value="">{Lang::T("Plan Name")}</option>
|
||||
{foreach $plans as $p}
|
||||
<option value="{$p['id']}" {if $plan eq $p['id'] }selected{/if}>{$p['name_plan']}
|
||||
</option>
|
||||
@ -53,9 +53,9 @@
|
||||
</div>
|
||||
<div class="col-lg-2 col-xs-4">
|
||||
<select class="form-control" id="status" name="status">
|
||||
<option value="-">{Lang::T('Status')}</option>
|
||||
<option value="on" {if $status eq 'on' }selected{/if}>{Lang::T('Active')}</option>
|
||||
<option value="off" {if $status eq 'off' }selected{/if}>{Lang::T('Expired')}</option>
|
||||
<option value="-">{Lang::T("Status")}</option>
|
||||
<option value="on" {if $status eq 'on' }selected{/if}>{Lang::T("Active")}</option>
|
||||
<option value="off" {if $status eq 'off' }selected{/if}>{Lang::T("Expired")}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2 col-xs-6">
|
||||
@ -65,7 +65,7 @@
|
||||
<div class="col-md-2 col-xs-6">
|
||||
<a href="{Text::url('')}plan/recharge" class="btn btn-primary btn-block"><i
|
||||
class="ion ion-android-add">
|
||||
</i> {Lang::T('Recharge Account')}</a>
|
||||
</i> {Lang::T("Recharge Account")}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -75,14 +75,14 @@
|
||||
<table id="datatable" class="table table-bordered table-striped table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{Lang::T('Username')}</th>
|
||||
<th>{Lang::T('Plan Name')}</th>
|
||||
<th>{Lang::T('Type')}</th>
|
||||
<th>{Lang::T('Created On')}</th>
|
||||
<th>{Lang::T('Expires On')}</th>
|
||||
<th>{Lang::T('Method')}</th>
|
||||
<th><a href="{Text::url('')}routers/list">{Lang::T('Location')}</a></th>
|
||||
<th>{Lang::T('Manage')}</th>
|
||||
<th>{Lang::T("Username")}</th>
|
||||
<th>{Lang::T("Plan Name")}</th>
|
||||
<th>{Lang::T("Type")}</th>
|
||||
<th>{Lang::T("Created On")}</th>
|
||||
<th>{Lang::T("Expires On")}</th>
|
||||
<th>{Lang::T("Method")}</th>
|
||||
<th><a href="{Text::url('')}routers/list">{Lang::T("Location")}</a></th>
|
||||
<th>{Lang::T("Manage")}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -117,15 +117,15 @@
|
||||
<td>{$ds['routers']}</td>
|
||||
<td>
|
||||
<a href="{Text::url('')}plan/edit/{$ds['id']}" class="btn btn-warning btn-xs"
|
||||
style="color: black;">{Lang::T('Edit')}</a>
|
||||
style="color: black;">{Lang::T("Edit")}</a>
|
||||
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
|
||||
<a href="{Text::url('')}plan/delete/{$ds['id']}" id="{$ds['id']}"
|
||||
onclick="return ask(this, '{Lang::T('Delete')}?')"
|
||||
onclick="return ask(this, '{Lang::T("Delete")}?')"
|
||||
class="btn btn-danger btn-xs"><i class="glyphicon glyphicon-trash"></i></a>
|
||||
{/if}
|
||||
{if $ds['status']=='off' && $_c['extend_expired']}
|
||||
<a href="javascript:extend('{$ds['id']}')"
|
||||
class="btn btn-info btn-xs">{Lang::T('Extend')}</a>
|
||||
class="btn btn-info btn-xs">{Lang::T("Extend")}</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
@ -150,4 +150,4 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
||||
|
@ -27,7 +27,7 @@
|
||||
<b>[[price]]</b> - {Lang::T('will be replaced with Package price')}.<br>
|
||||
<b>[[bills]]</b> - {Lang::T('additional bills for customers')}.<br>
|
||||
<b>[[payment_link]]</b> - <a href="{$app_url}/docs/#Reminder%20with%20payment%20link"
|
||||
target="_blank">read documentation</a>.
|
||||
target="_blank">{Lang::T("read documentation")}</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -46,7 +46,7 @@
|
||||
<b>[[expired_date]]</b> - {Lang::T('will be replaced with Expiration date')}.<br>
|
||||
<b>[[bills]]</b> - {Lang::T('additional bills for customers')}.<br>
|
||||
<b>[[payment_link]]</b> - <a href="{$app_url}/docs/#Reminder%20with%20payment%20link"
|
||||
target="_blank">read documentation</a>.
|
||||
target="_blank">{Lang::T("read documentation")}</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -65,7 +65,7 @@
|
||||
<b>[[expired_date]]</b> - {Lang::T('will be replaced with Expiration date')}.<br>
|
||||
<b>[[bills]]</b> - {Lang::T('additional bills for customers')}.<br>
|
||||
<b>[[payment_link]]</b> - <a href="{$app_url}/docs/#Reminder%20with%20payment%20link"
|
||||
target="_blank">read documentation</a>.
|
||||
target="_blank">{Lang::T("read documentation")}</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -84,7 +84,7 @@
|
||||
<b>[[expired_date]]</b> - {Lang::T('will be replaced with Expiration date')}.<br>
|
||||
<b>[[bills]]</b> - {Lang::T('additional bills for customers')}.<br>
|
||||
<b>[[payment_link]]</b> - <a href="{$app_url}/docs/#Reminder%20with%20payment%20link"
|
||||
target="_blank">read documentation</a>.
|
||||
target="_blank">{Lang::T("read documentation")}</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -201,4 +201,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">{Lang::T("Sequence")}</span>
|
||||
<input type="number" style="width: 100px;" name="orders[]" value="{$w['orders']}"
|
||||
class="form-control" placeholder="orders">
|
||||
class="form-control" placeholder="{Lang::T("Sequence")}">
|
||||
</div>
|
||||
<input type="hidden" name="id[]" value="{$w['id']}">
|
||||
</td>
|
||||
<td width="130">
|
||||
<div class="btn-group btn-group-justified" role="group">
|
||||
<a href="{Text::url('widgets/delete/', $w['id'], '&user=', $tipeUser)}"
|
||||
onclick="return ask(this, 'Delete this widget?')" class="btn btn-sm btn-danger">
|
||||
onclick="return ask(this, '{Lang::T("Delete this widget?")}')" class="btn btn-sm btn-danger">
|
||||
<i class="glyphicon glyphicon-trash"></i>
|
||||
</a>
|
||||
<a href="{Text::url('widgets/edit/', $w['id'], '&user=', $tipeUser)}"
|
||||
@ -92,7 +92,7 @@
|
||||
<span class="input-group-addon"><a href="{$app_url}/docs/#Dashboard%20Structure"
|
||||
target="_blank">{Lang::T("Structure")}</a></span>
|
||||
<input type="text" name="dashboard" value="{$_c[$dtipe]}" class="form-control"
|
||||
placeholder="Dashboard">
|
||||
placeholder="{Lang::T("Dashboard")}">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary btn-block" name="save"
|
||||
value="struct">{Lang::T("Save")}</button>
|
||||
|
@ -4,11 +4,11 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">{if $do == 'add'}{Lang::T('Add')}{else}{Lang::T('Edit')}{/if} {Lang::T("Widget")}</div>
|
||||
<div class="panel-heading">{if $do == 'add'}{Lang::T("Add")}{else}{Lang::T("Edit")}{/if} {Lang::T("Widget")}</div>
|
||||
<div class="panel-body">
|
||||
<input type="hidden" class="form-control" required id="id" name="id" value="{$widget['id']}">
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">{Lang::T('Widget')}</label>
|
||||
<label class="col-md-3 control-label">{Lang::T("Widget")}</label>
|
||||
<div class="col-md-5">
|
||||
<select name="widget" id="widget" class="form-control" onchange="changeTitle(this)">
|
||||
{foreach $widgets as $k => $v}
|
||||
@ -21,7 +21,7 @@
|
||||
<p class="help-block col-md-4"> </p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">{Lang::T('Title')}</label>
|
||||
<label class="col-md-3 control-label">{Lang::T("Title")}</label>
|
||||
<div class="col-md-5">
|
||||
<input type="text" class="form-control" required id="title" name="title"
|
||||
value="{$widget['title']}">
|
||||
@ -29,7 +29,7 @@
|
||||
<span class="help-block col-md-4"> </span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">{Lang::T('Sequence')}</label>
|
||||
<label class="col-md-3 control-label">{Lang::T("Sequence")}</label>
|
||||
<div class="col-md-5">
|
||||
<input type="number" class="form-control" id="orders" name="orders"
|
||||
value="{if $widget['orders']>0}{$widget['orders']}{else}99{/if}">
|
||||
@ -37,7 +37,7 @@
|
||||
<span class="help-block col-md-4"> </span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">{Lang::T('Position')}</label>
|
||||
<label class="col-md-3 control-label">{Lang::T("Position")}</label>
|
||||
<div class="col-md-5">
|
||||
<select name="position" id="position" class="form-control">
|
||||
{for $pos=1 to $max}
|
||||
@ -50,34 +50,34 @@
|
||||
<p class="help-block col-md-4"> </p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">{Lang::T('User')}</label>
|
||||
<label class="col-md-3 control-label">{Lang::T("User")}</label>
|
||||
<div class="col-md-5">
|
||||
<select name="tipeUser" aria-readonly="" id="tipeUser" class="form-control">
|
||||
<option value="{$widget['user']}" {if $widget['user'] eq $u}selected="selected" {/if}>
|
||||
Dashboard {$widget['user']}
|
||||
{Lang::T("Dashboard")} {$widget['user']}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<p class="help-block col-md-4"> </p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">{Lang::T('Status')}</label>
|
||||
<label class="col-md-3 control-label">{Lang::T("Status")}</label>
|
||||
<div class="col-md-5">
|
||||
<select name="enabled" id="enabled" class="form-control">
|
||||
<option value="1"
|
||||
{if isset($widget['enabled']) && $widget['enabled'] neq 1}selected="selected" {/if}>
|
||||
{Lang::T('Active')}
|
||||
{Lang::T("Active")}
|
||||
</option>
|
||||
<option value="0"
|
||||
{if isset($widget['enabled']) && $widget['enabled'] eq 0}selected="selected" {/if}>
|
||||
{Lang::T('Not Active')}
|
||||
{Lang::T("Not Active")}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<p class="help-block col-md-4"> </p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">{Lang::T('Content')}</label>
|
||||
<label class="col-md-3 control-label">{Lang::T("Content")}</label>
|
||||
<div class="col-md-9">
|
||||
<textarea name="content" rows="15" id="summernote"
|
||||
class="form-control">{$widget['content']}</textarea>
|
||||
@ -89,16 +89,16 @@
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<div class="btn-group btn-group-justified" role="group">
|
||||
<a href="{Text::url('widgets/', '&user=', $tipeUser)}" class="btn btn-default btn-block">{Lang::T('Back')}</a>
|
||||
<a href="{Text::url('widgets/', '&user=', $tipeUser)}" class="btn btn-default btn-block">{Lang::T("Back")}</a>
|
||||
<div class="btn-group" role="group">
|
||||
<button type="submit" class="btn btn-info btn-block">{Lang::T('Save')}</button>
|
||||
<button type="submit" class="btn btn-info btn-block">{Lang::T("Save")}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{if $do == 'edit'}
|
||||
<a href="{Text::url('widgets/delete/', $widget['id'], '&user=', $tipeUser)}" class="btn btn-danger btn-xs"
|
||||
onclick="return ask(this, 'Remove this widget?')">{Lang::T('Delete')}</a>
|
||||
onclick="return ask(this, '{Lang::T("Remove this widget?")}')">{Lang::T("Delete")}</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
@ -114,4 +114,4 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user