Changeset 7328


Ignore:
Timestamp:
Oct 21, 2010, 11:43:45 PM (14 years ago)
Author:
grum
Message:

fix bugs, add functionnalities and update css

Location:
extensions/ASearchEngine
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • extensions/ASearchEngine/ase2.css

    r7318 r7328  
    1111.ui-dialog-buttonpane { padding: 5px; }
    1212.ui-dialog-buttonpane button { margin:0px 5px; }
    13 .ui-datepicker { border:1px solid; margin-top:-1px; padding:2px; }
    14 .ui-datepicker .ui-datepicker-header { margin:-2px; }
     13div.ui-datepicker { border:1px solid; margin-top:-1px; padding:2px; }
     14div.ui-datepicker div.ui-datepicker-header { margin:-2px; }
    1515.ui-datepicker td, .ui-datepicker td:hover { text-decoration:none; margin:2px;
    1616  -moz-border-radius:3px;
     
    5353}
    5454
     55.cRequestCriterions { margin-bottom:10px; }
    5556
    5657div#iMenuCriterions ul { margin-top:0px; }
     
    7677div.ruleSelector { float:left; width:150px; }
    7778div.ruleProperties { padding-top:2px; }
     79#mdRulesArea { padding:3px; }
    7880
    7981/* GMaps specific CSS */
    8082#iDialogGMapNfo { margin:4px 30px; }
    8183
     84.cbButtons { cursor:default; }
     85.cbButtons a { cursor:pointer; }
    8286
     87.waitingResult { margin:30px auto; display:block; }
  • extensions/ASearchEngine/ase_pip.class.inc.php

    r7318 r7328  
    106106    $template->assign('TITLE', $page['title']);
    107107
     108    if($template->get_themeconf('parent')=='gally-default')
     109    {
     110      $template->assign('PLUGIN_INDEX_ACTIONS' ,
     111      '<li><a rel="nofollow" title="'.l10n('return to homepage').'" href="'.make_index_url().'" class="button" id="icon_home"></a></li>');
     112    }
     113    else
     114    {
     115      $template->assign('PLUGIN_INDEX_ACTIONS' ,
     116      '<li><a href="'.make_index_url().'" title="'.l10n('return to homepage').'"><img src="'.$template->get_themeconf('icon_dir').'/home.png" class="button" alt="'.l10n('home').'"/></a></li>');
     117    }
     118
     119
    108120    $template->clear_assign(array('U_MODE_CREATED', 'U_MODE_POSTED'));
    109121
  • extensions/ASearchEngine/ase_rb_callback_category.class.inc.php

    r7318 r7328  
    4747  static public function getFrom($param="")
    4848  {
    49     global $prefixeTable;
     49    global $prefixeTable, $user;
    5050
    51     return("(".IMAGE_CATEGORY_TABLE." ase_pict JOIN ".CATEGORIES_TABLE." ase_pct
    52       ON ase_pict.category_id = ase_pct.id) ");
     51    return("((".IMAGE_CATEGORY_TABLE." ase_pict JOIN ".CATEGORIES_TABLE." ase_pct
     52      ON ase_pict.category_id = ase_pct.id) JOIN ".USER_CACHE_CATEGORIES_TABLE." ase_pucc ON ase_pucc.cat_id = ase_pct.id AND ase_pucc.user_id='".$user['id']."') ");
    5353  }
    5454
     
    115115     *    );
    116116     */
    117     $returned="<span style='font-weight:bold;'>".l10n('Category')."</span>&nbsp;:&nbsp;".$attributes['categoryName'];
     117    if(strpos($attributes['categoryName'], '#sep#')>0)
     118    {
     119      $cat=l10n('Categories');
     120      $attributes['categoryName']=str_replace('#sep#', ', ', $attributes['categoryName']);
     121    }
     122    else
     123    {
     124      $cat=l10n('Category');
     125    }
     126    $returned="<span style='font-weight:bold;'>$cat</span>&nbsp;:&nbsp;".$attributes['categoryName'];
    118127
    119128    return($returned);
  • extensions/ASearchEngine/templates/ase_dialog_category_choose.tpl

    r7318 r7328  
    4141        resizable: false,
    4242        width:765,
    43         height:130,
     43        height:200,
    4444        modal: true,
    4545        draggable:true,
  • extensions/ASearchEngine/templates/ase_dialog_date_choose.tpl

    r7196 r7328  
    5050        autoOpen: false,
    5151        resizable: false,
    52         width:500,
    53         height:180,
     52        width:550,
     53        height:200,
    5454        modal: true,
    5555        draggable:true,
  • extensions/ASearchEngine/templates/ase_dialog_keyword_choose.tpl

    r7207 r7328  
    3737        autoOpen: false,
    3838        resizable: false,
    39         width:500,
    40         height:180,
     39        width:550,
     40        height:200,
    4141        modal: true,
    4242        draggable:true,
  • extensions/ASearchEngine/themes/dark/ASEdark.css

    r7318 r7328  
    4545.cbItem { border:1px solid gray; }
    4646.gcBgInput a { color:#000000; }
    47 #iMenuCTitle.cbButtons:hover { border-bottom:#d3d3d3; }
     47.cbButtons:hover #iMenuCText { background:#d3d3d3; }
    4848#iMenuCItems ul { border:1px solid gray; }
    4949
     
    5353
    5454legend { color: #FFF48E; }
    55 form { margin-bottom:10px; }
     55
     56div#iMenuCaddieBar div#iMenuCaddieItems { z-index:1000; }
     57div#iMenuCriterions div#iMenuCItems { margin-left:-1px; }
    5658
    5759/* AMD specific CSS */
Note: See TracChangeset for help on using the changeset viewer.