Admin layout page HTML code refining.

- HTML entities: & should be written as &
- hide useless end tag of <ul>: on the layout insert page, detail setting was hidden but '</ul>' was not hidden. Fixed: Hide '</ul>' when XE hide the detail setting of layout, during inserting layout.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11064 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2012-08-22 15:26:44 +00:00
parent 2db5e7ca53
commit 975a4f04bc
5 changed files with 7 additions and 8 deletions

View file

@ -78,7 +78,7 @@
<block cond="$var->type == 'image'">
<input type="hidden" name="{$name}" id="file_{$name}" value="{$var->value}" />
<div id="preview_{$name}" style="display:none;"|cond="!$var->value">
<img src="../../../{$var->value}"|cond="$var->value" alt="" style="max-width: 250px"/>
<img src="../../../{$var->value}" cond="$var->value" alt="" style="max-width: 250px" />
<input type="button" value="{$lang->cmd_delete}" onclick="deleteImage('{$name}')" />
</div>
<form action="./" enctype="multipart/form-data" method="post" target="hiddenIframe" class="imageUpload">
@ -134,8 +134,7 @@
<p class="desc">{$var->description}</p>
</li>
</block>
</ul>
<block cond="$act == 'dispLayoutAdminModify'"></ul></block>
<h3 class="h3" cond="$selected_layout->menu">{$lang->menu}</h3>
<ul cond="$selected_layout->menu">