// Toolbar
This commit is contained in:
File diff suppressed because one or more lines are too long
+1
-1
@@ -24,7 +24,7 @@
|
||||
*}
|
||||
<li class="tree-folder">
|
||||
<span class="tree-folder-name">
|
||||
<input type="checkbox" name="id-category[]" value="{$node['id_category']}" />
|
||||
<input type="checkbox" name="categoryBox[]" value="{$node['id_category']}" />
|
||||
<i class="icon-folder-close"></i>
|
||||
<label class="tree-toggler">{$name}</label>
|
||||
</span>
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
*}
|
||||
<li class="tree-item">
|
||||
<label class="tree-item-name">
|
||||
<input type="checkbox" name="id-category[]" value="{$node['id_category']}" />
|
||||
<input type="checkbox" name="categoryBox[]" value="{$node['id_category']}" />
|
||||
<i class="tree-dot"></i>
|
||||
{$name}
|
||||
</label>
|
||||
|
||||
+2
-2
@@ -22,6 +22,6 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<a href="{$link}" onclick="{$action}" class="btn btn-default btn-xs">
|
||||
<i class="{$icon_class}"></i> {l s=$label}
|
||||
<a href="{$link}"{if isset($action)}onclick="{$action}"{/if} class="btn btn-default btn-xs">
|
||||
{if isset($icon_class)}<i class="{$icon_class}"></i> {/if}{l s=$label}
|
||||
</a>
|
||||
+15
-1
@@ -22,4 +22,18 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<label for="node-search">{l s=$label}</label> <input type="text" id="node-search" name="node-search"{if isset($class)} class="{$class}"{/if}{if isset($categories_name)} data-provide="typeahead" data-source="[{$categories_name}]"{/if} />
|
||||
<label for="node-search">{l s=$label}</label> <input type="text"{if isset($id)} id="{$id}"{/if}{if isset($name)} name="{$name}"{/if}{if isset($class)} class="{$class}"{/if} />
|
||||
{if isset($typeahead_source) && isset($id)}
|
||||
<script type="text/javascript">
|
||||
$(document).ready(
|
||||
function()
|
||||
{
|
||||
$("#{$id}").typeahead(
|
||||
{
|
||||
name: "{$name}",
|
||||
local: [{$typeahead_source}]
|
||||
});
|
||||
}
|
||||
);
|
||||
</script>
|
||||
{/if}
|
||||
@@ -22,6 +22,6 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<a href="{$link}" onclick="{$action}" class="btn btn-default btn-xs">
|
||||
<i class="{$icon_class}"></i> {l s=$label}
|
||||
<a href="{$link}"{if isset($action)}onclick="{$action}"{/if} class="btn btn-default btn-xs">
|
||||
{if isset($icon_class)}<i class="{$icon_class}"></i> {/if}{l s=$label}
|
||||
</a>
|
||||
@@ -22,4 +22,19 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<label for="node-search">{l s=$label}</label> <input type="text" id="node-search" name="node-search"{if isset($class)} class="{$class}"{/if}{if isset($data_source)} data-provide="typeahead" data-source="[{$data_source}]"{/if} />
|
||||
<label for="node-search">{l s=$label}</label> <input type="text"{if isset($id)} id="{$id}"{/if}{if isset($name)} name="{$name}"{/if}{if isset($class)} class="{$class}"{/if} />
|
||||
{if isset($typeahead_source) && isset($id)}
|
||||
<script type="text/javascript">
|
||||
$(document).ready(
|
||||
function()
|
||||
{
|
||||
$("#{$id}").typeahead(
|
||||
{
|
||||
name: "{$name}",
|
||||
valueKey: 'name',
|
||||
local: [{$typeahead_source}]
|
||||
});
|
||||
}
|
||||
);
|
||||
</script>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user