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
f7ce9f48
Commit
f7ce9f48
authored
Mar 22, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed PARENT_URL to URL1.
parent
4957ab92
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
27 deletions
+27
-27
lib/python/AccessControl/User.py
lib/python/AccessControl/User.py
+2
-2
lib/python/DocumentTemplate/DT_HTML.py
lib/python/DocumentTemplate/DT_HTML.py
+5
-5
lib/python/DocumentTemplate/DT_UI.py
lib/python/DocumentTemplate/DT_UI.py
+6
-6
lib/python/DocumentTemplate/DTtest.py
lib/python/DocumentTemplate/DTtest.py
+6
-6
lib/python/Shared/DC/ZRDB/Aqueduct.py
lib/python/Shared/DC/ZRDB/Aqueduct.py
+4
-4
lib/python/Shared/DC/ZRDB/DA.py
lib/python/Shared/DC/ZRDB/DA.py
+4
-4
No files found.
lib/python/AccessControl/User.py
View file @
f7ce9f48
...
...
@@ -84,7 +84,7 @@
##############################################################################
"""Access control package"""
__version__
=
'$Revision: 1.6
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.6
8
$'
[
11
:
-
2
]
import
Globals
,
App
.
Undo
,
socket
,
regex
from
Globals
import
HTMLFile
,
MessageDialog
,
Persistent
,
PersistentMapping
...
...
@@ -676,7 +676,7 @@ def manage_addUserFolder(self,dtself=None,REQUEST=None,**ignored):
except
:
return
MessageDialog
(
title
=
'Item Exists'
,
message
=
'This object already contains a User Folder'
,
action
=
'%s/manage_main'
%
REQUEST
[
'
PARENT_URL
'
])
action
=
'%s/manage_main'
%
REQUEST
[
'
URL1
'
])
self
.
__allow_groups__
=
self
.
acl_users
if
REQUEST
:
return
self
.
manage_main
(
self
,
REQUEST
,
update_menu
=
1
)
...
...
lib/python/DocumentTemplate/DT_HTML.py
View file @
f7ce9f48
...
...
@@ -84,7 +84,7 @@
##############################################################################
"""HTML formated DocumentTemplates
$Id: DT_HTML.py,v 1.1
6 1999/03/18 15:07:03 brian
Exp $"""
$Id: DT_HTML.py,v 1.1
7 1999/03/22 23:18:56 jim
Exp $"""
from
DT_String
import
String
,
FileMixin
import
DT_String
,
regex
...
...
@@ -222,14 +222,14 @@ class HTML(DT_String.String):
everything else private.'''
return
self
def
manage_editForm
(
self
,
PARENT_URL
,
REQUEST
):
def
manage_editForm
(
self
,
URL1
,
REQUEST
):
'''Display doc template editing form'''
#"
return
self
.
_manage_editForm
(
self
,
mapping
=
REQUEST
,
__str__
=
str
(
self
),
PARENT_URL
=
PARENT_URL
URL1
=
URL1
)
manage_editDocument
=
manage
=
manage_editForm
...
...
@@ -268,7 +268,7 @@ class HTMLFile(FileMixin, HTML):
self
.
cooked
=
self
.
cook
()
if
REQUEST
:
return
self
.
editConfirmation
(
self
,
REQUEST
)
def
manage_editForm
(
self
,
PARENT_URL
,
REQUEST
):
def
manage_editForm
(
self
,
URL1
,
REQUEST
):
'''Display doc template editing form'''
return
self
.
_manage_editForm
(
mapping
=
REQUEST
,
...
...
@@ -280,7 +280,7 @@ class HTMLFile(FileMixin, HTML):
self
.
document_template_form_header
,
document_template_edit_footer
=
self
.
document_template_edit_footer
,
PARENT_URL
=
PARENT_URL
,
URL1
=
URL1
,
__str__
=
str
(
self
),
FactoryDefaultString
=
FactoryDefaultString
,
)
...
...
lib/python/DocumentTemplate/DT_UI.py
View file @
f7ce9f48
...
...
@@ -84,8 +84,8 @@
##############################################################################
__doc__
=
'''Machinery to support through-the-web editing
$Id: DT_UI.py,v 1.
9 1999/03/10 00:15:07 kl
m Exp $'''
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
$Id: DT_UI.py,v 1.
10 1999/03/22 23:19:21 ji
m Exp $'''
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
from
DT_HTML
import
HTML
...
...
@@ -108,7 +108,7 @@ HTML._manage_editForm = HTML(
<BODY bgcolor="#FFFFFF">
<!--#var document_template_edit_header-->
<FORM name="editform" ACTION="<!--#var
PARENT_URL
-->/manage_edit" METHOD="POST">
<FORM name="editform" ACTION="<!--#var
URL1
-->/manage_edit" METHOD="POST">
<!--#var document_template_form_header-->
Document template source:
<center>
...
...
@@ -130,10 +130,10 @@ HTML._manage_editForm = HTML(
<INPUT NAME="CANCEL_ACTION" TYPE="HIDDEN"
VALUE="<!--#var HTTP_REFERER-->">
<!--#else HTTP_REFERER-->
<!--#if
PARENT_URL
-->
<!--#if
URL1
-->
<INPUT NAME="CANCEL_ACTION" TYPE="HIDDEN"
VALUE="<!--#var
PARENT_URL
-->">
<!--#/if
PARENT_URL
-->
VALUE="<!--#var
URL1
-->">
<!--#/if
URL1
-->
<!--#/if HTTP_REFERER-->
</center>
</FORM>
...
...
lib/python/DocumentTemplate/DTtest.py
View file @
f7ce9f48
...
...
@@ -85,8 +85,8 @@
"""Document Template Tests
"""
__rcs_id__
=
'$Id: DTtest.py,v 1.1
1 1999/03/10 00:15:08 kl
m Exp $'
__version__
=
'$Revision: 1.1
1
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: DTtest.py,v 1.1
2 1999/03/22 23:19:42 ji
m Exp $'
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
from
DocumentTemplate
import
*
import
sys
...
...
@@ -360,7 +360,7 @@ def test5():
Select an affiliate to visit:<br>
<UL>
<!--#in affiliates-->
<LI><A HREF="<!--#var
PARENT_URL
-->/<!--#var ID-->/">
<LI><A HREF="<!--#var
URL1
-->/<!--#var ID-->/">
<!--#var name--></A></LI>
<!--#/in affiliates-->
</UL>
...
...
@@ -368,10 +368,10 @@ def test5():
<!--#/if affiliates-->
<p>
<A HREF="<!--#var
PARENT_URL
-->/add_affiliate_form">Add an affiliate</A>
<A HREF="<!--#var
URL1
-->/add_affiliate_form">Add an affiliate</A>
<!--#if affiliates-->
* <A HREF="<!--#var
PARENT_URL
-->/delete_affiliates_form">
* <A HREF="<!--#var
URL1
-->/delete_affiliates_form">
Delete affiliates</A>
<!--#/if affiliates-->
...
...
@@ -381,7 +381,7 @@ def test5():
</html>'''
)
print
html
(
affiliates
=
[],
PARENT_URL
=
'www'
)
print
html
(
affiliates
=
[],
URL1
=
'www'
)
def
test6
():
def
d
(
**
kw
):
return
kw
...
...
lib/python/Shared/DC/ZRDB/Aqueduct.py
View file @
f7ce9f48
...
...
@@ -84,8 +84,8 @@
##############################################################################
__doc__
=
'''Shared classes and functions
$Id: Aqueduct.py,v 1.3
1 1999/03/10 00:15:44 kl
m Exp $'''
__version__
=
'$Revision: 1.3
1
$'
[
11
:
-
2
]
$Id: Aqueduct.py,v 1.3
2 1999/03/22 23:20:16 ji
m Exp $'''
__version__
=
'$Revision: 1.3
2
$'
[
11
:
-
2
]
import
Globals
,
os
from
Globals
import
HTMLFile
,
Persistent
...
...
@@ -178,9 +178,9 @@ class Searchable(BaseQuery):
report
=
HTML
(
custom_default_report
(
self
.
id
,
result
))
return
apply
(
report
,(
self
,
REQUEST
),{
self
.
id
:
result
})
def
index_html
(
self
,
PARENT_URL
):
def
index_html
(
self
,
URL1
):
" "
raise
'Redirect'
,
(
"%s/manage_testForm"
%
PARENT_URL
)
raise
'Redirect'
,
(
"%s/manage_testForm"
%
URL1
)
class
Composite
:
...
...
lib/python/Shared/DC/ZRDB/DA.py
View file @
f7ce9f48
...
...
@@ -85,8 +85,8 @@
__doc__
=
'''Generic Database adapter
$Id: DA.py,v 1.6
3 1999/03/10 00:15:44 kl
m Exp $'''
__version__
=
'$Revision: 1.6
3
$'
[
11
:
-
2
]
$Id: DA.py,v 1.6
4 1999/03/22 23:20:29 ji
m Exp $'''
__version__
=
'$Revision: 1.6
4
$'
[
11
:
-
2
]
import
OFS.SimpleItem
,
Aqueduct
,
RDB
import
DocumentTemplate
,
marshal
,
md5
,
base64
,
DateTime
,
Acquisition
,
os
...
...
@@ -309,9 +309,9 @@ class DA(
finally
:
tb
=
None
def
index_html
(
self
,
PARENT_URL
):
def
index_html
(
self
,
URL1
):
" "
raise
'Redirect'
,
(
"%s/manage_testForm"
%
PARENT_URL
)
raise
'Redirect'
,
(
"%s/manage_testForm"
%
URL1
)
def
_searchable_arguments
(
self
):
return
self
.
_arg
...
...
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