Commit 5a36954a authored by 's avatar

First shot at new manage_tabs.

parent 2c6e3371
......@@ -85,9 +85,9 @@
"""Standard management interface support
$Id: Management.py,v 1.18 1999/03/31 15:02:46 brian Exp $"""
$Id: Management.py,v 1.19 1999/04/06 19:11:43 brian Exp $"""
__version__='$Revision: 1.18 $'[11:-2]
__version__='$Revision: 1.19 $'[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
......
<!--#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">&nbsp;&nbsp;<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">&nbsp;<a
href="<!--#var action-->"><font
color="#000000"><strong><!--#var
label--></strong></font></a>&nbsp;</font></td>
<!--#else-->
<td bgcolor="#efefef" valign="bottom"
align="center"><font face="Verdana, Arial, Helvetica"
size="1">&nbsp;<a
href="<!--#var action-->"><font
color="#000000"><strong><!--#var
label--></strong></font></a>&nbsp;</font></td>
<!--#endif-->
<!--#endin-->
<td bgcolor="#efefef" valign="bottom"
align="center"><font face="Verdana, Arial, Helvetica"
size="1">&nbsp;<a
href="<!--#var SCRIPT_NAME-->/HelpSys/hs_index" target="z_help_wnd"><font
color="#000000"><strong>Help</strong></font></a>&nbsp;</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>
<!--#endif-->
<!--#if meta_type-->
<!--#var meta_type-->
<!--#else-->
Object
<!--#/if-->
<!--#endif-->
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

830 Bytes | W: | H:

lib/python/App/www/ltab.gif

88 Bytes | W: | H:

lib/python/App/www/ltab.gif
lib/python/App/www/ltab.gif
lib/python/App/www/ltab.gif
lib/python/App/www/ltab.gif
  • 2-up
  • Swipe
  • Onion skin
lib/python/App/www/rtab.gif

830 Bytes | W: | H:

lib/python/App/www/rtab.gif

88 Bytes | W: | H:

lib/python/App/www/rtab.gif
lib/python/App/www/rtab.gif
lib/python/App/www/rtab.gif
lib/python/App/www/rtab.gif
  • 2-up
  • Swipe
  • Onion skin
......@@ -87,24 +87,18 @@
Folders are the basic container objects and are analogous to directories.
$Id: Folder.py,v 1.76 1999/04/01 16:12:02 jim Exp $"""
$Id: Folder.py,v 1.77 1999/04/06 19:16:11 brian Exp $"""
__version__='$Revision: 1.76 $'[11:-2]
__version__='$Revision: 1.77 $'[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)
......@@ -84,9 +84,9 @@
##############################################################################
__doc__="""Object Manager
$Id: ObjectManager.py,v 1.61 1999/04/02 02:09:52 amos Exp $"""
$Id: ObjectManager.py,v 1.62 1999/04/06 19:16:11 brian Exp $"""
__version__='$Revision: 1.61 $'[11:-2]
__version__='$Revision: 1.62 $'[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."""
......
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment