Author: jaz
Date: Wed Apr 11 20:18:01 2007 New Revision: 527757 URL: http://svn.apache.org/viewvc?view=rev&rev=527757 Log: some changes to CMS nav; not finished Modified: ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSMeta.ftl ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl Modified: ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSMeta.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSMeta.ftl?view=diff&rev=527757&r1=527756&r2=527757 ============================================================================== --- ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSMeta.ftl (original) +++ ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSMeta.ftl Wed Apr 11 20:18:01 2007 @@ -26,6 +26,15 @@ <input type="hidden" name="contentIdFrom" value="${(content.contentId)?if_exists}"/> </#macro> +<#-- cms menu bar --> +<div id="cmsmenu" style="margin-bottom: 8px;"> + <#if (content?has_content)> + <a href="javascript:void(0);" onclick="javascript:callEditor(true, '${content.contentId}', '', 'ELECTRONIC_TEXT');" class="tabButton">Quick Sub-Content</a> + <a href="javascript:void(0);" onclick="javascript:callPathAlias('${content.contentId}');" class="tabButton">Path Alias</a> + <a href="javascript:void(0);" onclick="javascript:callMetaInfo('${content.contentId}');" class="tabButtonSelected">Meta Tags</a> + </#if> +</div> + <#if (content?has_content)> <div class="tabletext" style="margin-bottom: 8px;"> Set <b>Meta-Data</b> for Content: <b>${content.contentId}</b></b> Modified: ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl?view=diff&rev=527757&r1=527756&r2=527757 ============================================================================== --- ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl (original) +++ ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSNav.ftl Wed Apr 11 20:18:01 2007 @@ -378,9 +378,12 @@ <dojo:TreeSelector widgetId="webCmsTreeSelector" eventNames="select:webCmsNodeSelected"></dojo:TreeSelector> <div dojoType="Tree" menu="webCmsContextMenu" widgetId="webCmsTree" selector="webCmsTreeSelector" toggler="fade" toggleDuration="500"> <#if (subsites?has_content)> - <@fillTree assocList = subsites/> + <@fillTree assocList = subsites/> </#if> </div> +<#if (!subsites?has_content)> + <a href="javascript:void(0);" class="linktext">Add Tree</a> +</#if> <div> </div> <div> </div> @@ -401,7 +404,11 @@ <dojo:TreeSelector widgetId="webMenuTreeSelector" eventNames="select:webMenuNodeSelected"></dojo:TreeSelector> <div dojoType="Tree" menu="webMenuContextMenu" widgetId="webMenuTree" selector="webMenuTreeSelector" toggler="fade" toggleDuration="500"> <#if (menus?has_content)> - <@fillTree assocList = subsites/> + ${menus} + <@fillTree assocList = menus/> </#if> </div> +<#if (!menus?has_content)> + <a href="javascript:void(0);" class="linktext">Add Menu</a> +</#if> Modified: ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl?view=diff&rev=527757&r1=527756&r2=527757 ============================================================================== --- ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl (original) +++ ofbiz/trunk/applications/content/webapp/content/website/WebSiteCMSPathAlias.ftl Wed Apr 11 20:18:01 2007 @@ -17,6 +17,15 @@ under the License. --> +<#-- cms menu bar --> +<div id="cmsmenu" style="margin-bottom: 8px;"> + <#if (content?has_content)> + <a href="javascript:void(0);" onclick="javascript:callEditor(true, '${content.contentId}', '', 'ELECTRONIC_TEXT');" class="tabButton">Quick Sub-Content</a> + <a href="javascript:void(0);" onclick="javascript:callPathAlias('${content.contentId}');" class="tabButtonSelected">Path Alias</a> + <a href="javascript:void(0);" onclick="javascript:callMetaInfo('${content.contentId}');" class="tabButton">Meta Tags</a> + </#if> +</div> + <#if (content?has_content)> <div class="tabletext" style="margin-bottom: 8px;"> New <b>PathAlias</b> attached from WebSite: <b>${webSite.webSiteId}</b> to Content: <b>${content.contentId}</b></b> |
Free forum by Nabble | Edit this page |