Index: trunk/core/units/general/cat_event_handler.php =================================================================== diff -u -N -r8779 -r8786 --- trunk/core/units/general/cat_event_handler.php (.../cat_event_handler.php) (revision 8779) +++ trunk/core/units/general/cat_event_handler.php (.../cat_event_handler.php) (revision 8786) @@ -242,13 +242,14 @@ } $search_event = $event_mapping[$type]; $this->$search_event($event); + $search_table = TABLE_PREFIX.'ses_'.$this->Application->GetSID().'_'.TABLE_PREFIX.'Search'; $sql = 'SHOW TABLES LIKE "'.$search_table.'"'; - if ( $this->Conn->Query($sql) ) { + if ($this->Conn->Query($sql)) { $search_res_ids = $this->Conn->GetCol('SELECT ResourceId FROM '.$search_table); } - if ($search_res_ids) { + if (isset($search_res_ids) && $search_res_ids) { $type_clauses['search']['include'] = '%1$s.ResourceId IN ('.implode(',', $search_res_ids).') AND PrimaryCat = 1'; $type_clauses['search']['except'] = '%1$s.ResourceId NOT IN ('.implode(',', $search_res_ids).') AND PrimaryCat = 1'; } Index: trunk/themes/default2007/platform/inc/captcha_image.tpl =================================================================== diff -u -N --- trunk/themes/default2007/platform/inc/captcha_image.tpl (revision 0) +++ trunk/themes/default2007/platform/inc/captcha_image.tpl (revision 8786) @@ -0,0 +1 @@ + \ No newline at end of file Index: trunk/themes/default2007/platform/my_account/my_profile.tpl =================================================================== diff -u -N -r8759 -r8786 --- trunk/themes/default2007/platform/my_account/my_profile.tpl (.../my_profile.tpl) (revision 8759) +++ trunk/themes/default2007/platform/my_account/my_profile.tpl (.../my_profile.tpl) (revision 8786) @@ -26,8 +26,6 @@
- - Index: trunk/themes/default2007/platform/inc/styles.css =================================================================== diff -u -N -r8771 -r8786 --- trunk/themes/default2007/platform/inc/styles.css (.../styles.css) (revision 8771) +++ trunk/themes/default2007/platform/inc/styles.css (.../styles.css) (revision 8786) @@ -677,3 +677,7 @@ padding:6px; color:#21619E; } + +.hidden-element { + display: none; +} Index: trunk/themes/default2007/platform/elements/forms.tpl =================================================================== diff -u -N -r8724 -r8786 --- trunk/themes/default2007/platform/elements/forms.tpl (.../forms.tpl) (revision 8724) +++ trunk/themes/default2007/platform/elements/forms.tpl (.../forms.tpl) (revision 8786) @@ -13,7 +13,7 @@
- +
"> + + + + + +
Index: trunk/themes/default2007/platform/login/register.tpl =================================================================== diff -u -N -r8759 -r8786 --- trunk/themes/default2007/platform/login/register.tpl (.../register.tpl) (revision 8759) +++ trunk/themes/default2007/platform/login/register.tpl (.../register.tpl) (revision 8786) @@ -49,6 +49,23 @@ + + + +
+ +
+
+ " alt=""/>
+ img/s.gif" width="1" height="5" alt=""/>
+ " value="" tabindex="" style="width: 170px;"> +
img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" />