docs for getting started

This commit is contained in:
Ibnu Maksum 2024-07-15 14:11:19 +07:00
parent 3197c944f8
commit 88be741b8c
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
4 changed files with 111 additions and 17 deletions

File diff suppressed because one or more lines are too long

View File

@ -12,6 +12,19 @@ $action = $routes['1'];
$ui->assign('_admin', $admin);
switch ($action) {
case 'docs':
$d = ORM::for_table('tbl_appconfig')->where('setting', 'docs_clicked')->find_one();
if ($d) {
$d->value = 'yes';
$d->save();
} else {
$d = ORM::for_table('tbl_appconfig')->create();
$d->setting = 'docs_clicked';
$d->value = 'yes';
$d->save();
}
r2('./docs');
break;
case 'devices':
$files = scandir($DEVICE_PATH);
$devices = [];

View File

@ -219,5 +219,56 @@
"Devices": "Devices",
"Name_of_Area_that_router_operated": "Name of Area that router operated",
"Explain_Coverage_of_router": "Explain Coverage of router",
"Documentation": "Documentation"
"Documentation": "Documentation",
"Hotspot_Auth_Method": "Hotspot Auth Method",
"Api": "Api",
"Http_Chap": "Http-Chap",
"Hotspot_Authentication_Method__Make_sure_you_have_changed_your_hotspot_login_page_": "Hotspot Authentication Method. Make sure you have changed your hotspot login page.",
"Select_Pool": "Select Pool",
"New_Pool": "New Pool",
"Name_Pool": "Name Pool",
"Local_IP": "Local IP",
"Range_IP": "Range IP",
"Add_Pool": "Add Pool",
"Add_Vouchers": "Add Vouchers",
"Service_Plan": "Service Plan",
"Number_of_Vouchers": "Number of Vouchers",
"Voucher_Prefix": "Voucher Prefix",
"Length_Code": "Length Code",
"Generate": "Generate",
"Manage_Contact": "Manage Contact",
"Created_Date": "Created Date",
"Balance": "Balance",
"Ascending": "Ascending",
"Descending": "Descending",
"Active": "Active",
"Banned": "Banned",
"Disabled": "Disabled",
"Inactive": "Inactive",
"Suspended": "Suspended",
"Add": "Add",
"Account_Type": "Account Type",
"Full_Name": "Full Name",
"Contact": "Contact",
"Package": "Package",
"Service_Type": "Service Type",
"Edit_Contact": "Edit Contact",
"Email": "Email",
"Password": "Password",
"Keep_Blank_to_do_not_change_Password": "Keep Blank to do not change Password",
"PPPOE_Password": "PPPOE Password",
"User_Cannot_change_this__only_admin__if_it_Empty_it_will_use_user_password": "User Cannot change this, only admin. if it Empty it will use user password",
"Coordinates": "Coordinates",
"Customer_cannot_login_again": "Customer cannot login again",
"Customer_can_login_but_cannot_buy_internet_plan__Admin_cannot_recharge_customer": "Customer can login but cannot buy internet plan, Admin cannot recharge customer",
"Don_t_forget_to_deactivate_all_active_plan_too": "Don't forget to deactivate all active plan too",
"Attributes": "Attributes",
"Additional_Information": "Additional Information",
"City": "City",
"City_of_Resident": "City of Resident",
"District": "District",
"State": "State",
"State_of_Resident": "State of Resident",
"Zip": "Zip",
"Zip_Code": "Zip Code"
}

View File

@ -488,9 +488,12 @@
{$_MENU_AFTER_LOGS}
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
<li {if $_system_menu eq 'community' }class="active" {/if}>
<a href="./docs/">
<a href="{if $_c['docs_clicked'] != 'yes'}{$_url}settings/docs{else}./docs/{/if}">
<i class="ion ion-ios-bookmarks"></i>
<span class="text">{Lang::T('Documentation')}</span>
{if $_c['docs_clicked'] != 'yes'}
<span class="pull-right-container"><small class="label pull-right bg-green">New</small></span>
{/if}
</a>
</li>
<li {if $_system_menu eq 'community' }class="active" {/if}>