Nachtrag ccm-themedirector, fehlten Update Dateien.
git-svn-id: https://svn.libreccm.org/ccm/trunk@802 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
8dcc07ac9b
commit
de6490ce7e
|
|
@ -0,0 +1,71 @@
|
||||||
|
--
|
||||||
|
-- Copyright (C) 2011 Peter Boy All Rights Reserved.
|
||||||
|
--
|
||||||
|
-- This library is free software; you can redistribute it and/or
|
||||||
|
-- modify it under the terms of the GNU Lesser General Public License
|
||||||
|
-- as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
-- the License, or (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This library is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
-- Lesser General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU Lesser General Public
|
||||||
|
-- License along with this library; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
--
|
||||||
|
-- $Id: upd_system_tables.sql pboy $
|
||||||
|
|
||||||
|
-- adjust various system tables to the new name of application
|
||||||
|
|
||||||
|
alter table init_requirements drop constraint init_requirements_init_f_cmmdn ;
|
||||||
|
|
||||||
|
update inits
|
||||||
|
set class_name='com.arsdigita.themedirector.Initializer'
|
||||||
|
where class_name='com.arsdigita.london.theme.Initializer' ;
|
||||||
|
|
||||||
|
update init_requirements
|
||||||
|
set init='com.arsdigita.themedirector.Initializer'
|
||||||
|
where init='com.arsdigita.london.theme.Initializer' ;
|
||||||
|
|
||||||
|
ALTER TABLE init_requirements
|
||||||
|
ADD CONSTRAINT init_requirements_init_f_cmmdn FOREIGN KEY (init)
|
||||||
|
REFERENCES inits (class_name) MATCH SIMPLE
|
||||||
|
ON UPDATE NO ACTION ON DELETE NO ACTION;
|
||||||
|
|
||||||
|
|
||||||
|
update application_types
|
||||||
|
set object_type='com.arsdigita.themedirector.ThemeDirector',
|
||||||
|
title='CCM Themes Administration',
|
||||||
|
description='CCM themes administration'
|
||||||
|
where object_type='com.arsdigita.london.theme.ThemeApplication' ;
|
||||||
|
|
||||||
|
update applications
|
||||||
|
set title='CCM Themes Administration',
|
||||||
|
description='CCM themes administration'
|
||||||
|
where primary_url='/admin/themes/' ;
|
||||||
|
|
||||||
|
-- table apm_package_types doesn't require an update
|
||||||
|
-- table apm_packages doesn't require an update either
|
||||||
|
-- table site_nodes doesn't require an update either
|
||||||
|
|
||||||
|
|
||||||
|
-- update application type in acs_objects
|
||||||
|
update acs_objects
|
||||||
|
set (object_type,display_name,default_domain_class) =
|
||||||
|
('com.arsdigita.themedirector.ThemeDirector' ,
|
||||||
|
'CCM Themes Administration',
|
||||||
|
'com.arsdigita.themedirector.ThemeDirector' )
|
||||||
|
where default_domain_class like 'com.arsdigita.london.theme.ThemeApplication' ;
|
||||||
|
|
||||||
|
-- update themes in acs_objects
|
||||||
|
update acs_objects
|
||||||
|
set display_name=replace(display_name,'london.theme', 'themedirector')
|
||||||
|
where default_domain_class like 'com.arsdigita.london.theme.Theme' ;
|
||||||
|
|
||||||
|
update acs_objects
|
||||||
|
set (object_type,default_domain_class) =
|
||||||
|
('com.arsdigita.themedirector.Theme' ,
|
||||||
|
'com.arsdigita.themedirector.Theme' )
|
||||||
|
where default_domain_class like 'com.arsdigita.london.theme.Theme' ;
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
--
|
||||||
|
-- This library is free software; you can redistribute it and/or
|
||||||
|
-- modify it under the terms of the GNU Lesser General Public License
|
||||||
|
-- as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
-- the License, or (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This library is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
-- Lesser General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU Lesser General Public
|
||||||
|
-- License along with this library; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
--
|
||||||
|
-- $Id: upd_theme_app_table.sql pboy $
|
||||||
|
|
||||||
|
ALTER TABLE theme_app drop constraint them_app_applicatio_id_p_bqozk;
|
||||||
|
ALTER TABLE theme_app drop constraint them_app_applicatio_id_f_34ffo;
|
||||||
|
ALTER TABLE theme_app drop constraint them_app_defau_them_id_f_6plv_;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE theme_app RENAME TO theme_director ;
|
||||||
|
|
||||||
|
ALTER TABLE theme_director
|
||||||
|
ADD CONSTRAINT them_direc_applicat_id_p_tnz9g PRIMARY KEY(application_id);
|
||||||
|
|
||||||
|
ALTER TABLE theme_director
|
||||||
|
ADD CONSTRAINT them_direc_applicat_id_f_rbcnx FOREIGN KEY (application_id)
|
||||||
|
REFERENCES applications (application_id) MATCH SIMPLE
|
||||||
|
ON UPDATE NO ACTION ON DELETE NO ACTION;
|
||||||
|
|
||||||
|
ALTER TABLE theme_director
|
||||||
|
ADD CONSTRAINT them_direc_defa_the_id_f_9ph37 FOREIGN KEY (default_theme_id)
|
||||||
|
REFERENCES theme_themes (theme_id) MATCH SIMPLE
|
||||||
|
ON UPDATE NO ACTION ON DELETE NO ACTION;
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
This is a place holder file that is here to make sure that the
|
|
||||||
directory is created and correctly copied with the appropriate permissions.
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
This is a place holder file that is here to make sure that the
|
|
||||||
directory is created and correctly copied with the appropriate permissions.
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/acs-subsite/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/admin/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ccm-ldn-atoz/__ccm__/apps/atoz/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/content-center/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/content-section/xsl/admin.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/content-section/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ccm-forum/__ccm__/apps/forum/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/navigation/xsl/admin.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/navigation/xsl/index.xsl"/>
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ccm-ldn-rss/__ccm__/apps/rss/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ccm-ldn-search/__ccm__/apps/search/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ccm-ldn-shortcuts/__ccm__/apps/shortcuts/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ccm-simplesurvey/__ccm__/apps/simplesurvey/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/sitemap/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ccm-ldn-subsite/__ccm__/apps/subsite/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0" >
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/webdev-support/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/workspace/xsl/admin.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/workspace/xsl/edit.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
<xsl:import href="../../../../ROOT/__ccm__/apps/workspace/xsl/index.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
Loading…
Reference in New Issue