From 106c0efca41a0168870504d8bfdc155659359c60 Mon Sep 17 00:00:00 2001 From: spiderr Date: Tue, 2 Apr 2013 01:46:36 -0400 Subject: bootstrap updates convert class=row to class=control-group --- templates/admin_nexus.tpl | 4 ++-- templates/insert_menu_item_inc.tpl | 8 ++++---- templates/menu_details_inc.tpl | 10 +++++----- templates/menu_items_edit_inc.tpl | 20 ++++++++++---------- templates/menus.tpl | 10 +++++----- 5 files changed, 26 insertions(+), 26 deletions(-) diff --git a/templates/admin_nexus.tpl b/templates/admin_nexus.tpl index 7488280..b8c63ad 100644 --- a/templates/admin_nexus.tpl +++ b/templates/admin_nexus.tpl @@ -1,7 +1,7 @@ {formfeedback hash=$feedback} {legend legend="Menu Cache"} -
+
{formlabel label="Menu Cache" for=""} {forminput} {smartlink ititle="Rewrite Menu Cache" rewrite_cache=1 page=$page} @@ -35,7 +35,7 @@ {/foreach} -
+
{/form} diff --git a/templates/insert_menu_item_inc.tpl b/templates/insert_menu_item_inc.tpl index f56fb5a..8f22c31 100644 --- a/templates/insert_menu_item_inc.tpl +++ b/templates/insert_menu_item_inc.tpl @@ -5,14 +5,14 @@ {if !$inNexusMenu} {foreach from=$nexusList item=menu} {if $menu.editable or $gBitUser->isAdmin()} -
+
{formlabel label="Menu"} {forminput} {$menu.title|escape} {if $menu.description}( {$menu.description|escape} ){/if} {/forminput}
-
+
{formlabel label="Insert here" for="nexus_menu_`$menu.menu_id`"} {forminput} @@ -31,14 +31,14 @@ {/if} {/foreach} -
+
{formlabel label="Don't insert" for="nexus-no-insert"} {forminput} {/forminput}
{else} -
+

{tr}This {$gContent->getContentTypeName()} is already part of the menu {$inNexusMenu.title|escape}.{/tr}

{formlabel label="Remove" for="nexusRemove"} {forminput} diff --git a/templates/menu_details_inc.tpl b/templates/menu_details_inc.tpl index 3c15627..569e425 100644 --- a/templates/menu_details_inc.tpl +++ b/templates/menu_details_inc.tpl @@ -1,20 +1,20 @@ {strip} {legend legend="Menu settings"} -
+
{formlabel label="Title"} {forminput} {$gNexus->mInfo.title|escape} {/forminput}
-
+
{formlabel label="Description"} {forminput} {$gNexus->mInfo.description|escape} {/forminput}
-
+
{formlabel label="Editable"} {forminput} {if $gNexus->mInfo.editable} @@ -25,14 +25,14 @@ {/forminput}
-
+
{formlabel label="Menu Type"} {forminput} {$gNexus->mInfo.plugin_guid} {/forminput}
-
+
{formlabel label="Menu subtype"} {forminput} {assign var=plugin_guid value=$gNexus->mInfo.plugin_guid} diff --git a/templates/menu_items_edit_inc.tpl b/templates/menu_items_edit_inc.tpl index 3271de1..73f2db9 100644 --- a/templates/menu_items_edit_inc.tpl +++ b/templates/menu_items_edit_inc.tpl @@ -4,7 +4,7 @@ -
+
{formlabel label="Link to content" for="content_type_guid"} {forminput} {html_options options=$contentTypes name=content_type_guid id=content_type_guid selected=$smarty.request.content_type_guid} @@ -26,7 +26,7 @@
{if $menuList} -
+
{formlabel label="Insert menu" for="menu_list"} {forminput} {html_options name="menu_list" options=$menuList onchange="document.getElementById('rsrc').value=options[selectedIndex].value;document.getElementById('title').value=options[selectedIndex].label.replace(/ \[id.*?\]/,'');document.getElementById('rsrc_type').value='menu_id';"} @@ -37,11 +37,11 @@
{/if} -
+

-
+
{formlabel label="Title" for="title"} {forminput} @@ -49,7 +49,7 @@ {/forminput}
-
+
{formlabel label="Hint" for="hint"} {forminput} @@ -57,7 +57,7 @@ {/forminput}
-
+
{formlabel label="Resource type" for="rsrc_type"} {forminput} {html_options name="rsrc_type" id="rsrc_type" options=$rsrcTypes selected=`$editItem.rsrc_type`} @@ -65,7 +65,7 @@ {/forminput}
-
+
{formlabel label="Resource link" for="rsrc"} {forminput} @@ -73,7 +73,7 @@ {/forminput}
-
+
{formlabel label="Permission" for="perm"} {forminput} {html_options name="perm" id="perm" options=$perms selected=`$editItem.perm`} @@ -82,7 +82,7 @@
{if !$editItem.item_id} -
+
{formlabel label="Insert after" for="after_ref_id"} {forminput}
{/form} diff --git a/templates/menus.tpl b/templates/menus.tpl index e1565a0..40bdfb4 100644 --- a/templates/menus.tpl +++ b/templates/menus.tpl @@ -14,7 +14,7 @@ {form legend="Create / Edit Menus"} -
+
{if $editMenu} {formfeedback warning="{tr}Renaming an assigned menu will cause an error because the cache file will be renamed as well. You will have to make appropriate modifications in the layout page as well.{/tr}"} {/if} @@ -25,7 +25,7 @@ {/forminput}
-
+
{formlabel label="Description" for="description"} {forminput} @@ -33,7 +33,7 @@ {/forminput}
-
+
{formlabel label="Editable menu" for="editable"} {forminput} {html_checkboxes name="editable" values="1" checked=`$editMenu.editable` labels=false id="editable"} @@ -41,7 +41,7 @@ {/forminput}
-
+
{formlabel label="Pick menu type"} {forminput} {foreach from=$gNexusSystem->mPlugins item=plugin name=foo} @@ -88,7 +88,7 @@ {/forminput}
-
+
-- cgit v1.3