mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
Admin HTML Markup Clean.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9377 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0634424830
commit
024a234f6a
74 changed files with 732 additions and 838 deletions
|
|
@ -168,24 +168,8 @@ function getWidgetBoxCode(childObj, widget) {
|
|||
}
|
||||
|
||||
var body = getWidgetContent(o);
|
||||
return '<div widget="widgetBox" style="'+getStyle(childObj)+'" widget_padding_left="'+getPadding(childObj,'left')+'" widget_padding_right="'+getPadding(childObj,'right')+'" widget_padding_top="'+getPadding(childObj, 'top')+'" widget_padding_bottom="'+getPadding(childObj, 'bottom')+'" '+attrs+'><div><div>'+body+'<div class="clear"></div></div></div></div>';
|
||||
return '<div widget="widgetBox" style="'+getStyle(childObj)+'" widget_padding_left="'+getPadding(childObj,'left')+'" widget_padding_right="'+getPadding(childObj,'right')+'" widget_padding_top="'+getPadding(childObj, 'top')+'" widget_padding_bottom="'+getPadding(childObj, 'bottom')+'" '+attrs+'><div><div>'+body+'</div></div></div>';
|
||||
|
||||
/*
|
||||
var cobj = childObj.firstChild;
|
||||
while(cobj) {
|
||||
if(cobj.className == "widgetBorder" || cobj.className == "widgetBoxBorder") {
|
||||
var c2obj = cobj.firstChild;
|
||||
while(c2obj) {
|
||||
if(c2obj.className == "nullWidget") {
|
||||
var body = getWidgetContent(c2obj);
|
||||
return '<div widget="widgetBox" style="'+getStyle(childObj)+'" widget_padding_left="'+getPadding(childObj,'left')+'" widget_padding_right="'+getPadding(childObj,'right')+'" widget_padding_top="'+getPadding(childObj, 'top')+'" widget_padding_bottom="'+getPadding(childObj, 'bottom')+'" '+attrs+'><div><div>'+body+'<div class="clear"></div></div></div></div>';
|
||||
}
|
||||
c2obj = c2obj.nextSibling;
|
||||
}
|
||||
}
|
||||
cobj = cobj.nextSibling;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -316,7 +300,6 @@ function doAddWidgetBox() {
|
|||
'<div class="widgetBoxResizeLeft"></div>'+
|
||||
'<div class="widgetBoxBorder">'+
|
||||
'<div class="nullWidget" style="width:100%;height:100px;"></div>'+
|
||||
'<div class="clear"></div>'+
|
||||
'</div>'+
|
||||
'</div>';
|
||||
xInnerHtml(zonePageObj, xInnerHtml(zonePageObj)+tpl);
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@
|
|||
|
||||
<a href="{getUrl('widgetstyle','none')}" class="widgetStyle"><img src="images/widgetstyle_none.gif" title="{$lang->notuse}" /></a>
|
||||
<a loop="$widgetStyle_list => $key, $widgetStyle" cond="$widgetStyle->preview" href="{getUrl('widgetstyle',$widgetStyle->widgetStyle)}" class="widgetStyle <!--@if($widgetStyle->widgetStyle==$widgetstyle)-->selected<!--@end-->"><img src="{getUrl()}{$widgetStyle->preview}" title="{$widgetStyle->title}" /><span>{$widgetStyle->title}</span></a>
|
||||
<div class="clear"></div>
|
||||
|
||||
<block cond="$widgetstyle_info">
|
||||
|
||||
<h3 class="h3">{$widgetstyle_info->title} ver {$widgetstyle_info->version}</h3>
|
||||
|
|
|
|||
|
|
@ -489,7 +489,7 @@
|
|||
$inner_style);
|
||||
|
||||
$widget_content_body = $body;
|
||||
$widget_content_footer = sprintf('</div><div class="clear"></div>'.
|
||||
$widget_content_footer = sprintf('</div>'.
|
||||
'</div>'.
|
||||
'<div class="widgetContent" style="display:none;width:1px;height:1px;overflow:hidden;">%s</div>'.
|
||||
'</div>',base64_encode($body));
|
||||
|
|
@ -538,7 +538,7 @@
|
|||
$widget_padding_top, $widget_padding_right, $widget_padding_bottom, $widget_padding_left,
|
||||
$widget, implode(' ',$attribute));
|
||||
|
||||
$widget_content_body = sprintf('<div style="%s">%s</div><div class="clear"></div>',$inner_style, $widget_content);
|
||||
$widget_content_body = sprintf('<div style="%s">%s</div>',$inner_style, $widget_content);
|
||||
|
||||
$widget_content_footer = '</div></div>';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue