ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 2596


Ignore:
Timestamp:
Apr 20, 2007, 8:42:15 PM (12 years ago)
Author:
ebihara
Message:

#627:トピック編集時に表示するアップロードファイルのファイル名を内部名ではなくオリジナルのファイル名にした

Location:
OpenPNE/branches/ebihara/prj_dev_2_8beta6/webapp/modules/pc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/ebihara/prj_dev_2_8beta6/webapp/modules/pc/page/c_topic_edit.php

    r1856 r2596  
    4747        }
    4848
     49        if (!empty($c_topic['filename'])) {
     50            $original_filename = db_file_original_filename4filename($c_topic['filename']);
     51            $c_topic['original_filename'] = $original_filename;
     52        }
     53
    4954        $this->set('err_msg', $err_msg);
    5055        $this->set('c_topic', $c_topic);
  • OpenPNE/branches/ebihara/prj_dev_2_8beta6/webapp/modules/pc/templates/c_topic_edit.tpl

    r2296 r2596  
    210210
    211211({if $c_topic.filename})
    212 ({$c_topic.filename})<br>
     212({$c_topic.original_filename})<br>
    213213<a href="({t_url m=pc a=do_c_topic_edit_delete_c_commu_topic_comment_file})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;sessid=({$PHPSESSID})">削除</a><br>
    214214({/if})
  • OpenPNE/branches/ebihara/prj_dev_2_8beta6/webapp/modules/pc/templates/h_com_find_all.tpl

    r2005 r2596  
    5454並び替え<img src="({t_img_url_skin filename=icon_arrow_2})" class="icon">
    5555
    56 <a href="({t_url m=pc a=page_h_com_find_all})&amp;val_order=count&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$search_val_list.category_id})">メンバー数順</a>
     56<a href="({t_url m=pc a=page_h_com_find_all})&amp;val_order=count&amp;keyword=({$keyword})&amp;category_id=({$search_val_list.category_id})">メンバー数順</a>
    5757|
    58 <a href="({t_url m=pc a=page_h_com_find_all})&amp;val_order=r_datetime&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$search_val_list.category_id})">作成日順</a>
     58<a href="({t_url m=pc a=page_h_com_find_all})&amp;val_order=r_datetime&amp;keyword=({$keyword})&amp;category_id=({$search_val_list.category_id})">作成日順</a>
    5959
    6060<img src="./skin/dummy.gif" class="v_spacer_l">
     
    107107<div style="text-align:left;padding:3px;">
    108108({foreach name=cccl from=$c_commu_category_list[$item_parent.c_commu_category_parent_id] item=item_cat})
    109 <a href="({t_url m=pc a=page_h_com_find_all})&amp;order=r_datetime&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$item_cat.c_commu_category_id})">({$item_cat.name})(({$item_cat.count_commu_category}))</a>
     109<a href="({t_url m=pc a=page_h_com_find_all})&amp;order=r_datetime&amp;keyword=({$keyword})&amp;category_id=({$item_cat.c_commu_category_id})">({$item_cat.name})(({$item_cat.count_commu_category}))</a>
    110110({if !$smarty.foreach.cccl.last}) - ({/if})
    111111({/foreach})
     
    200200
    201201({if $is_prev})
    202 <a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=-1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;val_order=({$search_val_list.val_order})&amp;category_id=({$search_val_list.category_id})">前を表示</a>&nbsp;&nbsp;
     202<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=-1&amp;page=({$page})&amp;keyword=({$keyword})&amp;val_order=({$search_val_list.val_order})&amp;category_id=({$search_val_list.category_id})">前を表示</a>&nbsp;&nbsp;
    203203({/if})
    204204({if $total_num})
     
    206206({/if})
    207207({if $is_next})
    208 &nbsp;&nbsp;<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;val_order=({$search_val_list.val_order})&amp;category_id=({$search_val_list.category_id})">次を表示</a>
     208&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=1&amp;page=({$page})&amp;keyword=({$keyword})&amp;val_order=({$search_val_list.val_order})&amp;category_id=({$search_val_list.category_id})">次を表示</a>
    209209({/if})
    210210
     
    407407
    408408({if $is_prev})
    409 <a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=-1&amp;page=({$page})&amp;val_order=({$search_val_list.val_order})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$search_val_list.category_id})">前を表示</a>&nbsp;&nbsp;
     409<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=-1&amp;page=({$page})&amp;val_order=({$search_val_list.val_order})&amp;keyword=({$keyword})&amp;category_id=({$search_val_list.category_id})">前を表示</a>&nbsp;&nbsp;
    410410({/if})
    411411({if $total_num})
     
    413413({/if})
    414414({if $is_next})
    415 &nbsp;&nbsp;<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=1&amp;page=({$page})&amp;val_order=({$search_val_list.val_order})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$search_val_list.category_id})">次を表示</a>
     415&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=1&amp;page=({$page})&amp;val_order=({$search_val_list.val_order})&amp;keyword=({$keyword})&amp;category_id=({$search_val_list.category_id})">次を表示</a>
    416416({/if})
    417417
     
    498498
    499499({if $topic_is_prev})
    500 <a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=-1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;val_order=({$search_val_list.val_order})&amp;category_id=({$search_val_list.category_id})">前を表示</a>&nbsp;&nbsp;
     500<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=-1&amp;page=({$page})&amp;keyword=({$keyword})&amp;val_order=({$search_val_list.val_order})&amp;category_id=({$search_val_list.category_id})">前を表示</a>&nbsp;&nbsp;
    501501({/if})
    502502({if $topic_total_num})
     
    504504({/if})
    505505({if $topic_is_next})
    506 &nbsp;&nbsp;<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;val_order=({$search_val_list.val_order})&amp;category_id=({$search_val_list.category_id})">次を表示</a>
     506&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=1&amp;page=({$page})&amp;keyword=({$keyword})&amp;val_order=({$search_val_list.val_order})&amp;category_id=({$search_val_list.category_id})">次を表示</a>
    507507({/if})
    508508
     
    705705
    706706({if $topic_is_prev})
    707 <a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=-1&amp;page=({$page})&amp;val_order=({$search_val_list.val_order})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$search_val_list.category_id})">前を表示</a>&nbsp;&nbsp;
     707<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=-1&amp;page=({$page})&amp;val_order=({$search_val_list.val_order})&amp;keyword=({$keyword})&amp;category_id=({$search_val_list.category_id})">前を表示</a>&nbsp;&nbsp;
    708708({/if})
    709709({if $topic_total_num})
     
    711711({/if})
    712712({if $topic_is_next})
    713 &nbsp;&nbsp;<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=1&amp;page=({$page})&amp;val_order=({$search_val_list.val_order})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$search_val_list.category_id})">次を表示</a>
     713&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_com_find_all})&amp;direc=1&amp;page=({$page})&amp;val_order=({$search_val_list.val_order})&amp;keyword=({$keyword})&amp;category_id=({$search_val_list.category_id})">次を表示</a>
    714714({/if})
    715715
Note: See TracChangeset for help on using the changeset viewer.