29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-26 07:13:21 +00:00

#$ [#21712] Weblinks /menu-items params correction. Thanks Bill.

git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@18322 6f6e1ebd-4c2b-0410-823f-f34bde69bce9
This commit is contained in:
Jean-Marie Simonet 2010-08-03 19:54:54 +00:00
parent d2e1796f40
commit bfb81bc2bb
20 changed files with 373 additions and 317 deletions

View File

@ -16,7 +16,7 @@
<field
name="title"
type="text"
label="JGLOBAL_TITLE"
label="COM_MENUS_ITEM_FIELD_TITLE_LABEL"
description="COM_MENUS_ITEM_FIELD_TITLE_DESC"
class="inputbox"
size="40"

View File

@ -24,6 +24,12 @@
<fieldset name="page-options"
label="COM_MENUS_PAGE_OPTIONS_LABEL"
>
<field name="page_title" type="text"
label="COM_MENUS_ITEM_FIELD_PAGE_TITLE_LABEL"
description="COM_MENUS_ITEM_FIELD_PAGE_TITLE_DESC" />
<field name="show_page_heading" type="radio"
label="COM_MENUS_ITEM_FIELD_SHOW_PAGE_HEADING_LABEL"
description="COM_MENUS_ITEM_FIELD_SHOW_PAGE_HEADING_DESC"
@ -32,11 +38,7 @@
<option value="0" class="no">JNO</option>
<option value="1" class="yes">JYES</option>
</field>
<field name="page_title" type="text"
label="COM_MENUS_ITEM_FIELD_PAGE_TITLE_LABEL"
description="COM_MENUS_ITEM_FIELD_PAGE_TITLE_DESC" />
<field name="page_heading" type="text"
label="COM_MENUS_ITEM_FIELD_PAGE_HEADING_LABEL"
description="COM_MENUS_ITEM_FIELD_PAGE_HEADING_DESC" />

View File

@ -5,85 +5,6 @@
description="COM_WEBLINKS_COMPONENT_DESC"
>
<field name="show_comp_description" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_DESCRIPTION_DESC"
label="JGLOBAL_DESCRIPTION"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="comp_description" type="textarea"
cols="50"
description="COM_WEBLINKS_FIELD_CONFIG_INTRO_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_INTRO_LABEL"
rows="3"
/>
<field name="show_link_hits" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_HITS_DESC"
label="JGLOBAL_HITS"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_link_description" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_LABEL"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_other_cats" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_OTHERCATS_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_OTHERCATS_LABEL"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_headings" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_SHOWHEADINGS_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_SHOWHEADINGS_LABEL"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_numbers" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_LABEL"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_report" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_SHOWREPORT_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_SHOWREPORT_LABEL"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="count_clicks" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_COUNTCLICKS_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_COUNTCLICKS_LABEL"
>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="target" type="list"
default="0"
description="COM_WEBLINKS_FIELD_TARGET_DESC"
@ -94,12 +15,167 @@
<option value="2">JBROWSERTARGET_POPUP</option>
<option value="3">JBROWSERTARGET_MODAL</option>
</field>
<field name="count_clicks" type="radio"
default="0"
label="COM_WEBLINKS_FIELD_COUNTCLICKS_LABEL"
description="COM_WEBLINKS_FIELD_COUNTCLICKS_DESC">
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="link_icons" type="media"
description="COM_WEBLINKS_FIELD_CONFIG_ICON_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_ICON_LABEL"
/>
/>
</fieldset>
<fieldset name="category"
label="COM_WEBLINKS_CATEGORY_LABEL"
description="COM_WEBLINKS_CATEGORY_DESC"
>
<field name="maxLevel" type="list"
description="JGLOBAL_MAXIMUM_CATEGORY_LEVELS_DESC"
label="JGLOBAL_MAXIMUM_CATEGORY_LEVELS_LABEL"
default="0"
>
<option value="0">JNONE</option>
<option value="-1">JALL</option>
<option value="1">J1</option>
<option value="2">J2</option>
<option value="3">J3</option>
<option value="4">J4</option>
<option value="5">J5</option>
</field>
<field name="show_empty_categories" type="radio"
label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
description="JGLOBAL_SHOW_EMPTY_CATEGORIES_DESC"
default="0"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_cat_num_links" type="radio"
default="0"
description="COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_LABEL"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_subcat_desc" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_SUBCAT_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_SUBCAT_LABEL"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field
name="spacer1"
type="spacer"
hr="true"
/>
<field name="show_category_title" type="radio"
label="JGLOBAL_SHOW_CATEGORY_TITLE"
description="JGLOBAL_SHOW_CATEGORY_TITLE_DESC"
default="0"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_description"
type="radio"
default="0"
label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL"
description="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_DESC">
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_description_image"
type="radio"
default="0"
label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL"
description="JGLOBAL_SHOW_CATEGORY_IMAGE_DESC">
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
</fieldset>
<fieldset name="list_layout"
label="COM_WEBLINKS_LIST_LAYOUT_LABEL"
description="COM_WEBLINKS_LIST_LAYOUT_DESC"
>
<field
name="show_pagination_limit"
type="radio" default="1"
label="JGLOBAL_DISPLAY_SELECT_LABEL"
description="JGLOBAL_DISPLAY_SELECT_DESC">
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_headings" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_SHOWHEADINGS_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_SHOWHEADINGS_LABEL"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_link_description" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_LABEL"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_link_hits" type="radio"
default="1"
description="COM_WEBLINKS_FIELD_CONFIG_HITS_DESC"
label="JGLOBAL_HITS"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_pagination"
type="list"
default="2"
label="JGLOBAL_PAGINATION_LABEL"
description="JGLOBAL_PAGINATION_DESC">
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
<option value="2">JGLOBAL_AUTO</option>
</field>
<field name="show_pagination_results"
type="radio"
default="1"
label="JGLOBAL_PAGINATION_RESULTS_LABEL"
description="JGLOBAL_PAGINATION_RESULTS_DESC">
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
</fieldset>
<fieldset name="permissions"
description="JCONFIG_PERMISSIONS_DESC"

View File

@ -62,19 +62,20 @@ COM_MENUS_ITEM_FIELD_META_KEYWORDS_DESC="An optional comma-separated list of key
COM_MENUS_ITEM_FIELD_NOTE_DESC="Enter some text here"
COM_MENUS_ITEM_FIELD_PAGE_CLASS_DESC="Optional CSS class to add to elements in this page. This allows CSS styling specific to this page."
COM_MENUS_ITEM_FIELD_PAGE_CLASS_LABEL="Page Class"
COM_MENUS_ITEM_FIELD_PAGE_HEADING_DESC="Optional text inside the &quot;h2&quot; tag. If blank, defaults to Page Title."
COM_MENUS_ITEM_FIELD_PAGE_HEADING_DESC="Optional alternative text for the Page heading."
COM_MENUS_ITEM_FIELD_PAGE_HEADING_LABEL="Page Heading"
COM_MENUS_ITEM_FIELD_PAGE_TITLE_DESC="Optional text for the &quot;title&quot; element. If blank, a default value is used based on the Menu Item Type."
COM_MENUS_ITEM_FIELD_PAGE_TITLE_LABEL="Page Title"
COM_MENUS_ITEM_FIELD_PAGE_TITLE_DESC="Optional text for the &quot;Browser page title&quot; element. If blank, a default value is used based on the Menu Item Title."
COM_MENUS_ITEM_FIELD_PAGE_TITLE_LABEL="Browser Page Title"
COM_MENUS_ITEM_FIELD_PARENT_DESC="Select a Parent Item"
COM_MENUS_ITEM_FIELD_PARENT_LABEL="Parent Item"
COM_MENUS_ITEM_FIELD_SECURE_DESC="Secure Desc"
COM_MENUS_ITEM_FIELD_SECURE_LABEL="Secure"
COM_MENUS_ITEM_FIELD_SHOW_PAGE_HEADING_DESC="Whether or not to show the Page Title in the heading of the page."
COM_MENUS_ITEM_FIELD_SHOW_PAGE_HEADING_DESC="Show / Hide the Browser Page Title in the heading of the page ( If no optional text entered - will default to value based on the Menu Item Title ). The Page heading is usually displayed inside the &quot;H1&quot; tag."
COM_MENUS_ITEM_FIELD_SHOW_PAGE_HEADING_LABEL="Show Page Heading"
COM_MENUS_ITEM_FIELD_TEMPLATE_DESC="Select a specific template style for this menu item or use the default template."
COM_MENUS_ITEM_FIELD_TEMPLATE_LABEL="Template Style"
COM_MENUS_ITEM_FIELD_TITLE_DESC="The title of the menu item that will display in the menu."
COM_MENUS_ITEM_FIELD_TITLE_LABEL="Menu Title"
COM_MENUS_ITEM_FIELD_TYPE_DESC="The type of link: Component, URL, Alias or Separator"
COM_MENUS_ITEM_FIELD_TYPE_LABEL="Menu Item Type"
COM_MENUS_ITEM_IS_DEFAULT="Is default"

View File

@ -7,8 +7,10 @@
COM_WEBLINKS="Weblinks"
COM_WEBLINKS_ACCESS_HEADING="Access"
COM_WEBLINKS_CATEGORY_HEADING="Category"
COM_WEBLINKS_COMPONENT_DESC="These settings apply for Weblinks layouts unless they are changed for a specific menu item or Weblink."
COM_WEBLINKS_COMPONENT_LABEL="Display"
COM_WEBLINKS_COMPONENT_DESC="These settings apply for Weblinks unless they are changed for a specific menu item or Weblink."
COM_WEBLINKS_COMPONENT_LABEL="Weblink"
COM_WEBLINKS_CATEGORY_DESC="These settings apply for Weblinks Category Options unless they are changed for a specific menu item. The top options are shared between Categories and Category - the lower options apply to a Category only."
COM_WEBLINKS_CATEGORY_LABEL="Category Options"
COM_WEBLINKS_CONFIGURATION="Web Links Manager Options"
COM_WEBLINKS_EDIT_WEBLINK="Edit Web Link"
COM_WEBLINKS_ERR_TABLES_NAME="There is already a Web Link with that name in this category. Please try again."
@ -31,12 +33,16 @@ COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_LABEL="Links description"
COM_WEBLINKS_FIELD_CONFIG_OTHERCATS_DESC="Show/hide other categories"
COM_WEBLINKS_FIELD_CONFIG_OTHERCATS_LABEL="Other categories"
COM_WEBLINKS_FIELD_CONFIG_SHOWHEADINGS_DESC="Show/Hide the Table Headings"
COM_WEBLINKS_FIELD_CONFIG_SHOWHEADINGS_LABEL="Headings"
COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_DESC="Show/Hide the Web links Numbers"
COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_LABEL="Web links Numbers"
COM_WEBLINKS_FIELD_CONFIG_SHOWHEADINGS_LABEL="Table Headings"
COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_DESC="Show/Hide the number of Web links in each Category"
COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_LABEL="# Web links in Category"
COM_WEBLINKS_FIELD_CONFIG_SUBCAT_DESC="Show/Hide the Subcategory Description"
COM_WEBLINKS_FIELD_CONFIG_SUBCAT_LABEL="Subcategories Description"
COM_WEBLINKS_FIELD_CONFIG_SHOWREPORT_DESC="Show/Hide the Report Bad Link option"
COM_WEBLINKS_FIELD_CONFIG_SHOWREPORT_LABEL="Reports"
COM_WEBLINKS_FIELD_COUNTCLICKS_DESC="If set to yes, the number of times the link has been clicked will be recorded"
COM_WEBLINKS_FIELD_CONFIG_CHILDREN_DESC="Also Show the subcategories that are installed in the Category Directory Tree. "
COM_WEBLINKS_FIELD_CONFIG_CHILDREN_LABEL="Show Sub SubCategories"
COM_WEBLINKS_FIELD_COUNTCLICKS_LABEL="Count Clicks"
COM_WEBLINKS_FIELD_DESCRIPTION_DESC="Enter a description for the web link."
COM_WEBLINKS_FIELD_DISPLAY_NUM_DESC="Default number of Web links to list on a page."
@ -56,6 +62,8 @@ COM_WEBLINKS_FIELD_VALUE_REPORTED="Reported"
COM_WEBLINKS_FIELDSET_OPTIONS="Basic Options"
COM_WEBLINKS_FILTER_CATEGORY="Filter Category"
COM_WEBLINKS_FILTER_STATE="Filter State"
COM_WEBLINKS_LIST_LAYOUT_DESC="These settings apply for Weblinks list Layout Options unless they are changed for a specific menu item."
COM_WEBLINKS_LIST_LAYOUT_LABEL="List Layout Options"
COM_WEBLINKS_MANAGER_WEBLINK="Web Links Manager: Web Link"
COM_WEBLINKS_MANAGER_WEBLINKS="Web Links Manager: Web Links"
COM_WEBLINKS_N_ITEMS_ARCHIVED="%d weblinks successfully archived"
@ -83,4 +91,5 @@ COM_WEBLINKS_SEARCH_IN_TITLE="Search in title"
COM_WEBLINKS_SUBMENU_CATEGORIES="Categories"
COM_WEBLINKS_SUBMENU_WEBLINKS="Web Links"
COM_WEBLINKS_XML_DESCRIPTION="Component for web links management"
JGLOBAL_NEWITEMSLAST_DESC="New Weblinks default to the last position. Ordering can be changed after this Weblink is saved."
JGLOBAL_NEWITEMSLAST_DESC="New Weblinks default to the last position. Ordering can be changed after this Weblink is saved."
JGLOBAL_SHOW_EMPTY_CATEGORIES_DESC="If Show, empty categories will display. A category is only empty - if it has no weblinks or subcategories."

View File

@ -322,8 +322,8 @@ JGLOBAL_LIST_HITS_DESC="Whether to show article hits in the list of articles."
JGLOBAL_LIST_HITS_LABEL="Show Hits in List"
JGLOBAL_LIST_LAYOUT_OPTIONS="List Layout Options"
JGLOBAL_LIST_NOTE="(<span>Note</span>: %s)"
JGLOBAL_MAXIMUM_CATEGORY_LEVELS_DESC="The maximum number of subcategory levels to include in the list or blog. Used when Max Levels is selected. For example, a value of 1 means only include immediate subcategories. A value of 2 means also include sub-subcategories."
JGLOBAL_MAXIMUM_CATEGORY_LEVELS_LABEL="Maximum Subcategory Levels"
JGLOBAL_MAXIMUM_CATEGORY_LEVELS_DESC="The number of subcategory levels to display."
JGLOBAL_MAXIMUM_CATEGORY_LEVELS_LABEL="Subcategory Levels"
JGLOBAL_MENUS_LAYOUT_INTEGRATION_OPTIONS_LABEL="Integration Options"
JGLOBAL_MENU_SELECTION="Menu Selection:"
JGLOBAL_MODIFIED="Modified"
@ -351,7 +351,7 @@ JGLOBAL_OLDEST_FIRST="Oldest first"
JGLOBAL_ORDERING_DATE_DESC="If articles are ordered by date, which date to use."
JGLOBAL_ORDERING_DATE_LABEL="Date for Ordering"
JGLOBAL_ORDERING="Article Manager Order"
JGLOBAL_PAGINATION_DESC="Show or hide Pagination support. Pagination provides page links at the bottom of the page that allow the User to navigate to additional pages. These are needed if the Articles will not fit on one page."
JGLOBAL_PAGINATION_DESC="Show or hide Pagination support. Pagination provides page links at the bottom of the page that allow the User to navigate to additional pages. These are needed if the Information will not fit on one page."
JGLOBAL_PAGINATION_LABEL="Pagination"
JGLOBAL_PAGINATION_RESULTS_DESC="Show or hide pagination results information, for example, &quot;Page 1 of 4&quot;."
JGLOBAL_PAGINATION_RESULTS_LABEL="Pagination Results"
@ -422,15 +422,14 @@ JGLOBAL_LIST_TITLE_LABEL="Category Title"
JGLOBAL_NUMBER_CATEGORY_ITEMS_DESC="If Show, the number of articles in the category will show."
JGLOBAL_NUMBER_CATEGORY_ITEMS_LABEL="Show Article Count"
JGLOBAL_SHOW_CATEGORY_TITLE="Category Title"
JGLOBAL_SHOW_CATEGORY_TITLE_DESC="If Show, the Category Title will show as a subheading on the page."
JGLOBAL_SHOW_EMPTY_CATEGORIES_DESC="If Show, empty categories will display."
JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL="Show empty Categories"
JGLOBAL_SHOW_CATEGORY_TITLE_DESC="If Show, the Category Title will show as a subheading on the page. The subheading is usually displayed inside the &quot;H2&quot; tag."
JGLOBAL_SHOW_EMPTY_CATEGORIES_DESC="If Show, empty categories will display. A category is only empty - if it has no items or subcategories."
JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL="Empty Categories"
JGLOBAL_SUBHEADING_DESC="Optional text to show as a subheading."
JGLOBAL_SUBHEADING_LABEL="Page Subheading"
JGLOBAL_MAXLEVEL_DESC="Maximum number of levels of subcategories to show."
JGLOBAL_MAXLEVEL_LABEL="Subcategory Levels"
JGLOBAL_WIDTH="Width"
JGRID_HEADING_ACCESS="Access"
JGRID_HEADING_CATEGORY="Category"
JGRID_HEADING_CREATED_BY="Created by"

View File

@ -49,7 +49,7 @@ COM_MENUS_ITEM_FIELD_ANCHOR_TITLE_DESC="An optional, custom description for the
COM_MENUS_ITEM_FIELD_ANCHOR_TITLE_LABEL="Link Title Attribute"
COM_MENUS_ITEM_FIELD_ASSIGNED_DESC="Shows which menu a link will appear in."
COM_MENUS_ITEM_FIELD_ASSIGNED_LABEL=" Menu Location"
COM_MENUS_ITEM_FIELD_BROWSERNAV_DESC="BrowserNav Desc"
COM_MENUS_ITEM_FIELD_BROWSERNAV_DESC="Target browser window when the menu item is clicked."
COM_MENUS_ITEM_FIELD_BROWSERNAV_LABEL="Target Window"
COM_MENUS_ITEM_FIELD_HOME_DESC="Sets this menu item as the default or home page of the site. You must have a default page set at all times."
COM_MENUS_ITEM_FIELD_HOME_LABEL="Default Page"
@ -62,25 +62,23 @@ COM_MENUS_ITEM_FIELD_META_KEYWORDS_DESC="An optional comma-separated list of key
COM_MENUS_ITEM_FIELD_NOTE_DESC="Enter some text here"
COM_MENUS_ITEM_FIELD_PAGE_CLASS_DESC="Optional CSS class to add to elements in this page. This allows CSS styling specific to this page."
COM_MENUS_ITEM_FIELD_PAGE_CLASS_LABEL="Page Class"
COM_MENUS_ITEM_FIELD_PAGE_HEADING_DESC="Optional text inside the &quot;h2&quot; tag. If blank, defaults to Page Title."
COM_MENUS_ITEM_FIELD_PAGE_HEADING_DESC="Optional alternative text for the Page heading."
COM_MENUS_ITEM_FIELD_PAGE_HEADING_LABEL="Page Heading"
COM_MENUS_ITEM_FIELD_PAGE_TITLE_DESC="Optional text for the &quot;title&quot; element. If blank, a default value is used based on the Menu Item Type."
COM_MENUS_ITEM_FIELD_PAGE_TITLE_LABEL="Page Title"
COM_MENUS_ITEM_FIELD_PARAMS_DESC="Params Desc??"
COM_MENUS_ITEM_FIELD_PARENT_DESC="Parent Desc"
COM_MENUS_ITEM_FIELD_PAGE_TITLE_DESC="Optional text for the &quot;Browser page title&quot; element. If blank, a default value is used based on the Menu Item Title."
COM_MENUS_ITEM_FIELD_PAGE_TITLE_LABEL="Browser Page Title"
COM_MENUS_ITEM_FIELD_PARENT_DESC="Select a Parent Item"
COM_MENUS_ITEM_FIELD_PARENT_LABEL="Parent Item"
COM_MENUS_ITEM_FIELD_SECURE_DESC="Secure Desc"
COM_MENUS_ITEM_FIELD_SECURE_LABEL="Secure"
COM_MENUS_ITEM_FIELD_SHOW_PAGE_HEADING_DESC="Whether or not to show the Page Title in the heading of the page."
COM_MENUS_ITEM_FIELD_SHOW_PAGE_HEADING_DESC="Show / Hide the Browser Page Title in the heading of the page ( If no optional text entered - will default to value based on the Menu Item Title ). The Page heading is usually displayed inside the &quot;H1&quot; tag."
COM_MENUS_ITEM_FIELD_SHOW_PAGE_HEADING_LABEL="Show Page Heading"
COM_MENUS_ITEM_FIELD_TEMPLATE_DESC="Select a specific template style for this menu item or use the default template."
COM_MENUS_ITEM_FIELD_TEMPLATE_LABEL="Template Style"
COM_MENUS_ITEM_FIELD_TITLE_DESC="The title of the menu item that will display in the menu."
COM_MENUS_ITEM_FIELD_TITLE_LABEL="Menu Title"
COM_MENUS_ITEM_FIELD_TYPE_DESC="The type of link: Component, URL, Alias or Separator"
COM_MENUS_ITEM_FIELD_TYPE_LABEL="Menu Item Type"
COM_MENUS_ITEM_IS_DEFAULT="Is default"
COM_MENUS_ITEM_MENUTYPE_DESC="MenuType Desc"
COM_MENUS_ITEM_MENUTYPE_LABEL="Contained in Menu"
COM_MENUS_ITEM_MODULE_ASSIGNMENT="Module Assignment for this Menu Item"
COM_MENUS_ITEM_OPTIONS="Menu Item Options"
COM_MENUS_ITEM_OPTIONS="Options"
@ -92,6 +90,7 @@ COM_MENUS_ITEMS_SET_HOME_0="No menu item set to home"
COM_MENUS_ITEMS_SET_HOME_1="One menu item successfully set to home"
COM_MENUS_ITEMS_SET_HOME_MORE="%d menu items successfully set to home"
COM_MENUS_ITEMS_UNSET_HOME="One menu item successfully unset to home"
COM_MENUS_LAYOUT_FEATURED_OPTIONS="Layout Options"
COM_MENUS_LAYOUT_MENUTYPE_OPTIONS_LABEL="Menu Type Options"
COM_MENUS_LINKTYPE_OPTIONS_LABEL="Link Type Options"
COM_MENUS_PAGE_OPTIONS_LABEL="Page Display Options"
@ -102,7 +101,6 @@ COM_MENUS_MENU_ITEM_SAVE_SUCCESS="Menu item successfully saved"
COM_MENUS_MENU_MENUTYPE_DESC="The system name of the menu."
COM_MENUS_MENU_MENUTYPE_LABEL="Menu type"
COM_MENUS_MENU_SAVE_SUCCESS="Menu successfully saved"
COM_MENUS_MENU_SAVE_SUCCESS="Menu successfully saved"
COM_MENUS_MENU_TITLE_DESC="The title of the menu to display in the Administrator Menubar and lists."
COM_MENUS_MENU_TYPE_NOT_ALLOWED="This is a reserved menutype."
; in the following string
@ -149,5 +147,4 @@ COM_MENUS_VIEW_ITEMS_TITLE="Menu Manager: Menu Items"
COM_MENUS_VIEW_MENUS_TITLE="Menu Manager: Menus"
COM_MENUS_VIEW_NEW_ITEM_TITLE="Menu Manager: New Menu Item"
COM_MENUS_VIEW_NEW_MENU_TITLE="Menu Manager: Add Menu"
COM_MENUS_XML_DESCRIPTION="Component for creating menus"
COM_MENUS_XML_DESCRIPTION="Component for creating menus"

View File

@ -7,13 +7,16 @@
COM_WEBLINKS="Weblinks"
COM_WEBLINKS_ACCESS_HEADING="Access"
COM_WEBLINKS_CATEGORY_HEADING="Category"
COM_WEBLINKS_COMPONENT_DESC="These settings apply for Weblinks layouts unless they are changed for a specific menu item or Weblink."
COM_WEBLINKS_COMPONENT_LABEL="Display"
COM_WEBLINKS_COMPONENT_DESC="These settings apply for Weblinks unless they are changed for a specific menu item or Weblink."
COM_WEBLINKS_COMPONENT_LABEL="Weblink"
COM_WEBLINKS_CATEGORY_DESC="These settings apply for Weblinks Category Options unless they are changed for a specific menu item. The top options are shared between Categories and Category - the lower options apply to a Category only."
COM_WEBLINKS_CATEGORY_LABEL="Category Options"
COM_WEBLINKS_CONFIGURATION="Web Links Manager Options"
COM_WEBLINKS_EDIT_WEBLINK="Edit Web Link"
COM_WEBLINKS_ERR_TABLES_NAME="There is already a Web Link with that name in this category. Please try again."
COM_WEBLINKS_ERR_TABLES_PROVIDE_URL="Please provide a valid URL"
COM_WEBLINKS_ERR_TABLES_TITLE="Your Weblink must contain a title."
COM_WEBLINKS_ERROR_UNIQUE_ALIAS="Another Weblink from this category has the same alias"
COM_WEBLINKS_FIELD_ALIAS_DESC="The alias is used in the URL when SEF is on"
COM_WEBLINKS_FIELD_CATEGORY_DESC="Choose a category for this Web link"
COM_WEBLINKS_FIELD_CATEGORYCHOOSE_DESC="Please choose a Web links category to display"
@ -30,12 +33,16 @@ COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_LABEL="Links description"
COM_WEBLINKS_FIELD_CONFIG_OTHERCATS_DESC="Show/hide other categories"
COM_WEBLINKS_FIELD_CONFIG_OTHERCATS_LABEL="Other categories"
COM_WEBLINKS_FIELD_CONFIG_SHOWHEADINGS_DESC="Show/Hide the Table Headings"
COM_WEBLINKS_FIELD_CONFIG_SHOWHEADINGS_LABEL="Headings"
COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_DESC="Show/Hide the Web links Numbers"
COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_LABEL="Web links Numbers"
COM_WEBLINKS_FIELD_CONFIG_SHOWHEADINGS_LABEL="Table Headings"
COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_DESC="Show/Hide the number of Web links in each Category"
COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_LABEL="# Web links in Category"
COM_WEBLINKS_FIELD_CONFIG_SUBCAT_DESC="Show/Hide the Subcategory Description"
COM_WEBLINKS_FIELD_CONFIG_SUBCAT_LABEL="Subcategories Description"
COM_WEBLINKS_FIELD_CONFIG_SHOWREPORT_DESC="Show/Hide the Report Bad Link option"
COM_WEBLINKS_FIELD_CONFIG_SHOWREPORT_LABEL="Reports"
COM_WEBLINKS_FIELD_COUNTCLICKS_DESC="If set to yes, the number of times the link has been clicked will be recorded"
COM_WEBLINKS_FIELD_CONFIG_CHILDREN_DESC="Also Show the subcategories that are installed in the Category Directory Tree. "
COM_WEBLINKS_FIELD_CONFIG_CHILDREN_LABEL="Show Sub SubCategories"
COM_WEBLINKS_FIELD_COUNTCLICKS_LABEL="Count Clicks"
COM_WEBLINKS_FIELD_DESCRIPTION_DESC="Enter a description for the web link."
COM_WEBLINKS_FIELD_DISPLAY_NUM_DESC="Default number of Web links to list on a page."
@ -55,6 +62,8 @@ COM_WEBLINKS_FIELD_VALUE_REPORTED="Reported"
COM_WEBLINKS_FIELDSET_OPTIONS="Basic Options"
COM_WEBLINKS_FILTER_CATEGORY="Filter Category"
COM_WEBLINKS_FILTER_STATE="Filter State"
COM_WEBLINKS_LIST_LAYOUT_DESC="These settings apply for Weblinks list Layout Options unless they are changed for a specific menu item."
COM_WEBLINKS_LIST_LAYOUT_LABEL="List Layout Options"
COM_WEBLINKS_MANAGER_WEBLINK="Web Links Manager: Web Link"
COM_WEBLINKS_MANAGER_WEBLINKS="Web Links Manager: Web Links"
COM_WEBLINKS_N_ITEMS_ARCHIVED="%d weblinks successfully archived"
@ -82,4 +91,5 @@ COM_WEBLINKS_SEARCH_IN_TITLE="Search in title"
COM_WEBLINKS_SUBMENU_CATEGORIES="Categories"
COM_WEBLINKS_SUBMENU_WEBLINKS="Web Links"
COM_WEBLINKS_XML_DESCRIPTION="Component for web links management"
JGLOBAL_NEWITEMSLAST_DESC="New Weblinks default to the last position. Ordering can be changed after this Weblink is saved."
JGLOBAL_NEWITEMSLAST_DESC="New Weblinks default to the last position. Ordering can be changed after this Weblink is saved."
JGLOBAL_SHOW_EMPTY_CATEGORIES_DESC="If Show, empty categories will display. A category is only empty - if it has no weblinks or subcategories."

View File

@ -24,6 +24,13 @@ J30="30"
J50="50"
J100="100"
JH1="h1"
JH2="h2"
JH3="h3"
JH4="h4"
JH5="h5"
ERROR="Error"
JADMINISTRATION="Administration"
JADMINISTRATOR="Administrator"
JALL="All"
@ -220,11 +227,12 @@ JGLOBAL_AUTHOR_ALPHABETICAL="Author Alphabetical"
JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL="Author Reverse Alphabetical"
JGLOBAL_AUTO="Auto"
JGLOBAL_BLOG="Blog"
JGLOBAL_BLOG_LAYOUT_OPTIONS="Blog Layout Options"
JGLOBAL_CATEGORY_LAYOUT_DESC="Layout"
JGLOBAL_CATEGORY_LAYOUT_LABEL="Choose a layout"
JGLOBAL_CATEGORY_LIST_DISPLAY="List Display Options"
JGLOBAL_CATEGORY_NOT_FOUND="Category not found"
JGLOBAL_CATEGORY_MANAGER_ORDER="Category Manager Order"
JGLOBAL_CATEGORY_OPTIONS="Category Options"
JGLOBAL_CATEGORY_ORDER_DESC="The order that categories will show in."
JGLOBAL_CATEGORY_ORDER_LABEL="Category Order"
JGLOBAL_CHOOSE_CATEGORY_LABEL="Choose a category"
@ -312,9 +320,10 @@ JGLOBAL_LIST_AUTHOR_DESC="Whether to show article author in the list of articles
JGLOBAL_LIST_AUTHOR_LABEL="Show Author in List"
JGLOBAL_LIST_HITS_DESC="Whether to show article hits in the list of articles."
JGLOBAL_LIST_HITS_LABEL="Show Hits in List"
JGLOBAL_LIST_LAYOUT_OPTIONS="List Layout Options"
JGLOBAL_LIST_NOTE="(<span>Note</span>: %s)"
JGLOBAL_MAXIMUM_CATEGORY_LEVELS_DESC="The maximum number of subcategory levels to include in the list or blog. Used when Max Levels is selected. For example, a value of 1 means only include immediate subcategories. A value of 2 means also include sub-subcategories."
JGLOBAL_MAXIMUM_CATEGORY_LEVELS_LABEL="Maximum Subcategory Levels"
JGLOBAL_MAXIMUM_CATEGORY_LEVELS_DESC="The number of subcategory levels to display."
JGLOBAL_MAXIMUM_CATEGORY_LEVELS_LABEL="Subcategory Levels"
JGLOBAL_MENUS_LAYOUT_INTEGRATION_OPTIONS_LABEL="Integration Options"
JGLOBAL_MENU_SELECTION="Menu Selection:"
JGLOBAL_MODIFIED="Modified"
@ -342,7 +351,7 @@ JGLOBAL_OLDEST_FIRST="Oldest first"
JGLOBAL_ORDERING_DATE_DESC="If articles are ordered by date, which date to use."
JGLOBAL_ORDERING_DATE_LABEL="Date for Ordering"
JGLOBAL_ORDERING="Article Manager Order"
JGLOBAL_PAGINATION_DESC="Show or hide Pagination support. Pagination provides page links at the bottom of the page that allow the User to navigate to additional pages. These are needed if the Articles will not fit on one page."
JGLOBAL_PAGINATION_DESC="Show or hide Pagination support. Pagination provides page links at the bottom of the page that allow the User to navigate to additional pages. These are needed if the Information will not fit on one page."
JGLOBAL_PAGINATION_LABEL="Pagination"
JGLOBAL_PAGINATION_RESULTS_DESC="Show or hide pagination results information, for example, &quot;Page 1 of 4&quot;."
JGLOBAL_PAGINATION_RESULTS_LABEL="Pagination Results"
@ -413,15 +422,14 @@ JGLOBAL_LIST_TITLE_LABEL="Category Title"
JGLOBAL_NUMBER_CATEGORY_ITEMS_DESC="If Show, the number of articles in the category will show."
JGLOBAL_NUMBER_CATEGORY_ITEMS_LABEL="Show Article Count"
JGLOBAL_SHOW_CATEGORY_TITLE="Category Title"
JGLOBAL_SHOW_CATEGORY_TITLE_DESC="If Show, the Category Title will show as a subheading on the page."
JGLOBAL_SHOW_EMPTY_CATEGORIES_DESC="If Show, empty categories will display."
JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL="Show empty Categories"
JGLOBAL_SHOW_CATEGORY_TITLE_DESC="If Show, the Category Title will show as a subheading on the page. The subheading is usually displayed inside the &quot;H2&quot; tag."
JGLOBAL_SHOW_EMPTY_CATEGORIES_DESC="If Show, empty categories will display. A category is only empty - if it has no items or subcategories."
JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL="Empty Categories"
JGLOBAL_SUBHEADING_DESC="Optional text to show as a subheading."
JGLOBAL_SUBHEADING_LABEL="Page Subheading"
JGLOBAL_MAXLEVEL_DESC="Maximum number of levels of subcategories to show."
JGLOBAL_MAXLEVEL_LABEL="Subcategory Levels"
JGLOBAL_WIDTH="Width"
JGRID_HEADING_ACCESS="Access"
JGRID_HEADING_CATEGORY="Category"
JGRID_HEADING_CREATED_BY="Created by"
@ -593,10 +601,10 @@ JLIB_APPLICATION_ERROR_VIEW_CLASS_NOT_FOUND="View class not found [class, file]:
JLIB_APPLICATION_ERROR_VIEW_GET_NAME_SUBSTRING="JView: :getName() : Your classname contains the substring 'view'. This causes problems when extracting the classname from the name of your objects view. Avoid Object names with the substring 'view'."
JLIB_APPLICATION_ERROR_VIEW_GET_NAME="JView: :getName() : Cannot get or parse class name."
JLIB_APPLICATION_ERROR_VIEW_NOT_FOUND="View not found [name, type, prefix]: %1$s, %2$s, %3$s"
JLIB_APPLICATION_SUCCESS_ORDERING_SAVED="Ordering successfully saved"
JLIB_APPLICATION_SUCCESS_ORDERING_SAVED="Ordering successfully saved."
JLIB_APPLICATION_ERROR_REORDER_FAILED="Reorder failed. Error: %s"
JLIB_APPLICATION_SAVE_SUCCESS="Item successfully saved."
JLIB_APPLICATION_SUCCESS_ITEM_REORDERED="Item successfully reordered"
JLIB_APPLICATION_SUCCESS_ITEM_REORDERED="Ordering successfully saved."
JLIB_APPLICATION_ERROR_EDIT_STATE_NOT_PERMITTED="Edit state is not permitted"
JLIB_APPLICATION_ERROR_EDIT_ITEM_NOT_PERMITTED="Edit is not permitted"
JLIB_LOGIN_AUTHENTICATE="Username and password do not match"
@ -678,6 +686,8 @@ JLIB_DATABASE_ERROR_ADAPTER_MYSQLI="The MySQL adapter 'mysqli' is not available.
JLIB_DATABASE_ERROR_ANCESTOR_NODES_LOWER_PUBLISHED_STATE="%s: cannot publish items with unpublished parents"
JLIB_DATABASE_ERROR_ANCESTOR_NODES_LOWER_PUBLISHED_STATE="%s: cannot publish items with unpublished parents"
JLIB_DATABASE_ERROR_BIND_FAILED_INVALID_SOURCE_ARGUMENT="%s: :bind failed. Invalid source argument."
JLIB_DATABASE_ERROR_ARTICLE_UNIQUE_ALIAS="Another article from this category has the same alias"
JLIB_DATABASE_ERROR_CATEGORY_UNIQUE_ALIAS="Another category with the same parent category has the same alias"
JLIB_DATABASE_ERROR_CHECK_FAILED="%s: :check Failed - %s"
JLIB_DATABASE_ERROR_CHECKIN_FAILED="%s: :checkIn failed - %s"
JLIB_DATABASE_ERROR_CHECKOUT_FAILED="%s: :checkOut failed - %s"
@ -709,7 +719,7 @@ JLIB_DATABASE_ERROR_MENUTYPE_EXISTS="Menu type exists: %s"
JLIB_DATABASE_ERROR_MENUTYPE="Some menu items or some menu modules related to this menutype are checked out by another user or the default menu item is in this menu"
JLIB_DATABASE_ERROR_MENU_CANNOT_UNSET_DEFAULT="Home menu for languages cannot be unset"
JLIB_DATABASE_ERROR_MENU_DEFAULT_CHECKIN_USER_MISMATCH="The current home menu for this language is checked out"
JLIB_DATABASE_ERROR_MENU_UNIQUE_ALIAS="Another item with the same parent has this alias"
JLIB_DATABASE_ERROR_MENU_UNIQUE_ALIAS="Another menu item with the same parent has this alias"
JLIB_DATABASE_ERROR_MOVE_FAILED="%s: :move failed - %s"
JLIB_DATABASE_ERROR_MUSTCONTAIN_A_TITLE_CATEGORY="Category must have a title"
JLIB_DATABASE_ERROR_MUSTCONTAIN_A_TITLE_EXTENSION="Extension must have a title"
@ -1062,7 +1072,7 @@ JLIB_USER_ERROR_AUTHENTICATION_FAILED_LOAD_PLUGIN="JAuthentication: :authenticat
JLIB_USER_EXCEPTION_ACCESS_USERGROUP_INVALID="User Group does not exist"
JLIB_USER_ERROR_UNABLE_TO_FIND_USER="Unable to find a user with given activation string"
JLIB_USER_ERROR_ID_NOT_EXISTS="JUser: :_load: User %s does not exist"
JLIB_USER_ERROR_PASSWORD_NOT_MATCH="Password do not match. Please re-enter password."
JLIB_USER_ERROR_PASSWORD_NOT_MATCH="Passwords do not match. Please re-enter password."
JLIB_USER_ERROR_BIND_ARRAY="Unable to bind array to user object"
JLIB_USER_ERROR_UNABLE_TO_LOAD_USER="JUser: :_load: Unable to load user with id: %s"
JLIB_UTIL_ERROR_APP_INSTANTIATION="Application Instantiation Error"
@ -1155,9 +1165,8 @@ JWARNING_DELETE_MUST_SELECT="You must select at least one item to permanently de
JWARNING_REMOVE_ROOT_USER="You are logged in using the emergency Root User setting in configuration.php.<br />You should remove $root_user from configuration.php as soon as you have restored control to your site to avoid future security breaches.<br /><a href='index.php?option=com_config&task=application.removeroot'>Click here to try to do it automatically.</a>"
MESSAGE="Message"
;
; Old string format
;
NOTICE="Notice"
ERROR="Error"
; Date format

View File

@ -100,7 +100,7 @@ class WeblinksModelCategories extends JModel
$params->loadJSON($active->params);
}
$options = array();
$options['countItems'] = $params->get('show_numbers', 0) || !$params->get('show_empty_categories', 0);
$options['countItems'] = $params->get('show_cat_num_links', 0) || !$params->get('show_empty_categories', 0);
$categories = JCategories::getInstance('Weblinks', $options);
$this->_parent = $categories->get($this->getState('filter.parentId', 'root'));
if(is_object($this->_parent))

View File

@ -184,7 +184,7 @@ class WeblinksModelCategory extends JModelList
$params = new JRegistry();
$params->loadJSON($active->params);
$options = array();
$options['countItems'] = $params->get('show_item_count', 0) || $params->get('show_empty_categories', 0);
$options['countItems'] = $params->get('show_cat_num_links', 1) || $params->get('show_empty_categories', 0);
$categories = JCategories::getInstance('Weblinks', $options);
$this->_item = $categories->get($this->getState('category.id', 'root'));
if(is_object($this->_item))

View File

@ -26,11 +26,11 @@
<!-- Add fields to the parameters object for the layout. -->
<fields name="params">
<fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS">
<field name="show_base_description" type="radio"
label="JGLOBAL_FIELD_SHOW_BASE_DESCRIPTION_LABEL"
description="JGLOBAL_FIELD_SHOW_BASE_DESCRIPTION_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
@ -44,6 +44,7 @@
description="JGLOBAL_MAXIMUM_CATEGORY_LEVELS_DESC"
label="JGLOBAL_MAXIMUM_CATEGORY_LEVELS_LABEL"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="-1">JALL</option>
<option value="0">JNONE</option>
<option value="1">J1</option>
@ -51,9 +52,10 @@
<option value="3">J3</option>
<option value="4">J4</option>
<option value="5">J5</option>
</field>
<field name="show_empty_categories" type="radio"
<field name="show_empty_categories" type="list"
label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
description="JGLOBAL_SHOW_EMPTY_CATEGORIES_DESC"
>
@ -61,117 +63,26 @@
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_numbers" type="radio"
default="1"
<field name="show_subcat_desc" type="list"
label="COM_WEBLINKS_FIELD_CONFIG_SUBCAT_LABEL"
description="COM_WEBLINKS_FIELD_CONFIG_SUBCAT_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_cat_num_links" type="list"
description="COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_LABEL"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_description" type="list"
description="JGLOBAL_Show_Category_Description_Desc"
label="JGLOBAL_Show_Category_Description_Label"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_description_image" type="list"
description="JGLOBAL_Show_Category_Image_Desc"
label="JGLOBAL_Show_Category_Image_Label"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_cat_num_articles" type="radio"
label="JGLOBAL_FIELD_NUM_CATEGORY_ITEMS_LABEL"
description="JGLOBAL_FIELD_NUM_CATEGORY_ITEMS_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
</fieldset>
<fieldset name="advanced" label="JGLOBAL_LIST_LAYOUT_OPTIONS">
<field name="display_num" type="list"
description="JGLOBAL_Number_Items_List_Desc"
label="JGLOBAL_Number_Items_List_Label"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="5">J5</option>
<option value="10">J10</option>
<option value="15">J15</option>
<option value="20">J20</option>
<option value="25">J25</option>
<option value="30">J30</option>
<option value="50">J50</option>
<option value="100">J100</option>
<option value="0">JALL</option>
</field>
<field name="show_headings" type="list"
description="JGLOBAL_Show_Headings_Desc"
label="JGLOBAL_Show_Headings_Label"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="orderby_pri" type="list"
description="JGLOBAL_Category_Order_Desc"
label="JGLOBAL_Category_Order_Label"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="none">JGLOBAL_No_Order</option>
<option value="alpha">JGLOBAL_Title_Alphabetical</option>
<option value="ralpha">JGLOBAL_Title_Reverse_Alphabetical</option>
<option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option>
</field>
<field name="show_pagination" type="list"
description="JGLOBAL_Pagination_Desc"
label="JGLOBAL_Pagination_Label"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
<option value="2">JGLOBAL_AUTO</option>
</field>
<field name="show_noauth" type="list"
description="JGLOBAL_Show_Unauth_Links_Desc"
label="JGLOBAL_Show_Unauth_Links_Label"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JNo</option>
<option value="1">JYes</option>
</field>
</fieldset>
<fieldset name="integration"
>
<field name="show_feed_link" type="list"
description="JGLOBAL_Show_Feed_Link_Desc"
label="JGLOBAL_Show_Feed_Link_Label"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="feed_summary" type="list"
description="JGLOBAL_Feed_Summary_Desc"
label="JGLOBAL_Feed_Summary_Label"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JGLOBAL_INTRO_TEXT</option>
<option value="1">JGLOBAL_FULL_TEXT</option>
</field>
</fieldset>
</field>
</fieldset>
</fields>
</metadata>

View File

@ -27,12 +27,14 @@ if (count($this->items[$this->parent->id]) > 0 && $this->maxLevel != 0) :
<span class="jitem-title"><a href="<?php echo JRoute::_(WeblinksHelperRoute::getCategoryRoute($item->id));?>">
<?php echo $this->escape($item->title); ?></a>
</span>
<?php if ($this->params->get('show_subcat_desc') == 1) :?>
<?php if ($item->description) : ?>
<div class="category-desc">
<?php echo JHtml::_('content.prepare', $item->description); ?>
</div>
<?php endif; ?>
<?php if ($this->params->get('show_numbers') == 1) :?>
<?php endif; ?>
<?php if ($this->params->get('show_cat_num_links') == 1) :?>
<dl class="weblink-count"><dt>
<?php echo JText::_('COM_WEBLINKS_NUM'); ?></dt>
<dd><?php echo $item->numitems; ?></dd>

View File

@ -18,9 +18,9 @@ $pageClass = $this->params->get('pageclass_sfx');
<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>
<?php endif; ?>
<?php if($this->params->get('show_category_title', 1) && $this->params->get('page_subheading')) : ?>
<?php if($this->params->get('show_category_title', 1)) : ?>
<h2>
<?php echo $this->escape($this->params->get('page_subheading')); ?>
<?php echo JHtml::_('content.prepare', $this->category->title); ?>
</h2>
<?php endif; ?>
<?php if ($this->params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?>
@ -36,9 +36,9 @@ $pageClass = $this->params->get('pageclass_sfx');
<?php endif; ?>
<?php echo $this->loadTemplate('items'); ?>
<?php if (!empty($this->children[$this->category->id])) : ?>
<div class="cat-children">
<?php if (!empty($this->children[$this->category->id])&& $this->maxLevel != 0) : ?>
<h3><?php echo JText::_('JGLOBAL_SUBCATEGORIES') ; ?></h3>
<?php echo $this->loadTemplate('children'); ?>
</div>

View File

@ -26,27 +26,16 @@
<!-- Add fields to the parameters object for the layout. -->
<fields name="params">
<fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS">
<field name="maxLevel" type="list"
description="JGLOBAL_MAXIMUM_CATEGORY_LEVELS_DESC"
label="JGLOBAL_MAXIMUM_CATEGORY_LEVELS_LABEL"
>
<option value="-1">JALL</option>
<option value="0">JNONE</option>
<option value="1">J1</option>
<option value="2">J2</option>
<option value="3">J3</option>
<option value="4">J4</option>
<option value="5">J5</option>
</field>
<field name="show_empty_categories" type="radio"
label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
description="JGLOBAL_SHOW_EMPTY_CATEGORIES_DESC"
<field name="show_category_title" type="list"
label="JGLOBAL_SHOW_CATEGORY_TITLE"
description="JGLOBAL_SHOW_CATEGORY_TITLE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_description" type="list"
description="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_DESC"
label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL"
@ -64,31 +53,63 @@
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_cat_num_articles" type="radio"
label="JGLOBAL_FIELD_NUM_CATEGORY_ITEMS_LABEL"
description="JGLOBAL_FIELD_NUM_CATEGORY_ITEMS_DESC"
<field name="maxLevel" type="list"
description="JGLOBAL_MAXIMUM_CATEGORY_LEVELS_DESC"
label="JGLOBAL_MAXIMUM_CATEGORY_LEVELS_LABEL"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JNONE</option>
<option value="-1">JALL</option>
<option value="1">J1</option>
<option value="2">J2</option>
<option value="3">J3</option>
<option value="4">J4</option>
<option value="5">J5</option>
</field>
<field name="show_empty_categories" type="list"
label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
description="JGLOBAL_SHOW_EMPTY_CATEGORIES_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
</fieldset>
<fieldset name="advanced" label="JGLOBAL_LIST_LAYOUT_OPTIONS">
<field name="display_num" type="list"
description="COM_WEBLINKS_FIELD_DISPLAY_NUM_DESC"
label="COM_WEBLINKS_FIELD_DISPLAY_NUM_LABEL"
>
<field name="show_subcat_desc" type="list"
label="COM_WEBLINKS_FIELD_CONFIG_SUBCAT_LABEL"
description="COM_WEBLINKS_FIELD_CONFIG_SUBCAT_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_cat_num_links" type="list"
description="COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_SHOWNUMBERS_LABEL"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
</fieldset>
<fieldset name="advanced" label="JGLOBAL_LIST_LAYOUT_OPTIONS">
<field name="show_pagination_limit" type="list"
label="JGLOBAL_DISPLAY_SELECT_LABEL"
description="JGLOBAL_DISPLAY_SELECT_DESC">
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="5">J5</option>
<option value="10">J10</option>
<option value="15">J15</option>
<option value="20">J20</option>
<option value="25">J25</option>
<option value="30">J30</option>
<option value="50">J50</option>
<option value="100">J100</option>
<option value="0">JALL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_headings" type="list"
description="JGLOBAL_SHOW_HEADINGS_DESC"
label="JGLOBAL_SHOW_HEADINGS_LABEL"
@ -97,18 +118,28 @@
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="orderby_pri" type="list"
description="JGLOBAL_CATEGORY_ORDER_DESC"
label="JGLOBAL_CATEGORY_ORDER_LABEL"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="none">JGLOBAL_No_Order</option>
<option value="alpha">JGLOBAL_Title_Alphabetical</option>
<option value="ralpha">JGLOBAL_Title_Reverse_Alphabetical</option>
<option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option>
</field>
<field name="show_link_description" type="list"
description="COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_DESC"
label="COM_WEBLINKS_FIELD_CONFIG_LINKDESCRIPTION_LABEL"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_link_hits" type="list"
description="COM_WEBLINKS_FIELD_CONFIG_HITS_DESC"
label="JGLOBAL_HITS"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_pagination" type="list"
description="JGLOBAL_PAGINATION_DESC"
label="JGLOBAL_PAGINATION_LABEL"
@ -118,16 +149,17 @@
<option value="1">JSHOW</option>
<option value="2">JGLOBAL_AUTO</option>
</field>
<field name="show_noauth" type="list"
description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC"
label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL"
>
<field name="show_pagination_results" type="list"
label="JGLOBAL_PAGINATION_RESULTS_LABEL"
description="JGLOBAL_PAGINATION_RESULTS_DESC">
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JNo</option>
<option value="1">JYes</option>
</field>
</fieldset>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
</fieldset>
<fieldset name="integration"
>

View File

@ -10,7 +10,7 @@
// no direct access
defined('_JEXEC') or die;
$class = ' class="first"';
if (count($this->children[$this->category->id]) > 0) :
if (count($this->children[$this->category->id]) > 0 && $this->maxLevel != 0) :
?>
<ul>
<?php foreach($this->children[$this->category->id] as $id => $child) : ?>
@ -26,12 +26,23 @@ if (count($this->children[$this->category->id]) > 0) :
<span class="jitem-title"><a href="<?php echo JRoute::_(WeblinksHelperRoute::getCategoryRoute($child->id));?>">
<?php echo $this->escape($child->title); ?></a>
</span>
<?php if ($this->params->get('show_subcat_desc') == 1) :?>
<?php if ($child->description) : ?>
<div class="category-desc">
<?php echo JHtml::_('content.prepare', $child->description); ?>
</div>
<?php endif; ?>
<?php if(count($child->getChildren()) > 0 && $this->params->get('show_children',0) == 1) :
<?php endif; ?>
<?php if ($this->params->get('show_cat_num_links') == 1) :?>
<dl class="weblink-count"><dt>
<?php echo JText::_('COM_WEBLINKS_NUM'); ?></dt>
<dd><?php echo $child->numitems; ?></dd>
</dl>
<?php endif; ?>
<?php if(count($child->getChildren()) > 0 ) :
$this->children[$child->id] = $child->getChildren();
$this->category = $child;
$this->maxLevel--;

View File

@ -36,11 +36,9 @@ $listDirn = $this->state->get('list.direction');
<?php if ($this->params->get('show_headings')==1) : ?>
<thead><tr>
<th class="num">
<?php echo JText::_('COM_WEBLINKS_NUM'); ?>
</th>
<th class="title">
<?php echo JHtml::_('grid.sort', 'COM_WEBLINKS_GRID_SORT', 'title', $listDirn, $listOrder); ?>
<?php echo JHtml::_('grid.sort', 'COM_WEBLINKS_GRID_TITLE', 'title', $listDirn, $listOrder); ?>
</th>
<?php if ($this->params->get('show_link_hits')) : ?>
<th class="hits">
@ -53,9 +51,7 @@ $listDirn = $this->state->get('list.direction');
<tbody>
<?php foreach ($this->items as $i => $item) : ?>
<tr class="<?php echo $i % 2 ? 'odd' : 'even';?>">
<td class="num">
<?php echo $this->pagination->getRowOffset($i); ?>
</td>
<td class="title">
<p>
<?php if ($this->params->get('link_icons') <> -1) : ?>

View File

@ -31,6 +31,7 @@ $ -> Language fix or change
$ Adding missing strings, deleting redundant ones for com_contact.
$ Adding/normalizing some .sys.ini strings/values com_user, com_weblinks
# [#21706] Modifying [#21159] to let cat have the same name/alias when not in same tree when save&copy
#$ [#21712] Weblinks /menu-items params correction. Thanks Bill.
03-Aug-2010 Andrew Eddie
# Fixed issue [#21346] Error in loading order of JS scripts in components (g p).

View File

@ -13,7 +13,7 @@ COM_WEBLINKS_FIELD_TITLE_DESC="Your Web Link must have a Title."
COM_WEBLINKS_FIELD_URL_DESC="You must enter a URL."
COM_WEBLINKS_FIELD_URL_LABEL="URL"
COM_WEBLINKS_FORM_EDIT_WEBLINK="Submit a Web link"
COM_WEBLINKS_GRID_SORT="Sort"
COM_WEBLINKS_GRID_TITLE="Title"
COM_WEBLINKS_LINK="Web Link"
COM_WEBLINKS_NO_WEBLINKS="There are no Web links in this category"
COM_WEBLINKS_NAME="Name"

View File

@ -13,7 +13,7 @@ COM_WEBLINKS_FIELD_TITLE_DESC="Your Web Link must have a Title."
COM_WEBLINKS_FIELD_URL_DESC="You must enter a URL."
COM_WEBLINKS_FIELD_URL_LABEL="URL"
COM_WEBLINKS_FORM_EDIT_WEBLINK="Submit a Web link"
COM_WEBLINKS_GRID_SORT="Sort"
COM_WEBLINKS_GRID_TITLE="Title"
COM_WEBLINKS_LINK="Web Link"
COM_WEBLINKS_NO_WEBLINKS="There are no Web links in this category"
COM_WEBLINKS_NAME="Name"