category widget에 전체 text 입력 가능하도록 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6003 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-03-31 08:56:43 +00:00
parent 8391c29fd0
commit 759d04c772
3 changed files with 7 additions and 2 deletions

View file

@ -44,6 +44,7 @@
$widget_info->mid = $module_info->mid; $widget_info->mid = $module_info->mid;
$widget_info->document_category = $document_category; $widget_info->document_category = $document_category;
$widget_info->category_list = $category_list; $widget_info->category_list = $category_list;
$widget_info->total_title = $args->total_title;
if($module_info->site_srl) { if($module_info->site_srl) {
$site_module_info = Context::get('site_module_info'); $site_module_info = Context::get('site_module_info');

View file

@ -45,5 +45,10 @@
<description xml:lang="zh-CN">将把所选模块当中的主题作为对象。只能选一个模块。</description> <description xml:lang="zh-CN">将把所选模块当中的主题作为对象。只能选一个模块。</description>
<description xml:lang="zh-TW">將所選擇的模組作為目標。只能選擇一個模組。</description> <description xml:lang="zh-TW">將所選擇的模組作為目標。只能選擇一個模組。</description>
</var> </var>
<var id="total_title">
<type>text</type>
<name xml:lang="ko">category 전체 타이틀</name>
<name xml:lang="en">category total text title</name>
</var>
</extra_vars> </extra_vars>
</widget> </widget>

View file

@ -4,10 +4,9 @@
<!--@if($colorset == "black" || $colorset == "white")--> <!--@if($colorset == "black" || $colorset == "white")-->
<!--%import("./css/widget.css")--> <!--%import("./css/widget.css")-->
<!--@end--> <!--@end-->
<div class="widgetContainer<!--@if($colorset=="black")--> black<!--@end-->"> <div class="widgetContainer<!--@if($colorset=="black")--> black<!--@end-->">
<div class="widgetTree"> <div class="widgetTree">
<a href="{getSiteUrl($widget_info->domain,'','mid',$widget_info->module_info->mid?$widget_info->module_info->mid:$layout_info->target_mid)}" class="title">{$widget_info->module_info->browser_title}</a> <span>({$widget_info->total_document_count})</span> <a href="{getSiteUrl($widget_info->domain,'','mid',$widget_info->module_info->mid?$widget_info->module_info->mid:$layout_info->target_mid)}" class="title"><!--@if($widget_info->total_title)-->{$widget_info->total_title}<!--@else-->{$widget_info->module_info->browser_title}<!--@end--></a> <span>({$widget_info->total_document_count})</span>
<ul> <ul>
<!--@foreach($widget_info->category_list as $key => $val)--> <!--@foreach($widget_info->category_list as $key => $val)-->
<!--@if($_pDepth > $val->depth)--> <!--@if($_pDepth > $val->depth)-->