Commit 163d851f authored by Jérome Perrin's avatar Jérome Perrin

output some html with links

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28013 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 34e945fb
...@@ -182,6 +182,7 @@ priority.\n ...@@ -182,6 +182,7 @@ priority.\n
# make sure context is the skins tool\n # make sure context is the skins tool\n
stool = context.portal_skins\n stool = context.portal_skins\n
\n \n
print \'<html><body>\'\n
skins_by_name = {}\n skins_by_name = {}\n
\n \n
for skin_key, skin_path_list in stool.getSkinPaths():\n for skin_key, skin_path_list in stool.getSkinPaths():\n
...@@ -199,10 +200,11 @@ for skin_key, skin_path_list in stool.getSkinPaths():\n ...@@ -199,10 +200,11 @@ for skin_key, skin_path_list in stool.getSkinPaths():\n
\n \n
for skin_name, location_list in skins_by_name.items():\n for skin_name, location_list in skins_by_name.items():\n
if len(location_list) > 1:\n if len(location_list) > 1:\n
print skin_name\n print skin_name, \'<br/>\'\n
for location in location_list:\n for location in location_list:\n
print " ", location\n print "&nbsp;" * 3, \'<a href="%s/%s/%s/manage_main">%s</a><br/>\' % (stool.absolute_url(), location, skin_name, location)\n
\n \n
print \'</body></html>\'\n
return printed\n return printed\n
...@@ -214,6 +216,10 @@ return printed\n ...@@ -214,6 +216,10 @@ return printed\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>_proxy_roles</string> </key> <key> <string>_proxy_roles</string> </key>
<value> <value>
......
477 478
\ No newline at end of file \ No newline at end of file
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