Commit b36d8c40 authored by Kevin Deldycke's avatar Kevin Deldycke

Minor fixes.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10581 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 70bb96f6
...@@ -114,6 +114,8 @@ li {margin-left: 1em}\n ...@@ -114,6 +114,8 @@ li {margin-left: 1em}\n
\n \n
.doNotDisplay {display: none}\n .doNotDisplay {display: none}\n
\n \n
.hiddenLabel label {display: none}\n
\n
table {\n table {\n
border-collapse: collapse;\n border-collapse: collapse;\n
border-spacing: 0;\n border-spacing: 0;\n
......
...@@ -83,6 +83,21 @@ ...@@ -83,6 +83,21 @@
<tal:block tal:repeat="css css_list">\n <tal:block tal:repeat="css css_list">\n
<link tal:attributes="href css" type="text/css" rel="stylesheet"/>\n <link tal:attributes="href css" type="text/css" rel="stylesheet"/>\n
</tal:block>\n </tal:block>\n
\n
<script type="text/javascript">\n
// The first input element with a "autofocus" class will get the focus,\n
// else, the first input is choosen.\n
function autoFocus() {\n
var inputs = document.getElementsByTagName("input");\n
var input_to_focus = inputs[0];\n
for (i=0;i<inputs.length;i++) {\n
if (inputs[i].className == "autofocus") {\n
input_to_focus = inputs[i];\n
}\n
}\n
input_to_focus.focus();\n
}\n
</script>\n
\n \n
<tal:block tal:repeat="js js_list">\n <tal:block tal:repeat="js js_list">\n
<script tal:attributes="src js" type="text/javascript"></script>\n <script tal:attributes="src js" type="text/javascript"></script>\n
...@@ -95,7 +110,7 @@ ...@@ -95,7 +110,7 @@
<tal:block metal:use-macro="here/global_definitions/macros/planning_box_definitions"/>\n <tal:block metal:use-macro="here/global_definitions/macros/planning_box_definitions"/>\n
</head>\n </head>\n
\n \n
<body>\n <body> <!-- TODO: This conflicts with tabber.js => onload="autoFocus()"-->\n
<!-- Global form is used to save data of other fields when we edit one another (generally make sense in listbox and/or relation string field) -->\n <!-- Global form is used to save data of other fields when we edit one another (generally make sense in listbox and/or relation string field) -->\n
<form id="main_form"\n <form id="main_form"\n
tal:attributes="enctype python: here.ERP5XhtmlStyle_getFormEnctype(form);\n tal:attributes="enctype python: here.ERP5XhtmlStyle_getFormEnctype(form);\n
......
...@@ -135,7 +135,6 @@ ...@@ -135,7 +135,6 @@
</li>\n </li>\n
</ul>\n </ul>\n
</div>\n </div>\n
\n
\n \n
<!-- Action drop-down contextual menu -->\n <!-- Action drop-down contextual menu -->\n
<div name="adminSection" class="adminSection">\n <div name="adminSection" class="adminSection">\n
......
...@@ -52,12 +52,12 @@ ...@@ -52,12 +52,12 @@
This widget display a list of sub Web Pages or Web Sections objects.\n This widget display a list of sub Web Pages or Web Sections objects.\n
--></tal:block>\n --></tal:block>\n
\n \n
<ul tal:repeat="sub_object python:context.objectValues()">\n <ul><tal:block tal:repeat="sub_object python:context.objectValues()">\n
<li tal:condition="python: sub_object.getPortalType() in [\'Web Section\', \'Web Page\']">\n <li tal:condition="python: sub_object.getPortalType() in [\'Web Section\', \'Web Page\']">\n
<a tal:attributes="href python: sub_object.WebSite_getDocumentUrl()"\n <a tal:attributes="href python: sub_object.WebSite_getDocumentUrl()"\n
tal:content="python: sub_object.ERP5Web_getVerboseTitle(priority=\'short_title\')"/>\n tal:content="python: sub_object.ERP5Web_getVerboseTitle(priority=\'short_title\')"/>\n
</li>\n </li>\n
</ul> </tal:block></ul>
]]></string> </value> ]]></string> </value>
</item> </item>
......
2006-10-05 Kevin
* Minor fixes.
2006-10-04 Kevin 2006-10-04 Kevin
* New ERP5Web_getNiceURI script to transform any string to a Search Engine friendly URI. * New ERP5Web_getNiceURI script to transform any string to a Search Engine friendly URI.
......
484 488
\ No newline at end of file \ No newline at end of file
0.3.44 0.3.45
\ 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