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:
ChanMyeong 2011-09-27 12:53:33 +00:00
parent 0634424830
commit 024a234f6a
74 changed files with 732 additions and 838 deletions

View file

@ -14,7 +14,7 @@
<table width="100%" border="1" cellspacing="0">
<thead>
<tr>
<th scope="col" class="wide">{$lang->category_title}</th>
<th scope="col" >{$lang->category_title}</th>
<th scope="col">{$lang->regdate}</th>
<th scope="col" colspan="2">&nbsp;</th>
</tr>
@ -27,8 +27,8 @@
<!--@end-->
<!--@foreach($category_list as $key => $val)-->
<tr>
<td class="wide">{$val->title}</td>
<td class="nowrap">{zdate($val->regdate,"Y-m-d H:i:s")}</td>
<td >{$val->title}</td>
<td>{zdate($val->regdate,"Y-m-d H:i:s")}</td>
<td>
<a href="{getUrl('module_category_srl',$val->module_category_srl)}">{$lang->cmd_modify}</a>
<button type="button" class="text" onclick="doUpdateCategory('{$val->module_category_srl}','{$lang->confirm_delete}');return false;">{$lang->cmd_delete}</button>

View file

@ -10,7 +10,7 @@
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="row">{$lang->module}</th>
<td class="wide">{$module_info->module}</td>
<td >{$module_info->module}</td>
</tr>
<tr>
<th scope="row">{$lang->mid}</th>
@ -28,45 +28,45 @@
<th scope="col"><div>{$lang->mid}<div></th>
<th scope="col"><div>{$lang->browser_title}<div></th>
</tr>
<tr class="row2">
<td><input type="text" name="mid_1" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_1" class="inputTypeText w200" /></td>
<tr>
<td><input type="text" name="mid_1" /></td>
<td><input type="text" name="browser_title_1" /></td>
</tr>
<tr>
<td><input type="text" name="mid_2" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_2" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_3" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_3" class="inputTypeText w200" /></td>
<td><input type="text" name="mid_2" /></td>
<td><input type="text" name="browser_title_2" /></td>
</tr>
<tr>
<td><input type="text" name="mid_4" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_4" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_5" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_5" class="inputTypeText w200" /></td>
<td><input type="text" name="mid_3" /></td>
<td><input type="text" name="browser_title_3" /></td>
</tr>
<tr>
<td><input type="text" name="mid_6" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_6" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_7" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_7" class="inputTypeText w200" /></td>
<td><input type="text" name="mid_4" /></td>
<td><input type="text" name="browser_title_4" /></td>
</tr>
<tr>
<td><input type="text" name="mid_8" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_8" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_9" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_9" class="inputTypeText w200" /></td>
<td><input type="text" name="mid_5" /></td>
<td><input type="text" name="browser_title_5" /></td>
</tr>
<tr>
<td><input type="text" name="mid_10" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_10" class="inputTypeText w200" /></td>
<td><input type="text" name="mid_6" /></td>
<td><input type="text" name="browser_title_6" /></td>
</tr>
<tr>
<td><input type="text" name="mid_7" /></td>
<td><input type="text" name="browser_title_7" /></td>
</tr>
<tr>
<td><input type="text" name="mid_8" /></td>
<td><input type="text" name="browser_title_8" /></td>
</tr>
<tr>
<td><input type="text" name="mid_9" /></td>
<td><input type="text" name="browser_title_9" /></td>
</tr>
<tr>
<td><input type="text" name="mid_10" /></td>
<td><input type="text" name="browser_title_10" /></td>
</tr>
</table>
</div>

View file

@ -1,37 +1,32 @@
<load target="./js/module_admin.js" usecdn="true" />
<div id="popHeader" class="wide">
<h3 class="xeAdmin">{$lang->filebox}</h3>
</div>
<h1 class="h1">{$lang->filebox}</h1>
<form action="{getUrl('')}" method="post" enctype="multipart/form-data">
<input type="hidden" name="module" value="module" />
<input type="hidden" name="act" value="procModuleFileBoxAdd" />
<input type="hidden" name="vid" value="{$vid}" />
<input type="hidden" name="filter" value="{$filter}" />
<input type="hidden" name="input" value="{$input}" />
<div id="popBody">
<table class="rowTable" cellspacing="0">
<tbody>
<tr>
<th>{$lang->description}</th>
<td><input type="text" name="comment" /></td>
</tr>
<tr>
<th>{$lang->file}</th>
<td><input type="file" name="addfile" />
<p>
<!--@if($arrfilter && is_array($arrfilter))-->
{@sprintf($lang->about_file_extension,join(", ",$arrfilter ))}
<!--@end-->
</p>
</td>
</tr>
</tbody>
</table>
</div>
<div id="popFooter">
<span class="button black"><input type="submit" value="{$lang->cmd_submit}" /></span>
</div>
<input type="hidden" name="module" value="module" />
<input type="hidden" name="act" value="procModuleFileBoxAdd" />
<input type="hidden" name="vid" value="{$vid}" />
<input type="hidden" name="filter" value="{$filter}" />
<input type="hidden" name="input" value="{$input}" />
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tbody>
<tr>
<th>{$lang->description}</th>
<td><input type="text" name="comment" /></td>
</tr>
<tr>
<th>{$lang->file}</th>
<td><input type="file" name="addfile" />
<p>
<!--@if($arrfilter && is_array($arrfilter))-->
{@sprintf($lang->about_file_extension,join(", ",$arrfilter ))}
<!--@end-->
</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_submit}" /></span>
</div>
</form>

View file

@ -1,65 +1,60 @@
<!--%load_js_plugin("filebox")-->
<div id="popHeader" class="wide">
<h3 class="xeAdmin">{$lang->filebox}</h3>
</div>
<div id="popBody">
<table class="rowTable" cellspacing="0" width="90%">
<thead>
<tr>
<th><div>{$lang->file}</div></th>
<th><div>{$lang->description}</div></th>
<th><div>{$lang->regdate}</div></th>
<th><div>&nbsp;</div></th>
</tr>
</thead>
<tbody>
<h1 class="h1">{$lang->filebox}</h1>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<thead>
<tr>
<th>{$lang->file}</th>
<th>{$lang->description}</th>
<th>{$lang->regdate}</th>
<th>&nbsp;</th>
</tr>
</thead>
<tbody>
<!--@foreach($filebox_list as $key=>$val)-->
<tr>
<td>
<div id="filebox_preview_{$val->module_filebox_srl}">
<!--@if($val->fileextension=='swf')-->
<object height="100" width="100" flashvars="" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" xmlns="http://www.w3.org/1999/xhtml">
<param value="{getUrl('')}{$val->filename}" name="movie" xmlns="http://www.w3.org/1999/xhtml" />
<param value="transparent" name="wmode" xmlns="http://www.w3.org/1999/xhtml" />
<param value="sameDomain" name="allowScriptAccess" xmlns="http://www.w3.org/1999/xhtml" />
<param value="high" name="quality" xmlns="http://www.w3.org/1999/xhtml" />
<embed height="100" width="100" wmode="transparent" flashvars="" autostart="false" src="{getUrl('')}{$val->filename}" xmlns="http://www.w3.org/1999/xhtml" />
</object>
<!--@elseif(in_array($val->fileextension,array('gif','png','jpg','jpeg')))-->
<img src="{getUrl('')}{$val->filename}" width="100" height="100" />
<!--@end-->
</div>
</td>
<td class="wide">{$val->comment}&nbsp;</td>
<td class="nowrap">{zdate($val->regdate,'Y-m-d H:i')}</td>
<td>
<!--@if(!$filter || (is_array($arrfilter) && in_array($val->fileextension,$arrfilter)))-->
<span class="small button black"><button type="button" onclick="XE.filebox.selectFile('{getUrl('')}{$val->filename}','{$val->module_filebox_srl}');">{$lang->cmd_select}</button></span>
<!--@end-->
<span class="small button"><button type="button" onclick="XE.filebox.deleteFile('{$val->module_filebox_srl}');">{$lang->cmd_delete}</button></span>
</td>
</tr>
<tr>
<td>
<div id="filebox_preview_{$val->module_filebox_srl}">
<!--@if($val->fileextension=='swf')-->
<object height="100" width="100" flashvars="" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" xmlns="http://www.w3.org/1999/xhtml">
<param value="{getUrl('')}{$val->filename}" name="movie" xmlns="http://www.w3.org/1999/xhtml" />
<param value="transparent" name="wmode" xmlns="http://www.w3.org/1999/xhtml" />
<param value="sameDomain" name="allowScriptAccess" xmlns="http://www.w3.org/1999/xhtml" />
<param value="high" name="quality" xmlns="http://www.w3.org/1999/xhtml" />
<embed height="100" width="100" wmode="transparent" flashvars="" autostart="false" src="{getUrl('')}{$val->filename}" xmlns="http://www.w3.org/1999/xhtml" />
</object>
<!--@elseif(in_array($val->fileextension,array('gif','png','jpg','jpeg')))-->
<img src="{getUrl('')}{$val->filename}" width="100" height="100" />
<!--@end-->
</div>
</td>
<td >{$val->comment}&nbsp;</td>
<td>{zdate($val->regdate,'Y-m-d H:i')}</td>
<td>
<!--@if(!$filter || (is_array($arrfilter) && in_array($val->fileextension,$arrfilter)))-->
<button type="button" onclick="XE.filebox.selectFile('{getUrl('')}{$val->filename}','{$val->module_filebox_srl}');">{$lang->cmd_select}</button>
<!--@end-->
<button type="button" onclick="XE.filebox.deleteFile('{$val->module_filebox_srl}');">{$lang->cmd_delete}</button>
</td>
</tr>
<!--@end-->
</tbody>
</table>
<!-- 페이지 네비게이션 -->
<div class="pagination a1">
<a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a>
<!--@while($page_no = $page_navigation->getNextPage())-->
<!--@if($page == $page_no)-->
<strong>{$page_no}</strong>
<!--@else-->
<a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
<!--@end-->
<!--@end-->
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
</div>
</tbody>
</table>
</div>
<div id="popFooter">
<a href="{getUrl('','module','module','act','dispModuleFileBoxAdd','filter',$filter,'input',$input)}" class="button black"><span>{$lang->cmd_registration}</span></a>
<!-- 페이지 네비게이션 -->
<div class="pagination">
<a href="{getUrl('page','','module_srl','')}" class="direction">&lsaquo; {$lang->first_page}</a>
<!--@while($page_no = $page_navigation->getNextPage())-->
<!--@if($page == $page_no)-->
<strong>{$page_no}</strong>
<!--@else-->
<a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
<!--@end-->
<!--@end-->
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="direction">{$lang->last_page} &rsaquo;</a>
</div>
<div class="btnArea">
<span class="btn"><a href="{getUrl('','module','module','act','dispModuleFileBoxAdd','filter',$filter,'input',$input)}">{$lang->cmd_registration}</a></span>
</div>

View file

@ -1,7 +1,2 @@
<div id="popHeader" class="wide">
<h3 class="xeAdmin">{$lang->bundle_addition_setup}</h3>
</div>
<div id="popBody">
{$setup_content}
</div>
<h1 class="h1">{$lang->bundle_addition_setup}</h1>
{$setup_content}

View file

@ -24,7 +24,7 @@
<!--@foreach($grant_list as $grant_name => $grant_item)-->
<tr class="row{$cycle_idx}">
<th scope="row">{$grant_item->title}</th>
<td class="wide">
<td >
<select name="{$grant_name}_default" class="grant_default">
<!--@if($grant_item->default == 'guest')--><option value="0">{$lang->grant_to_all}</option><!--@end-->
<!--@if($grant_item->default != 'manager')--><option value="-1">{$lang->grant_to_login_user}</option><!--@end-->

View file

@ -14,7 +14,7 @@
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="row" rowspan="2">{$lang->admin_id}</th>
<td class="wide">
<td >
<select name="_admin_member" multiple="multiple" size="{count($admin_member)?count($admin_member):1}" class="w200">
<!--@foreach($admin_member as $key => $val)-->
<option value="{$val->user_id}">{$val->nick_name} ({$val->user_id})</option>
@ -46,7 +46,7 @@
<!--@foreach($grant_list as $grant_name => $grant_item)-->
<tr class="row{$cycle_idx}">
<th scope="row">{$grant_item->title}</th>
<td class="wide">
<td >
<select name="{$grant_name}_default" class="grant_default">
<!--@if($grant_item->default == 'guest')--><option value="0" <!--@if($default_grant[$grant_name]=='all')-->selected="selected"<!--@end-->>{$lang->grant_to_all}</option><!--@end-->
<!--@if($grant_item->default != 'manager')--><option value="-1" <!--@if($default_grant[$grant_name]=='member')-->selected="selected"<!--@end-->>{$lang->grant_to_login_user}</option><!--@end-->

View file

@ -1,78 +1,76 @@
<load target="./js/module_admin.js" usecdn="true" />
<load target="../../common/css/popup.css" usecdn="true" />
<div id="popHeader">
<h3 class="xeAdmin">{$lang->module_selector}</h3>
</div>
<div id="popBody">
<form action="./" method="post">
<input type="hidden" name="module" value="module" />
<input type="hidden" name="act" value="dispModuleSelectList" />
<input type="hidden" name="id" value="{$id}" />
<input type="hidden" name="type" value="{$type}" />
<input type="hidden" name="vid" value="{$vid}" />
<table class="rowTable" cellspacing="0">
<tbody>
<!--@if($site_count && $logged_info->is_admin == 'Y')-->
<tr>
<th><div>{$lang->virtual_site}</div></th>
<td>
<input type="text" name="site_keyword" value="{$site_keyword}" class="inputTypeText w200" /> <span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
<p>{$lang->about_search_virtual_site}</p>
</td>
</tr>
<!--@end-->
<tr>
<th><div>{$lang->module}</div></th>
<td>
<select name="selected_module">
<!--@foreach($mid_list as $key=>$val)-->
<option value="{$key}" <!--@if($selected_module == $key)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select><span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
</td>
</tr>
</tbody>
</table>
<table class="rowTable" cellspacing="0">
<thead>
<tr>
<!--@if($module_category_exists)--><th><div>{$lang->module_category}</div></th><!--@end-->
<th><div>{$lang->mid}</div></th>
<th class="wide"><div>{$lang->browser_title}</div></th>
<th><div>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</div></th>
<tr>
</thead>
<tbody>
<!--@if($module_category_exists)-->
<!--@foreach($selected_mids as $key => $val)-->
<tr>
<td rowspan="{count($val)}">{$key}&nbsp;</td>
{@ $_idx =0; }
<!--@foreach($val as $k => $v)-->
<!--@if($_idx >0)--><tr><!--@end-->
{@ $browser_title = str_replace("'", "\\'", htmlspecialchars($v->browser_title)); }
<td>{$k}</td>
<td>{$v->browser_title}</td>
<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{$browser_title}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
<!--@if($_idx <count($val))--></tr><!--@end-->
{@ $_idx ++; }
<!--@end-->
</tr>
<!--@end-->
<!--@else-->
<!--@foreach($selected_mids as $key => $val)-->
<!--@foreach($val as $k => $v)-->
<tr>
<td>{$k}</td>
<td>{$v->browser_title}</td>
<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{str_replace("'","\\'",$v->browser_title)}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
</tr>
<!--@end-->
<!--@end-->
<!--@end-->
</tbody>
</table>
</form>
</div>
<h1 class="h1">{$lang->module_selector}</h1>
<form action="./" method="post">
<input type="hidden" name="module" value="module" />
<input type="hidden" name="act" value="dispModuleSelectList" />
<input type="hidden" name="id" value="{$id}" />
<input type="hidden" name="type" value="{$type}" />
<input type="hidden" name="vid" value="{$vid}" />
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tbody>
<!--@if($site_count && $logged_info->is_admin == 'Y')-->
<tr>
<th>{$lang->virtual_site}</th>
<td>
<input type="text" name="site_keyword" value="{$site_keyword}" /> <span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
<p>{$lang->about_search_virtual_site}</p>
</td>
</tr>
<!--@end-->
<tr>
<th>{$lang->module}</th>
<td>
<select name="selected_module">
<!--@foreach($mid_list as $key=>$val)-->
<option value="{$key}" <!--@if($selected_module == $key)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select><span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
</td>
</tr>
</tbody>
</table>
</div>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<thead>
<tr>
<!--@if($module_category_exists)--><th>{$lang->module_category}</th><!--@end-->
<th>{$lang->mid}</th>
<th >{$lang->browser_title}</th>
<th>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</th>
<tr>
</thead>
<tbody>
<!--@if($module_category_exists)-->
<!--@foreach($selected_mids as $key => $val)-->
<tr>
<td rowspan="{count($val)}">{$key}&nbsp;</td>
{@ $_idx =0; }
<!--@foreach($val as $k => $v)-->
<!--@if($_idx >0)--><tr><!--@end-->
{@ $browser_title = str_replace("'", "\\'", htmlspecialchars($v->browser_title)); }
<td>{$k}</td>
<td>{$v->browser_title}</td>
<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{$browser_title}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
<!--@if($_idx <count($val))--></tr><!--@end-->
{@ $_idx ++; }
<!--@end-->
</tr>
<!--@end-->
<!--@else-->
<!--@foreach($selected_mids as $key => $val)-->
<!--@foreach($val as $k => $v)-->
<tr>
<td>{$k}</td>
<td>{$v->browser_title}</td>
<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{str_replace("'","\\'",$v->browser_title)}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
</tr>
<!--@end-->
<!--@end-->
<!--@end-->
</tbody>
</table>
</div>
</form>

View file

@ -48,21 +48,21 @@
<tr>
<th scope="row">{$lang->description}</th>
<td>
<textarea name="description" class="inputTypeTextArea fixWidth">{htmlspecialchars($module_info->description)}</textarea>
<textarea name="description">{htmlspecialchars($module_info->description)}</textarea>
<p>{$lang->about_description}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->header_text}</th>
<td>
<textarea name="header_text" class="inputTypeTextArea fixWidth">{htmlspecialchars($module_info->header_text)}</textarea>
<textarea name="header_text">{htmlspecialchars($module_info->header_text)}</textarea>
<p>{$lang->about_header_text}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->footer_text}</th>
<td>
<textarea name="footer_text" class="inputTypeTextArea fixWidth">{htmlspecialchars($module_info->footer_text)}</textarea>
<textarea name="footer_text">{htmlspecialchars($module_info->footer_text)}</textarea>
<p>{$lang->about_footer_text}</p>
</td>
</tr>

View file

@ -11,7 +11,7 @@
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="row">{$lang->skin}</th>
<td class="wide" >{$skin_info->title}</td>
<td >{$skin_info->title}</td>
</tr>
<tr>
<th scope="row">{$lang->skin_author}</th>
@ -54,7 +54,7 @@
<tr valign="top">
<th scope="row"><div>{$lang->colorset}</div></th>
<td class="wide">
<td >
<!--@foreach($skin_info->colorset as $key => $val)-->
<!--@if($val->screenshot)-->
{@ $_img_info = getImageSize($val->screenshot); $_height = $_img_info[1]+40; $_width = $_img_info[0]+20; $_talign = "center"; }
@ -87,13 +87,13 @@
<tr>
<th scope="row"><div>{$val->title}</div></th>
<td class="wide">
<td >
<!--@if($val->type=="text")-->
<input type="text" name="{$val->name}" value="{$val->value}" id="target{$val->name}" class="inputTypeText w400" />
<input type="text" name="{$val->name}" value="{$val->value}" id="target{$val->name}" />
<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','target'.$val->name)}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
<!--@elseif($val->type=="textarea")-->
<textarea name="{$val->name}" class="inputTypeTextArea w400" id="target{$val->name}">{$val->value}</textarea>
<textarea name="{$val->name}" id="target{$val->name}">{$val->value}</textarea>
<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','target'.$val->name)}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
<!--@elseif($val->type=="select")-->