Changeset 2742:8382f97c65e2 for admin
- Timestamp:
- 08/27/14 23:23:43 (11 years ago)
- Branch:
- default
- Parents:
- 2741:014e6f1fedce (diff), 2735:7483b223ed79 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/search.php
r2727 r2742 72 72 73 73 if ($qtype == 'p') { 74 $posts_actions_page = new dcPostsActionsPage($core, 'search.php',array('q'=>$q,'qtype'=>$qtype));74 $posts_actions_page = new dcPostsActionsPage($core,$core->adminurl->get("admin.search"),array('q'=>$q,'qtype'=>$qtype)); 75 75 76 76 if ($posts_actions_page->process()) { … … 78 78 } 79 79 } else { 80 $comments_actions_page = new dcCommentsActionsPage($core, 'search.php',array('q'=>$q,'qtype'=>$qtype));80 $comments_actions_page = new dcCommentsActionsPage($core,$core->adminurl->get("admin.search"),array('q'=>$q,'qtype'=>$qtype)); 81 81 82 82 if ($comments_actions_page->process()) { … … 94 94 95 95 echo 96 '<form action=" search.php" method="get">'.96 '<form action="'.$core->adminurl->get("admin.search").'" method="get">'. 97 97 '<div class="fieldset"><h3>'.__('Search options').'</h3>'. 98 98 '<p><label for="q">'.__('Query:').' </label>'.form::field('q',30,255,$q).'</p>'. … … 118 118 119 119 $post_list->display($page,$nb_per_page, 120 '<form action=" search.php" method="post" id="form-entries">'.120 '<form action="'.$core->adminurl->get("admin.search").'" method="post" id="form-entries">'. 121 121 122 122 '%s'. … … 146 146 147 147 $comment_list->display($page,$nb_per_page, 148 '<form action=" search.php" method="post" id="form-comments">'.148 '<form action="'.$core->adminurl->get("admin.search").'" method="post" id="form-comments">'. 149 149 150 150 '%s'. -
admin/search.php
r2720 r2742 29 29 if ($q) 30 30 { 31 $q = html::escapeHTML($q); 32 31 33 $params = array(); 32 34 … … 94 96 '<form action="'.$core->adminurl->get("admin.search").'" method="get">'. 95 97 '<div class="fieldset"><h3>'.__('Search options').'</h3>'. 96 '<p><label for="q">'.__('Query:').' </label>'.form::field('q',30,255, html::escapeHTML($q)).'</p>'.98 '<p><label for="q">'.__('Query:').' </label>'.form::field('q',30,255,$q).'</p>'. 97 99 '<p><label for="qtype1" class="classic">'.form::radio(array('qtype','qtype1'),'p',$qtype == 'p').' '.__('Search in entries').'</label> '. 98 100 '<label for="qtype2" class="classic">'.form::radio(array('qtype','qtype2'),'c',$qtype == 'c').' '.__('Search in comments').'</label></p>'.
Note: See TracChangeset
for help on using the changeset viewer.