acf
This commit is contained in:
9
plugins/system/nrframework/xml/conditionbuilder/base.xml
Normal file
9
plugins/system/nrframework/xml/conditionbuilder/base.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<form>
|
||||
<fieldset name="base">
|
||||
<field name="name" type="nrconditions"
|
||||
hiddenLabel="true"
|
||||
class="condition_selector hasChosen"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
12
plugins/system/nrframework/xml/conditions/acymailing.xml
Normal file
12
plugins/system/nrframework/xml/conditions/acymailing.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="acymailing"
|
||||
label="NR_ACYMAILING_LIST"
|
||||
description="NR_ACYMAILING_LIST_DESC"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
11
plugins/system/nrframework/xml/conditions/akeebasubs.xml
Normal file
11
plugins/system/nrframework/xml/conditions/akeebasubs.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="akeebasubs"
|
||||
label="NR_AKEEBASUBS_LEVELS"
|
||||
description="NR_AKEEBASUBS_LEVELS_DESC"
|
||||
multiple="true"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
13
plugins/system/nrframework/xml/conditions/browser.xml
Normal file
13
plugins/system/nrframework/xml/conditions/browser.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general" class="oneline">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nrbrowser"
|
||||
label="NR_ASSIGN_BROWSERS"
|
||||
description="NR_ASSIGN_BROWSERS_DESC"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="componentitems"
|
||||
label="NR_ARTICLE"
|
||||
description="NR_ARTICLES_DESC"
|
||||
class="hasChosen"
|
||||
multiple="true"
|
||||
table="content"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nr_content"
|
||||
label="NR_CATEGORIES"
|
||||
description="NR_CATEGORIES_DESC"
|
||||
group="categories"
|
||||
class="hasChosen"
|
||||
multiple="true"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="inc_children" type="list"
|
||||
default="0"
|
||||
label="NR_ALSO_ON_CHILD_ITEMS"
|
||||
description="NR_ALSO_ON_CHILD_ITEMS_DESC">
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
<option value="2">NR_ONLY</option>
|
||||
</field>
|
||||
<field name="inc" type="list"
|
||||
multiple="true"
|
||||
default="inc_articles"
|
||||
label="NR_PAGE_TYPES"
|
||||
description="NR_PAGE_TYPES_DESC"
|
||||
class="hasChosen">
|
||||
<option value="inc_categories">NR_CATEGORIES</option>
|
||||
<option value="inc_articles">NR_ARTICLES</option>
|
||||
</field>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="list"
|
||||
label="NR_CONTENT_VIEW"
|
||||
description="NR_CONTENT_VIEW_DESC"
|
||||
class="hasChosen"
|
||||
multiple="true">
|
||||
<option value="article">NR_CONTENT_VIEW_ARTICLE</option>
|
||||
<option value="category_blog">NR_CONTENT_VIEW_CATEGORY_BLOG</option>
|
||||
<option value="category">NR_CONTENT_VIEW_CATEGORY_LIST</option>
|
||||
<option value="categories">NR_CONTENT_VIEW_CATEGORIES</option>
|
||||
<option value="archive">NR_CONTENT_VIEW_ARCHIVED</option>
|
||||
<option value="form">NR_CONTENT_VIEW_CREATE_ARTICLE</option>
|
||||
<option value="featured">NR_CONTENT_VIEW_FEATURES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="tfinputrepeater"
|
||||
class="tf-auto-width-columns"
|
||||
label="NR_CART_CONTAINS_PRODUCTS"
|
||||
description="NR_CART_CONTAINS_PRODUCTS_DESC">
|
||||
<form>
|
||||
<field name="value" type="componentitems"
|
||||
label="NR_CART_CONTAINS_PRODUCTS"
|
||||
description="NR_SELECT_PRODUCT"
|
||||
table="hikashop_product"
|
||||
column_id="product_id"
|
||||
column_title="product_name"
|
||||
column_state="product_published"
|
||||
searchPlaceholder="NR_SEARCH_PRODUCTS"
|
||||
/>
|
||||
<field name="params" hiddenLabel="true" type="TFEcommRangeField" prefixLabel="NR_AND_QUANTITY_IS_LC" showIsAnyOption="true" />
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_cart_items_count_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_CART_CONTAINS_X_PRODUCTS"
|
||||
/>
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<fields name="params">
|
||||
<field name="operator" type="comparator" hiddenLabel="true">
|
||||
<option value="equal">NR_EQUAL_TO</option>
|
||||
<option value="not_equal">NR_NOT_EQUAL_TO</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
</fields>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
/>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
class="input-small"
|
||||
hint="1"
|
||||
min="1"
|
||||
/>
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="value2" type="number"
|
||||
hiddenLabel="true"
|
||||
class="input-small"
|
||||
hint="1"
|
||||
min="1"
|
||||
showon="operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_cart_items_count_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_amount_in_cart_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_CART_VALUE"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="total" type="list"
|
||||
hiddenLabel="true"
|
||||
default="total">
|
||||
<option value="total">NR_TOTAL</option>
|
||||
<option value="subtotal">NR_SUBTOTAL</option>
|
||||
</field>
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<field name="operator" type="comparator" hiddenLabel="true">
|
||||
<option value="equal">NR_EQUAL_TO</option>
|
||||
<option value="not_equal">NR_NOT_EQUAL_TO</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
</fields>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
/>
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="value2" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
showon="operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_amount_in_cart_end" type="nr_inline" end="1" />
|
||||
<fields name="params">
|
||||
<field name="exclude_shipping_cost" type="nrtoggle"
|
||||
label="NR_EXCLUDE_SHIPPING_COST"
|
||||
description="NR_EXCLUDE_SHIPPING_COST_DESC"
|
||||
/>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nrhikashopcategories"
|
||||
label="NR_CURRENT_PRODUCT_CATEGORY"
|
||||
description="NR_CONDITION_HIKA_PRODUCT_CATEGORY_DESC"
|
||||
multiple="true"
|
||||
default=""
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="inc_children" type="list"
|
||||
label="NR_ALSO_ON_CHILD_ITEMS"
|
||||
description="NR_ALSO_ON_CHILD_ITEMS_DESC"
|
||||
class="input-medium"
|
||||
default="0">
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
<option value="2">NR_ONLY</option>
|
||||
</field>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nrhikashopcategories"
|
||||
label="NR_CURRENT_CATEGORY"
|
||||
multiple="true"
|
||||
default=""
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="inc_children" type="list"
|
||||
label="NR_ALSO_ON_CHILD_ITEMS"
|
||||
class="input-medium"
|
||||
default="0">
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
<option value="2">NR_ONLY</option>
|
||||
</field>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_current_product_price_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_CURRENT_PRODUCT_PRICE"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<field name="operator" type="comparator" hiddenLabel="true">
|
||||
<option value="equal">NR_EQUAL_TO</option>
|
||||
<option value="not_equal">NR_NOT_EQUAL_TO</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
</fields>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
<field name="value2" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_current_product_price_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_current_product_stock_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_CURRENT_PRODUCT_STOCK"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<field name="operator" type="comparator" hiddenLabel="true">
|
||||
<option value="equal">NR_EQUAL_TO</option>
|
||||
<option value="not_equal">NR_NOT_EQUAL_TO</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
</fields>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
<field name="value2" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_current_product_stock_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_last_purchased_date_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_LAST_PURCHASED_DATE"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<field name="operator" type="list"
|
||||
hiddenLabel="true"
|
||||
default="within_hours">
|
||||
<option value="within_hours">NR_IN_THE_LAST_X_HOURS</option>
|
||||
<option value="within_days">NR_IN_THE_LAST_X_DAYS</option>
|
||||
<option value="within_weeks">NR_IN_THE_LAST_X_WEEKS</option>
|
||||
<option value="within_months">NR_IN_THE_LAST_X_MONTHS</option>
|
||||
<option value="equal">NR_ON</option>
|
||||
<option value="before">NR_BEFORE</option>
|
||||
<option value="after">NR_AFTER</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
<field name="within_value" type="number"
|
||||
hiddenLabel="true"
|
||||
min="1"
|
||||
hint="1"
|
||||
showon="operator:within_hours,within_days,within_weeks,within_months"
|
||||
/>
|
||||
</fields>
|
||||
<field name="value" type="calendar"
|
||||
hiddenLabel="true"
|
||||
size="40"
|
||||
hint="NR_SELECT_DATE"
|
||||
translateformat="true"
|
||||
filter="user_utc"
|
||||
showon="params.operator:before,after,range,equal"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="operator:range"
|
||||
/>
|
||||
<field name="value2" type="calendar"
|
||||
hiddenLabel="true"
|
||||
size="40"
|
||||
hint="NR_SELECT_DATE"
|
||||
translateformat="true"
|
||||
filter="user_utc"
|
||||
showon="operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_last_purchased_date_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_purchased_product_start" type="nr_inline"
|
||||
class="tf-inline-fields tf-align-items-start"
|
||||
label="NR_PURCHASED_PRODUCT"
|
||||
/>
|
||||
<field name="operator" type="comparator" hiddenLabel="true" />
|
||||
<field name="value" type="componentitems"
|
||||
hiddenLabel="true"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
table="hikashop_product"
|
||||
column_id="product_id"
|
||||
column_title="product_name"
|
||||
column_state="product_published"
|
||||
placeholder="NR_SELECT_PRODUCTS"
|
||||
/>
|
||||
<field name="ecomm_purchased_product_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_current_product_start" type="nr_inline"
|
||||
class="tf-inline-fields tf-align-items-start"
|
||||
label="NR_CURRENT_PRODUCT"
|
||||
/>
|
||||
<field name="operator" type="comparator" hiddenLabel="true" />
|
||||
<field name="value" type="componentitems"
|
||||
hiddenLabel="true"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
table="hikashop_product"
|
||||
column_id="product_id"
|
||||
column_title="product_name"
|
||||
column_state="product_published"
|
||||
/>
|
||||
<field name="ecomm_current_product_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_total_spend_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_TOTAL_SPEND"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<field name="operator" type="comparator"
|
||||
hiddenLabel="true"
|
||||
class="noChosen"
|
||||
default="equal">
|
||||
<option value="equal">NR_EQUAL_TO</option>
|
||||
<option value="not_equal">NR_NOT_EQUAL_TO</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
</fields>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
class="input-small"
|
||||
hint="1"
|
||||
min="1"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="operator:range"
|
||||
/>
|
||||
<field name="value2" type="number"
|
||||
hiddenLabel="true"
|
||||
class="input-small"
|
||||
hint="1"
|
||||
min="1"
|
||||
showon="operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_total_spend_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nrk2"
|
||||
label="NR_CATEGORIES"
|
||||
description="NR_ASSIGN_CATEGORY_DESC"
|
||||
group="categories"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="inc_children" type="list"
|
||||
default="0"
|
||||
label="NR_ALSO_ON_CHILD_ITEMS"
|
||||
description="NR_ALSO_ON_CHILD_ITEMS_DESC">
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
<option value="2">NR_ONLY</option>
|
||||
</field>
|
||||
<field name="inc" type="list"
|
||||
multiple="true"
|
||||
default="inc_items"
|
||||
label="NR_PAGE_TYPES"
|
||||
class="hasChosen"
|
||||
description="NR_PAGE_TYPES_DESC">
|
||||
<option value="inc_categories">NR_ASSIGN_K2_CATEGORIES_CATEGORIES_OPTION</option>
|
||||
<option value="inc_items">NR_ASSIGN_K2_CATEGORIES_ITEMS_OPTION</option>
|
||||
</field>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="componentitems"
|
||||
label="NR_ASSIGN_K2_ITEMS"
|
||||
description="NR_ASSIGN_K2_ITEMS_LIST_DESC"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
table="k2_items"
|
||||
column_state="published"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="cont_keywords" type="textarea"
|
||||
label="NR_CONTENT_KEYWORDS"
|
||||
description="NR_ASSIGN_K2_ITEMS_CONTENT_KEYWORDS_DESC"
|
||||
class="span12"
|
||||
rows="5"
|
||||
hint="keyword1, keyword2, keyword3"
|
||||
/>
|
||||
<field name="meta_keywords" type="textarea"
|
||||
label="NR_META_KEYWORDS"
|
||||
description="NR_ASSIGN_K2_ITEMS_META_KEYWORDS_DESC"
|
||||
class="span12"
|
||||
rows="5"
|
||||
hint="keyword1, keyword2, keyword3"
|
||||
/>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nrk2"
|
||||
label="NR_SELECTION"
|
||||
description="NR_ASSIGN_PAGE_TYPES_DESC"
|
||||
group="pagetypes"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nrk2"
|
||||
label="NR_TAG"
|
||||
description="NR_ASSIGN_TAGS_DESC"
|
||||
group="tags"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="tfinputrepeater"
|
||||
class="tf-auto-width-columns"
|
||||
label="NR_CART_CONTAINS_PRODUCTS"
|
||||
description="NR_CART_CONTAINS_PRODUCTS_DESC">
|
||||
<form>
|
||||
<field name="value" type="virtuemartcomponentitems"
|
||||
label="NR_CART_CONTAINS_PRODUCTS"
|
||||
description="NR_SELECT_PRODUCT"
|
||||
column_id="virtuemart_product_id"
|
||||
column_title="product_name"
|
||||
column_state="p.published"
|
||||
join="#__virtuemart_products as p ON i.virtuemart_product_id = p.virtuemart_product_id"
|
||||
searchPlaceholder="NR_SEARCH_PRODUCTS"
|
||||
/>
|
||||
<field name="params" hiddenLabel="true" type="TFEcommRangeField" prefixLabel="NR_AND_QUANTITY_IS_LC" showIsAnyOption="true" />
|
||||
</form>
|
||||
</field>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_cart_items_count_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_CART_CONTAINS_X_PRODUCTS"
|
||||
/>
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<fields name="params">
|
||||
<field name="operator" type="comparator" hiddenLabel="true">
|
||||
<option value="equal">NR_EQUAL_TO</option>
|
||||
<option value="not_equal">NR_NOT_EQUAL_TO</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
</fields>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
/>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
class="input-small"
|
||||
hint="1"
|
||||
min="1"
|
||||
/>
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="value2" type="number"
|
||||
hiddenLabel="true"
|
||||
class="input-small"
|
||||
hint="1"
|
||||
min="1"
|
||||
showon="operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_cart_items_count_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_amount_in_cart_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_CART_VALUE"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="total" type="list"
|
||||
hiddenLabel="true"
|
||||
default="total">
|
||||
<option value="total">NR_TOTAL</option>
|
||||
<option value="subtotal">NR_SUBTOTAL</option>
|
||||
</field>
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<field name="operator" type="comparator" hiddenLabel="true">
|
||||
<option value="equal">NR_EQUAL_TO</option>
|
||||
<option value="not_equal">NR_NOT_EQUAL_TO</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
</fields>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
/>
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="value2" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
showon="operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_amount_in_cart_end" type="nr_inline" end="1" />
|
||||
<fields name="params">
|
||||
<field name="exclude_shipping_cost" type="nrtoggle"
|
||||
label="NR_EXCLUDE_SHIPPING_COST"
|
||||
description="NR_EXCLUDE_SHIPPING_COST_DESC"
|
||||
/>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nrvirtuemartcategories"
|
||||
label="NR_CURRENT_PRODUCT_CATEGORY"
|
||||
description="NR_CONDITION_VM_PRODUCT_CATEGORY_DESC"
|
||||
multiple="true"
|
||||
default=""
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="inc_children" type="list"
|
||||
label="NR_ALSO_ON_CHILD_ITEMS"
|
||||
description="NR_ALSO_ON_CHILD_ITEMS_DESC"
|
||||
class="input-medium"
|
||||
default="0">
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
<option value="2">NR_ONLY</option>
|
||||
</field>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nrvirtuemartcategories"
|
||||
label="NR_CURRENT_CATEGORY"
|
||||
multiple="true"
|
||||
default=""
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="inc_children" type="list"
|
||||
label="NR_ALSO_ON_CHILD_ITEMS"
|
||||
class="input-medium"
|
||||
default="0">
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
<option value="2">NR_ONLY</option>
|
||||
</field>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_current_product_price_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_CURRENT_PRODUCT_PRICE"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<field name="operator" type="comparator" hiddenLabel="true">
|
||||
<option value="equal">NR_EQUAL_TO</option>
|
||||
<option value="not_equal">NR_NOT_EQUAL_TO</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
</fields>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
<field name="value2" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_current_product_price_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_current_product_stock_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_CURRENT_PRODUCT_STOCK"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<field name="operator" type="comparator" hiddenLabel="true">
|
||||
<option value="equal">NR_EQUAL_TO</option>
|
||||
<option value="not_equal">NR_NOT_EQUAL_TO</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
</fields>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
<field name="value2" type="number"
|
||||
hiddenLabel="true"
|
||||
hint="2"
|
||||
min="0"
|
||||
showon="params.operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_current_product_stock_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_last_purchased_date_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_LAST_PURCHASED_DATE"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<field name="operator" type="list"
|
||||
hiddenLabel="true"
|
||||
default="within_hours">
|
||||
<option value="within_hours">NR_IN_THE_LAST_X_HOURS</option>
|
||||
<option value="within_days">NR_IN_THE_LAST_X_DAYS</option>
|
||||
<option value="within_weeks">NR_IN_THE_LAST_X_WEEKS</option>
|
||||
<option value="within_months">NR_IN_THE_LAST_X_MONTHS</option>
|
||||
<option value="equal">NR_ON</option>
|
||||
<option value="before">NR_BEFORE</option>
|
||||
<option value="after">NR_AFTER</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
<field name="within_value" type="number"
|
||||
hiddenLabel="true"
|
||||
min="1"
|
||||
hint="1"
|
||||
showon="operator:within_hours,within_days,within_weeks,within_months"
|
||||
/>
|
||||
</fields>
|
||||
<field name="value" type="calendar"
|
||||
hiddenLabel="true"
|
||||
size="40"
|
||||
hint="NR_SELECT_DATE"
|
||||
translateformat="true"
|
||||
filter="user_utc"
|
||||
showon="params.operator:before,after,range,equal"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="operator:range"
|
||||
/>
|
||||
<field name="value2" type="calendar"
|
||||
hiddenLabel="true"
|
||||
size="40"
|
||||
hint="NR_SELECT_DATE"
|
||||
translateformat="true"
|
||||
filter="user_utc"
|
||||
showon="operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_last_purchased_date_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_purchased_product_start" type="nr_inline"
|
||||
class="tf-inline-fields tf-align-items-start"
|
||||
label="NR_PURCHASED_PRODUCT"
|
||||
/>
|
||||
<field name="operator" type="comparator" hiddenLabel="true" />
|
||||
<field name="value" type="virtuemartcomponentitems"
|
||||
hiddenLabel="true"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
column_id="virtuemart_product_id"
|
||||
column_title="product_name"
|
||||
column_state="p.published"
|
||||
join="#__virtuemart_products as p ON i.virtuemart_product_id = p.virtuemart_product_id"
|
||||
/>
|
||||
<field name="ecomm_purchased_product_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_current_product_start" type="nr_inline"
|
||||
class="tf-inline-fields tf-align-items-start"
|
||||
label="NR_CURRENT_PRODUCT"
|
||||
/>
|
||||
<field name="operator" type="comparator" hiddenLabel="true" />
|
||||
<field name="value" type="virtuemartcomponentitems"
|
||||
hiddenLabel="true"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
column_id="virtuemart_product_id"
|
||||
column_title="product_name"
|
||||
column_state="p.published"
|
||||
join="#__virtuemart_products as p ON i.virtuemart_product_id = p.virtuemart_product_id"
|
||||
/>
|
||||
<field name="ecomm_current_product_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="ecomm_total_spend_start" type="nr_inline"
|
||||
class="tf-inline-fields"
|
||||
label="NR_TOTAL_SPEND"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
|
||||
<field name="operator" type="comparator"
|
||||
hiddenLabel="true"
|
||||
class="noChosen"
|
||||
default="equal">
|
||||
<option value="equal">NR_EQUAL_TO</option>
|
||||
<option value="not_equal">NR_NOT_EQUAL_TO</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="range">NR_BETWEEN</option>
|
||||
</field>
|
||||
</fields>
|
||||
<field name="value" type="number"
|
||||
hiddenLabel="true"
|
||||
class="input-small"
|
||||
hint="1"
|
||||
min="1"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="range_note" type="note"
|
||||
class="tf-note-and"
|
||||
description="NR_AND_LC"
|
||||
showon="operator:range"
|
||||
/>
|
||||
<field name="value2" type="number"
|
||||
hiddenLabel="true"
|
||||
class="input-small"
|
||||
hint="1"
|
||||
min="1"
|
||||
showon="operator:range"
|
||||
/>
|
||||
</fields>
|
||||
<field name="ecomm_total_spend_end" type="nr_inline" end="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
12
plugins/system/nrframework/xml/conditions/convertforms.xml
Normal file
12
plugins/system/nrframework/xml/conditions/convertforms.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general" addfieldpath="administrator/components/com_convertforms/models/forms/fields">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="campaigns"
|
||||
label="NR_CONVERTFORMS_LIST"
|
||||
description="NR_CONVERTFORMS_LIST_DESC"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general" addfieldpath="administrator/components/com_convertforms/models/forms/fields">
|
||||
<field name="operator" type="comparator">
|
||||
<option value="includes">NR_CONVERTFORMS_HAS_SUBMITTED_FORMS</option>
|
||||
<option value="not_includes">NR_CONVERTFORMS_HAS_NOT_SUBMITTED_FORMS</option>
|
||||
</field>
|
||||
<field name="value" type="convertforms"
|
||||
label="NR_CONVERTFORMS_FORMS_LIST"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
32
plugins/system/nrframework/xml/conditions/cookie.xml
Normal file
32
plugins/system/nrframework/xml/conditions/cookie.xml
Normal file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="value" type="text"
|
||||
label="NR_ASSIGN_COOKIENAME_NAME"
|
||||
description="NR_ASSIGN_COOKIENAME_NAME_DESC"
|
||||
hint="NR_ASSIGN_COOKIENAME_NAME"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="operator" type="comparator">
|
||||
<option value="exists">NR_EXISTS</option>
|
||||
<option value="not_exists">NR_NOT_EXISTS</option>
|
||||
<option value="empty">NR_IS_EMPTY</option>
|
||||
<option value="not_empty">NR_IS_NOT_EMPTY</option>
|
||||
<option value="equal">NR_IS_EQUAL</option>
|
||||
<option value="not_equal">NR_DOES_NOT_EQUAL</option>
|
||||
<option value="includes">NR_CONTAINS</option>
|
||||
<option value="not_includes">NR_DOES_NOT_CONTAIN</option>
|
||||
<option value="starts_with">NR_STARTS_WITH</option>
|
||||
<option value="not_starts_with">NR_DOES_NOT_START_WITH</option>
|
||||
<option value="ends_with">NR_ENDS_WITH</option>
|
||||
<option value="not_ends_with">NR_DOES_NOT_END_WITH</option>
|
||||
</field>
|
||||
<field name="content" type="text"
|
||||
label="NR_ASSIGN_COOKIENAME_CONTENT"
|
||||
description="NR_ASSIGN_COOKIENAME_CONTENT_DESC"
|
||||
hint="NR_ASSIGN_COOKIENAME_CONTENT"
|
||||
showon="operator:equal,not_equal,includes,not_includes,starts_with,not_starts_with,ends_with,not_ends_with"
|
||||
/>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
28
plugins/system/nrframework/xml/conditions/date/date.xml
Normal file
28
plugins/system/nrframework/xml/conditions/date/date.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator">
|
||||
<option value="equal">NR_IS_BETWEEN</option>
|
||||
<option value="not_equal">NR_IS_NOT_BETWEEN</option>
|
||||
</field>
|
||||
<fields name="params">
|
||||
<field name="publish_up" type="calendar"
|
||||
filter="user_utc"
|
||||
format="%Y-%m-%d %H:%M"
|
||||
default="now"
|
||||
hint="0000-00-00 00:00"
|
||||
label="NR_START_PUBLISHING"
|
||||
description="NR_START_PUBLISHING_DESC"
|
||||
/>
|
||||
<field name="publish_down" type="calendar"
|
||||
filter="user_utc"
|
||||
format="%Y-%m-%d %H:%M"
|
||||
default="now"
|
||||
hint="0000-00-00 00:00"
|
||||
label="NR_FINISH_PUBLISHING"
|
||||
description="NR_FINISH_PUBLISHING_DESC"
|
||||
/>
|
||||
</fields>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
21
plugins/system/nrframework/xml/conditions/date/day.xml
Normal file
21
plugins/system/nrframework/xml/conditions/date/day.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="list"
|
||||
label="NR_WEEKDAY"
|
||||
class="hasChosen"
|
||||
multiple="true">
|
||||
<option value="Mon">NR_MONDAY</option>
|
||||
<option value="Tue">NR_TUESDAY</option>
|
||||
<option value="Wed">NR_WEDNESDAY</option>
|
||||
<option value="Thu">NR_THURSDAY</option>
|
||||
<option value="Fri">NR_FRIDAY</option>
|
||||
<option value="Sat">NR_SATURDAY</option>
|
||||
<option value="Sun">NR_SUNDAY</option>
|
||||
<option value="Weekend">NR_WEEKEND</option>
|
||||
<option value="Weekday">NR_WEEKDAYS</option>
|
||||
</field>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
24
plugins/system/nrframework/xml/conditions/date/month.xml
Normal file
24
plugins/system/nrframework/xml/conditions/date/month.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="list"
|
||||
label="NR_MONTH"
|
||||
class="hasChosen"
|
||||
multiple="true">
|
||||
<option value="Jan">NR_JANUARY</option>
|
||||
<option value="Feb">NR_FEBRUARY</option>
|
||||
<option value="Mar">NR_MARCH</option>
|
||||
<option value="Apr">NR_APRIL</option>
|
||||
<option value="May">NR_MAY</option>
|
||||
<option value="Jun">NR_JUNE</option>
|
||||
<option value="Jul">NR_JULY</option>
|
||||
<option value="Aug">NR_AUGUST</option>
|
||||
<option value="Sep">NR_SEPTEMBER</option>
|
||||
<option value="Oct">NR_OCTOBER</option>
|
||||
<option value="Nov">NR_NOVEMBER</option>
|
||||
<option value="Dec">NR_DECEMBER</option>
|
||||
</field>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
20
plugins/system/nrframework/xml/conditions/date/time.xml
Normal file
20
plugins/system/nrframework/xml/conditions/date/time.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator">
|
||||
<option value="equal">NR_IS_BETWEEN</option>
|
||||
<option value="not_equal">NR_IS_NOT_BETWEEN</option>
|
||||
</field>
|
||||
<fields name="params">
|
||||
<field name="publish_up" type="nr_time"
|
||||
label="NR_START_TIME"
|
||||
description="NR_START_PUBLISHING_TIMERANGE_DESC"
|
||||
/>
|
||||
<field name="publish_down" type="nr_time"
|
||||
label="NR_END_TIME"
|
||||
description="NR_FINISH_PUBLISHING_TIMERANGE_DESC"
|
||||
/>
|
||||
</fields>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
13
plugins/system/nrframework/xml/conditions/device.xml
Normal file
13
plugins/system/nrframework/xml/conditions/device.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nrdevice"
|
||||
label="NR_ASSIGN_DEVICES"
|
||||
description="NR_ASSIGN_DEVICES_DESC"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
13
plugins/system/nrframework/xml/conditions/engagebox.xml
Normal file
13
plugins/system/nrframework/xml/conditions/engagebox.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general" addfieldpath="administrator/components/com_rstbox/models/forms/fields">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="boxes"
|
||||
label="NR_SELECTION"
|
||||
description="NR_ENGAGEBOX_SELECT_BOX"
|
||||
multiple="true"
|
||||
excludeeditingbox="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
19
plugins/system/nrframework/xml/conditions/geo/city.xml
Normal file
19
plugins/system/nrframework/xml/conditions/geo/city.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="tfinputrepeater"
|
||||
label="NR_CITY_NAME"
|
||||
description="NR_CONDITION_CITY_DESC">
|
||||
<form>
|
||||
<field name="value"
|
||||
class="input-fullwidth"
|
||||
hint="Athens, Berlin, Paris"
|
||||
size="25"
|
||||
type="text" />
|
||||
</form>
|
||||
</field>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
<field name="geochecker" type="GeoDBChecker"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
16
plugins/system/nrframework/xml/conditions/geo/continent.xml
Normal file
16
plugins/system/nrframework/xml/conditions/geo/continent.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nr_geo"
|
||||
label="NR_CONTINENT"
|
||||
description="NR_ASSIGN_CONTINENTS_DESC"
|
||||
multiple="true"
|
||||
geo="continents"
|
||||
showselect="false"
|
||||
class="hasChosen"
|
||||
/>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
<field name="geochecker" type="GeoDBChecker"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
15
plugins/system/nrframework/xml/conditions/geo/country.xml
Normal file
15
plugins/system/nrframework/xml/conditions/geo/country.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nr_geo"
|
||||
label="NR_ASSIGN_COUNTRIES"
|
||||
description="NR_ASSIGN_COUNTRIES_DESC"
|
||||
multiple="true"
|
||||
showselect="false"
|
||||
class="hasChosen"
|
||||
/>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
<field name="geochecker" type="GeoDBChecker"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
18
plugins/system/nrframework/xml/conditions/geo/region.xml
Normal file
18
plugins/system/nrframework/xml/conditions/geo/region.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="tfinputrepeater"
|
||||
label="NR_REGION"
|
||||
description="NR_CONDITION_REGION_DESC">
|
||||
<form>
|
||||
<field name="value"
|
||||
class="input-fullwidth"
|
||||
hint="GB-LND, DE-BE"
|
||||
type="text" />
|
||||
</form>
|
||||
</field>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
<field name="geochecker" type="GeoDBChecker"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
11
plugins/system/nrframework/xml/conditions/homepage.xml
Normal file
11
plugins/system/nrframework/xml/conditions/homepage.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<fields name="params">
|
||||
<field name="operator" type="comparator" label="NR_VISITOR_IS">
|
||||
<option value="is">NR_ON_HOMEPAGE</option>
|
||||
<option value="is_not">NR_NOT_ON_HOMEPAGE</option>
|
||||
</field>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
19
plugins/system/nrframework/xml/conditions/ip.xml
Normal file
19
plugins/system/nrframework/xml/conditions/ip.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="tfinputrepeater"
|
||||
label="NR_IPADDRESS"
|
||||
description="NR_ASSIGN_IP_ADDRESSES_DESC"
|
||||
layout="joomla.form.field.subform.repeatable-table">
|
||||
<form>
|
||||
<field name="value"
|
||||
class="input-fullwidth"
|
||||
hint="180.150.1.6"
|
||||
size="20"
|
||||
type="text" />
|
||||
</form>
|
||||
</field>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="accesslevel"
|
||||
label="NR_USERACCESSLEVEL"
|
||||
description="NR_USERACCESSLEVEL_DESC"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nrcomponents"
|
||||
label="NR_ASSIGN_COMPONENTS"
|
||||
description="NR_ASSIGN_COMPONENTS_DESC"
|
||||
multiple="true"
|
||||
frontend="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="contentlanguage"
|
||||
label="NR_ASSIGN_LANGS"
|
||||
description="NR_ASSIGN_LANGS_LIST_DESC"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
36
plugins/system/nrframework/xml/conditions/joomla/menu.xml
Normal file
36
plugins/system/nrframework/xml/conditions/joomla/menu.xml
Normal file
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"
|
||||
label="NR_MENU_ITEMS"
|
||||
/>
|
||||
<field name="value" type="nrmenuitems"
|
||||
label="NR_MENU_ITEMS"
|
||||
multiple="true"
|
||||
description="NR_MENU_ITEMS_DESC"
|
||||
/>
|
||||
<fields name="params">
|
||||
<field name="noitem" type="list"
|
||||
label="NR_ASSIGN_MENU_NOITEM"
|
||||
description="NR_ASSIGN_MENU_NOITEM_DESC"
|
||||
class="switcher btn-group"
|
||||
filter="intval"
|
||||
size="1"
|
||||
default="0">
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
<field name="inc_children" type="list"
|
||||
label="NR_ASSIGN_MENU_CHILD"
|
||||
description="NR_ASSIGN_MENU_CHILD_DESC"
|
||||
class="switcher btn-group"
|
||||
filter="intval"
|
||||
size="1"
|
||||
default="0">
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
<option value="2">JONLY</option>
|
||||
</field>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nrgrouplevel"
|
||||
label="NR_USERGROUP"
|
||||
description="NR_USERGROUP_DESC"
|
||||
multiple="true"
|
||||
/>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
14
plugins/system/nrframework/xml/conditions/joomla/userid.xml
Normal file
14
plugins/system/nrframework/xml/conditions/joomla/userid.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="tfinputrepeater"
|
||||
label="NR_USER"
|
||||
description="NR_ASSIGN_USER_SELECTION_DESC">
|
||||
<form>
|
||||
<field name="value" type="user" />
|
||||
</form>
|
||||
</field>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
13
plugins/system/nrframework/xml/conditions/os.xml
Normal file
13
plugins/system/nrframework/xml/conditions/os.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="nros"
|
||||
label="NR_ASSIGN_OS"
|
||||
description="NR_ASSIGN_OS_DESC"
|
||||
multiple="true"
|
||||
class="hasChosen"
|
||||
/>
|
||||
<field name="note" type="ruleValueHint"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
20
plugins/system/nrframework/xml/conditions/pageviews.xml
Normal file
20
plugins/system/nrframework/xml/conditions/pageviews.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator">
|
||||
<option value="equal">NR_IS_EQUAL</option>
|
||||
<option value="not_equal">NR_DOES_NOT_EQUAL</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
</field>
|
||||
<field name="value" type="number"
|
||||
label="NR_ASSIGN_PAGEVIEWS_VIEWS"
|
||||
description="NR_ASSIGN_PAGEVIEWS_VIEWS_DESC"
|
||||
filter="intval"
|
||||
hint="3"
|
||||
min="0"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
18
plugins/system/nrframework/xml/conditions/php.xml
Normal file
18
plugins/system/nrframework/xml/conditions/php.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="value" type="editor"
|
||||
label="NR_PHPCODE"
|
||||
description="NR_ASSIGN_PHP_DESC2"
|
||||
filter="raw"
|
||||
class="span12 input-full"
|
||||
rows="10"
|
||||
editor="codemirror|none"
|
||||
syntax="php"
|
||||
/>
|
||||
<field name="note" type="note"
|
||||
class="ruleValueHint"
|
||||
description="NR_PHP_COLLECTION_SCRIPTS"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
21
plugins/system/nrframework/xml/conditions/referrer.xml
Normal file
21
plugins/system/nrframework/xml/conditions/referrer.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="tfinputrepeater"
|
||||
label="NR_ASSIGN_REFERRER"
|
||||
description="NR_ASSIGN_REFERRER_DESC">
|
||||
<form>
|
||||
<field name="value"
|
||||
class="input-fullwidth"
|
||||
hint="www.facebook.com"
|
||||
size="50"
|
||||
type="text" />
|
||||
</form>
|
||||
</field>
|
||||
<field name="note" type="note"
|
||||
class="ruleValueHint"
|
||||
description="NR_ASSIGN_REFERRER_NOTE"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator">
|
||||
<option value="returning">NR_VISITOR_IS_RETURNING</option>
|
||||
<option value="new">NR_VISITOR_IS_NEW</option>
|
||||
</field>
|
||||
<!-- Required so the condition can pass -->
|
||||
<field name="value" type="hidden" value="1" />
|
||||
</fieldset>
|
||||
</form>
|
||||
22
plugins/system/nrframework/xml/conditions/timeonsite.xml
Normal file
22
plugins/system/nrframework/xml/conditions/timeonsite.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator">
|
||||
<option value="equal">NR_IS_EQUAL</option>
|
||||
<option value="not_equal">NR_DOES_NOT_EQUAL</option>
|
||||
<option value="less_than">NR_FEWER_THAN</option>
|
||||
<option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
|
||||
<option value="greater_than">NR_GREATER_THAN</option>
|
||||
<option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
|
||||
</field>
|
||||
<field name="value" type="nrnumber"
|
||||
label="NR_SELECTION"
|
||||
description="NR_ASSIGN_TIMEONSITE_DESC"
|
||||
filter="intval"
|
||||
hint="360"
|
||||
addon="seconds"
|
||||
min="0"
|
||||
step="100"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
||||
23
plugins/system/nrframework/xml/conditions/url.xml
Normal file
23
plugins/system/nrframework/xml/conditions/url.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fieldset name="general">
|
||||
<field name="operator" type="comparator"/>
|
||||
<field name="value" type="tfinputrepeater"
|
||||
label="NR_ASSIGN_URLS"
|
||||
description="NR_ASSIGN_URLS_DESC">
|
||||
<form>
|
||||
<field name="value"
|
||||
class="input-fullwidth"
|
||||
hint="/blog/welcome-to-our-site"
|
||||
size="50"
|
||||
type="text" />
|
||||
</form>
|
||||
</field>
|
||||
<fields name="params">
|
||||
<field name="regex" type="nrtoggle"
|
||||
label="NR_ASSIGN_URLS_REGEX"
|
||||
description="NR_ASSIGN_URLS_REGEX_DESC"
|
||||
/>
|
||||
</fields>
|
||||
</fieldset>
|
||||
</form>
|
||||
Reference in New Issue
Block a user