mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 11:36:20 +05:30
added language support - updated keys (pt_BR and en_US completed - others langs was added keys in english version needed translation
This commit is contained in:
parent
c08e4d51ca
commit
cb53e6c087
40 changed files with 1007 additions and 198 deletions
|
|
@ -93,4 +93,76 @@ Tools="Tools"
|
|||
Check_update="Check update"
|
||||
Import_RSS="Import RSS"
|
||||
User="User"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Home="Home"
|
||||
Type_to_search="Type to search"
|
||||
Admin_panel_style_based_on="Admin panel style based on"
|
||||
Sign_in_to_start_your_session="Sign in to start your session"
|
||||
Back_to="Back to"
|
||||
Login="Login"
|
||||
User="User"
|
||||
Password="Password"
|
||||
Comma_separated_values="Comma separated values"
|
||||
If_leave_empty_we_will_excerpt_it_from_the_content_below="If leave empty we will excerpt it from the content below"
|
||||
optional="optional"
|
||||
If_the_url_leave_empty_we_will_use_the_post_title="If the url leave empty we will use the post title"
|
||||
If_the_url_leave_empty_we_will_use_the_page_title="If the url leave empty we will use the page title"
|
||||
Only="Only"
|
||||
Featured_Audio="Featured Audio"
|
||||
Featured_Video="Featured Video"
|
||||
Featured_Image="Featured Image"
|
||||
Featured_Quote="Featured Quote"
|
||||
Featured_Link="Featured Link"
|
||||
Content="Content"
|
||||
Preview="Preview"
|
||||
Enter_image_URL="Enter image URL"
|
||||
Upload="Upload"
|
||||
Insert_Image="Insert Image"
|
||||
This_page_doesnt_exist="This page doesn't exist !"
|
||||
Would_you_like_to_try_our="Would you like to try our "
|
||||
homepage="homepage"
|
||||
instead="instead"
|
||||
Your_backups="Your backups"
|
||||
Create_backup="Create backup"
|
||||
All_cache_has_been_deleted="All cache has been deleted !"
|
||||
Edit_category="Edit category"
|
||||
Date="Date"
|
||||
Time="Time"
|
||||
Views="Views"
|
||||
No_available_backup="No available backup at this time."
|
||||
You_dont_have_permission_to_access_this_page="You don't have permission to access this page"
|
||||
Save_category="Save category"
|
||||
Import_RSS_Feed_2.0="Import RSS Feed 2.0"
|
||||
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="By using this importer you are agree if the feed is yours or at least you have the authority to publish it."
|
||||
Feed_Url="Feed URL"
|
||||
Add_source_link_optional="Add source link (optional)"
|
||||
Import_Feed="Start Import Feed"
|
||||
At_the_moment_you_are_using_auto_generated_menu="At the moment you are using auto generated menu."
|
||||
Add_menu="Add menu"
|
||||
Name="Name"
|
||||
Link_name="Link name"
|
||||
Slug="Slug"
|
||||
item_slug="Insert Link URL"
|
||||
CSS_Class_Optional="CSS Class (optional)"
|
||||
item_class="Insert CSS class"
|
||||
Add_link="Add link"
|
||||
Save_Edit="Save Edit"
|
||||
Save_Menu="Save menu"
|
||||
Add_new_post="Add new post"
|
||||
Add_new_page="Add new page"
|
||||
Update_Available="Update Available"
|
||||
Congrats_You_have_the_latest_version_of_HTMLy="Congrats! You have the latest version of HTMLy."
|
||||
Update_to="Update to"
|
||||
now="now"
|
||||
Performance_Settings="Performance Settings"
|
||||
General="General"
|
||||
Reading="Reading"
|
||||
Widget="Widget"
|
||||
Metatags="Metatags"
|
||||
Performance="Performance"
|
||||
Custom="Reading"
|
||||
General_Settings="General Settings"
|
||||
Reading_Settings="Reading Settings"
|
||||
Widget_Settings="Widget Settings"
|
||||
Metatags_Settings="Metatags Settings"
|
||||
Custom_Settings="Custom Settings"
|
||||
|
|
@ -93,4 +93,76 @@ Tools="Tools"
|
|||
Check_update="Check update"
|
||||
Import_RSS="Import RSS"
|
||||
User="User"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Home="Home"
|
||||
Type_to_search="Type to search"
|
||||
Admin_panel_style_based_on="Admin panel style based on"
|
||||
Sign_in_to_start_your_session="Sign in to start your session"
|
||||
Back_to="Back to"
|
||||
Login="Login"
|
||||
User="User"
|
||||
Password="Password"
|
||||
Comma_separated_values="Comma separated values"
|
||||
If_leave_empty_we_will_excerpt_it_from_the_content_below="If leave empty we will excerpt it from the content below"
|
||||
optional="optional"
|
||||
If_the_url_leave_empty_we_will_use_the_post_title="If the url leave empty we will use the post title"
|
||||
If_the_url_leave_empty_we_will_use_the_page_title="If the url leave empty we will use the page title"
|
||||
Only="Only"
|
||||
Featured_Audio="Featured Audio"
|
||||
Featured_Video="Featured Video"
|
||||
Featured_Image="Featured Image"
|
||||
Featured_Quote="Featured Quote"
|
||||
Featured_Link="Featured Link"
|
||||
Content="Content"
|
||||
Preview="Preview"
|
||||
Enter_image_URL="Enter image URL"
|
||||
Upload="Upload"
|
||||
Insert_Image="Insert Image"
|
||||
This_page_doesnt_exist="This page doesn't exist !"
|
||||
Would_you_like_to_try_our="Would you like to try our "
|
||||
homepage="homepage"
|
||||
instead="instead"
|
||||
Your_backups="Your backups"
|
||||
Create_backup="Create backup"
|
||||
All_cache_has_been_deleted="All cache has been deleted !"
|
||||
Edit_category="Edit category"
|
||||
Date="Date"
|
||||
Time="Time"
|
||||
Views="Views"
|
||||
No_available_backup="No available backup at this time."
|
||||
You_dont_have_permission_to_access_this_page="You don't have permission to access this page"
|
||||
Save_category="Save category"
|
||||
Import_RSS_Feed_2.0="Import RSS Feed 2.0"
|
||||
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="By using this importer you are agree if the feed is yours or at least you have the authority to publish it."
|
||||
Feed_Url="Feed URL"
|
||||
Add_source_link_optional="Add source link (optional)"
|
||||
Import_Feed="Start Import Feed"
|
||||
At_the_moment_you_are_using_auto_generated_menu="At the moment you are using auto generated menu."
|
||||
Add_menu="Add menu"
|
||||
Name="Name"
|
||||
Link_name="Link name"
|
||||
Slug="Slug"
|
||||
item_slug="Insert Link URL"
|
||||
CSS_Class_Optional="CSS Class (optional)"
|
||||
item_class="Insert CSS class"
|
||||
Add_link="Add link"
|
||||
Save_Edit="Save Edit"
|
||||
Save_Menu="Save menu"
|
||||
Add_new_post="Add new post"
|
||||
Add_new_page="Add new page"
|
||||
Update_Available="Update Available"
|
||||
Congrats_You_have_the_latest_version_of_HTMLy="Congrats! You have the latest version of HTMLy."
|
||||
Update_to="Update to"
|
||||
now="now"
|
||||
Performance_Settings="Performance Settings"
|
||||
General="General"
|
||||
Reading="Reading"
|
||||
Widget="Widget"
|
||||
Metatags="Metatags"
|
||||
Performance="Performance"
|
||||
Custom="Reading"
|
||||
General_Settings="General Settings"
|
||||
Reading_Settings="Reading Settings"
|
||||
Widget_Settings="Widget Settings"
|
||||
Metatags_Settings="Metatags Settings"
|
||||
Custom_Settings="Custom Settings"
|
||||
|
|
@ -92,4 +92,76 @@ Tools="Tools"
|
|||
Check_update="Check update"
|
||||
Import_RSS="Import RSS"
|
||||
User="User"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Home="Home"
|
||||
Type_to_search="Type to search"
|
||||
Admin_panel_style_based_on="Admin panel style based on"
|
||||
Sign_in_to_start_your_session="Sign in to start your session"
|
||||
Back_to="Back to"
|
||||
Login="Login"
|
||||
User="User"
|
||||
Password="Password"
|
||||
Comma_separated_values="Comma separated values"
|
||||
If_leave_empty_we_will_excerpt_it_from_the_content_below="If leave empty we will excerpt it from the content below"
|
||||
optional="optional"
|
||||
If_the_url_leave_empty_we_will_use_the_post_title="If the url leave empty we will use the post title"
|
||||
If_the_url_leave_empty_we_will_use_the_page_title="If the url leave empty we will use the page title"
|
||||
Only="Only"
|
||||
Featured_Audio="Featured Audio"
|
||||
Featured_Video="Featured Video"
|
||||
Featured_Image="Featured Image"
|
||||
Featured_Quote="Featured Quote"
|
||||
Featured_Link="Featured Link"
|
||||
Content="Content"
|
||||
Preview="Preview"
|
||||
Enter_image_URL="Enter image URL"
|
||||
Upload="Upload"
|
||||
Insert_Image="Insert Image"
|
||||
This_page_doesnt_exist="This page doesn't exist !"
|
||||
Would_you_like_to_try_our="Would you like to try our "
|
||||
homepage="homepage"
|
||||
instead="instead"
|
||||
Your_backups="Your backups"
|
||||
Create_backup="Create backup"
|
||||
All_cache_has_been_deleted="All cache has been deleted !"
|
||||
Edit_category="Edit category"
|
||||
Date="Date"
|
||||
Time="Time"
|
||||
Views="Views"
|
||||
No_available_backup="No available backup at this time."
|
||||
You_dont_have_permission_to_access_this_page="You don't have permission to access this page"
|
||||
Save_category="Save category"
|
||||
Import_RSS_Feed_2.0="Import RSS Feed 2.0"
|
||||
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="By using this importer you are agree if the feed is yours or at least you have the authority to publish it."
|
||||
Feed_Url="Feed URL"
|
||||
Add_source_link_optional="Add source link (optional)"
|
||||
Import_Feed="Start Import Feed"
|
||||
At_the_moment_you_are_using_auto_generated_menu="At the moment you are using auto generated menu."
|
||||
Add_menu="Add menu"
|
||||
Name="Name"
|
||||
Link_name="Link name"
|
||||
Slug="Slug"
|
||||
item_slug="Insert Link URL"
|
||||
CSS_Class_Optional="CSS Class (optional)"
|
||||
item_class="Insert CSS class"
|
||||
Add_link="Add link"
|
||||
Save_Edit="Save Edit"
|
||||
Save_Menu="Save menu"
|
||||
Add_new_post="Add new post"
|
||||
Add_new_page="Add new page"
|
||||
Update_Available="Update Available"
|
||||
Congrats_You_have_the_latest_version_of_HTMLy="Congrats! You have the latest version of HTMLy."
|
||||
Update_to="Update to"
|
||||
now="now"
|
||||
Performance_Settings="Performance Settings"
|
||||
General="General"
|
||||
Reading="Reading"
|
||||
Widget="Widget"
|
||||
Metatags="Metatags"
|
||||
Performance="Performance"
|
||||
Custom="Reading"
|
||||
General_Settings="General Settings"
|
||||
Reading_Settings="Reading Settings"
|
||||
Widget_Settings="Widget Settings"
|
||||
Metatags_Settings="Metatags Settings"
|
||||
Custom_Settings="Custom Settings"
|
||||
|
|
@ -93,4 +93,76 @@ Tools="Tools"
|
|||
Check_update="Check update"
|
||||
Import_RSS="Import RSS"
|
||||
User="User"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Home="Home"
|
||||
Type_to_search="Type to search"
|
||||
Admin_panel_style_based_on="Admin panel style based on"
|
||||
Sign_in_to_start_your_session="Sign in to start your session"
|
||||
Back_to="Back to"
|
||||
Login="Login"
|
||||
User="User"
|
||||
Password="Password"
|
||||
Comma_separated_values="Comma separated values"
|
||||
If_leave_empty_we_will_excerpt_it_from_the_content_below="If leave empty we will excerpt it from the content below"
|
||||
optional="optional"
|
||||
If_the_url_leave_empty_we_will_use_the_post_title="If the url leave empty we will use the post title"
|
||||
If_the_url_leave_empty_we_will_use_the_page_title="If the url leave empty we will use the page title"
|
||||
Only="Only"
|
||||
Featured_Audio="Featured Audio"
|
||||
Featured_Video="Featured Video"
|
||||
Featured_Image="Featured Image"
|
||||
Featured_Quote="Featured Quote"
|
||||
Featured_Link="Featured Link"
|
||||
Content="Content"
|
||||
Preview="Preview"
|
||||
Enter_image_URL="Enter image URL"
|
||||
Upload="Upload"
|
||||
Insert_Image="Insert Image"
|
||||
This_page_doesnt_exist="This page doesn't exist !"
|
||||
Would_you_like_to_try_our="Would you like to try our "
|
||||
homepage="homepage"
|
||||
instead="instead"
|
||||
Your_backups="Your backups"
|
||||
Create_backup="Create backup"
|
||||
All_cache_has_been_deleted="All cache has been deleted !"
|
||||
Edit_category="Edit category"
|
||||
Date="Date"
|
||||
Time="Time"
|
||||
Views="Views"
|
||||
No_available_backup="No available backup at this time."
|
||||
You_dont_have_permission_to_access_this_page="You don't have permission to access this page"
|
||||
Save_category="Save category"
|
||||
Import_RSS_Feed_2.0="Import RSS Feed 2.0"
|
||||
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="By using this importer you are agree if the feed is yours or at least you have the authority to publish it."
|
||||
Feed_Url="Feed URL"
|
||||
Add_source_link_optional="Add source link (optional)"
|
||||
Import_Feed="Start Import Feed"
|
||||
At_the_moment_you_are_using_auto_generated_menu="At the moment you are using auto generated menu."
|
||||
Add_menu="Add menu"
|
||||
Name="Name"
|
||||
Link_name="Link name"
|
||||
Slug="Slug"
|
||||
item_slug="Insert Link URL"
|
||||
CSS_Class_Optional="CSS Class (optional)"
|
||||
item_class="Insert CSS class"
|
||||
Add_link="Add link"
|
||||
Save_Edit="Save Edit"
|
||||
Save_Menu="Save menu"
|
||||
Add_new_post="Add new post"
|
||||
Add_new_page="Add new page"
|
||||
Update_Available="Update Available"
|
||||
Congrats_You_have_the_latest_version_of_HTMLy="Congrats! You have the latest version of HTMLy."
|
||||
Update_to="Update to"
|
||||
now="now"
|
||||
Performance_Settings="Performance Settings"
|
||||
General="General"
|
||||
Reading="Reading"
|
||||
Widget="Widget"
|
||||
Metatags="Metatags"
|
||||
Performance="Performance"
|
||||
Custom="Reading"
|
||||
General_Settings="General Settings"
|
||||
Reading_Settings="Reading Settings"
|
||||
Widget_Settings="Widget Settings"
|
||||
Metatags_Settings="Metatags Settings"
|
||||
Custom_Settings="Custom Settings"
|
||||
|
|
@ -93,4 +93,76 @@ Tools="Tools"
|
|||
Check_update="Check update"
|
||||
Import_RSS="Import RSS"
|
||||
User="User"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Home="Home"
|
||||
Type_to_search="Type to search"
|
||||
Admin_panel_style_based_on="Admin panel style based on"
|
||||
Sign_in_to_start_your_session="Sign in to start your session"
|
||||
Back_to="Back to"
|
||||
Login="Login"
|
||||
User="User"
|
||||
Password="Password"
|
||||
Comma_separated_values="Comma separated values"
|
||||
If_leave_empty_we_will_excerpt_it_from_the_content_below="If leave empty we will excerpt it from the content below"
|
||||
optional="optional"
|
||||
If_the_url_leave_empty_we_will_use_the_post_title="If the url leave empty we will use the post title"
|
||||
If_the_url_leave_empty_we_will_use_the_page_title="If the url leave empty we will use the page title"
|
||||
Only="Only"
|
||||
Featured_Audio="Featured Audio"
|
||||
Featured_Video="Featured Video"
|
||||
Featured_Image="Featured Image"
|
||||
Featured_Quote="Featured Quote"
|
||||
Featured_Link="Featured Link"
|
||||
Content="Content"
|
||||
Preview="Preview"
|
||||
Enter_image_URL="Enter image URL"
|
||||
Upload="Upload"
|
||||
Insert_Image="Insert Image"
|
||||
This_page_doesnt_exist="This page doesn't exist !"
|
||||
Would_you_like_to_try_our="Would you like to try our "
|
||||
homepage="homepage"
|
||||
instead="instead"
|
||||
Your_backups="Your backups"
|
||||
Create_backup="Create backup"
|
||||
All_cache_has_been_deleted="All cache has been deleted !"
|
||||
Edit_category="Edit category"
|
||||
Date="Date"
|
||||
Time="Time"
|
||||
Views="Views"
|
||||
No_available_backup="No available backup at this time."
|
||||
You_dont_have_permission_to_access_this_page="You don't have permission to access this page"
|
||||
Save_category="Save category"
|
||||
Import_RSS_Feed_2.0="Import RSS Feed 2.0"
|
||||
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="By using this importer you are agree if the feed is yours or at least you have the authority to publish it."
|
||||
Feed_Url="Feed URL"
|
||||
Add_source_link_optional="Add source link (optional)"
|
||||
Import_Feed="Start Import Feed"
|
||||
At_the_moment_you_are_using_auto_generated_menu="At the moment you are using auto generated menu."
|
||||
Add_menu="Add menu"
|
||||
Name="Name"
|
||||
Link_name="Link name"
|
||||
Slug="Slug"
|
||||
item_slug="Insert Link URL"
|
||||
CSS_Class_Optional="CSS Class (optional)"
|
||||
item_class="Insert CSS class"
|
||||
Add_link="Add link"
|
||||
Save_Edit="Save Edit"
|
||||
Save_Menu="Save menu"
|
||||
Add_new_post="Add new post"
|
||||
Add_new_page="Add new page"
|
||||
Update_Available="Update Available"
|
||||
Congrats_You_have_the_latest_version_of_HTMLy="Congrats! You have the latest version of HTMLy."
|
||||
Update_to="Update to"
|
||||
now="now"
|
||||
Performance_Settings="Performance Settings"
|
||||
General="General"
|
||||
Reading="Reading"
|
||||
Widget="Widget"
|
||||
Metatags="Metatags"
|
||||
Performance="Performance"
|
||||
Custom="Reading"
|
||||
General_Settings="General Settings"
|
||||
Reading_Settings="Reading Settings"
|
||||
Widget_Settings="Widget Settings"
|
||||
Metatags_Settings="Metatags Settings"
|
||||
Custom_Settings="Custom Settings"
|
||||
|
|
@ -94,4 +94,76 @@ Tools="Tools"
|
|||
Check_update="Check update"
|
||||
Import_RSS="Import RSS"
|
||||
User="User"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Home="Home"
|
||||
Type_to_search="Type to search"
|
||||
Admin_panel_style_based_on="Admin panel style based on"
|
||||
Sign_in_to_start_your_session="Sign in to start your session"
|
||||
Back_to="Back to"
|
||||
Login="Login"
|
||||
User="User"
|
||||
Password="Password"
|
||||
Comma_separated_values="Comma separated values"
|
||||
If_leave_empty_we_will_excerpt_it_from_the_content_below="If leave empty we will excerpt it from the content below"
|
||||
optional="optional"
|
||||
If_the_url_leave_empty_we_will_use_the_post_title="If the url leave empty we will use the post title"
|
||||
If_the_url_leave_empty_we_will_use_the_page_title="If the url leave empty we will use the page title"
|
||||
Only="Only"
|
||||
Featured_Audio="Featured Audio"
|
||||
Featured_Video="Featured Video"
|
||||
Featured_Image="Featured Image"
|
||||
Featured_Quote="Featured Quote"
|
||||
Featured_Link="Featured Link"
|
||||
Content="Content"
|
||||
Preview="Preview"
|
||||
Enter_image_URL="Enter image URL"
|
||||
Upload="Upload"
|
||||
Insert_Image="Insert Image"
|
||||
This_page_doesnt_exist="This page doesn't exist !"
|
||||
Would_you_like_to_try_our="Would you like to try our "
|
||||
homepage="homepage"
|
||||
instead="instead"
|
||||
Your_backups="Your backups"
|
||||
Create_backup="Create backup"
|
||||
All_cache_has_been_deleted="All cache has been deleted !"
|
||||
Edit_category="Edit category"
|
||||
Date="Date"
|
||||
Time="Time"
|
||||
Views="Views"
|
||||
No_available_backup="No available backup at this time."
|
||||
You_dont_have_permission_to_access_this_page="You don't have permission to access this page"
|
||||
Save_category="Save category"
|
||||
Import_RSS_Feed_2.0="Import RSS Feed 2.0"
|
||||
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="By using this importer you are agree if the feed is yours or at least you have the authority to publish it."
|
||||
Feed_Url="Feed URL"
|
||||
Add_source_link_optional="Add source link (optional)"
|
||||
Import_Feed="Start Import Feed"
|
||||
At_the_moment_you_are_using_auto_generated_menu="At the moment you are using auto generated menu."
|
||||
Add_menu="Add menu"
|
||||
Name="Name"
|
||||
Link_name="Link name"
|
||||
Slug="Slug"
|
||||
item_slug="Insert Link URL"
|
||||
CSS_Class_Optional="CSS Class (optional)"
|
||||
item_class="Insert CSS class"
|
||||
Add_link="Add link"
|
||||
Save_Edit="Save Edit"
|
||||
Save_Menu="Save menu"
|
||||
Add_new_post="Add new post"
|
||||
Add_new_page="Add new page"
|
||||
Update_Available="Update Available"
|
||||
Congrats_You_have_the_latest_version_of_HTMLy="Congrats! You have the latest version of HTMLy."
|
||||
Update_to="Update to"
|
||||
now="now"
|
||||
Performance_Settings="Performance Settings"
|
||||
General="General"
|
||||
Reading="Reading"
|
||||
Widget="Widget"
|
||||
Metatags="Metatags"
|
||||
Performance="Performance"
|
||||
Custom="Reading"
|
||||
General_Settings="General Settings"
|
||||
Reading_Settings="Reading Settings"
|
||||
Widget_Settings="Widget Settings"
|
||||
Metatags_Settings="Metatags Settings"
|
||||
Custom_Settings="Custom Settings"
|
||||
|
|
@ -17,7 +17,7 @@ Clear_cache = "Limpar cache"
|
|||
Config = "Configurar"
|
||||
Contents = "Conteúdo"
|
||||
Created = "Criado"
|
||||
Delete = "Delete"
|
||||
Delete = "Excluir"
|
||||
Description = "Descrição"
|
||||
Draft = "Rascunho"
|
||||
Edit = "Editar"
|
||||
|
|
@ -93,4 +93,81 @@ Tools="Ferramentas"
|
|||
Check_update="Verificar atualização"
|
||||
Import_RSS="Importar RSS"
|
||||
User="Usuário"
|
||||
Proudly_powered_by="Orgulhosamente desenvolvido por"
|
||||
Proudly_powered_by="Orgulhosamente desenvolvido por"
|
||||
Home="Inicial"
|
||||
Type_to_search="Digite para buscar"
|
||||
Admin_panel_style_based_on="Painel de administração baseado no"
|
||||
Sign_in_to_start_your_session="Faça login para iniciar a sessão"
|
||||
Back_to="Voltar para"
|
||||
Login="Logar"
|
||||
User="Usuário"
|
||||
Password="Senha"
|
||||
Comma_separated_values="Os valores devem ser separados por virgula"
|
||||
If_leave_empty_we_will_excerpt_it_from_the_content_below="Se deixar em branco, iremos extraí-lo do conteúdo abaixo"
|
||||
optional="opcional"
|
||||
If_the_url_leave_empty_we_will_use_the_post_title="Se a url estiver vazia, usaremos o título da postagem"
|
||||
If_the_url_leave_empty_we_will_use_the_page_title="Se a url estiver vazia, usaremos o título da página"
|
||||
Only="Somente"
|
||||
Featured_Audio="Audio em destaque"
|
||||
Featured_Video="Video em destaque"
|
||||
Featured_Image="Imagem em destaque"
|
||||
Featured_Quote="Citação em destaque"
|
||||
Featured_Link="Link em destaque"
|
||||
Content="Conteúdo"
|
||||
Preview="Pré visualização"
|
||||
Enter_image_URL="Insira a URL da imagem"
|
||||
Upload="Carregar"
|
||||
Insert_Image="Inserir Imagem"
|
||||
This_page_doesnt_exist="A página requisitada não existe !"
|
||||
Would_you_like_to_try_our="Poderia tentar a nossa "
|
||||
homepage="página inicial"
|
||||
instead="no lugar"
|
||||
Your_backups="Seus backups"
|
||||
Create_backup="Gerar backup"
|
||||
All_cache_has_been_deleted="Todo cache foi excluído !"
|
||||
Edit_category="Editar categoria"
|
||||
Date="Data"
|
||||
Time="Hora"
|
||||
Views="Visualizações"
|
||||
No_available_backup="Não há nenhum backup no momento."
|
||||
You_dont_have_permission_to_access_this_page="Você não tem permissão para acessar esta página"
|
||||
Save_category="Salvar categoria"
|
||||
Import_RSS_Feed_2.0="Importar o Feed RSS 2.0"
|
||||
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="Utilizando este importador você está de acordo que o feed é seu ou pelo menos tenha a autorização para publicar."
|
||||
Feed_Url="URL do Feed"
|
||||
Add_source_link_optional="Adicione o link da fonte (opcional)"
|
||||
Import_Feed="Iniciar importação do feed"
|
||||
At_the_moment_you_are_using_auto_generated_menu="No momento você está usando a geração automática de menus."
|
||||
Add_menu="Adicionar menu"
|
||||
Name="Nome"
|
||||
Link_name="Nome do link"
|
||||
Slug="Slug"
|
||||
item_slug="Insira a URL do link"
|
||||
CSS_Class_Optional="Classe CSS (opcional)"
|
||||
item_class="Insira a classe CSS do link"
|
||||
Add_link="Adicionar link"
|
||||
Save_Edit="Salvar edição"
|
||||
Save_Menu="Salvar menu"
|
||||
Add_new_post="Adicionar nova postagem"
|
||||
Add_new_page="Adicionar nova página"
|
||||
Update_Available="Atualização disponível"
|
||||
Congrats_You_have_the_latest_version_of_HTMLy="Parabêns ! Você tem a última versão do HTMLy."
|
||||
Update_to="Atualizar para"
|
||||
now="agora"
|
||||
Performance_Settings="Configurações de Performance"
|
||||
General="Geral"
|
||||
Reading="Leitura"
|
||||
Widget="Widget"
|
||||
Metatags="Metatags"
|
||||
Performance="Performance"
|
||||
Custom="Customizar"
|
||||
General_Settings="Configurações Gerais"
|
||||
Reading_Settings="Configurações de Leitura"
|
||||
Widget_Settings="Configurações dos Widgets"
|
||||
Metatags_Settings="Configurações de Metatags"
|
||||
Custom_Settings="Configurações customizadas"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -94,4 +94,76 @@ Tools="Tools"
|
|||
Check_update="Check update"
|
||||
Import_RSS="Import RSS"
|
||||
User="User"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Home="Home"
|
||||
Type_to_search="Type to search"
|
||||
Admin_panel_style_based_on="Admin panel style based on"
|
||||
Sign_in_to_start_your_session="Sign in to start your session"
|
||||
Back_to="Back to"
|
||||
Login="Login"
|
||||
User="User"
|
||||
Password="Password"
|
||||
Comma_separated_values="Comma separated values"
|
||||
If_leave_empty_we_will_excerpt_it_from_the_content_below="If leave empty we will excerpt it from the content below"
|
||||
optional="optional"
|
||||
If_the_url_leave_empty_we_will_use_the_post_title="If the url leave empty we will use the post title"
|
||||
If_the_url_leave_empty_we_will_use_the_page_title="If the url leave empty we will use the page title"
|
||||
Only="Only"
|
||||
Featured_Audio="Featured Audio"
|
||||
Featured_Video="Featured Video"
|
||||
Featured_Image="Featured Image"
|
||||
Featured_Quote="Featured Quote"
|
||||
Featured_Link="Featured Link"
|
||||
Content="Content"
|
||||
Preview="Preview"
|
||||
Enter_image_URL="Enter image URL"
|
||||
Upload="Upload"
|
||||
Insert_Image="Insert Image"
|
||||
This_page_doesnt_exist="This page doesn't exist !"
|
||||
Would_you_like_to_try_our="Would you like to try our "
|
||||
homepage="homepage"
|
||||
instead="instead"
|
||||
Your_backups="Your backups"
|
||||
Create_backup="Create backup"
|
||||
All_cache_has_been_deleted="All cache has been deleted !"
|
||||
Edit_category="Edit category"
|
||||
Date="Date"
|
||||
Time="Time"
|
||||
Views="Views"
|
||||
No_available_backup="No available backup at this time."
|
||||
You_dont_have_permission_to_access_this_page="You don't have permission to access this page"
|
||||
Save_category="Save category"
|
||||
Import_RSS_Feed_2.0="Import RSS Feed 2.0"
|
||||
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="By using this importer you are agree if the feed is yours or at least you have the authority to publish it."
|
||||
Feed_Url="Feed URL"
|
||||
Add_source_link_optional="Add source link (optional)"
|
||||
Import_Feed="Start Import Feed"
|
||||
At_the_moment_you_are_using_auto_generated_menu="At the moment you are using auto generated menu."
|
||||
Add_menu="Add menu"
|
||||
Name="Name"
|
||||
Link_name="Link name"
|
||||
Slug="Slug"
|
||||
item_slug="Insert Link URL"
|
||||
CSS_Class_Optional="CSS Class (optional)"
|
||||
item_class="Insert CSS class"
|
||||
Add_link="Add link"
|
||||
Save_Edit="Save Edit"
|
||||
Save_Menu="Save menu"
|
||||
Add_new_post="Add new post"
|
||||
Add_new_page="Add new page"
|
||||
Update_Available="Update Available"
|
||||
Congrats_You_have_the_latest_version_of_HTMLy="Congrats! You have the latest version of HTMLy."
|
||||
Update_to="Update to"
|
||||
now="now"
|
||||
Performance_Settings="Performance Settings"
|
||||
General="General"
|
||||
Reading="Reading"
|
||||
Widget="Widget"
|
||||
Metatags="Metatags"
|
||||
Performance="Performance"
|
||||
Custom="Reading"
|
||||
General_Settings="General Settings"
|
||||
Reading_Settings="Reading Settings"
|
||||
Widget_Settings="Widget Settings"
|
||||
Metatags_Settings="Metatags Settings"
|
||||
Custom_Settings="Custom Settings"
|
||||
|
|
@ -111,4 +111,76 @@ Tools="Tools"
|
|||
Check_update="Check update"
|
||||
Import_RSS="Import RSS"
|
||||
User="User"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Home="Home"
|
||||
Type_to_search="Type to search"
|
||||
Admin_panel_style_based_on="Admin panel style based on"
|
||||
Sign_in_to_start_your_session="Sign in to start your session"
|
||||
Back_to="Back to"
|
||||
Login="Login"
|
||||
User="User"
|
||||
Password="Password"
|
||||
Comma_separated_values="Comma separated values"
|
||||
If_leave_empty_we_will_excerpt_it_from_the_content_below="If leave empty we will excerpt it from the content below"
|
||||
optional="optional"
|
||||
If_the_url_leave_empty_we_will_use_the_post_title="If the url leave empty we will use the post title"
|
||||
If_the_url_leave_empty_we_will_use_the_page_title="If the url leave empty we will use the page title"
|
||||
Only="Only"
|
||||
Featured_Audio="Featured Audio"
|
||||
Featured_Video="Featured Video"
|
||||
Featured_Image="Featured Image"
|
||||
Featured_Quote="Featured Quote"
|
||||
Featured_Link="Featured Link"
|
||||
Content="Content"
|
||||
Preview="Preview"
|
||||
Enter_image_URL="Enter image URL"
|
||||
Upload="Upload"
|
||||
Insert_Image="Insert Image"
|
||||
This_page_doesnt_exist="This page doesn't exist !"
|
||||
Would_you_like_to_try_our="Would you like to try our "
|
||||
homepage="homepage"
|
||||
instead="instead"
|
||||
Your_backups="Your backups"
|
||||
Create_backup="Create backup"
|
||||
All_cache_has_been_deleted="All cache has been deleted !"
|
||||
Edit_category="Edit category"
|
||||
Date="Date"
|
||||
Time="Time"
|
||||
Views="Views"
|
||||
No_available_backup="No available backup at this time."
|
||||
You_dont_have_permission_to_access_this_page="You don't have permission to access this page"
|
||||
Save_category="Save category"
|
||||
Import_RSS_Feed_2.0="Import RSS Feed 2.0"
|
||||
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="By using this importer you are agree if the feed is yours or at least you have the authority to publish it."
|
||||
Feed_Url="Feed URL"
|
||||
Add_source_link_optional="Add source link (optional)"
|
||||
Import_Feed="Start Import Feed"
|
||||
At_the_moment_you_are_using_auto_generated_menu="At the moment you are using auto generated menu."
|
||||
Add_menu="Add menu"
|
||||
Name="Name"
|
||||
Link_name="Link name"
|
||||
Slug="Slug"
|
||||
item_slug="Insert Link URL"
|
||||
CSS_Class_Optional="CSS Class (optional)"
|
||||
item_class="Insert CSS class"
|
||||
Add_link="Add link"
|
||||
Save_Edit="Save Edit"
|
||||
Save_Menu="Save menu"
|
||||
Add_new_post="Add new post"
|
||||
Add_new_page="Add new page"
|
||||
Update_Available="Update Available"
|
||||
Congrats_You_have_the_latest_version_of_HTMLy="Congrats! You have the latest version of HTMLy."
|
||||
Update_to="Update to"
|
||||
now="now"
|
||||
Performance_Settings="Performance Settings"
|
||||
General="General"
|
||||
Reading="Reading"
|
||||
Widget="Widget"
|
||||
Metatags="Metatags"
|
||||
Performance="Performance"
|
||||
Custom="Reading"
|
||||
General_Settings="General Settings"
|
||||
Reading_Settings="Reading Settings"
|
||||
Widget_Settings="Widget Settings"
|
||||
Metatags_Settings="Metatags Settings"
|
||||
Custom_Settings="Custom Settings"
|
||||
|
|
@ -93,4 +93,76 @@ Tools="Tools"
|
|||
Check_update="Check update"
|
||||
Import_RSS="Import RSS"
|
||||
User="User"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Home="Home"
|
||||
Type_to_search="Type to search"
|
||||
Admin_panel_style_based_on="Admin panel style based on"
|
||||
Sign_in_to_start_your_session="Sign in to start your session"
|
||||
Back_to="Back to"
|
||||
Login="Login"
|
||||
User="User"
|
||||
Password="Password"
|
||||
Comma_separated_values="Comma separated values"
|
||||
If_leave_empty_we_will_excerpt_it_from_the_content_below="If leave empty we will excerpt it from the content below"
|
||||
optional="optional"
|
||||
If_the_url_leave_empty_we_will_use_the_post_title="If the url leave empty we will use the post title"
|
||||
If_the_url_leave_empty_we_will_use_the_page_title="If the url leave empty we will use the page title"
|
||||
Only="Only"
|
||||
Featured_Audio="Featured Audio"
|
||||
Featured_Video="Featured Video"
|
||||
Featured_Image="Featured Image"
|
||||
Featured_Quote="Featured Quote"
|
||||
Featured_Link="Featured Link"
|
||||
Content="Content"
|
||||
Preview="Preview"
|
||||
Enter_image_URL="Enter image URL"
|
||||
Upload="Upload"
|
||||
Insert_Image="Insert Image"
|
||||
This_page_doesnt_exist="This page doesn't exist !"
|
||||
Would_you_like_to_try_our="Would you like to try our "
|
||||
homepage="homepage"
|
||||
instead="instead"
|
||||
Your_backups="Your backups"
|
||||
Create_backup="Create backup"
|
||||
All_cache_has_been_deleted="All cache has been deleted !"
|
||||
Edit_category="Edit category"
|
||||
Date="Date"
|
||||
Time="Time"
|
||||
Views="Views"
|
||||
No_available_backup="No available backup at this time."
|
||||
You_dont_have_permission_to_access_this_page="You don't have permission to access this page"
|
||||
Save_category="Save category"
|
||||
Import_RSS_Feed_2.0="Import RSS Feed 2.0"
|
||||
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="By using this importer you are agree if the feed is yours or at least you have the authority to publish it."
|
||||
Feed_Url="Feed URL"
|
||||
Add_source_link_optional="Add source link (optional)"
|
||||
Import_Feed="Start Import Feed"
|
||||
At_the_moment_you_are_using_auto_generated_menu="At the moment you are using auto generated menu."
|
||||
Add_menu="Add menu"
|
||||
Name="Name"
|
||||
Link_name="Link name"
|
||||
Slug="Slug"
|
||||
item_slug="Insert Link URL"
|
||||
CSS_Class_Optional="CSS Class (optional)"
|
||||
item_class="Insert CSS class"
|
||||
Add_link="Add link"
|
||||
Save_Edit="Save Edit"
|
||||
Save_Menu="Save menu"
|
||||
Add_new_post="Add new post"
|
||||
Add_new_page="Add new page"
|
||||
Update_Available="Update Available"
|
||||
Congrats_You_have_the_latest_version_of_HTMLy="Congrats! You have the latest version of HTMLy."
|
||||
Update_to="Update to"
|
||||
now="now"
|
||||
Performance_Settings="Performance Settings"
|
||||
General="General"
|
||||
Reading="Reading"
|
||||
Widget="Widget"
|
||||
Metatags="Metatags"
|
||||
Performance="Performance"
|
||||
Custom="Reading"
|
||||
General_Settings="General Settings"
|
||||
Reading_Settings="Reading Settings"
|
||||
Widget_Settings="Widget Settings"
|
||||
Metatags_Settings="Metatags Settings"
|
||||
Custom_Settings="Custom Settings"
|
||||
|
|
@ -93,4 +93,76 @@ Tools="Tools"
|
|||
Check_update="Check update"
|
||||
Import_RSS="Import RSS"
|
||||
User="User"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Proudly_powered_by="Proudly powered by"
|
||||
Home="Home"
|
||||
Type_to_search="Type to search"
|
||||
Admin_panel_style_based_on="Admin panel style based on"
|
||||
Sign_in_to_start_your_session="Sign in to start your session"
|
||||
Back_to="Back to"
|
||||
Login="Login"
|
||||
User="User"
|
||||
Password="Password"
|
||||
Comma_separated_values="Comma separated values"
|
||||
If_leave_empty_we_will_excerpt_it_from_the_content_below="If leave empty we will excerpt it from the content below"
|
||||
optional="optional"
|
||||
If_the_url_leave_empty_we_will_use_the_post_title="If the url leave empty we will use the post title"
|
||||
If_the_url_leave_empty_we_will_use_the_page_title="If the url leave empty we will use the page title"
|
||||
Only="Only"
|
||||
Featured_Audio="Featured Audio"
|
||||
Featured_Video="Featured Video"
|
||||
Featured_Image="Featured Image"
|
||||
Featured_Quote="Featured Quote"
|
||||
Featured_Link="Featured Link"
|
||||
Content="Content"
|
||||
Preview="Preview"
|
||||
Enter_image_URL="Enter image URL"
|
||||
Upload="Upload"
|
||||
Insert_Image="Insert Image"
|
||||
This_page_doesnt_exist="This page doesn't exist !"
|
||||
Would_you_like_to_try_our="Would you like to try our "
|
||||
homepage="homepage"
|
||||
instead="instead"
|
||||
Your_backups="Your backups"
|
||||
Create_backup="Create backup"
|
||||
All_cache_has_been_deleted="All cache has been deleted !"
|
||||
Edit_category="Edit category"
|
||||
Date="Date"
|
||||
Time="Time"
|
||||
Views="Views"
|
||||
No_available_backup="No available backup at this time."
|
||||
You_dont_have_permission_to_access_this_page="You don't have permission to access this page"
|
||||
Save_category="Save category"
|
||||
Import_RSS_Feed_2.0="Import RSS Feed 2.0"
|
||||
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="By using this importer you are agree if the feed is yours or at least you have the authority to publish it."
|
||||
Feed_Url="Feed URL"
|
||||
Add_source_link_optional="Add source link (optional)"
|
||||
Import_Feed="Start Import Feed"
|
||||
At_the_moment_you_are_using_auto_generated_menu="At the moment you are using auto generated menu."
|
||||
Add_menu="Add menu"
|
||||
Name="Name"
|
||||
Link_name="Link name"
|
||||
Slug="Slug"
|
||||
item_slug="Insert Link URL"
|
||||
CSS_Class_Optional="CSS Class (optional)"
|
||||
item_class="Insert CSS class"
|
||||
Add_link="Add link"
|
||||
Save_Edit="Save Edit"
|
||||
Save_Menu="Save menu"
|
||||
Add_new_post="Add new post"
|
||||
Add_new_page="Add new page"
|
||||
Update_Available="Update Available"
|
||||
Congrats_You_have_the_latest_version_of_HTMLy="Congrats! You have the latest version of HTMLy."
|
||||
Update_to="Update to"
|
||||
now="now"
|
||||
Performance_Settings="Performance Settings"
|
||||
General="General"
|
||||
Reading="Reading"
|
||||
Widget="Widget"
|
||||
Metatags="Metatags"
|
||||
Performance="Performance"
|
||||
Custom="Reading"
|
||||
General_Settings="General Settings"
|
||||
Reading_Settings="Reading Settings"
|
||||
Widget_Settings="Widget Settings"
|
||||
Metatags_Settings="Metatags Settings"
|
||||
Custom_Settings="Custom Settings"
|
||||
|
|
@ -823,7 +823,7 @@ function get_user_posts()
|
|||
echo '<table class="table post-list">';
|
||||
echo '<tr class="head"><th>' . i18n('Title') . '</th><th>' . i18n('Published') . '</th>';
|
||||
if (config("views.counter") == "true")
|
||||
echo '<th>Views</th>';
|
||||
echo '<th>'.i18n('Views').'</th>';
|
||||
echo '<th>' . i18n('Category') . '</th><th>' . i18n('Tags') . '</th><th>' . i18n('Operations') . '</th></tr>';
|
||||
$i = 0;
|
||||
$len = count($posts);
|
||||
|
|
@ -861,7 +861,7 @@ function get_user_pages()
|
|||
echo '<table class="table post-list">';
|
||||
echo '<tr class="head"><th>' . i18n('Title') . '</th>';
|
||||
if (config("views.counter") == "true")
|
||||
echo '<th>Views</th>';
|
||||
echo '<th>'.i18n('Views').'</th>';
|
||||
echo '<th>' . i18n('Operations') . '</th></tr>';
|
||||
$i = 0;
|
||||
$len = count($posts);
|
||||
|
|
@ -907,7 +907,7 @@ function get_backup_files()
|
|||
if (!empty($files)) {
|
||||
krsort($files);
|
||||
echo '<table class="table backup-list">';
|
||||
echo '<tr class="head"><th>' . i18n('Filename') . '</th><th>Date</th><th>' . i18n('Operations') . '</th></tr>';
|
||||
echo '<tr class="head"><th>' . i18n('Filename') . '</th><th>'.i18n('Date').'</th><th>' . i18n('Operations') . '</th></tr>';
|
||||
$i = 0;
|
||||
$len = count($files);
|
||||
foreach ($files as $file) {
|
||||
|
|
@ -943,7 +943,7 @@ function get_backup_files()
|
|||
}
|
||||
echo '</table>';
|
||||
} else {
|
||||
echo 'No available backup!';
|
||||
echo i18n('No_available_backup');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="center message">
|
||||
<h1>This page doesn't exist!</h1>
|
||||
<h1><?php echo i18n('This_page_doesnt_exist');?></h1>
|
||||
|
||||
<p>Would you like to try our <a href="<?php echo site_url() ?>">homepage</a> instead?</p>
|
||||
<p><?php echo i18n('Would_you_like_to_try_our');?> <a href="<?php echo site_url() ?>"><?php echo i18n('homepage');?></a> <?php echo i18n('instead');?> ?</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -99,49 +99,49 @@ $( function() {
|
|||
</select>
|
||||
<br>
|
||||
<label for="pTag">Tag <span class="required">*</span></label>
|
||||
<input type="text" class="form-control text <?php if (isset($postTag)) { if (empty($postTag)) { echo 'error';}} ?>" id="pTag" name="tag" value="<?php if (isset($postTag)) { echo $postTag; } ?>" placeholder="Comma-separated values"/>
|
||||
<input type="text" class="form-control text <?php if (isset($postTag)) { if (empty($postTag)) { echo 'error';}} ?>" id="pTag" name="tag" value="<?php if (isset($postTag)) { echo $postTag; } ?>" placeholder="<?php echo i18n('Comma_separated_values');?>"/>
|
||||
<br>
|
||||
<label for="pMeta"><?php echo i18n('Meta_description');?> (optional)</label>
|
||||
<textarea id="pMeta" class="form-control" name="description" rows="3" cols="20" placeholder="If leave empty we will excerpt it from the content below"><?php if (isset($p->description)) { echo $p->description;} ?></textarea>
|
||||
<label for="pMeta"><?php echo i18n('Meta_description');?> <?php echo i18n('optional');?></label>
|
||||
<textarea id="pMeta" class="form-control" name="description" rows="3" cols="20" placeholder="<?php echo i18n('If_leave_empty_we_will_excerpt_it_from_the_content_below');?>"><?php if (isset($p->description)) { echo $p->description;} ?></textarea>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6">
|
||||
|
||||
<label for="pURL">Url (optional)</label>
|
||||
<input type="text" class="form-control text" id="pURL" name="url" value="<?php if (isset($postUrl)) { echo $postUrl;} ?>" placeholder="If the url leave empty we will use the post title"/>
|
||||
<label for="pURL">Url (<?php echo i18n('optional');?>)</label>
|
||||
<input type="text" class="form-control text" id="pURL" name="url" value="<?php if (isset($postUrl)) { echo $postUrl;} ?>" placeholder="<?php echo i18n('If_the_url_leave_empty_we_will_use_the_post_title');?>"/>
|
||||
<br>
|
||||
|
||||
<?php if ($type == 'is_audio'):?>
|
||||
<label for="pAudio">Featured Audio <span class="required">*</span> (SoundCloud Only)</label>
|
||||
<label for="pAudio"><?php echo i18n('Featured_Audio');?> <span class="required">*</span> (SoundCloud <?php echo i18n('Only');?>)</label>
|
||||
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postAudio)) { if (empty($postAudio)) { echo 'error';} } ?>" id="pAudio" name="audio"><?php if (isset($postAudio)) { echo $postAudio;} ?></textarea>
|
||||
<input type="hidden" name="is_audio" value="is_audio">
|
||||
<br>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if ($type == 'is_video'):?>
|
||||
<label for="pVideo">Featured Video <span class="required">*</span> (Youtube Only)</label>
|
||||
<label for="pVideo"><?php echo i18n('Featured_Video');?> <span class="required">*</span> (Youtube <?php echo i18n('Only');?>)</label>
|
||||
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postVideo)) { if (empty($postVideo)) { echo 'error';} } ?>" id="pVideo" name="video"><?php if (isset($postVideo)) { echo $postVideo;} ?></textarea>
|
||||
<input type="hidden" name="is_video" value="is_video">
|
||||
<br>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if ($type == 'is_image'):?>
|
||||
<label for="pImage">Featured Image <span class="required">*</span></label>
|
||||
<label for="pImage"><?php echo i18n('Featured_Image');?> <span class="required">*</span></label>
|
||||
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postImage)) { if (empty($postImage)) { echo 'error';} } ?>" id="pImage" name="image"><?php if (isset($postImage)) { echo $postImage;} ?></textarea>
|
||||
<input type="hidden" name="is_image" value="is_image">
|
||||
<br>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if ($type == 'is_quote'):?>
|
||||
<label for="pQuote">Featured Quote <span class="required">*</span></label>
|
||||
<label for="pQuote"><?php echo i18n('Featured_Quote');?> <span class="required">*</span></label>
|
||||
<textarea rows="3" cols="20" class="form-control text <?php if (isset($postQuote)) { if (empty($postQuote)) { echo 'error';} } ?>" id="pQuote" name="quote"><?php if (isset($postQuote)) { echo $postQuote;} ?></textarea>
|
||||
<input type="hidden" name="is_quote" value="is_quote">
|
||||
<br>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if ($type == 'is_link'):?>
|
||||
<label for="pLink">Featured Link <span class="required">*</span></label>
|
||||
<label for="pLink"><?php echo i18n('Featured_Link');?> <span class="required">*</span></label>
|
||||
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postLink)) { if (empty($postLink)) { echo 'error';} } ?>" id="pLink" name="link"><?php if (isset($postLink)) { echo $postLink;} ?></textarea>
|
||||
<input type="hidden" name="is_link" value="is_link">
|
||||
<br>
|
||||
|
|
@ -156,7 +156,7 @@ $( function() {
|
|||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div>
|
||||
<label for="wmd-input">Content</label>
|
||||
<label for="wmd-input"><?php echo i18n('Content');?></label>
|
||||
<div id="wmd-button-bar" class="wmd-button-bar"></div>
|
||||
<textarea id="wmd-input" class="form-control wmd-input <?php if (isset($postContent)) { if (empty($postContent)) { echo 'error'; } } ?>" name="content" cols="20" rows="15"><?php if (isset($postContent)) { echo $postContent;} ?></textarea><br>
|
||||
<input type="submit" name="publish" class="btn btn-primary submit" value="<?php echo i18n('Publish');?>"/> <input type="submit" name="draft" class="btn btn-primary draft" value="<?php echo i18n('Save_as_draft');?>"/>
|
||||
|
|
@ -164,7 +164,7 @@ $( function() {
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<label>Preview</label>
|
||||
<label><?php echo i18n('Preview');?></label>
|
||||
<br>
|
||||
<div id="wmd-preview" class="wmd-panel wmd-preview" style="width:100%;overflow:auto;"></div>
|
||||
</div>
|
||||
|
|
@ -178,11 +178,14 @@ $( function() {
|
|||
#wmd-preview img {max-width:100%;}
|
||||
</style>
|
||||
|
||||
<div id="insertImageDialog" title="Insert Image">
|
||||
<h4>URL</h4>
|
||||
<input type="text" placeholder="Enter image URL" />
|
||||
<h4>Upload</h4>
|
||||
<div id="insertImageDialog" title="<?php echo i18n('Insert_Image');?>">
|
||||
<label>URL</label>
|
||||
<input type="text" size="48" placeholder="<?php echo i18n('Enter_image_URL');?>" />
|
||||
|
||||
<hr>
|
||||
|
||||
<form method="post" action="" enctype="multipart/form-data">
|
||||
<label><?php echo i18n('Upload');?></label>
|
||||
<input type="file" name="file" id="file" />
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -18,20 +18,20 @@
|
|||
<form method="POST">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<label for="pTitle">Title <span class="required">*</span></label>
|
||||
<label for="pTitle"><?php echo i18n('Title');?> <span class="required">*</span></label>
|
||||
<input type="text" class="form-control text <?php if (isset($postTitle)) {if (empty($postTitle)) {echo 'error';}} ?>" id="pTitle" name="title" value="<?php if (isset($postTitle)) {echo $postTitle;} ?>"/>
|
||||
<br>
|
||||
<?php if ($type == 'is_page') :?>
|
||||
<label for="pMeta">Meta Description (optional)</label>
|
||||
<textarea id="pMeta" class="form-control" name="description" rows="3" cols="20" placeholder="If leave empty we will excerpt it from the content below"><?php if (isset($p->description)) {echo $p->description;} ?></textarea>
|
||||
<label for="pMeta"><?php echo i18n('Meta_description');?> (<?php echo i18n('optional');?>)</label>
|
||||
<textarea id="pMeta" class="form-control" name="description" rows="3" cols="20" placeholder="<?php echo i18n('If_leave_empty_we_will_excerpt_it_from_the_content_below');?>"><?php if (isset($p->description)) {echo $p->description;} ?></textarea>
|
||||
<br>
|
||||
<?php endif;?>
|
||||
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<?php if ($type == 'is_page') :?>
|
||||
<label for="pURL">Url (optional)</label>
|
||||
<input type="text" class="form-control text" id="pURL" name="url" value="<?php if (isset($postUrl)) {echo $postUrl;} ?>" placeholder="If the url leave empty we will use the page title"/>
|
||||
<label for="pURL">Url (<?php echo i18n('optional');?>)</label>
|
||||
<input type="text" class="form-control text" id="pURL" name="url" value="<?php if (isset($postUrl)) {echo $postUrl;} ?>" placeholder="<?php echo i18n('If_the_url_leave_empty_we_will_use_the_page_title');?>"/>
|
||||
<br>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
|
|
@ -39,20 +39,20 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<label for="wmd-input">Content</label>
|
||||
<label for="wmd-input"><?php echo i18n('Content');?></label>
|
||||
<div id="wmd-button-bar" class="wmd-button-bar"></div>
|
||||
<textarea id="wmd-input" class="form-control wmd-input <?php if (isset($postContent)) {if (empty($postContent)) {echo 'error';}} ?>" name="content" cols="20" rows="10"><?php if (isset($postContent)) {echo $postContent;} ?></textarea>
|
||||
<br>
|
||||
<input type="hidden" name="csrf_token" value="<?php echo get_csrf() ?>">
|
||||
<?php if ($type == 'is_page') :?>
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="Publish"/>
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="<?php echo i18n('Publish');?>"/>
|
||||
<?php endif;?>
|
||||
<?php if ($type == 'is_category') :?>
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="Add category"/>
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="<?php echo i18n('Add_category');?>"/>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<label>Preview</label>
|
||||
<label><?php echo i18n('Preview');?></label>
|
||||
<br>
|
||||
<div id="wmd-preview" class="wmd-panel wmd-preview" style="width:100%;overflow:auto;"></div>
|
||||
</div>
|
||||
|
|
@ -65,15 +65,18 @@
|
|||
.wmd-prompt-background {z-index:10!important;}
|
||||
#wmd-preview img {max-width:100%;}
|
||||
</style>
|
||||
|
||||
<div id="insertImageDialog" title="Insert Image">
|
||||
<h4>URL</h4>
|
||||
<input type="text" placeholder="Enter image URL" />
|
||||
<h4>Upload</h4>
|
||||
|
||||
<div id="insertImageDialog" title="<?php echo i18n('Insert_Image');?>">
|
||||
<label>URL</label>
|
||||
<input type="text" size="48" placeholder="<?php echo i18n('Enter_image_URL');?>" />
|
||||
|
||||
<hr>
|
||||
|
||||
<form method="post" action="" enctype="multipart/form-data">
|
||||
<label><?php echo i18n('Upload');?></label>
|
||||
<input type="file" name="file" id="file" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Declare the base path. Important -->
|
||||
<script type="text/javascript">var base_path = '<?php echo site_url() ?>';</script>
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ if (login()) {
|
|||
}
|
||||
}
|
||||
?>
|
||||
<h2>Your backups</h2>
|
||||
<h2><?php echo i18n('Your_backups');?></h2>
|
||||
<br>
|
||||
<a class="btn btn-primary" href="<?php echo site_url() ?>admin/backup-start">Create backup</a>
|
||||
<a class="btn btn-primary" href="<?php echo site_url() ?>admin/backup-start"><?php echo i18n('Create_backup');?></a>
|
||||
<br><br>
|
||||
<?php echo get_backup_files() ?>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<?php $desc = get_category_info(null); ?>
|
||||
<h2>Categories</h2>
|
||||
<h2><?php echo i18n("Categories");?></h2>
|
||||
<br>
|
||||
<a class="btn btn-primary " href="<?php echo site_url();?>add/category"><?php echo i18n('Add_category');?></a>
|
||||
<br><br>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<h2 class="post-index"><?php echo $category->title ?></h2>
|
||||
<div><?php echo $category->body;?></div>
|
||||
<br>
|
||||
<?php if ($category->url !== site_url() . 'category/uncategorized'):?><a class="btn btn-primary right" href="<?php echo $category->url;?>/edit?destination=admin/categories">Edit category</a><?php endif;?>
|
||||
<?php if ($category->url !== site_url() . 'category/uncategorized'):?><a class="btn btn-primary right" href="<?php echo $category->url;?>/edit?destination=admin/categories"><?php echo i18n("Edit_category");?></a><?php endif;?>
|
||||
<br><br>
|
||||
<?php if (!empty($posts)) { ?>
|
||||
<table class="table post-list">
|
||||
|
|
@ -43,15 +43,15 @@
|
|||
<div class="pager">
|
||||
<ul class="pagination">
|
||||
<?php if (!empty($pagination['prev'])) { ?>
|
||||
<li class="newer page-item"><a class="page-link" href="?page=<?php echo $page - 1 ?>" rel="prev">← Newer</a></li>
|
||||
<li class="newer page-item"><a class="page-link" href="?page=<?php echo $page - 1 ?>" rel="prev">← <?php echo i18n('Newer');?></a></li>
|
||||
<?php } else { ?>
|
||||
<li class="page-item disabled" ><span class="page-link">← Newer</span></li>
|
||||
<li class="page-item disabled" ><span class="page-link">← <?php echo i18n('Newer');?></span></li>
|
||||
<?php } ?>
|
||||
<li class="page-number page-item disabled"><span class="page-link"><?php echo $pagination['pagenum'];?></span></li>
|
||||
<?php if (!empty($pagination['next'])) { ?>
|
||||
<li class="older page-item" ><a class="page-link" href="?page=<?php echo $page + 1 ?>" rel="next">Older →</a></li>
|
||||
<li class="older page-item" ><a class="page-link" href="?page=<?php echo $page + 1 ?>" rel="next"><?php echo i18n('Older');?> →</a></li>
|
||||
<?php } else { ?>
|
||||
<li class="page-item disabled" ><span class="page-link">Older →</span></li>
|
||||
<li class="page-item disabled" ><span class="page-link"><?php echo i18n('Older');?> →</span></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ foreach (glob('cache/page/*.cache', GLOB_NOSORT) as $file) {
|
|||
unlink($file);
|
||||
}
|
||||
|
||||
echo 'All cache has been deleted!';
|
||||
echo i18n('All_cache_has_been_deleted');
|
||||
|
||||
?>
|
||||
|
|
@ -1,15 +1,15 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<h2>Custom Settings</h2>
|
||||
<h2><?php echo i18n('Custom_Settings');?></h2>
|
||||
<br>
|
||||
<nav>
|
||||
<div class="nav nav-tabs" id="nav-tab">
|
||||
<a class="nav-item nav-link" id="nav-general-tab" href="<?php echo site_url();?>admin/config">General</a>
|
||||
<a class="nav-item nav-link" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading">Reading</a>
|
||||
<a class="nav-item nav-link" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget">Widget</a>
|
||||
<a class="nav-item nav-link" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags">Metatags</a>
|
||||
<a class="nav-item nav-link" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance">Performance</a>
|
||||
<a class="nav-item nav-link active" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom">Custom</a>
|
||||
</div>
|
||||
<a class="nav-item nav-link" id="nav-general-tab" href="<?php echo site_url();?>admin/config"><?php echo i18n('General');?></a>
|
||||
<a class="nav-item nav-link" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading"><?php echo i18n('Reading');?></a>
|
||||
<a class="nav-item nav-link" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget"><?php echo i18n('Widget');?></a>
|
||||
<a class="nav-item nav-link" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags"><?php echo i18n('Metatags');?></a>
|
||||
<a class="nav-item nav-link" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance"><?php echo i18n('Performance');?></a>
|
||||
<a class="nav-item nav-link active" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom"><?php echo i18n('Custom');?></a>
|
||||
</div>
|
||||
</nav>
|
||||
<br><br>
|
||||
<p><u>hint:</u> Use <code>Ctrl</code>/<code>CMD</code> + <code>F</code> to search for your config key or value.</p>
|
||||
|
|
|
|||
|
|
@ -6,17 +6,17 @@ if (file_exists($config_file)) {
|
|||
$array = parse_ini_file($config_file, true);
|
||||
}
|
||||
?>
|
||||
<h2>Metatags Settings</h2>
|
||||
<h2><?php echo i18n('Metatags_Settings');?></h2>
|
||||
<br>
|
||||
<nav>
|
||||
<nav>
|
||||
<div class="nav nav-tabs" id="nav-tab">
|
||||
<a class="nav-item nav-link" id="nav-general-tab" href="<?php echo site_url();?>admin/config">General</a>
|
||||
<a class="nav-item nav-link" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading">Reading</a>
|
||||
<a class="nav-item nav-link" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget">Widget</a>
|
||||
<a class="nav-item nav-link active" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags">Metatags</a>
|
||||
<a class="nav-item nav-link" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance">Performance</a>
|
||||
<a class="nav-item nav-link" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom">Custom</a>
|
||||
</div>
|
||||
<a class="nav-item nav-link" id="nav-general-tab" href="<?php echo site_url();?>admin/config"><?php echo i18n('General');?></a>
|
||||
<a class="nav-item nav-link" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading"><?php echo i18n('Reading');?></a>
|
||||
<a class="nav-item nav-link" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget"><?php echo i18n('Widget');?></a>
|
||||
<a class="nav-item nav-link active" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags"><?php echo i18n('Metatags');?></a>
|
||||
<a class="nav-item nav-link" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance"><?php echo i18n('Performance');?></a>
|
||||
<a class="nav-item nav-link" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom"><?php echo i18n('Custom');?></a>
|
||||
</div>
|
||||
</nav>
|
||||
<br><br>
|
||||
<form method="POST">
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<h2>Performance Settings</h2>
|
||||
<h2><?php echo i18n('Performance_Settings');?></h2>
|
||||
<br>
|
||||
<nav>
|
||||
<div class="nav nav-tabs" id="nav-tab">
|
||||
<a class="nav-item nav-link" id="nav-general-tab" href="<?php echo site_url();?>admin/config">General</a>
|
||||
<a class="nav-item nav-link" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading">Reading</a>
|
||||
<a class="nav-item nav-link" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget">Widget</a>
|
||||
<a class="nav-item nav-link" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags">Metatags</a>
|
||||
<a class="nav-item nav-link active" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance">Performance</a>
|
||||
<a class="nav-item nav-link" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom">Custom</a>
|
||||
<a class="nav-item nav-link" id="nav-general-tab" href="<?php echo site_url();?>admin/config"><?php echo i18n('General');?></a>
|
||||
<a class="nav-item nav-link" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading"><?php echo i18n('Reading');?></a>
|
||||
<a class="nav-item nav-link" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget"><?php echo i18n('Widget');?></a>
|
||||
<a class="nav-item nav-link" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags"><?php echo i18n('Metatags');?></a>
|
||||
<a class="nav-item nav-link active" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance"><?php echo i18n('Performance');?></a>
|
||||
<a class="nav-item nav-link" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom"><?php echo i18n('Custom');?></a>
|
||||
</div>
|
||||
</nav>
|
||||
<br><br>
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<h2>Reading Settings</h2>
|
||||
<h2><?php echo i18n('Reading_Settings');?></h2>
|
||||
<br>
|
||||
<nav>
|
||||
<div class="nav nav-tabs" id="nav-tab">
|
||||
<a class="nav-item nav-link" id="nav-general-tab" href="<?php echo site_url();?>admin/config">General</a>
|
||||
<a class="nav-item nav-link active" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading">Reading</a>
|
||||
<a class="nav-item nav-link" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget">Widget</a>
|
||||
<a class="nav-item nav-link" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags">Metatags</a>
|
||||
<a class="nav-item nav-link" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance">Performance</a>
|
||||
<a class="nav-item nav-link" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom">Custom</a>
|
||||
</div>
|
||||
<a class="nav-item nav-link" id="nav-general-tab" href="<?php echo site_url();?>admin/config"><?php echo i18n('General');?></a>
|
||||
<a class="nav-item nav-link active" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading"><?php echo i18n('Reading');?></a>
|
||||
<a class="nav-item nav-link" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget"><?php echo i18n('Widget');?></a>
|
||||
<a class="nav-item nav-link" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags"><?php echo i18n('Metatags');?></a>
|
||||
<a class="nav-item nav-link" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance"><?php echo i18n('Performance');?></a>
|
||||
<a class="nav-item nav-link" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom"><?php echo i18n('Custom');?></a>
|
||||
</div>
|
||||
</nav>
|
||||
<br><br>
|
||||
<form method="POST">
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<h2>Widget Settings</h2>
|
||||
<h2><?php echo i18n('Widget_Settings');?></h2>
|
||||
<br>
|
||||
<nav>
|
||||
<div class="nav nav-tabs" id="nav-tab">
|
||||
<a class="nav-item nav-link" id="nav-general-tab" href="<?php echo site_url();?>admin/config">General</a>
|
||||
<a class="nav-item nav-link" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading">Reading</a>
|
||||
<a class="nav-item nav-link active" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget">Widget</a>
|
||||
<a class="nav-item nav-link" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags">Metatags</a>
|
||||
<a class="nav-item nav-link" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance">Performance</a>
|
||||
<a class="nav-item nav-link" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom">Custom</a>
|
||||
</div>
|
||||
<a class="nav-item nav-link" id="nav-general-tab" href="<?php echo site_url();?>admin/config"><?php echo i18n('General');?></a>
|
||||
<a class="nav-item nav-link" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading"><?php echo i18n('Reading');?></a>
|
||||
<a class="nav-item nav-link active" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget"><?php echo i18n('Widget');?></a>
|
||||
<a class="nav-item nav-link" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags"><?php echo i18n('Metatags');?></a>
|
||||
<a class="nav-item nav-link" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance"><?php echo i18n('Performance');?></a>
|
||||
<a class="nav-item nav-link" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom"><?php echo i18n('Custom');?></a>
|
||||
</div>
|
||||
</nav>
|
||||
<br><br>
|
||||
<form method="POST">
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<h2>General Settings</h2>
|
||||
<h2><?php echo i18n('General_Settings')?></h2>
|
||||
<br>
|
||||
<nav>
|
||||
<div class="nav nav-tabs" id="nav-tab">
|
||||
<a class="nav-item nav-link active" id="nav-general-tab" href="<?php echo site_url();?>admin/config">General</a>
|
||||
<a class="nav-item nav-link" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading">Reading</a>
|
||||
<a class="nav-item nav-link" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget">Widget</a>
|
||||
<a class="nav-item nav-link" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags">Metatags</a>
|
||||
<a class="nav-item nav-link" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance">Performance</a>
|
||||
<a class="nav-item nav-link" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom">Custom</a>
|
||||
</div>
|
||||
<a class="nav-item nav-link active" id="nav-general-tab" href="<?php echo site_url();?>admin/config"><?php echo i18n('General');?></a>
|
||||
<a class="nav-item nav-link" id="nav-profile-tab" href="<?php echo site_url();?>admin/config/reading"><?php echo i18n('Reading');?></a>
|
||||
<a class="nav-item nav-link" id="nav-widget-tab" href="<?php echo site_url();?>admin/config/widget"><?php echo i18n('Widget');?></a>
|
||||
<a class="nav-item nav-link" id="nav-metatags-tab" href="<?php echo site_url();?>admin/config/metatags"><?php echo i18n('Metatags');?></a>
|
||||
<a class="nav-item nav-link" id="nav-performance-tab" href="<?php echo site_url();?>admin/config/performance"><?php echo i18n('Performance');?></a>
|
||||
<a class="nav-item nav-link" id="nav-custom-tab" href="<?php echo site_url();?>admin/config/custom"><?php echo i18n('Custom');?></a>
|
||||
</div>
|
||||
</nav>
|
||||
<br><br>
|
||||
<form method="POST">
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<h1>You don't have permission to access this page</h1>
|
||||
<h1><?echo i18n('You_dont_have_permission_to_access_this_page');?></h1>
|
||||
|
|
@ -144,60 +144,60 @@ $( function() {
|
|||
</select>
|
||||
<br>
|
||||
<label for="pTag">Tag <span class="required">*</span></label>
|
||||
<input type="text" id="pTag" name="tag" class="form-control text <?php if (isset($postTag)) { if (empty($postTag)) { echo 'error'; } } ?>" value="<?php echo $oldtag ?>" placeholder="Comma-separated values"/>
|
||||
<input type="text" id="pTag" name="tag" class="form-control text <?php if (isset($postTag)) { if (empty($postTag)) { echo 'error'; } } ?>" value="<?php echo $oldtag ?>" placeholder="<?php echo i18n('Comma_separated_values');?>"/>
|
||||
<br>
|
||||
|
||||
<label for="pMeta">Meta Description (optional)</label>
|
||||
<textarea id="pMeta" class="form-control" name="description" rows="3" cols="20" placeholder="If leave empty we will excerpt it from the content below"><?php if (isset($p->description)) { echo $p->description; } else { echo $olddescription;} ?></textarea>
|
||||
<label for="pMeta"><?php echo i18n('Meta_description');?> (<?php echo i18n('optional');?>)</label>
|
||||
<textarea id="pMeta" class="form-control" name="description" rows="3" cols="20" placeholder="<?php echo i18n('If_leave_empty_we_will_excerpt_it_from_the_content_below');?>"><?php if (isset($p->description)) { echo $p->description; } else { echo $olddescription;} ?></textarea>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6">
|
||||
<div class="form-row">
|
||||
<div class="col">
|
||||
<label for="pDate">Date</label>
|
||||
<label for="pDate"><?php echo i18n('Date');?></label>
|
||||
<input type="date" id="pDate" name="date" class="form-control text" value="<?php echo date('Y-m-d', $postdate); ?>">
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="pTime">Time</label>
|
||||
<label for="pTime"><?php echo i18n('Time');?></label>
|
||||
<input step="1" type="time" id="pTime" name="time" class="form-control text" value="<?php echo $time->format('H:i:s'); ?>">
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<label for="pURL">Url (optional)</label>
|
||||
<input type="text" id="pURL" name="url" class="form-control text" value="<?php echo $oldmd ?>" placeholder="If the url leave empty we will use the post title"//>
|
||||
<label for="pURL">Url (<?php echo i18n('optional');?>)</label>
|
||||
<input type="text" id="pURL" name="url" class="form-control text" value="<?php echo $oldmd ?>" placeholder="<?php echo i18n('If_the_url_leave_empty_we_will_use_the_post_title');?>"//>
|
||||
<br>
|
||||
|
||||
<?php if ($type == 'is_audio'):?>
|
||||
<label for="pAudio">Featured Audio <span class="required">*</span> (SoundCloud Only)</label>
|
||||
<label for="pAudio"><?php echo i18n('Featured_Audio');?> <span class="required">*</span> (SoundCloud <?php echo i18n('Only');?>)</label>
|
||||
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postAudio)) { if (empty($postAudio)) { echo 'error';} } ?>" id="pAudio" name="audio"><?php echo $oldaudio; ?></textarea>
|
||||
<input type="hidden" name="is_audio" value="is_audio">
|
||||
<br>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if ($type == 'is_video'):?>
|
||||
<label for="pVideo">Featured Video <span class="required">*</span> (Youtube Only)</label>
|
||||
<label for="pVideo"><?php echo i18n('Featured_Video');?> <span class="required">*</span> (Youtube <?php echo i18n('Only');?>)</label>
|
||||
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postVideo)) { if (empty($postVideo)) { echo 'error';} } ?>" id="pVideo" name="video"><?php echo $oldvideo ?></textarea>
|
||||
<input type="hidden" name="is_video" value="is_video">
|
||||
<br>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if ($type == 'is_image'):?>
|
||||
<label for="pImage">Featured Image <span class="required">*</span></label>
|
||||
<label for="pImage"><?php echo i18n('Featured_Image');?> <span class="required">*</span></label>
|
||||
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postImage)) { if (empty($postImage)) { echo 'error';} } ?>" id="pImage" name="image"><?php echo $oldimage; ?></textarea>
|
||||
<input type="hidden" name="is_image" value="is_image">
|
||||
<br>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if ($type == 'is_quote'):?>
|
||||
<label for="pQuote">Featured Quote <span class="required">*</span></label>
|
||||
<label for="pQuote"><?php echo i18n('Featured_Quote');?> <span class="required">*</span></label>
|
||||
<textarea rows="3" cols="20" class="form-control text <?php if (isset($postQuote)) { if (empty($postQuote)) { echo 'error';} } ?>" id="pQuote" name="quote"><?php echo $oldquote ?></textarea>
|
||||
<input type="hidden" name="is_quote" value="is_quote">
|
||||
<br>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if ($type == 'is_link'):?>
|
||||
<label for="pLink">Featured Link <span class="required">*</span></label>
|
||||
<label for="pLink"><?php echo i18n('Featured_Link');?> <span class="required">*</span></label>
|
||||
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postLink)) { if (empty($postLink)) { echo 'error';} } ?>" id="pLink" name="link"><?php echo $oldlink ?></textarea>
|
||||
<input type="hidden" name="is_link" value="is_link">
|
||||
<br>
|
||||
|
|
@ -213,7 +213,7 @@ $( function() {
|
|||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div>
|
||||
<label for="wmd-input">Content</label>
|
||||
<label for="wmd-input"><?php echo i18n('Content');?></label>
|
||||
<div id="wmd-button-bar" class="wmd-button-bar"></div>
|
||||
<textarea id="wmd-input" class="form-control wmd-input <?php if (isset($postContent)) { if (empty($postContent)) { echo 'error'; } } ?>" name="content" cols="20" rows="15"><?php echo $oldcontent ?></textarea><br>
|
||||
<?php if ($isdraft[4] == 'draft') { ?>
|
||||
|
|
@ -225,7 +225,7 @@ $( function() {
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<label>Preview</label>
|
||||
<label><?php echo i18n('Preview');?></label>
|
||||
<br>
|
||||
<div id="wmd-preview" class="wmd-panel wmd-preview" style="width:100%;overflow:auto;"></div>
|
||||
</div>
|
||||
|
|
@ -239,15 +239,18 @@ $( function() {
|
|||
#wmd-preview img {max-width:100%;}
|
||||
</style>
|
||||
|
||||
<div id="insertImageDialog" title="Insert Image">
|
||||
<h4>URL</h4>
|
||||
<input type="text" placeholder="Enter image URL" />
|
||||
<h4>Upload</h4>
|
||||
<div id="insertImageDialog" title="<?php echo i18n('Insert_Image');?>">
|
||||
<label>URL</label>
|
||||
<input type="text" size="48" placeholder="<?php echo i18n('Enter_image_URL');?>" />
|
||||
|
||||
<hr>
|
||||
|
||||
<form method="post" action="" enctype="multipart/form-data">
|
||||
<label><?php echo i18n('Upload');?></label>
|
||||
<input type="file" name="file" id="file" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<!-- Declare the base path. Important -->
|
||||
<script type="text/javascript">var base_path = '<?php echo site_url() ?>';</script>
|
||||
|
|
|
|||
|
|
@ -89,15 +89,15 @@ if ($type == 'is_frontpage') {
|
|||
<?php if($type != 'is_frontpage' && $type != 'is_profile') { ?>
|
||||
<label for="pMeta"><?php echo i18n('Meta_description');?> (optional)</label>
|
||||
<br />
|
||||
<textarea id="pMeta" class="form-control" name="description" rows="3" cols="20" placeholder"If leave empty we will excerpt it from the content below"><?php if (isset($p->description)) { echo $p->description;} else {echo $olddescription;}?></textarea>
|
||||
<textarea id="pMeta" class="form-control" name="description" rows="3" cols="20" placeholder="<?php echo i18n('If_leave_empty_we_will_excerpt_it_from_the_content_below');?>"><?php if (isset($p->description)) { echo $p->description;} else {echo $olddescription;}?></textarea>
|
||||
<br /><br />
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<?php if($type != 'is_frontpage' && $type != 'is_profile') { ?>
|
||||
<label for="pURL">Url (optional)</label>
|
||||
<label for="pURL">Url (<?php echo i18n('optional');?>)</label>
|
||||
<br>
|
||||
<input type="text" id="pURL" name="url" class="form-control text" value="<?php echo $oldmd ?>" placeholder="If the url leave empty we will use the page title"/>
|
||||
<input type="text" id="pURL" name="url" class="form-control text" value="<?php echo $oldmd ?>" placeholder="<?php echo i18n('If_the_url_leave_empty_we_will_use_the_page_title');?>"/>
|
||||
<br>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
|
@ -105,44 +105,47 @@ if ($type == 'is_frontpage') {
|
|||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<label for="wmd-input">Content</label>
|
||||
<label for="wmd-input"><?php echo i18n('Content');?></label>
|
||||
<div id="wmd-button-bar" class="wmd-button-bar"></div>
|
||||
<textarea id="wmd-input" class="form-control wmd-input <?php if (isset($postContent)) {if (empty($postContent)) {echo 'error';}} ?>" name="content" cols="20" rows="10"><?php echo $oldcontent ?></textarea>
|
||||
<br>
|
||||
<input type="hidden" name="csrf_token" value="<?php echo get_csrf() ?>">
|
||||
<?php if($type == 'is_frontpage' || $type == 'is_profile') { ?>
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="Save"/>
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="<?php echo i18n('Save');?>"/>
|
||||
<?php } elseif ($type == 'is_category') {?>
|
||||
<input type="hidden" name="oldfile" class="text" value="<?php echo $url ?>"/>
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="Save category"/>
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="<?php echo i18n('Save_category');?>"/>
|
||||
<?php } else {?>
|
||||
<input type="hidden" name="oldfile" class="text" value="<?php echo $url ?>"/>
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="<?php echo i18n('Save');?>"/> <a class="btn btn-danger" href="<?php echo $delete ?>"><?php echo i18n('Delete');?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<label>Preview</label>
|
||||
<label><?php echo i18n('Preview');?></label>
|
||||
<br>
|
||||
<div id="wmd-preview" class="wmd-panel wmd-preview" style="width:100%;overflow:auto;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<style>
|
||||
#insertImageDialog { display:none; padding: 10px; font-size:12px;}
|
||||
.wmd-prompt-background {z-index:10!important;}
|
||||
#wmd-preview img {max-width:100%;}
|
||||
</style>
|
||||
|
||||
<div id="insertImageDialog" title="Insert Image">
|
||||
<h4>URL</h4>
|
||||
<input type="text" placeholder="Enter image URL" />
|
||||
<h4>Upload</h4>
|
||||
<div id="insertImageDialog" title="<?php echo i18n('Insert_Image');?>">
|
||||
<label>URL</label>
|
||||
<input type="text" size="48" placeholder="<?php echo i18n('Enter_image_URL');?>" />
|
||||
|
||||
<hr>
|
||||
|
||||
<form method="post" action="" enctype="multipart/form-data">
|
||||
<label><?php echo i18n('Upload');?></label>
|
||||
<input type="file" name="file" id="file" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Declare the base path. Important -->
|
||||
<script type="text/javascript">var base_path = '<?php echo site_url() ?>';</script>
|
||||
|
|
|
|||
|
|
@ -2,15 +2,15 @@
|
|||
<?php if (isset($error)) { ?>
|
||||
<div class="error-message"><?php echo $error ?></div>
|
||||
<?php } ?>
|
||||
<h1>Import RSS Feed 2.0</h1>
|
||||
<p>By using this importer you are agree if the feed is yours, or at least you have the authority to publish it.</p>
|
||||
<h1><?php echo i18n('Import_RSS_Feed_2.0');?></h1>
|
||||
<p><?php echo i18n('By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it');?></p>
|
||||
<form method="POST">
|
||||
<label>Feed Url <span class="required">*</span></label><input type="url" class="form-control text <?php if (isset($url)) {
|
||||
<label><?php echo i18n('Feed_Url');?> <span class="required">*</span></label><input type="url" class="form-control text <?php if (isset($url)) {
|
||||
if (empty($url)) {
|
||||
echo 'error';
|
||||
}
|
||||
} ?>" name="url"/><br>
|
||||
Add source link (optional) <input type="checkbox" class="checkbox" name="credit" value="yes"/><br><br>
|
||||
<?php echo i18n('Add_source_link_optional');?> <input type="checkbox" class="checkbox" name="credit" value="yes"/><br><br>
|
||||
<input type="hidden" name="csrf_token" value="<?php echo get_csrf() ?>">
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="Import Feed"/>
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="<?php echo i18n('Import_Feed');?>"/>
|
||||
</form>
|
||||
|
|
@ -31,13 +31,13 @@
|
|||
<a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fa fa-bars"></i></a>
|
||||
</li>
|
||||
<li class="nav-item d-none d-sm-inline-block">
|
||||
<a href="<?php echo site_url();?>" class="nav-link">Home</a>
|
||||
<a href="<?php echo site_url();?>" class="nav-link"><i class="fa fa-globe"></i> <?php echo i18n('Home')?></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- SEARCH FORM -->
|
||||
<form class="form-inline ml-3">
|
||||
<input type="search" name="search" class="form-control" placeholder="Type to search">
|
||||
<input type="search" name="search" class="form-control" placeholder="<?php echo i18n('Type_to_search')?>">
|
||||
</form>
|
||||
|
||||
|
||||
|
|
@ -274,7 +274,7 @@
|
|||
<footer class="main-footer">
|
||||
<!-- To the right -->
|
||||
<div class="float-right d-none d-sm-inline">
|
||||
<small>Admin panel style based on <a rel="nofollow" target="_blank" href="https://github.com/ColorlibHQ/AdminLTE">AdminLTE</a></small>
|
||||
<small><?php echo i18n('Admin_panel_style_based_on');?> <a rel="nofollow" target="_blank" href="https://github.com/ColorlibHQ/AdminLTE">AdminLTE</a></small>
|
||||
</div>
|
||||
<!-- Default to the left -->
|
||||
<?php echo i18n('Proudly_powered_by');?> <a href="https://www.htmly.com" target="_blank">HTMLy</a>
|
||||
|
|
@ -290,14 +290,14 @@
|
|||
<!-- /.login-logo -->
|
||||
<div class="card">
|
||||
<div class="card-body login-card-body">
|
||||
<p class="login-box-msg">Sign in to start your session</p>
|
||||
<p class="login-box-msg"><?php echo i18n('Sign_in_to_start_your_session');?></p>
|
||||
<?php echo content();?>
|
||||
</div>
|
||||
<!-- /.login-card-body -->
|
||||
</div>
|
||||
<span><a href="<?php echo site_url();?>"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-left" viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd" d="M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8z"/>
|
||||
</svg> Back to <?php echo blog_title();?></a></span>
|
||||
</svg> <?php echo i18n('Back_to'); ?> <?php echo blog_title();?></a></span>
|
||||
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
|
|
|||
|
|
@ -4,16 +4,16 @@
|
|||
<div class="error-message"><?php echo $error ?></div>
|
||||
<?php } ?>
|
||||
<?php if (!login()) { ?>
|
||||
<h1>Login</h1>
|
||||
<h1><?php echo i18n('Login');?></h1>
|
||||
<form method="POST" action="login">
|
||||
<label>User <span class="required">*</span></label>
|
||||
<label><?php echo i18n('User');?> <span class="required">*</span></label>
|
||||
<input type="text" class="form-control <?php if (isset($username)) {
|
||||
if (empty($username)) {
|
||||
echo 'error';
|
||||
}
|
||||
} ?>" name="user" placeholder="Username"/>
|
||||
<br>
|
||||
<label>Password <span class="required">*</span></label>
|
||||
<label><?php echo i18n('Password');?> <span class="required">*</span></label>
|
||||
<input type="password" class="form-control <?php if (isset($password)) {
|
||||
if (empty($password)) {
|
||||
echo 'error';
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
<div class="g-recaptcha" data-sitekey="<?php echo config("google.reCaptcha.public"); ?>"></div>
|
||||
<br/>
|
||||
<?php endif; ?>
|
||||
<input type="submit" class="btn btn-primary" name="submit" value="Login"/>
|
||||
<input type="submit" class="btn btn-primary" name="submit" value="<?php echo i18n('Login');?>"/>
|
||||
</form>
|
||||
<?php } else {
|
||||
header('location: admin');
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<?php echo '<h2>' . i18n('Your_recent_posts') . '</h2>';?>
|
||||
<br>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>admin/content">Add new post</a>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>admin/content"><?php echo i18n('Add_content');?></a>
|
||||
<br><br>
|
||||
<?php get_user_posts();?>
|
||||
|
|
@ -22,8 +22,8 @@ function parseMenus($menus) {
|
|||
function parseMenu($menu) {
|
||||
$li = '<li class="dd-item" data-class="'. $menu->class .'" data-id="'. $menu->id .'" data-name="'.$menu->name.'" data-slug="'.htmlspecialchars($menu->slug, FILTER_SANITIZE_URL).'">';
|
||||
$li .= '<div class="dd-handle">'.$menu->name.'</div>';
|
||||
$li .= '<span class="button-delete btn btn-danger btn-xs" data-owner-id="'.$menu->id.'">Delete</span>';
|
||||
$li .= '<span class="button-edit btn btn-primary btn-xs" data-owner-id="'.$menu->id.'">Edit</span>';
|
||||
$li .= '<span class="button-delete btn btn-danger btn-xs" style="margin-right:0.5rem" data-owner-id="'.$menu->id.'">'.i18n('Delete').'</span>';
|
||||
$li .= '<span class="button-edit btn btn-primary btn-xs" data-owner-id="'.$menu->id.'">'.i18n('Edit').'</span>';
|
||||
if (isset($menu->children)) {
|
||||
$li .= parseMenus($menu->children);
|
||||
}
|
||||
|
|
@ -35,41 +35,41 @@ function parseMenu($menu) {
|
|||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="dd nestable"><?php if (!empty($menu)) {echo $menu;} else {echo '<span>At the moment you are using auto-generated menu.</span><ol class="dd-list"></ol>';}?></div>
|
||||
<div class="dd nestable"><?php if (!empty($menu)) {echo $menu;} else {echo '<span>'.i18n('At_the_moment_you_are_using_auto_generated_menu').'</span><ol class="dd-list"></ol>';}?></div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<form id="menu-add">
|
||||
<h4>Add menu</h4>
|
||||
<h4><?php echo i18n('Add_menu');?></h4>
|
||||
<div class="form-group">
|
||||
<label for="addInputName">Name</label>
|
||||
<input type="text" class="form-control" id="addInputName" placeholder="Item name" required>
|
||||
<label for="addInputName"><?php echo i18n('Name');?></label>
|
||||
<input type="text" class="form-control" id="addInputName" placeholder="<?php echo i18n('Link_name')?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="addInputSlug">Slug</label>
|
||||
<input type="text" class="form-control" id="addInputSlug" placeholder="item-slug" required>
|
||||
<label for="addInputSlug"><?php echo i18n('Slug');?></label>
|
||||
<input type="text" class="form-control" id="addInputSlug" placeholder="<?php echo i18n('item_slug');?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="addInputClass">CSS Class (Optional)</label>
|
||||
<input type="text" class="form-control" id="addInputClass" placeholder="item-class">
|
||||
<label for="addInputClass"><?php echo i18n('CSS_Class_Optional');?></label>
|
||||
<input type="text" class="form-control" id="addInputClass" placeholder="<?php echo i18n('item_class');?>">
|
||||
</div>
|
||||
<button class="btn btn-primary btn-sm" id="addButton">Add menu</button>
|
||||
<button class="btn btn-primary btn-sm" id="addButton"><?php echo i18n('Add_link');?></button>
|
||||
</form>
|
||||
<form id="menu-editor" style="display: none;">
|
||||
<h4>Editing <span id="currentEditName"></span></h4>
|
||||
<div class="form-group">
|
||||
<label for="addInputName">Name</label>
|
||||
<input type="text" class="form-control" id="editInputName" placeholder="Item name" required>
|
||||
<label for="addInputName"><?php echo i18n('Name')?></label>
|
||||
<input type="text" class="form-control" id="editInputName" placeholder="<?php echo i18n('Link_name')?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="addInputSlug">Slug</label>
|
||||
<input type="text" class="form-control" id="editInputSlug" placeholder="item-slug">
|
||||
<label for="addInputSlug"><?php echo i18n('Slug');?></label>
|
||||
<input type="text" class="form-control" id="editInputSlug" placeholder="<?php echo i18n('item_slug');?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="addInputClass">CSS Class (Optional)</label>
|
||||
<input type="text" class="form-control" id="editInputClass" placeholder="item-class">
|
||||
<label for="addInputClass"><?php echo i18n('CSS_Class_Optional');?></label>
|
||||
<input type="text" class="form-control" id="editInputClass" placeholder="<?php echo i18n('item_class');?>">
|
||||
</div>
|
||||
<button class="btn btn-primary btn-sm" id="editButton">Save Edit</button>
|
||||
<button class="btn btn-primary btn-sm" id="editButton"><?php echo i18n('Save_Edit');?></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -77,7 +77,7 @@ function parseMenu($menu) {
|
|||
<div class="row">
|
||||
<div class="output-container">
|
||||
<div class="col">
|
||||
<button class="btn btn-primary" id="saveButton">Save Menu</button>
|
||||
<button class="btn btn-primary" id="saveButton"><?php echo i18n('Save_Menu');?></button>
|
||||
<form class="form" style="display:none;">
|
||||
<textarea class="form-control" id="json-output" rows="5"></textarea>
|
||||
</form>
|
||||
|
|
@ -108,7 +108,7 @@ function parseMenu($menu) {
|
|||
success: function (response) {
|
||||
alert(response.message);
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<h2 class="post-index"><?php echo $heading ?></h2>
|
||||
<br>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>admin/content">Add new post</a>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>admin/content"><?php echo i18n('Add_new_post');?></a>
|
||||
<br><br>
|
||||
<?php if (!empty($posts)) { ?>
|
||||
<table class="table post-list">
|
||||
|
|
@ -35,8 +35,8 @@
|
|||
<td><a target="_blank" href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></td>
|
||||
<td><a href="<?php echo str_replace('category', 'admin/categories', $p->categoryUrl); ?>"><?php echo strip_tags($p->category);?></a></td>
|
||||
<td><?php echo $p->tag ?></td>
|
||||
<td><a class="btn btn-primary btn-xs" href="<?php echo $p->url ?>/edit?destination=admin/posts">Edit</a> <a
|
||||
class="btn btn-danger btn-xs" href="<?php echo $p->url ?>/delete?destination=admin/posts">Delete</a></td>
|
||||
<td><a class="btn btn-primary btn-xs" href="<?php echo $p->url ?>/edit?destination=admin/posts"><?php echo i18n('Edit');?></a> <a
|
||||
class="btn btn-danger btn-xs" href="<?php echo $p->url ?>/delete?destination=admin/posts"><?php echo i18n('Delete');?></a></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<h2 class="post-index"><?php echo $heading ?></h2>
|
||||
<br>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>admin/content">Add new post</a>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>admin/content"><?php echo i18n('Add_new_post');?></a>
|
||||
<br><br>
|
||||
<?php if (!empty($posts)) { ?>
|
||||
<table class="table post-list">
|
||||
|
|
@ -45,15 +45,15 @@
|
|||
<div class="pager">
|
||||
<ul class="pagination">
|
||||
<?php if (!empty($pagination['prev'])) { ?>
|
||||
<li class="newer page-item"><a class="page-link" href="?page=<?php echo $page - 1 ?>" rel="prev">← Newer</a></li>
|
||||
<li class="newer page-item"><a class="page-link" href="?page=<?php echo $page - 1 ?>" rel="prev">← <?php echo i18n('Newer');?></a></li>
|
||||
<?php } else { ?>
|
||||
<li class="page-item disabled" ><span class="page-link">← Newer</span></li>
|
||||
<li class="page-item disabled" ><span class="page-link">← <?php echo i18n('Newer');?></span></li>
|
||||
<?php } ?>
|
||||
<li class="page-number page-item disabled"><span class="page-link"><?php echo $pagination['pagenum'];?></span></li>
|
||||
<?php if (!empty($pagination['next'])) { ?>
|
||||
<li class="older page-item" ><a class="page-link" href="?page=<?php echo $page + 1 ?>" rel="next">Older →</a></li>
|
||||
<li class="older page-item" ><a class="page-link" href="?page=<?php echo $page + 1 ?>" rel="next"><?php echo i18n('Older');?> →</a></li>
|
||||
<?php } else { ?>
|
||||
<li class="page-item disabled" ><span class="page-link">Older →</span></li>
|
||||
<li class="page-item disabled" ><span class="page-link"><?php echo i18n('Older');?> →</span></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<?php echo '<h2>' . i18n('Static_pages') . '</h2>';?>
|
||||
<br>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>add/page">Add new page</a>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>add/page"><?php echo i18n('Add_new_page');?></a>
|
||||
<br><br>
|
||||
<?php get_user_pages(); ?>
|
||||
|
|
@ -12,7 +12,7 @@ $updater = new HubUpdater(array(
|
|||
|
||||
if ($updater->able()) {
|
||||
$info = $updater->getNewestInfo();
|
||||
echo '<h2>Update Available</h2><hr>';
|
||||
echo '<h2>'.i18n('Update_Available').'</h2><hr>';
|
||||
echo '<h4>'. $info['name'] .'</h4>';
|
||||
echo '<p>Version: <strong>'. $info['tag_name'] .'</strong></p>';
|
||||
echo '<h5>Release Notes</h5>';
|
||||
|
|
@ -20,9 +20,9 @@ if ($updater->able()) {
|
|||
echo \Michelf\MarkdownExtra::defaultTransform($info['body']);
|
||||
echo '</div>';
|
||||
echo '<p><strong>Important:</strong> Please always backup your files before upgrading to newer version.</p>';
|
||||
echo '<p><a class="btn btn-primary" href="' . site_url() . 'admin/update/now/' . $CSRF . '" alt="' . $info['name'] . '">Update to ' . $info['tag_name'] . ' now</a></p>';
|
||||
echo '<p><a class="btn btn-primary" href="' . site_url() . 'admin/update/now/' . $CSRF . '" alt="' . $info['name'] . '">'.i18n('Update_to').' '. $info['tag_name'] . ' '.i18n('now').'</a></p>';
|
||||
} else {
|
||||
echo '<h2>Congrats! You have the latest version of HTMLy</h2><hr>';
|
||||
echo '<h2>'.i18n('Congrats_You_have_the_latest_version_of_HTMLy').'</h2><hr>';
|
||||
$info = $updater->getCurrentInfo();
|
||||
echo '<h4>'. $info['name'] .'</h4>';
|
||||
echo '<p>Installed Version: <strong>'. $info['tag_name'] .'</strong></p>';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<h3>Updated to<h3>
|
||||
<h3><?php echo i18n('Updated_to');?><h3>
|
||||
<h2>[<?php echo $info['tag_name']; ?>] <?php echo $info['name']; ?></h2>
|
||||
<p><?php echo \Michelf\MarkdownExtra::defaultTransform($info['body']); ?></p>
|
||||
<?php require_once "system/upgrade/run.php"; ?>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<h2 class="post-index"><?php echo $heading ?></h2>
|
||||
<br>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>admin/content">Add new post</a>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>admin/content"><?php echo i18n('Add_new_post');?></a>
|
||||
<br><br>
|
||||
<?php if (!empty($posts)) { ?>
|
||||
<table class="table post-list">
|
||||
|
|
@ -39,15 +39,15 @@
|
|||
<div class="pager">
|
||||
<ul class="pagination">
|
||||
<?php if (!empty($pagination['prev'])) { ?>
|
||||
<li class="newer page-item"><a class="page-link" href="?page=<?php echo $page - 1 ?>" rel="prev">← Newer</a></li>
|
||||
<li class="newer page-item"><a class="page-link" href="?page=<?php echo $page - 1 ?>" rel="prev">← <?php echo i18n('Newer');?></a></li>
|
||||
<?php } else { ?>
|
||||
<li class="page-item disabled" ><span class="page-link">← Newer</span></li>
|
||||
<li class="page-item disabled" ><span class="page-link">← <?php echo i18n('Newer');?></span></li>
|
||||
<?php } ?>
|
||||
<li class="page-number page-item disabled"><span class="page-link"><?php echo $pagination['pagenum'];?></span></li>
|
||||
<?php if (!empty($pagination['next'])) { ?>
|
||||
<li class="older page-item" ><a class="page-link" href="?page=<?php echo $page + 1 ?>" rel="next">Older →</a></li>
|
||||
<li class="older page-item" ><a class="page-link" href="?page=<?php echo $page + 1 ?>" rel="next"><?php echo i18n('Older');?> →</a></li>
|
||||
<?php } else { ?>
|
||||
<li class="page-item disabled" ><span class="page-link">Older →</span></li>
|
||||
<li class="page-item disabled" ><span class="page-link"><?php echo i18n('Older');?> →</span></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<h2 class="post-index"><?php echo $heading ?></h2>
|
||||
<br>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>admin/content">Add new post</a>
|
||||
<a class="btn btn-primary right" href="<?php echo site_url();?>admin/content"><?php echo i18n('Add_new_post');?></a>
|
||||
<br><br>
|
||||
<?php if (!empty($posts)) { ?>
|
||||
<table class="table post-list">
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
<?php endif; ?>
|
||||
<td><a href="<?php echo str_replace('category', 'admin/categories', $p->categoryUrl); ?>"><?php echo strip_tags($p->category);?></a></td>
|
||||
<td><?php echo $p->tag ?></td>
|
||||
<td><a class="btn btn-primary btn-xs" href="<?php echo $p->url ?>/edit?destination=admin/mine">Edit</a> <a class="btn btn-danger btn-xs" href="<?php echo $p->url ?>/delete?destination=admin/mine"><?php echo i18n('Delete');?></a></td>
|
||||
<td><a class="btn btn-primary btn-xs" href="<?php echo $p->url ?>/edit?destination=admin/mine"><?php echo i18n('Edit');?></a> <a class="btn btn-danger btn-xs" href="<?php echo $p->url ?>/delete?destination=admin/mine"><?php echo i18n('Delete');?></a></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
|
|
@ -45,15 +45,15 @@
|
|||
<div class="pager">
|
||||
<ul class="pagination">
|
||||
<?php if (!empty($pagination['prev'])) { ?>
|
||||
<li class="newer page-item"><a class="page-link" href="?page=<?php echo $page - 1 ?>" rel="prev">← Newer</a></li>
|
||||
<li class="newer page-item"><a class="page-link" href="?page=<?php echo $page - 1 ?>" rel="prev">← <?php echo i18n('Newer');?></a></li>
|
||||
<?php } else { ?>
|
||||
<li class="page-item disabled" ><span class="page-link">← Newer</span></li>
|
||||
<li class="page-item disabled" ><span class="page-link">← <?php echo i18n('Newer');?></span></li>
|
||||
<?php } ?>
|
||||
<li class="page-number page-item disabled"><span class="page-link"><?php echo $pagination['pagenum'];?></span></li>
|
||||
<?php if (!empty($pagination['next'])) { ?>
|
||||
<li class="older page-item" ><a class="page-link" href="?page=<?php echo $page + 1 ?>" rel="next">Older →</a></li>
|
||||
<li class="older page-item" ><a class="page-link" href="?page=<?php echo $page + 1 ?>" rel="next"><?php echo i18n('Older');?> →</a></li>
|
||||
<?php } else { ?>
|
||||
<li class="page-item disabled" ><span class="page-link">Older →</span></li>
|
||||
<li class="page-item disabled" ><span class="page-link"><?php echo i18n('Older');?> →</span></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue