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

Changeset 2646


Ignore:
Timestamp:
Apr 29, 2007, 5:35:55 PM (12 years ago)
Author:
ogawa
Message:

#607:検索キーワードが2重にエスケープされてしまう(for 2.6.x)

Location:
OpenPNE/branches/2.6.x
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2.6.x/webapp/modules/ktai/templates/h_com_category.tpl

    r2 r2646  
    1212({/foreach})
    1313<br>
    14 ({if $is_prev})<a href="({t_url m=ktai a=page_h_com_category})&amp;target_c_commu_category_id=({$c_commu_category_id})&amp;page=({$page-1})&amp;({$tail})&amp;search_word=({$search_word|to_sjis|escape:"url"})">前へ</a> ({/if})
    15 ({if $is_next})<a href="({t_url m=ktai a=page_h_com_category})&amp;target_c_commu_category_id=({$c_commu_category_id})&amp;page=({$page+1})&amp;({$tail})&amp;search_word=({$search_word|to_sjis|escape:"url"})">次へ</a>({/if})
     14({if $is_prev})<a href="({t_url m=ktai a=page_h_com_category})&amp;target_c_commu_category_id=({$c_commu_category_id})&amp;page=({$page-1})&amp;({$tail})&amp;search_word=({$search_word|to_sjis|escape:url|smarty:nodefaults})">前へ</a> ({/if})
     15({if $is_next})<a href="({t_url m=ktai a=page_h_com_category})&amp;target_c_commu_category_id=({$c_commu_category_id})&amp;page=({$page+1})&amp;({$tail})&amp;search_word=({$search_word|to_sjis|escape:url|smarty:nodefaults})">次へ</a>({/if})
    1616
    1717<br>
  • OpenPNE/branches/2.6.x/webapp/modules/ktai/templates/h_com_find_result.tpl

    r2444 r2646  
    1414({if $is_prev || $is_next})
    1515<br>
    16 ({if $is_prev})<a href="({t_url m=ktai a=page_h_com_find_result})&amp;target_c_member_id=({$target_member.c_member_id})&amp;page=({$page-1})&amp;search_word=({$search_word|to_sjis|escape:"url"})&amp;target_c_commu_category_parent_id=({$target_c_commu_category_parent_id})&amp;({$tail})">前へ</a> ({/if})
    17 ({if $is_next})<a href="({t_url m=ktai a=page_h_com_find_result})&amp;target_c_member_id=({$target_member.c_member_id})&amp;page=({$page+1})&amp;search_word=({$search_word|to_sjis|escape:"url"})&amp;target_c_commu_category_parent_id=({$target_c_commu_category_parent_id})&amp;({$tail})">次へ</a>({/if})
     16({if $is_prev})<a href="({t_url m=ktai a=page_h_com_find_result})&amp;target_c_member_id=({$target_member.c_member_id})&amp;page=({$page-1})&amp;search_word=({$search_word|to_sjis|escape:url|smarty:nodefaults})&amp;target_c_commu_category_parent_id=({$target_c_commu_category_parent_id})&amp;({$tail})">前へ</a> ({/if})
     17({if $is_next})<a href="({t_url m=ktai a=page_h_com_find_result})&amp;target_c_member_id=({$target_member.c_member_id})&amp;page=({$page+1})&amp;search_word=({$search_word|to_sjis|escape:url|smarty:nodefaults})&amp;target_c_commu_category_parent_id=({$target_c_commu_category_parent_id})&amp;({$tail})">次へ</a>({/if})
    1818
    1919({/if})
  • OpenPNE/branches/2.6.x/webapp/modules/ktai/templates/h_diary_list_all.tpl

    r1408 r2646  
    1414({if $is_prev || $is_next})
    1515({if $is_prev})
    16 <a href="({t_url m=ktai a=page_h_diary_list_all})&amp;keyword=({$keyword|to_sjis|escape:"url"})&amp;page=({$page})&amp;direc=-1&amp;({$tail})">前へ</a>&nbsp;
     16<a href="({t_url m=ktai a=page_h_diary_list_all})&amp;keyword=({$keyword|to_sjis|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=-1&amp;({$tail})">前へ</a>&nbsp;
    1717({/if})
    1818({if $is_next})
    19 <a href="({t_url m=ktai a=page_h_diary_list_all})&amp;keyword=({$keyword|to_sjis|escape:"url"})&amp;page=({$page})&amp;direc=1&amp;({$tail})">次へ</a>
     19<a href="({t_url m=ktai a=page_h_diary_list_all})&amp;keyword=({$keyword|to_sjis|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=1&amp;({$tail})">次へ</a>
    2020({/if})
    2121<br>
  • OpenPNE/branches/2.6.x/webapp/modules/ktai/templates/h_friend_find_all.tpl

    r882 r2646  
    9393({if $pager.page_prev || $pager.page_next})
    9494<br>
    95 ({if $pager.page_prev})<a href="({t_url m=ktai a=page_h_friend_find_all})({if $nickname})&amp;nickname=({$nickname|to_sjis|escape:"url"})({/if})({if $search_condition})&amp;({$search_condition})({/if})&amp;page=({$pager.page_prev})&amp;({$tail})">前へ</a> ({/if})
    96 ({if $pager.page_next})<a href="({t_url m=ktai a=page_h_friend_find_all})({if $nickname})&amp;nickname=({$nickname|to_sjis|escape:"url"})({/if})({if $search_condition})&amp;({$search_condition})({/if})&amp;page=({$pager.page_next})&amp;({$tail})">次へ</a>({/if})
     95({if $pager.page_prev})<a href="({t_url m=ktai a=page_h_friend_find_all})({if $nickname})&amp;nickname=({$nickname|to_sjis|escape:url|smarty:nodefaults})({/if})({if $search_condition})&amp;({$search_condition})({/if})&amp;page=({$pager.page_prev})&amp;({$tail})">前へ</a> ({/if})
     96({if $pager.page_next})<a href="({t_url m=ktai a=page_h_friend_find_all})({if $nickname})&amp;nickname=({$nickname|to_sjis|escape:url|smarty:nodefaults})({/if})({if $search_condition})&amp;({$search_condition})({/if})&amp;page=({$pager.page_next})&amp;({$tail})">次へ</a>({/if})
    9797
    9898({/if})
  • OpenPNE/branches/2.6.x/webapp/modules/pc/templates/c_home.tpl

    r1411 r2646  
    167167({if $key > 0})&({/if})
    168168pne_item({$key+1})_id=({$item.c_member_id})
    169 &pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'})
     169&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    170170&pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id})
    171171&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
  • OpenPNE/branches/2.6.x/webapp/modules/pc/templates/h_com_find_all.tpl

    r1088 r2646  
    55({**ここから:メインコンテンツ**})
    66({***************************})
    7 ({capture name="keyword_url"})({$keyword|escape:url})({/capture})
     7({capture name="keyword_url"})({$keyword|escape:url|smarty:nodefaults})({/capture})
    88
    99<img src="./skin/dummy.gif" class="v_spacer_l">
  • OpenPNE/branches/2.6.x/webapp/modules/pc/templates/h_diary_list_all.tpl

    r2400 r2646  
    5555
    5656<input type="submit" class="submit" value=" 検 索 ">
    57  <a href="({t_url m=pc a=page_h_com_find_all})&amp;keyword=({$keyword|escape:"url"})">コミュニティ検索</a>
     57 <a href="({t_url m=pc a=page_h_com_find_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})">コミュニティ検索</a>
    5858
    5959|
    6060
    61 <a href="http://www.google.com/search?hl=ja&amp;lr=lang_ja&amp;q=({$keyword|escape:"url"})" target="_blank">ウェブ検索</a>
     61<a href="http://www.google.com/search?hl=ja&amp;lr=lang_ja&amp;q=({$keyword|escape:url|smarty:nodefaults})" target="_blank">ウェブ検索</a>
    6262
    6363<img src="./skin/dummy.gif" class="v_spacer_m">
     
    158158
    159159({if $is_prev})
    160 <a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:"url"})&amp;page=({$page})&amp;direc=-1">前を表示</a>&nbsp;&nbsp;
     160<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=-1">前を表示</a>&nbsp;&nbsp;
    161161({/if})
    162162({if $c_diary_search_list_count})
     
    164164({/if})
    165165({if $is_next})
    166 &nbsp;&nbsp;<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:"url"})&amp;page=({$page})&amp;direc=1">次を表示</a>
     166&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=1">次を表示</a>
    167167({/if})
    168168
     
    367367
    368368({if $is_prev})
    369 <a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:"url"})&amp;page=({$page})&amp;direc=-1">前を表示</a>&nbsp;&nbsp;
     369<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=-1">前を表示</a>&nbsp;&nbsp;
    370370({/if})
    371371({if $c_diary_search_list_count})
     
    373373({/if})
    374374({if $is_next})
    375 &nbsp;&nbsp;<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:"url"})&amp;page=({$page})&amp;direc=1">次を表示</a>
     375&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=1">次を表示</a>
    376376({/if})
    377377
     
    456456
    457457({if $is_prev})
    458 <a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:"url"})&amp;page=({$page})&amp;direc=-1">前を表示</a>&nbsp;&nbsp;
     458<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=-1">前を表示</a>&nbsp;&nbsp;
    459459({/if})
    460460({$pager.start})件~({$pager.end})件を表示
    461461({if $is_next})
    462 &nbsp;&nbsp;<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:"url"})&amp;page=({$page})&amp;direc=1">次を表示</a>
     462&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=1">次を表示</a>
    463463({/if})
    464464
  • OpenPNE/branches/2.6.x/webapp/modules/pc/templates/h_home.tpl

    r2412 r2646  
    282282({if $key > 0})&({/if})
    283283pne_item({$key+1})_id=({$item.c_member_id})
    284 &pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'})
     284&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    285285&pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id})
    286286&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
     
    493493({if $key > 0})&({/if})
    494494pne_item({$key+1})_id=({$item.c_commu_id})
    495 &pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:'url'})
     495&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    496496&pne_item({$key+1})_linkurl=({t_url m=pc a=page_c_home _urlencode=true _html=false})%26target_c_commu_id=({$item.c_commu_id})
    497497&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small _urlencode=true _html=false})
     
    697697({if $key > 0})&({/if})
    698698pne_item({$key+1})_id=({$item.c_member_id})
    699 &pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'})
     699&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    700700&pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id})
    701701&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
  • OpenPNE/branches/2.6.x/webapp/modules/pc/templates/h_review_add.tpl

    r1088 r2646  
    145145<div class="padding_s">
    146146
    147 ({if $is_prev}) <a href="({t_url m=pc a=page_h_review_add})&amp;keyword=({$keyword|escape:"url"})&amp;search_flag=1&amp;category_id=({$category_id})&amp;page=({$page-1})">前を表示</a>&nbsp;&nbsp;({/if})
     147({if $is_prev}) <a href="({t_url m=pc a=page_h_review_add})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;search_flag=1&amp;category_id=({$category_id})&amp;page=({$page-1})">前を表示</a>&nbsp;&nbsp;({/if})
    148148({$start_num})件~({$end_num})件を表示&nbsp;&nbsp;
    149 ({if $is_next}) <a href="({t_url m=pc a=page_h_review_add})&amp;keyword=({$keyword|escape:"url"})&amp;search_flag=1&amp;category_id=({$category_id})&amp;page=({$page+1})">次を表示</a>({/if})
     149({if $is_next}) <a href="({t_url m=pc a=page_h_review_add})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;search_flag=1&amp;category_id=({$category_id})&amp;page=({$page+1})">次を表示</a>({/if})
    150150
    151151</div>
     
    293293<div class="padding_s">
    294294
    295 ({if $is_prev}) <a href="({t_url m=pc a=page_h_review_add})&amp;keyword=({$keyword|escape:"url"})&amp;search_flag=1&amp;category_id=({$category_id})&amp;page=({$page-1})">前を表示</a>&nbsp;&nbsp;({/if})
     295({if $is_prev}) <a href="({t_url m=pc a=page_h_review_add})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;search_flag=1&amp;category_id=({$category_id})&amp;page=({$page-1})">前を表示</a>&nbsp;&nbsp;({/if})
    296296({$start_num})件~({$end_num})件を表示&nbsp;&nbsp;
    297 ({if $is_next}) <a href="({t_url m=pc a=page_h_review_add})&amp;keyword=({$keyword|escape:"url"})&amp;search_flag=1&amp;category_id=({$category_id})&amp;page=({$page+1})">次を表示</a>({/if})
     297({if $is_next}) <a href="({t_url m=pc a=page_h_review_add})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;search_flag=1&amp;category_id=({$category_id})&amp;page=({$page+1})">次を表示</a>({/if})
    298298
    299299</div>
  • OpenPNE/branches/2.6.x/webapp/modules/pc/templates/h_review_search.tpl

    r1088 r2646  
    6464<div class="padding_s">
    6565
    66 <a href="({t_url m=pc a=page_h_review_search})&amp;keyword=({$keyword|escape:"url"})&amp;category=({$category})&amp;orderby=r_num">登録数順</a>
     66<a href="({t_url m=pc a=page_h_review_search})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;category=({$category})&amp;orderby=r_num">登録数順</a>
    6767|
    68 <a href="({t_url m=pc a=page_h_review_search})&amp;keyword=({$keyword|escape:"url"})&amp;category=({$category})&amp;orderby=r_datetime">作成日順</a>
     68<a href="({t_url m=pc a=page_h_review_search})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;category=({$category})&amp;orderby=r_datetime">作成日順</a>
    6969
    7070</div>
  • OpenPNE/branches/2.6.x/webapp/modules/pc/templates/inc_f_home_h_prof.tpl

    r1788 r2646  
    385385({if $key > 0})&({/if})
    386386pne_item({$key+1})_id=({$item.c_member_id})
    387 &pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'})
     387&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    388388&pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id})
    389389&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
     
    591591({if $key > 0})&({/if})
    592592pne_item({$key+1})_id=({$item.c_commu_id})
    593 &pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:'url'})
     593&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    594594&pne_item({$key+1})_linkurl=({t_url m=pc a=page_c_home _urlencode=true _html=false})%26target_c_commu_id=({$item.c_commu_id})
    595595&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small _urlencode=true _html=false})
  • OpenPNE/branches/2.6.x/webapp_biz/modules/biz/templates/h_biz_group_find_all.tpl

    r1088 r2646  
    44({**ここから:メインコンテンツ**})
    55({***************************})
    6 ({capture name="keyword_url"})({$keyword|escape:url})({/capture})
     6({capture name="keyword_url"})({$keyword|escape:url|smarty:nodefaults})({/capture})
    77
    88<img src="./skin/dummy.gif" class="v_spacer_l">
  • OpenPNE/branches/2.6.x/webapp_biz/modules/pc/templates/h_com_find_all.tpl

    r1383 r2646  
    55({**ここから:メインコンテンツ**})
    66({***************************})
    7 ({capture name="keyword_url"})({$keyword|escape:url})({/capture})
     7({capture name="keyword_url"})({$keyword|escape:url|smarty:nodefaults})({/capture})
    88
    99<img src="./skin/dummy.gif" class="v_spacer_l">
  • OpenPNE/branches/2.6.x/webapp_biz/modules/pc/templates/h_home.tpl

    r2412 r2646  
    299299({if $key > 0})&({/if})
    300300pne_item({$key+1})_id=({$item.c_member_id})
    301 &pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'})
     301&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    302302&pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id})
    303303&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
     
    518518({if $key > 0})&({/if})
    519519pne_item({$key+1})_id=({$item.c_commu_id})
    520 &pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:'url'})
     520&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    521521&pne_item({$key+1})_linkurl=({t_url m=pc a=page_c_home _urlencode=true _html=false})%26target_c_commu_id=({$item.c_commu_id})
    522522&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small _urlencode=true _html=false})
     
    722722({if $key > 0})&({/if})
    723723pne_item({$key+1})_id=({$item.c_member_id})
    724 &pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'})
     724&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    725725&pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id})
    726726&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
  • OpenPNE/branches/2.6.x/webapp_biz/modules/pc/templates/inc_f_home_h_prof.tpl

    r1789 r2646  
    403403({if $key > 0})&({/if})
    404404pne_item({$key+1})_id=({$item.c_member_id})
    405 &pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'})
     405&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    406406&pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id})
    407407&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
     
    617617({if $key > 0})&({/if})
    618618pne_item({$key+1})_id=({$item.c_commu_id})
    619 &pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:'url'})
     619&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    620620&pne_item({$key+1})_linkurl=({t_url m=pc a=page_c_home _urlencode=true _html=false})%26target_c_commu_id=({$item.c_commu_id})
    621621&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small _urlencode=true _html=false})
Note: See TracChangeset for help on using the changeset viewer.