Changeset 4578 for extensions/LLGBO2


Ignore:
Timestamp:
Dec 28, 2009, 7:55:32 PM (14 years ago)
Author:
EXFTB
Message:

llgbo2.0.i -> improve administration in 1024*768

Location:
extensions/LLGBO2
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/admin/llgbo_adminframe.tpl

    r4574 r4578  
    55<form method="post" action="{$llgbo_F_ACTION}" class="properties">
    66<fieldset>
    7         <div id="framepicker" align="center" > </div>
    8         <span id="gboh2" style ="position: relative; top:1.5em;margin-left:40%;background:transparent;z-index:3;color:{$LLGBO_TITLE_FRAME_COLOR}">{'llgbo_title_frame_color'|@translate} </span>
     7        <div id="framepicker"> </div>
     8        <span id="gboh2" style ="background:transparent;color:{$LLGBO_TITLE_FRAME_COLOR}">{'llgbo_title_frame_color'|@translate} </span>
    99        {$FRAME_BEGIN}
    10         <table align="center" style ="position: relative; top:-2.5em;" >
    11         <th id="llgbotitle">    </th>
     10        <table id="llgboframetable">
    1211        <tr><br>
    1312                <td   class="llgbolabel" >{'llgbo_title_frame_color'|@translate} </td>
     
    8079         </table>
    8180        {$FRAME_END}
    82 <div align="center"><br><br><input class="submit" type="submit" value="{'preview'|@translate}" name="preview"/> <input class="submit" type="submit" value="{'save'|@translate}" name="save" /></div>
     81<div align="center"><br> <input class="submit" type="submit" value="{'preview'|@translate}" name="preview"/> <input class="submit" type="submit" value="{'save'|@translate}" name="save" /></div>
    8382</fieldset>
    8483</form>
     
    10099  $(document).ready(function() {ldelim}
    101100    var f = $.farbtastic('#framepicker');
    102     var p = $('#framepicker').css('opacity', 0.45);
     101    var p = $('#framepicker').css('opacity', 0.65);
    103102    var selected;
    104103    $('.colorwellf')
  • extensions/LLGBO2/admin/llgbo_adminheader.tpl

    r4574 r4578  
    44<form method="post" action="{$llgbo_F_ACTION}" class="properties">
    55<fieldset>
    6 <table id="llgbotable" style="{$LLGBODISPMANAGE}">
    7   <tr>
    8         <td class="llgbolabel">{'llgbo_header_home'|@translate}</td>
    9         <td class="llgboinput">{html_radios name='llgbo_header_home' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_HOME}</td>
    10         <td class="llgbolabel">{'llgbo_header_category'|@translate}</td>
    11         <td class="llgboinput"> {html_radios name='llgbo_header_category' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_CATEGORY}</td>
    12   </tr>
    13   <tr>
     6<table id="llgboHeadertable">
     7        <tr>
     8                <td class="llgbolabel">{'llgbo_header_home'|@translate}</td>
     9                <td class="llgboinput">{html_radios name='llgbo_header_home' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_HOME}</td>
     10        </tr>   <tr>
     11                <td class="llgbolabel">{'llgbo_header_category'|@translate}</td>
     12                <td class="llgboinput"> {html_radios name='llgbo_header_category' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_CATEGORY}</td>
     13        </tr>   <tr>
    1414                <td class="llgbolabel">{'llgbo_header_category_filter_recent'|@translate}</td>
    1515                <td class="llgboinput"> {html_radios name='llgbo_header_category_filter_recent' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_CATEGORY_FILTER_RECENT}</td>
     16        </tr>   <tr>
    1617                <td class="llgbolabel">{'llgbo_header_category_flat'|@translate}</td>
    1718                <td class="llgboinput"> {html_radios name='llgbo_header_category_flat' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_CATEGORY_FLAT}</td>
    18   </tr>
    19   <tr>
     19    </tr>       <tr>
    2020                <td class="llgbolabel">{'llgbo_header_category_posted_monthly'|@translate}</td>
    2121                <td class="llgboinput"> {html_radios name='llgbo_header_category_posted_monthly' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_CATEGORY_POSTED_MONTHLY}</td>
     22        </tr>
     23    <tr><td colspan="2"><br></td></tr>
     24        <tr> 
    2225                <td class="llgbolabel">{'llgbo_header_picture'|@translate}</td>
    2326                <td class="llgboinput">{html_radios name='llgbo_header_picture' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_PICTURE}</td> 
    24   </tr>
    25   <tr>
     27    </tr>   <tr>
    2628                <td class="llgbolabel">{'llgbo_header_additional_page'|@translate}</td>
    2729                <td class="llgboinput">{html_radios name='llgbo_header_additional_page' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_ADDITIONAL_PAGE}</td>
    28         <td class="llgbolabel">{'llgbo_header_favorites'|@translate}</td>
     30         </tr>   <tr>
     31                <td class="llgbolabel">{'llgbo_header_favorites'|@translate}</td>
    2932                <td class="llgboinput">{html_radios name='llgbo_header_favorites' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_FAVORITES}</td>               
    30   </tr>
    31   <tr> 
     33        </tr>   <tr>
    3234       <td class="llgbolabel">{'llgbo_header_most_visited'|@translate}</td>
    3335                <td class="llgboinput"> {html_radios name='llgbo_header_most_visited' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_MOST_VISITED}</td>
    34  
     36        </tr>   <tr> 
    3537                <td class="llgbolabel">{'llgbo_header_best_rated'|@translate}</td>
    3638                <td class="llgboinput"> {html_radios name='llgbo_header_best_rated' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_BEST_RATED}</td>
    37   </tr>
    38   <tr>
     39    </tr>
     40    <tr><td colspan="2"><br></td></tr>
     41        <tr>
    3942       <td class="llgbolabel">{'llgbo_header_list'|@translate}</td>
    4043                <td class="llgboinput"> {html_radios name='llgbo_header_list' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_LIST}</td>
    41 
     44        </tr>   <tr>
    4245                <td class="llgbolabel">{'llgbo_header_recent_pics'|@translate}</td>
    4346                <td class="llgboinput"> {html_radios name='llgbo_header_recent_pics' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_RECENT_PICS}</td>
    44   </tr>
    45   <tr> 
     47   </tr>   <tr>
    4648       <td class="llgbolabel">{'llgbo_header_created_monthly_calendar'|@translate}</td>
    4749                <td class="llgboinput"> {html_radios name='llgbo_header_created_monthly_calendar' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_CREATED_MONTHLY_CALENDAR}</td>
     50        </tr>   <tr>
    4851                <td class="llgbolabel">{'llgbo_header_tags'|@translate}</td>
    4952                <td class="llgboinput"> {html_radios name='llgbo_header_tags' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_TAGS}</td>
    50   </tr>
    51   <tr>
    52                 <td class="llgbolabel">{'llgbo_header_search'|@translate}</td>
    53                 <td class="llgboinput"> {html_radios name='llgbo_header_search' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_SEARCH}</td>
    54                 <td class="llgbolabel">{'llgbo_header_comments'|@translate}</td>
    55                 <td class="llgboinput"> {html_radios name='llgbo_header_comments' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_COMMENTS}</td>
    56   </tr>
    57   <tr>
    58                         <td class="llgbolabel">{'llgbo_header_about'|@translate}</td>
    59                 <td class="llgboinput"> {html_radios name='llgbo_header_about' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_ABOUT}</td>
    60         <td class="llgbolabel">{'llgbo_header_notification'|@translate}</td>
    61                 <td class="llgboinput"> {html_radios name='llgbo_header_notification' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_NOTIFICATION}</td>
    62         </tr>   
    63     <tr>       
    64         <td class="llgbolabel">{'llgbo_header_register'|@translate}</td>
    65                 <td class="llgboinput"> {html_radios name='llgbo_header_register' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_REGISTER}</td>
    66  
    67                 <td class="llgbolabel">{'llgbo_header_identification'|@translate}</td>
    68                 <td class="llgboinput"> {html_radios name='llgbo_header_identification' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_IDENTIFICATION}</td>
    69   </tr>
    70       <tr>     
     53        </tr>    <tr>
    7154        <td class="llgbolabel">{'llgbo_header_recent_cats'|@translate}</td>
    7255                <td class="llgboinput"> {html_radios name='llgbo_header_recent_cats' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_RECENT_CATS}</td>
    7356  </tr>
     57    <tr><td colspan="2"><br></td></tr>
     58        <tr>
     59                <td class="llgbolabel">{'llgbo_header_search'|@translate}</td>
     60                <td class="llgboinput"> {html_radios name='llgbo_header_search' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_SEARCH}</td>
     61        </tr>   <tr>
     62                <td class="llgbolabel">{'llgbo_header_comments'|@translate}</td>
     63                <td class="llgboinput"> {html_radios name='llgbo_header_comments' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_COMMENTS}</td>
     64        </tr>     <tr>
     65                <td class="llgbolabel">{'llgbo_header_about'|@translate}</td>
     66                <td class="llgboinput"> {html_radios name='llgbo_header_about' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_ABOUT}</td>
     67         </tr> 
     68    <tr><td colspan="2"><br></td></tr>
     69        <tr>
     70                <td class="llgbolabel">{'llgbo_header_notification'|@translate}</td>
     71                <td class="llgboinput"> {html_radios name='llgbo_header_notification' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_NOTIFICATION}</td>
     72        </tr>   <tr>   
     73        <td class="llgbolabel">{'llgbo_header_register'|@translate}</td>
     74                <td class="llgboinput"> {html_radios name='llgbo_header_register' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_REGISTER}</td>
     75    </tr>   <tr>
     76                <td class="llgbolabel">{'llgbo_header_identification'|@translate}</td>
     77                <td class="llgboinput"> {html_radios name='llgbo_header_identification' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER_IDENTIFICATION}</td>
     78        </tr>
    7479</table>
    7580
    76 <div align="center"><br><br><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" /></div>
     81<div align="center"><br><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" /></div>
    7782</fieldset>
    7883</form>
  • extensions/LLGBO2/admin/llgbo_admintooltip.tpl

    r4574 r4578  
    55<fieldset>
    66
    7 <div id="picker"style="{$LLGBODISPTOOLTIP}"></div>
     7<div id="picker"></div>
    88<!--           T O O L T I P  -->
    9 <div id="tooltip"   style= "border:{$LLGBO_TOOLTIP_SIZE}px solid {$LLGBO_TOOLTIP_BORDERCOLOR};{$LLGBODISPTOOLTIP};background:{$LLGBO_TOOLTIP_BACKGROUNDCOLOR};color:{$LLGBO_TOOLTIP_COLOR};min-width:500px;">   
     9<div id="tooltip"   style= "border:{$LLGBO_TOOLTIP_SIZE}px solid {$LLGBO_TOOLTIP_BORDERCOLOR};{$LLGBODISPTOOLTIP};background:{$LLGBO_TOOLTIP_BACKGROUNDCOLOR};color:{$LLGBO_TOOLTIP_COLOR};">   
    1010       
    1111        <table align="center"  >
     
    4646  $(document).ready(function() {ldelim}
    4747    var f = $.farbtastic('#picker');
    48     var p = $('#picker').css('opacity', 0.45);
     48    var p = $('#picker').css('opacity', 0.65);
    4949    var selected;
    5050    $('.colorwell')
  • extensions/LLGBO2/css/look_like_gbo2_admin.css

    r4574 r4578  
    11#picker, #framepicker{
    2         float:right;
    3         margin-left:0;
    4         margin-top:0}
     2        float:right;    margin-left:0;  margin-top:0;}
    53       
    64#framepicker{
    7         float:right;
    8         margin-left:0;
    9         margin-top:150px;
    10         margin-right:50px}
     5        float:right;    margin-left:0;
     6        margin-top:12%;
     7        margin-right:4%;
     8        }
    119       
    1210 
     
    1917.llgbolabel{
    2018        text-align:left;
    21         padding-left:85px;
    22         margin :0 ;
     19        padding:0;
     20        margin :0;
    2321}
    2422.llgboinput{
    2523        text-align:left;
    26         padding-left:10px;
    27         margin :0 ;
     24        margin :0;
     25
    2826}
    2927.llgbofield , .colorwell ,.colorwellf{
    30         width:65px;text-align:left;
     28        width:60px;text-align:left;
    3129}
    3230.llgbofieldf {
    33         width:35px;text-align:left;
     31        width:20px;text-align:left;
    3432}
    3533#llgbotable{
    36         margin-right:0%;
    37         margin-left:0%;
     34        margin:1em;
     35        width:500px;
     36margin:auto}
     37#llgboHeadertable{
     38        margin:1em;
     39        width:500px;
     40        margin:auto
     41}
     42#llgboframetable{
     43        margin:1em;
     44        width:65%;
     45        text-align:center;
     46        position: relative;
     47        top:-2.5em;
     48        margin:auto
    3849}
     50#gboh2{text-align:center; position: relative;top:1.5em;left:40%}
     51
    3952#tooltip{
    40     margin-right:25%;
    41         margin-left:15%;
    42         padding:5px;
     53    width:67%;
    4354        -moz-border-radius:10px;
     55        overflow:hidden;
    4456}
    4557#llgbotitle {padding:15px 0 5px 0;color:#c92;text-align:center;font-weight:700}
  • extensions/LLGBO2/language/en_UK/plugin.lang.php

    r4574 r4578  
    5151$lang['llgbo_M_manage'] = 'Global settings';
    5252$lang['llgbo_samples'] = 'Samples : ';
    53 // must be translate
     53// must be translate -->  in good english to
    5454$lang['Howto'] = 'This plugin manage the picture page presentation.<br>';
    5555$lang['llgbo_frame']='Manage frame around the picture :';
     
    6161$lang['llgbo_header_home'] = 'Header display on Home page';
    6262$lang['llgbo_header_category'] = 'Header display on Category page';
    63 $lang['llgbo_header_category_filter_recent']= 'Header display on Category page :filter by recent';
    64 $lang['llgbo_header_category_flat']= 'Header display on Category page option flat' ;
     63$lang['llgbo_header_category_filter_recent']= 'Header display on Category page (filter by recent)';
     64$lang['llgbo_header_category_flat']= 'Header display on Category page (option flat)' ;
    6565$lang['llgbo_header_category_posted_monthly']= 'Header display on Category page option calendar' ;
    6666$lang['llgbo_header_picture']= 'Header display on Picture page' ;
  • extensions/LLGBO2/language/fr_FR/plugin.lang.php

    r4574 r4578  
    5353$lang['llgbo_frame_bdsize']= 'épaisseur : ';
    5454$lang['llgbo_M_frame'] = 'Gestion du cadre';
    55 $lang['llgbo_M_tooltip'] = 'Gestion de l\'infofulle';
     55$lang['llgbo_M_tooltip'] = 'Gestion de l\'infobulle';
    5656$lang['llgbo_M_manage'] = 'Paramétres généraux';
    5757$lang['llgbo_samples'] = 'Exemples :';
    5858// must be translate
    59 $lang['Howto'] = 'Ce plugin gére la présentation  de la page Image.<br>';
     59$lang['Howto'] = 'Ce plugin gère la présentation  de la page Image.<br>';
    6060$lang['llgbo_frame']='Gérer le cadre autour de la photo';
    6161$lang['Step4_Title'] = 'Gestion de l\'affichage de l\'entête';
    6262$lang['llgbo_header']='Gérer l\'affichage de l\'entête';
    63 $lang['llgo_tooltip_setting']= 'titre de l\'infobulle';
     63$lang['llgo_tooltip_setting']= 'Titre de l\'info bulle';
    6464$lang['llgbo_M_header'] = 'Gestion de l\'affichage de l\'entête';
    6565$lang['Step4_Title'] = 'Affiche / Masque l\'entête de chaque page';
    6666$lang['llgbo_header_home'] = 'Affichage sur la page d\'Accueil';
    6767$lang['llgbo_header_category'] = 'Affichage sur la page catégorie';
    68 $lang['llgbo_header_category_filter_recent']= 'Affichage sur la page catégorie :filtrée par récent';
     68$lang['llgbo_header_category_filter_recent']= 'Affichage sur la page catégorie (filtrée par récent)';
    6969$lang['llgbo_header_category_flat']= 'Affichage sur la page catégorie (à plat)' ;
    70 $lang['llgbo_header_category_posted_monthly']= 'Affichage sur la page catégorie opion calendrier' ;
     70$lang['llgbo_header_category_posted_monthly']= 'Affichage sur la page catégorie option calendrier' ;
    7171$lang['llgbo_header_picture']= 'Affichage sur la page Image' ;
    72 $lang['llgbo_header_additional_page'] = 'Affichage sur les pages Additonelles';
     72$lang['llgbo_header_additional_page'] = 'Affichage sur les pages Additionnelles';
    7373$lang['llgbo_header_most_visited'] = 'Affichage sur la page Plus visitées';
    7474$lang['llgbo_header_best_rated'] = 'Affichage sur la page Mieux notées';
     
    7979$lang['llgbo_header_search']= 'Affichage sur la page Recherche';
    8080$lang['llgbo_header_comments']= 'Affichage sur la page Commentaires';
    81 $lang['llgbo_header_about']= 'Affichage sur la page Apropos';
     81$lang['llgbo_header_about']= 'Affichage sur la page A propos';
    8282$lang['llgbo_header_notification']= 'Affichage sur la page Notification';
    8383$lang['llgbo_header_register'] = 'Affichage sur la page Inscription';
     
    8787
    8888
    89 
    90 
    9189?>
  • extensions/LLGBO2/main.inc.php

    r4574 r4578  
    4646function MyBeginheader()
    4747{ global $page,$conf;
    48        
    4948         If ($conf['LLGBO_SETTINGS'][2]  == 'true' ) // reset nofollow, noindex
    5049        { unset ($page['meta_robots']);}
     
    5453{global $template,$conf;
    5554$page_name = script_basename();
     55if (!isset($page_name)) {$page_name ='index';}
    5656if ($conf['LLGBO_SETTINGS'] [6] = 'true' )
    5757{$no_header = false;
    58 if (  $page_name == 'index')
     58if  (  $page_name == 'index')
    5959        {//  print_r($_GET.'----'.$page_name );
    6060        if ((count ($_GET)) == 0   and ($conf['LLGBO_HEADER'][0] == 'false')) {$no_header = true;}// home
     
    7474                        if ((strpos( $cle ,'created-monthly-list') == true ) and ($conf['LLGBO_HEADER'][12] == 'false')) {$no_header = true;break;}
    7575                        if ((strpos( $cle ,'favorites') == true ) and ($conf['LLGBO_HEADER'][19] == 'false')) {$no_header = true;break;}
    76                     if ((strpos( $cle ,'recent_cats') == true ) and ($conf['LLGBO_HEADER'][20] == 'false')) {$no_header = true;break;}
    77        
     76                    if ((strpos( $cle ,'recent_cats') == true ) and ($conf['LLGBO_HEADER'][20] == 'false')) {$no_header = true;break;}
    7877                 }
    7978        }
     
    9089{$template->append('head_elements',"\n".' <STYLE type="text/css">#theHeader{display: none}</STYLE>');}
    9190}       
    92                
    93 
    9491//
    9592If ($conf['LLGBO_SETTINGS'] [9]  == 'true' )
Note: See TracChangeset for help on using the changeset viewer.