mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-14 09:20:16 +01:00
change for cat-selection in nextmatch
This commit is contained in:
parent
fa9c5c1943
commit
fc6aeb0368
@ -336,13 +336,6 @@
|
|||||||
$hidden_vars+$action_vars+array('referer'=>$referer),
|
$hidden_vars+$action_vars+array('referer'=>$referer),
|
||||||
'/index.php',$this->menuaction('edit')));
|
'/index.php',$this->menuaction('edit')));
|
||||||
}
|
}
|
||||||
$t->set_var('cat_form',$html->link('/index.php',
|
|
||||||
ereg_replace('&*cat_id=[0-9]*','',$QUERY_STRING)));
|
|
||||||
$t->set_var('lang_category',lang('Category'));
|
|
||||||
$t->set_var('lang_all',lang('All'));
|
|
||||||
$t->set_var('lang_select',lang('Select'));
|
|
||||||
$t->set_var('categories',$this->categories->formated_list('select',
|
|
||||||
'all',$cat_id,'True'));
|
|
||||||
$add_icons = lang('Add').':';
|
$add_icons = lang('Add').':';
|
||||||
|
|
||||||
$icons = array( 'task' => True,
|
$icons = array( 'task' => True,
|
||||||
@ -403,14 +396,9 @@
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// catergory selection
|
|
||||||
$t->set_block('info_list_t','cat_selection','cat_selectionhandle');
|
|
||||||
|
|
||||||
if (!$for_include || $total > $maxmatchs ||
|
if (!$for_include || $total > $maxmatchs ||
|
||||||
$query || $cat_id)
|
$query || $cat_id)
|
||||||
{
|
{
|
||||||
$t->parse('cat_selectionhandle','cat_selection',True);
|
|
||||||
|
|
||||||
// ===========================================
|
// ===========================================
|
||||||
// nextmatch variable template-declarations
|
// nextmatch variable template-declarations
|
||||||
// ===========================================
|
// ===========================================
|
||||||
@ -428,7 +416,7 @@
|
|||||||
}
|
}
|
||||||
$next_matchs = $this->nextmatchs->show_tpl('/index.php',$start,
|
$next_matchs = $this->nextmatchs->show_tpl('/index.php',$start,
|
||||||
$total,'&'.$q_string,'95%',$phpgw_info['theme']['th_bg'],
|
$total,'&'.$q_string,'95%',$phpgw_info['theme']['th_bg'],
|
||||||
0,$filters);
|
0,$filters,1,0,$cat_id,'cat_id');
|
||||||
|
|
||||||
$t->set_var('next_matchs',$next_matchs);
|
$t->set_var('next_matchs',$next_matchs);
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{info_css}
|
{info_css}
|
||||||
<table width=98%><tr><td>
|
<table width=98%><tr><td>
|
||||||
<span class=action>{lang_info_action}</span>
|
<span class=action>{lang_info_action}</span>
|
||||||
|
</td><td align=center>
|
||||||
|
{total_matchs}
|
||||||
</td><td align=right>
|
</td><td align=right>
|
||||||
<span class=action>{add_icons}</span>
|
<span class=action>{add_icons}</span>
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
@ -28,23 +30,6 @@
|
|||||||
</table><p>
|
</table><p>
|
||||||
<!-- END projdetails -->
|
<!-- END projdetails -->
|
||||||
|
|
||||||
<!-- BEGIN cat_selection -->
|
|
||||||
<table><tr valign="middle">
|
|
||||||
<td>
|
|
||||||
<form method="POST" name="cat" action="{cat_form}">
|
|
||||||
{lang_category}
|
|
||||||
<select name="cat_filter" onChange="this.form.submit();">
|
|
||||||
<option value="0">{lang_all}</option>
|
|
||||||
{categories}
|
|
||||||
</select>
|
|
||||||
<noscript><input type="submit" name="cats" value="{lang_select}"></noscript>
|
|
||||||
</form>
|
|
||||||
</td><td>
|
|
||||||
{total_matchs}
|
|
||||||
</td>
|
|
||||||
</tr></table>
|
|
||||||
<!-- END cat_selection -->
|
|
||||||
|
|
||||||
{next_matchs}
|
{next_matchs}
|
||||||
|
|
||||||
<table width=95% border=0 cellspacing=1 cellpadding=3>
|
<table width=95% border=0 cellspacing=1 cellpadding=3>
|
||||||
|
Loading…
Reference in New Issue
Block a user