Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
8f0e3e33
Commit
8f0e3e33
authored
Jun 07, 2002
by
Casey Duncan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bit more pruning to snip out OM browser_default
parent
6902ff1b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
69 deletions
+2
-69
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+2
-6
lib/python/OFS/dtml/objectManagerSettings.dtml
lib/python/OFS/dtml/objectManagerSettings.dtml
+0
-63
No files found.
lib/python/OFS/ObjectManager.py
View file @
8f0e3e33
...
...
@@ -12,9 +12,9 @@
##############################################################################
__doc__
=
"""Object Manager
$Id: ObjectManager.py,v 1.15
1 2002/06/07 18:10:31
caseman Exp $"""
$Id: ObjectManager.py,v 1.15
2 2002/06/07 18:29:39
caseman Exp $"""
__version__
=
'$Revision: 1.15
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.15
2
$'
[
11
:
-
2
]
import
App.Management
,
Acquisition
,
Globals
,
CopySupport
,
Products
import
os
,
App
.
FactoryDispatcher
,
re
,
Products
...
...
@@ -114,9 +114,6 @@ class ObjectManager(
(
'manage_importObject'
,
'manage_importExportForm'
,
'manage_exportObject'
)
),
(
'Manage folderish settings'
,
(
'manage_settings'
,)
),
)
...
...
@@ -128,7 +125,6 @@ class ObjectManager(
manage_main
=
DTMLFile
(
'dtml/main'
,
globals
())
manage_index_main
=
DTMLFile
(
'dtml/index_main'
,
globals
())
manage_settings
=
DTMLFile
(
'dtml/objectManagerSettings'
,
globals
())
manage_options
=
(
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
,
...
...
lib/python/OFS/dtml/objectManagerSettings.dtml
deleted
100644 → 0
View file @
6902ff1b
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<p class="form-help">
Use this form to change the behavior of this container
and its subordinates.
</p>
<dtml-unless name="hasCustomBrowserDefault">
<form action="setBrowserDefaultId" method="post">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr class="section-bar">
<td>
<div class="form-label">
Browser Default Id
</div>
</td>
</tr>
<tr><td>
<div class="form-help">
Enter the id of object used as the default presentation
<dtml-unless isTopLevelPrincipiaApplicationObject>
or select the checkbox to acquire this setting
from the parent container.
</dtml-unless>
Note that creating a custom callable browser_default
object in this folder will supercede this setting.
</div>
</td></tr>
<tr><td>
<span class="form-label">Browser Default Id</span>
<input class="form-element" type="text" name="id"
size="20" value="&dtml.null-getBrowserDefaultId;"
<dtml-unless isTopLevelPrincipiaApplicationObject>
onchange="if(this.value!='') this.form.acquire.checked=false"
</dtml-unless>
/>
<dtml-unless isTopLevelPrincipiaApplicationObject>
<input class="form-element" type="checkbox"
name="acquire" id="acquire" value="1"
onclick="if(this.checked) this.form.id.value=''"
<dtml-if name="isBrowserDefaultAcquired">
checked
</dtml-if>
/>
<label class="form-text" for="acquire">
Acquire this setting
</label>
</dtml-unless>
</td></tr>
<tr><td> </td></tr>
<tr><td>
<input class="form-element" type="submit" value="Save Changes" />
</td></tr>
</table>
</form>
</dtml-unless>
<dtml-var manage_page_footer>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment