Permalink
Browse files

Removed ui_navexpander extensions and example extensions.xml

  • Loading branch information...
1 parent ddbb5c7 commit 1855773c145c2698a7ea236d7ec2bc9e9beba82c Alistair Kearney committed Jun 12, 2010
@@ -1,33 +0,0 @@
-#nav > li#nav-expand {
- text-indent: -1000em;
- background: url('expander.png') 0 50% no-repeat;
- padding: 0;
- width: 38px;
-}
-
-#nav > li#nav-expand:hover {
- background-color: #aaa;
- color: #fff;
-}
-
-#nav.expanded {padding-bottom: .5em;}
-#nav.expanded li {width:11em;font-weight:bold;cursor:default;}
-#nav.expanded #nav-expand {
- background: url('expander.png') 100% 50% no-repeat;
- cursor: pointer;
- }
-#nav.expanded li ul li {font-weight:normal;}
-
-#nav.expanded li.active, #nav.expanded li a:hover, #nav.expanded > li:hover {background:none;color: #666;}
-
-#nav.expanded ul, #nav.expanded #nav-system ul, #nav.expanded #nav-blueprints ul, #nav.expanded li:hover ul {
- position: relative;
- top: 0;
- left: auto;
- right: auto;
- margin: .5em 0;
- background-color: transparent;
-}
-
-#nav.expanded ul li a {padding: 0;color: #888;line-height: 2em;}
-#nav.expanded ul li a:hover {color: #333;}
@@ -1,24 +0,0 @@
-jQuery(document).ready(function($) {
- if (Symphony.Cookie.get('symphony-nav') == 'expanded') {
- $('#nav').addClass('expanded');
- $('#nav-expand').text('-');
- }
-
- $(':not(.expanded) #nav-expand').live('click',
- function(){
- $('#nav').addClass('expanded');
- $(this).text('-');
-
- Symphony.Cookie.set('symphony-nav', 'expanded');
- }
- );
-
- $('.expanded #nav-expand').live('click',
- function(){
- $('#nav').removeClass('expanded');
- $(this).text('+');
-
- Symphony.Cookie.set('symphony-nav', 'collapsed');
- }
- );
-})
Deleted file not rendered
@@ -1,60 +0,0 @@
-<?php
-
- class Extension_UI_NavExpander implements iExtension {
- public function about() {
- return (object)array(
- 'name' => 'Nav Expander',
- 'version' => '1.0.0',
- 'release-date' => '2010-03-11',
- 'type' => array(
- 'Interface',
- ),
- 'author' => (object)array(
- 'name' => 'Symphony Team',
- 'website' => 'http://symphony-cms.com/',
- 'email' => 'team@symphony-cms.com'
- ),
- 'description' => 'Enables a toggle-able alternate nav state with all items displayed.'
- );
- }
-
- public function getSubscribedDelegates() {
- return array(
- array(
- 'page' => '/administration/',
- 'delegate' => 'InitaliseAdminPageHead',
- 'callback' => 'loadStylesheet'
- ),
- array(
- 'page' => '/administration/',
- 'delegate' => 'AppendElementBelowView',
- 'callback' => 'prependButton'
- )
- );
- }
-
- public function loadStylesheet($context) {
-
- Administration::instance()->Page->addScriptToHead(URL . '/extensions/ui_navexpander/assets/expander.js', 240);
- Administration::instance()->Page->addStylesheetToHead(URL . '/extensions/ui_navexpander/assets/expander.css', 'screen', 250);
-
- }
-
- public function prependButton($context) {
-
- $backend_page = Administration::instance()->Page->Form->getChildren();
- $navigation = $backend_page[2];
-
- if($_COOKIE['nav'] == 'expanded') {
- $navigation->setAttribute('class', 'expanded');
- }
-
- $listitem = new XMLElement('li', ($_COOKIE['nav'] == 'expanded' ? '-' : '+'), array('id' => 'nav-expand'));
-
- $navigation->prependChild($listitem);
-
- }
-
- }
-
- return 'Extension_UI_NavExpander';
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<extensions>
- <extension handle="administration_access_control" version="1.0" status="not-installed">
- <delegates>
- <item page="/administration/" delegate="AdminPagePostGenerate" callback="cbModifyPages"/>
- <item page="/system/users/new/" delegate="PreCreate" callback="cbUpdateUserRole"/>
- <item page="/system/users/edit/" delegate="PreSave" callback="cbUpdateUserRole"/>
- </delegates>
- </extension>
- <extension handle="cron" version="0.1" status="not-installed"/>
- <extension handle="devkit_debug" version="2.0" status="not-installed">
- <delegates>
- <item page="/frontend/" delegate="FrontendPreInitialise" callback="frontendPreInitialise"/>
- <item page="/frontend/" delegate="FrontendPreRender" callback="frontendPreRender"/>
- <item page="/frontend/" delegate="DevKiAppendtMenuItem" callback="appendDevKitMenuItem"/>
- </delegates>
- </extension>
- <extension handle="ds_dynamicxml" version="1.0.0" status="enabled"/>
- <extension handle="ds_navigation" version="1.0.0" status="enabled">
- <delegates>
- <item page="/administration/" delegate="DataSourceFormPrepare" callback="prepare"/>
- <item page="/administration/" delegate="DataSourceFormAction" callback="action"/>
- <item page="/administration/" delegate="DataSourceFormView" callback="view"/>
- </delegates>
- </extension>
- <extension handle="ds_sections" version="1.0.0" status="enabled"/>
- <extension handle="ds_staticxml" version="1.0.0" status="enabled"/>
- <extension handle="ds_users" version="1.0.0" status="enabled"/>
- <extension handle="export_ensemble" version="1.11" status="not-installed">
- <delegates>
- <item page="/system/settings/" delegate="AddCustomToolFieldsets" callback="appendPreferences"/>
- </delegates>
- </extension>
- <extension handle="field_checkbox" version="2.0.0" status="enabled"/>
- <extension handle="field_date" version="2.0.0" status="enabled"/>
- <extension handle="field_link" version="2.0.0" status="enabled"/>
- <extension handle="field_selectbox" version="2.0.0" status="enabled"/>
- <extension handle="field_taglist" version="2.0.0" status="enabled"/>
- <extension handle="field_textbox" version="2.0.17" status="enabled"/>
- <extension handle="field_upload" version="2.0.0" status="enabled"/>
- <extension handle="field_user" version="2.0.0" status="enabled"/>
- <extension handle="jit_image_manipulation" version="1.08" status="not-installed">
- <delegates>
- <item page="/system/settings/" delegate="AddCustomToolFieldsets" callback="appendPreferences"/>
- <item page="/system/settings/" delegate="Save" callback="__SavePreferences"/>
- </delegates>
- </extension>
- <extension handle="maintenance_mode" version="1.2" status="disabled">
- <delegates>
- <item page="/system/settings/extensions/" delegate="AddSettingsFieldsets" callback="cbAppendPreferences"/>
- <item page="/system/settings/extensions/" delegate="CustomSaveActions" callback="cbSavePreferences"/>
- <item page="/system/settings/" delegate="CustomActions" callback="__toggleMaintenanceMode"/>
- <item page="/frontend/" delegate="FrontendPrePageResolve" callback="__checkForMaintenanceMode"/>
- <item page="/frontend/" delegate="FrontendParamsResolve" callback="__addParam"/>
- <item page="/administration/" delegate="AppendPageAlert" callback="__appendAlert"/>
- </delegates>
- </extension>
- <extension handle="markdown" version="1.10" status="not-installed"/>
- <extension handle="shell" version="0.3" status="not-installed"/>
- <extension handle="ui_navexpander" version="1.0.0" status="not-installed">
- <delegates>
- <item page="/administration/" delegate="InitaliseAdminPageHead" callback="loadStylesheet"/>
- <item page="/administration/" delegate="AppendElementBelowView" callback="prependButton"/>
- </delegates>
- </extension>
-</extensions>

0 comments on commit 1855773

Please sign in to comment.