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
5a36954a
Commit
5a36954a
authored
Apr 06, 1999
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First shot at new manage_tabs.
parent
2c6e3371
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
138 additions
and
77 deletions
+138
-77
lib/python/App/Management.py
lib/python/App/Management.py
+3
-2
lib/python/App/manage_tabs.dtml
lib/python/App/manage_tabs.dtml
+122
-61
lib/python/App/www/ltab.gif
lib/python/App/www/ltab.gif
+0
-0
lib/python/App/www/rtab.gif
lib/python/App/www/rtab.gif
+0
-0
lib/python/App/www/sp.gif
lib/python/App/www/sp.gif
+0
-0
lib/python/OFS/Folder.py
lib/python/OFS/Folder.py
+7
-11
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+5
-3
lib/python/OFS/misc_.py
lib/python/OFS/misc_.py
+1
-0
No files found.
lib/python/App/Management.py
View file @
5a36954a
...
...
@@ -85,9 +85,9 @@
"""Standard management interface support
$Id: Management.py,v 1.1
8 1999/03/31 15:02:46
brian Exp $"""
$Id: Management.py,v 1.1
9 1999/04/06 19:11:43
brian Exp $"""
__version__
=
'$Revision: 1.1
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
9
$'
[
11
:
-
2
]
import
sys
,
Globals
,
ExtensionClass
from
Dialogs
import
MessageDialog
...
...
@@ -102,6 +102,7 @@ class Tabs(ExtensionClass.Base):
)
manage_tabs
=
HTMLFile
(
'manage_tabs'
,
globals
())
manage_options
=
()
def
tabs_path_info
(
self
,
script
,
path
):
url
=
script
...
...
lib/python/App/manage_tabs.dtml
View file @
5a36954a
<!--#if manage_options-->
<TABLE WIDTH="100%" BORDER="1" CELLSPACING="0" CELLPADDING="0">
<TR>
<!--#call "REQUEST.set('n_', _.len(manage_options))"-->
<!--#call "REQUEST.set('a_', 0)"-->
<!--#in manage_options mapping-->
<!--#if sequence-item-->
<!--#if expr="URL[-(_.len(action)):]==action or
<!--#if expr="URL[-(_.len(action)):]==action or
URL[-17:]=='/manage_workspace' and _['sequence-start']"-->
<TD ALIGN="CENTER" VALIGN="TOP" BGCOLOR="#FFFFFF">
<FONT SIZE="-1">
<IMG ALIGN="LEFT" HSPACE="0" SRC="<!--#var SCRIPT_NAME-->/p_/ltab" ALT="">
<IMG ALIGN="RIGHT" HSPACE="0" SRC="<!--#var SCRIPT_NAME-->/p_/rtab" ALT="">
<STRONG>
<!--#if action-->
<A HREF="<!--#var action-->"<!--#if target--> TARGET="<!--#var target-->"<!--#/if-->><!--#var label--></A>
<!--#else action-->
<A HREF="<!--#var URL1-->"<!--#if target--> TARGET="<!--#var target-->"<!--#/if-->><!--#var label--></A>
<!--#/if action-->
</STRONG>
</FONT>
</TD>
<!--#else-->
<TD ALIGN="CENTER" VALIGN="TOP" BGCOLOR="#EFEFEF">
<FONT SIZE="-1">
<IMG ALIGN="LEFT" HSPACE="0" SRC="<!--#var SCRIPT_NAME-->/p_/ltab" ALT="">
<IMG ALIGN="RIGHT" HSPACE="0" SRC="<!--#var SCRIPT_NAME-->/p_/rtab" ALT="">
<!--#if action-->
<A HREF="<!--#var action-->"<!--#if target--> TARGET="<!--#var target-->"<!--#/if-->><!--#var label--></A>
<!--#else action-->
<A HREF="<!--#var URL1-->"<!--#if target--> TARGET="<!--#var target-->"<!--#/if-->><!--#var label--></A>
<!--#/if action-->
</FONT>
</TD>
<!--#/if-->
<!--#/if sequence-item-->
<!--#/in manage_options-->
<!--#call "REQUEST.set('a_', _['sequence-index'])"-->
<!--#endif-->
<!--#endin-->
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<td align="center" valign="top" bgcolor="#efefef">
<font size="-1">
<img align="left" hspace="0" src="<!--#var SCRIPT_NAME-->/p_/ltab" ALT="">
<img align="right" hspace="0" src="<!--#var SCRIPT_NAME-->/p_/rtab" ALT="">
<a href="<!--#var SCRIPT_NAME-->/HelpSys/hs_index" target="z_help_wnd">
Help</a>
</font>
<tr>
<td bgcolor="#003366" rowspan="5" width="10%" valign="bottom"
align="left"><font face="Verdana, Arial, Helvetica" color="#ffffff"
size="1"> <strong>Zope </strong></font><img
src="<!--#var SCRIPT_NAME-->/p_/sp" width="2" height="1">
</td>
<td bgcolor="#003366" colspan="<!--#var "4 * (n_ + 1)"-->"><img
src="<!--#var SCRIPT_NAME-->/p_/sp" width="1" height="5"></td>
</tr>
</TR>
</TABLE>
<!--#/if manage_options-->
<tr>
<!--#in manage_options-->
<!--#if "_['sequence-index']==a_"-->
<td bgcolor="#ffffff" rowspan="2" valign="top"
align="left"><img src="<!--#var SCRIPT_NAME-->/p_/ltab" width="5"
height="5"></td>
<td bgcolor="#ffffff"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="1" height="2"></td>
<td bgcolor="#ffffff" rowspan="2" valign="top"
align="right"><img src="<!--#var SCRIPT_NAME-->/p_/rtab" width="5"
height="5"></td>
<td bgcolor="#003366" rowspan="4"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="2" height="1"></td>
<!--#else-->
<td bgcolor="#efefef" rowspan="2" valign="top"
align="left"><img src="<!--#var SCRIPT_NAME-->/p_/ltab" width="5"
height="5"></td>
<td bgcolor="#efefef"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="1" height="2"></td>
<td bgcolor="#efefef" rowspan="2" valign="top"
align="right"><img src="<!--#var SCRIPT_NAME-->/p_/rtab" width="5"
height="5"></td>
<td bgcolor="#003366" rowspan="4"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="2" height="1"></td>
<!--#endif-->
<!--#endin-->
<td bgcolor="#efefef" rowspan="2" valign="top"
align="left"><img src="<!--#var SCRIPT_NAME-->/p_/ltab" width="5"
height="5"></td>
<td bgcolor="#efefef"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="1" height="2"></td>
<td bgcolor="#efefef" rowspan="2" valign="top"
align="right"><img src="<!--#var SCRIPT_NAME-->/p_/rtab" width="5"
height="5"></td>
<td bgcolor="#003366" rowspan="4"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="2" height="1"></td>
</tr>
<tr>
<!--#in manage_options mapping-->
<!--#if "_['sequence-index']==a_"-->
<td bgcolor="#ffffff" valign="bottom"
align="center"><font face="Verdana, Arial, Helvetica"
size="1"> <a
href="<!--#var action-->"><font
color="#000000"><strong><!--#var
label--></strong></font></a> </font></td>
<!--#else-->
<td bgcolor="#efefef" valign="bottom"
align="center"><font face="Verdana, Arial, Helvetica"
size="1"> <a
href="<!--#var action-->"><font
color="#000000"><strong><!--#var
label--></strong></font></a> </font></td>
<!--#endif-->
<!--#endin-->
<td bgcolor="#efefef" valign="bottom"
align="center"><font face="Verdana, Arial, Helvetica"
size="1"> <a
href="<!--#var SCRIPT_NAME-->/HelpSys/hs_index" target="z_help_wnd"><font
color="#000000"><strong>Help</strong></font></a> </font></td>
</tr>
<tr>
<!--#in manage_options-->
<!--#if "_['sequence-index']==a_"-->
<td colspan="3" bgcolor="#ffffff"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="2" height="1"></td>
<!--#else-->
<td colspan="3" bgcolor="#efefef"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="2" height="1"></td>
<!--#endif-->
<!--#endin-->
<td colspan="3" bgcolor="#efefef"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="2" height="1"></td>
</tr>
<tr>
<!--#in manage_options-->
<!--#if "_['sequence-index']==a_"-->
<td colspan="3" bgcolor="#ffffff"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="2" height="1"></td>
<!--#else-->
<td colspan="3" bgcolor="#c0c0c0"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="2" height="1"></td>
<!--#endif-->
<!--#endin-->
<td colspan="3" bgcolor="#c0c0c0"><img src="<!--#var
SCRIPT_NAME-->/p_/sp" width="2" height="1"></td>
</tr>
</table>
<!--#endif-->
<!--#if manage_tabs_message-->
<hr>
<!--#var manage_tabs_message--><br>
<!--#var ZopeTime-->
<hr>
<!--#/if-->
<BR>
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="2">
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<!--#endif-->
<br>
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="left" valign="top">
<!--#if icon-->
<
IMG SRC
="<!--#var SCRIPT_NAME-->/<!--#var icon-->"
ALT="<!--#var meta_type-->" BORDER
="0">
<
STRONG
>
<!--#
/
if-->
<
img src
="<!--#var SCRIPT_NAME-->/<!--#var icon-->"
alt="<!--#var meta_type-->" border
="0">
<
strong
>
<!--#
end
if-->
<!--#if meta_type-->
<!--#var meta_type-->
<!--#else-->
Object
<!--#
/
if-->
<!--#
end
if-->
at /<!--#var
expr="tabs_path_info(SCRIPT_NAME, PATH_INFO)"-->
</
STRONG
>
</
TD
>
</
TR
>
</
TABLE
>
</
strong
>
</
td
>
</
tr
>
</
table
>
<!--#if Zope-Version-->
<P><EM>You are currently working in version <!--#var Zope-Version--></EM>
<!--#/if Zope-Version-->
<p>
<em>You are currently working in version <!--#var Zope-Version--></em>
</p>
<!--#endif-->
lib/python/App/www/ltab.gif
View replaced file @
2c6e3371
View file @
5a36954a
830 Bytes
|
W:
|
H:
88 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
lib/python/App/www/rtab.gif
View replaced file @
2c6e3371
View file @
5a36954a
830 Bytes
|
W:
|
H:
88 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
lib/python/App/www/sp.gif
0 → 100755
View file @
5a36954a
43 Bytes
lib/python/OFS/Folder.py
View file @
5a36954a
...
...
@@ -87,24 +87,18 @@
Folders are the basic container objects and are analogous to directories.
$Id: Folder.py,v 1.7
6 1999/04/01 16:12:02 jim
Exp $"""
$Id: Folder.py,v 1.7
7 1999/04/06 19:16:11 brian
Exp $"""
__version__
=
'$Revision: 1.7
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.7
7
$'
[
11
:
-
2
]
import
Globals
,
SimpleItem
,
Acquisition
,
mimetypes
,
content_types
from
Globals
import
HTMLFile
import
Globals
,
SimpleItem
from
ObjectManager
import
ObjectManager
from
PropertyManager
import
PropertyManager
from
AccessControl.Role
import
RoleManager
from
webdav.NullResource
import
NullResource
from
webdav.Collection
import
Collection
from
FindSupport
import
FindSupport
from
Image
import
Image
,
File
from
App.Dialogs
import
MessageDialog
from
string
import
find
,
rfind
,
lower
import
marshal
from
cStringIO
import
StringIO
import
os
manage_addFolderForm
=
HTMLFile
(
'folderAdd'
,
globals
())
...
...
@@ -145,3 +139,5 @@ class Folder(ObjectManager, PropertyManager, RoleManager, Collection,
__ac_permissions__
=
()
Globals
.
default__class_init__
(
Folder
)
lib/python/OFS/ObjectManager.py
View file @
5a36954a
...
...
@@ -84,9 +84,9 @@
##############################################################################
__doc__
=
"""Object Manager
$Id: ObjectManager.py,v 1.6
1 1999/04/02 02:09:52 amos
Exp $"""
$Id: ObjectManager.py,v 1.6
2 1999/04/06 19:16:11 brian
Exp $"""
__version__
=
'$Revision: 1.6
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.6
2
$'
[
11
:
-
2
]
import
App.Management
,
Acquisition
,
App
.
Undo
,
Globals
,
CopySupport
import
os
,
App
.
FactoryDispatcher
,
ts_regex
,
Products
...
...
@@ -113,7 +113,7 @@ class ObjectManager(
"""
__ac_permissions__
=
(
(
'View management screens'
,
(
'manage_main'
,)),
(
'View management screens'
,
(
'manage_main'
,
'manage_menu'
)),
(
'Access contents information'
,
(
'objectIds'
,
'objectValues'
,
'objectItems'
,
''
),
(
'Anonymous'
,
'Manager'
),
...
...
@@ -479,6 +479,8 @@ class ObjectManager(
raise
KeyError
,
key
Globals
.
default__class_init__
(
ObjectManager
)
class
PUTer
(
Acquisition
.
Explicit
):
"""Class to support the HTTP PUT protocol."""
...
...
lib/python/OFS/misc_.py
View file @
5a36954a
...
...
@@ -104,6 +104,7 @@ class p_:
mi
=
ImageFile
(
'TreeDisplay/www/Minus_icon.gif'
)
rtab
=
ImageFile
(
'App/www/rtab.gif'
)
ltab
=
ImageFile
(
'App/www/ltab.gif'
)
sp
=
ImageFile
(
'App/www/sp.gif'
)
ControlPanel_icon
=
ImageFile
(
'OFS/www/ControlPanel_icon.gif'
)
ApplicationManagement_icon
=
ImageFile
(
'App/www/cpSystem.gif'
)
DatabaseManagement_icon
=
ImageFile
(
'App/www/dbManage.gif'
)
...
...
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