aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/test_menu/menu_templates
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/test_menu/menu_templates')
-rw-r--r--plugins/test_menu/menu_templates/menubar_categories.tpl24
-rw-r--r--plugins/test_menu/menu_templates/menubar_generic.tpl10
-rw-r--r--plugins/test_menu/menu_templates/menubar_identification.tpl67
-rw-r--r--plugins/test_menu/menu_templates/menubar_links.tpl17
-rw-r--r--plugins/test_menu/menu_templates/menubar_main.tpl15
-rw-r--r--plugins/test_menu/menu_templates/menubar_menu.tpl21
-rw-r--r--plugins/test_menu/menu_templates/menubar_special.tpl10
-rw-r--r--plugins/test_menu/menu_templates/menubar_tags.tpl19
8 files changed, 0 insertions, 183 deletions
diff --git a/plugins/test_menu/menu_templates/menubar_categories.tpl b/plugins/test_menu/menu_templates/menubar_categories.tpl
deleted file mode 100644
index 050f503c3..000000000
--- a/plugins/test_menu/menu_templates/menubar_categories.tpl
+++ /dev/null
@@ -1,24 +0,0 @@
-
-<!-- categories menu bar -->
-
-<dt>
- {if isset($section.ITEMS.U_START_FILTER)}
- <a href="{$section.ITEMS.U_START_FILTER}" title="{'start_filter_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a>
- {/if}
- {if isset($section.ITEMS.U_STOP_FILTER)}
- <a href="{$section.ITEMS.U_STOP_FILTER}" title="{'stop_filter_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a>
- {/if}
-
- <a href="{$section.ITEMS.U_CATEGORIES}">{$section.NAME|@translate}</a>
-</dt>
-<dd>
- {$section.ITEMS.MENU_CATEGORIES_CONTENT}
- {if isset($section.ITEMS.U_UPLOAD)}
- <ul>
- <li>
- <a href="{$section.ITEMS.U_UPLOAD}">{'upload_picture'|@translate}</a>
- </li>
- </ul>
- {/if}
- <p class="totalImages">{$pwg->l10n_dec('%d element', '%d elements', $section.ITEMS.NB_PICTURE)}</p>
-</dd>
diff --git a/plugins/test_menu/menu_templates/menubar_generic.tpl b/plugins/test_menu/menu_templates/menubar_generic.tpl
deleted file mode 100644
index e9991c280..000000000
--- a/plugins/test_menu/menu_templates/menubar_generic.tpl
+++ /dev/null
@@ -1,10 +0,0 @@
-
-<!-- generic menu bar -->
-<dt>{$section.NAME|@translate}</dt>
-<dd>
- <ul>
- {foreach from=$section.ITEMS item=item}
- <li><a href="{$item.URL}" title="{$item.TITLE}">{$item.NAME}</a></li>
- {/foreach}
- </ul>
-</dd>
diff --git a/plugins/test_menu/menu_templates/menubar_identification.tpl b/plugins/test_menu/menu_templates/menubar_identification.tpl
deleted file mode 100644
index c0c3891fe..000000000
--- a/plugins/test_menu/menu_templates/menubar_identification.tpl
+++ /dev/null
@@ -1,67 +0,0 @@
-
-<!-- identification menu bar -->
-<dt>{$section.NAME|@translate}</dt>
-<dd>
- {if isset($section.ITEMS.USERNAME)}
- <p>{'hello'|@translate}&nbsp;{$section.ITEMS.USERNAME}&nbsp;!</p>
- {/if}
-
-<ul>
- {if isset($section.ITEMS.U_REGISTER)}
- <li><a href="{$section.ITEMS.U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li>
- {/if}
-
- {if isset($section.ITEMS.U_IDENTIFY)}
- <li><a href="{$section.ITEMS.U_IDENTIFY}" rel="nofollow">{'Connection'|@translate}</a></li>
- {/if}
-
- {if isset($section.ITEMS.U_LOGOUT)}
- <li><a href="{$section.ITEMS.U_LOGOUT}">{'logout'|@translate}</a></li>
- {/if}
-
- {if isset($section.ITEMS.U_PROFILE)}
- <li><a href="{$section.ITEMS.U_PROFILE}" title="{'hint_customize'|@translate}">{'customize'|@translate}</a></li>
- {/if}
-
- {if isset($section.ITEMS.U_ADMIN)}
- <li><a href="{$section.ITEMS.U_ADMIN}" title="{'hint_admin'|@translate}">{'admin'|@translate}</a></li>
- {/if}
-</ul>
-
-{if isset($section.ITEMS.U_IDENTIFY)}
-<form method="post" action="{$section.ITEMS.U_IDENTIFY}" class="filter" id="quickconnect">
-<fieldset>
- <legend>{'Quick connect'|@translate}</legend>
-
- <label>
- {'Username'|@translate}
- <input type="text" name="username" size="15" value="" id="iusername">
- </label>
-
- <label>
- {'Password'|@translate}
- <input type="password" name="password" size="15" id="ipassword">
- </label>
-
- {if $section.ITEMS.AUTHORIZE_REMEMBERING}
- <label>
- {'remember_me'|@translate}
- <input type="checkbox" name="remember_me" value="1" id="iremember_me">
- </label>
- {/if}
- <p>
- <input class="submit" type="submit" name="login" value="{'Submit'|@translate}">
- </p>
-
- <ul class="actions">
- <li><a href="{$section.ITEMS.U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li>
- {if isset($section.ITEMS.U_REGISTER)}
- <li><a href="{$section.ITEMS.U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/></a></li>
- {/if}
- </ul>
-
-</fieldset>
-</form>
- {/if}
-
-</dd>
diff --git a/plugins/test_menu/menu_templates/menubar_links.tpl b/plugins/test_menu/menu_templates/menubar_links.tpl
deleted file mode 100644
index 87862f1d6..000000000
--- a/plugins/test_menu/menu_templates/menubar_links.tpl
+++ /dev/null
@@ -1,17 +0,0 @@
-
-<!-- links menu bar -->
-
-<dt>{$section.NAME|@translate}</dt>
-<dd>
- <ul>
- {foreach from=$section.ITEMS item=link}
- <li>
- <a href="{$link.URL}"
- {if isset($link.new_window) }onclick="window.open(this.href, '{$link.new_window.NAME|@escape:'javascript'}','{$link.new_window.FEATURES|@escape:'javascript'}'); return false;"{/if}
- >
- {$link.LABEL}
- </a>
- </li>
- {/foreach}
- </ul>
-</dd> \ No newline at end of file
diff --git a/plugins/test_menu/menu_templates/menubar_main.tpl b/plugins/test_menu/menu_templates/menubar_main.tpl
deleted file mode 100644
index 82d7cb208..000000000
--- a/plugins/test_menu/menu_templates/menubar_main.tpl
+++ /dev/null
@@ -1,15 +0,0 @@
-
-<!-- main menu bar -->
-
-{if isset($sections) and count($sections)}
- <div id="menubar">
- {foreach from=$sections key=name item=section}
- {if not(empty($section.ITEMS))}
- <dl id="{$section.ID}">
-
- {include file=$section.TEMPLATE section=$section}
- </dl>
- {/if}
- {/foreach}
- </div>
-{/if} \ No newline at end of file
diff --git a/plugins/test_menu/menu_templates/menubar_menu.tpl b/plugins/test_menu/menu_templates/menubar_menu.tpl
deleted file mode 100644
index 7b80881ed..000000000
--- a/plugins/test_menu/menu_templates/menubar_menu.tpl
+++ /dev/null
@@ -1,21 +0,0 @@
-
-<!-- menu menu bar -->
-<dt>{$section.NAME|@translate}</dt>
-<dd>
- {if isset($section.ITEMS.qsearch) and $section.ITEMS.qsearch=='y'}
- <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch">
- <p>
- <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" />
- </p>
- </form>
- <script type="text/javascript">var qsearch_prompt="{'qsearch'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
- {/if}
-
- <ul>
- {foreach from=$section.ITEMS item=sum}
- {if is_array($sum)}
- <li><a href="{$sum.U_SUMMARY}" title="{$sum.TITLE}" {if isset($sum.REL)}{$sum.REL}{/if}>{$sum.NAME}</a></li>
- {/if}
- {/foreach}
- </ul>
-</dd>
diff --git a/plugins/test_menu/menu_templates/menubar_special.tpl b/plugins/test_menu/menu_templates/menubar_special.tpl
deleted file mode 100644
index 0bc9588ee..000000000
--- a/plugins/test_menu/menu_templates/menubar_special.tpl
+++ /dev/null
@@ -1,10 +0,0 @@
-
-<!-- special menu bar -->
-<dt>{$section.NAME|@translate}</dt>
-<dd>
- <ul>
- {foreach from=$section.ITEMS item=cat}
- <li><a href="{$cat.URL}" title="{$cat.TITLE}" {if isset($cat.REL)}{$cat.REL}{/if}>{$cat.NAME}</a></li>
- {/foreach}
- </ul>
-</dd>
diff --git a/plugins/test_menu/menu_templates/menubar_tags.tpl b/plugins/test_menu/menu_templates/menubar_tags.tpl
deleted file mode 100644
index b0fd9cf04..000000000
--- a/plugins/test_menu/menu_templates/menubar_tags.tpl
+++ /dev/null
@@ -1,19 +0,0 @@
-
-<!-- tags menu bar -->
-<dt>{$section.NAME|@translate}</dt>
-<dd>
- <ul id="menuTagCloud">
- {foreach from=$section.ITEMS item=tag}
- <li>
- {if !empty($tag.U_ADD) }
- <a href="{$tag.U_ADD}"
- title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}"
- rel="nofollow">
- <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" />
- </a>
- {/if}
- <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See elements linked to this tag only'|@translate}">{$tag.name}</a>
- </li>
- {/foreach}
- </ul>
-</dd>