Changeset 4578 for extensions/LLGBO2
- Timestamp:
- Dec 28, 2009, 7:55:32 PM (14 years ago)
- Location:
- extensions/LLGBO2
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/admin/llgbo_adminframe.tpl
r4574 r4578 5 5 <form method="post" action="{$llgbo_F_ACTION}" class="properties"> 6 6 <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> 9 9 {$FRAME_BEGIN} 10 <table align="center" style ="position: relative; top:-2.5em;" > 11 <th id="llgbotitle"> </th> 10 <table id="llgboframetable"> 12 11 <tr><br> 13 12 <td class="llgbolabel" >{'llgbo_title_frame_color'|@translate} </td> … … 80 79 </table> 81 80 {$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> 83 82 </fieldset> 84 83 </form> … … 100 99 $(document).ready(function() {ldelim} 101 100 var f = $.farbtastic('#framepicker'); 102 var p = $('#framepicker').css('opacity', 0. 45);101 var p = $('#framepicker').css('opacity', 0.65); 103 102 var selected; 104 103 $('.colorwellf') -
extensions/LLGBO2/admin/llgbo_adminheader.tpl
r4574 r4578 4 4 <form method="post" action="{$llgbo_F_ACTION}" class="properties"> 5 5 <fieldset> 6 <table id="llgbo table" style="{$LLGBODISPMANAGE}">7 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> 14 14 <td class="llgbolabel">{'llgbo_header_category_filter_recent'|@translate}</td> 15 15 <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> 16 17 <td class="llgbolabel">{'llgbo_header_category_flat'|@translate}</td> 17 18 <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> 20 20 <td class="llgbolabel">{'llgbo_header_category_posted_monthly'|@translate}</td> 21 21 <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> 22 25 <td class="llgbolabel">{'llgbo_header_picture'|@translate}</td> 23 26 <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> 26 28 <td class="llgbolabel">{'llgbo_header_additional_page'|@translate}</td> 27 29 <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> 29 32 <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> 32 34 <td class="llgbolabel">{'llgbo_header_most_visited'|@translate}</td> 33 35 <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> 35 37 <td class="llgbolabel">{'llgbo_header_best_rated'|@translate}</td> 36 38 <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> 39 42 <td class="llgbolabel">{'llgbo_header_list'|@translate}</td> 40 43 <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> 42 45 <td class="llgbolabel">{'llgbo_header_recent_pics'|@translate}</td> 43 46 <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> 46 48 <td class="llgbolabel">{'llgbo_header_created_monthly_calendar'|@translate}</td> 47 49 <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> 48 51 <td class="llgbolabel">{'llgbo_header_tags'|@translate}</td> 49 52 <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> 71 54 <td class="llgbolabel">{'llgbo_header_recent_cats'|@translate}</td> 72 55 <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> 73 56 </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> 74 79 </table> 75 80 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> 77 82 </fieldset> 78 83 </form> -
extensions/LLGBO2/admin/llgbo_admintooltip.tpl
r4574 r4578 5 5 <fieldset> 6 6 7 <div id="picker" style="{$LLGBODISPTOOLTIP}"></div>7 <div id="picker"></div> 8 8 <!-- 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};"> 10 10 11 11 <table align="center" > … … 46 46 $(document).ready(function() {ldelim} 47 47 var f = $.farbtastic('#picker'); 48 var p = $('#picker').css('opacity', 0. 45);48 var p = $('#picker').css('opacity', 0.65); 49 49 var selected; 50 50 $('.colorwell') -
extensions/LLGBO2/css/look_like_gbo2_admin.css
r4574 r4578 1 1 #picker, #framepicker{ 2 float:right; 3 margin-left:0; 4 margin-top:0} 2 float:right; margin-left:0; margin-top:0;} 5 3 6 4 #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 } 11 9 12 10 … … 19 17 .llgbolabel{ 20 18 text-align:left; 21 padding -left:85px;22 margin :0 19 padding:0; 20 margin :0; 23 21 } 24 22 .llgboinput{ 25 23 text-align:left; 26 padding-left:10px;27 margin :0 ; 24 margin :0; 25 28 26 } 29 27 .llgbofield , .colorwell ,.colorwellf{ 30 width:6 5px;text-align:left;28 width:60px;text-align:left; 31 29 } 32 30 .llgbofieldf { 33 width: 35px;text-align:left;31 width:20px;text-align:left; 34 32 } 35 33 #llgbotable{ 36 margin-right:0%; 37 margin-left:0%; 34 margin:1em; 35 width:500px; 36 margin: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 38 49 } 50 #gboh2{text-align:center; position: relative;top:1.5em;left:40%} 51 39 52 #tooltip{ 40 margin-right:25%; 41 margin-left:15%; 42 padding:5px; 53 width:67%; 43 54 -moz-border-radius:10px; 55 overflow:hidden; 44 56 } 45 57 #llgbotitle {padding:15px 0 5px 0;color:#c92;text-align:center;font-weight:700} -
extensions/LLGBO2/language/en_UK/plugin.lang.php
r4574 r4578 51 51 $lang['llgbo_M_manage'] = 'Global settings'; 52 52 $lang['llgbo_samples'] = 'Samples : '; 53 // must be translate 53 // must be translate --> in good english to 54 54 $lang['Howto'] = 'This plugin manage the picture page presentation.<br>'; 55 55 $lang['llgbo_frame']='Manage frame around the picture :'; … … 61 61 $lang['llgbo_header_home'] = 'Header display on Home page'; 62 62 $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)' ; 65 65 $lang['llgbo_header_category_posted_monthly']= 'Header display on Category page option calendar' ; 66 66 $lang['llgbo_header_picture']= 'Header display on Picture page' ; -
extensions/LLGBO2/language/fr_FR/plugin.lang.php
r4574 r4578 53 53 $lang['llgbo_frame_bdsize']= 'épaisseur : '; 54 54 $lang['llgbo_M_frame'] = 'Gestion du cadre'; 55 $lang['llgbo_M_tooltip'] = 'Gestion de l\'info fulle';55 $lang['llgbo_M_tooltip'] = 'Gestion de l\'infobulle'; 56 56 $lang['llgbo_M_manage'] = 'Paramétres généraux'; 57 57 $lang['llgbo_samples'] = 'Exemples :'; 58 58 // 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>'; 60 60 $lang['llgbo_frame']='Gérer le cadre autour de la photo'; 61 61 $lang['Step4_Title'] = 'Gestion de l\'affichage de l\'entête'; 62 62 $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'; 64 64 $lang['llgbo_M_header'] = 'Gestion de l\'affichage de l\'entête'; 65 65 $lang['Step4_Title'] = 'Affiche / Masque l\'entête de chaque page'; 66 66 $lang['llgbo_header_home'] = 'Affichage sur la page d\'Accueil'; 67 67 $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)'; 69 69 $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 op ion calendrier' ;70 $lang['llgbo_header_category_posted_monthly']= 'Affichage sur la page catégorie option calendrier' ; 71 71 $lang['llgbo_header_picture']= 'Affichage sur la page Image' ; 72 $lang['llgbo_header_additional_page'] = 'Affichage sur les pages Addit onelles';72 $lang['llgbo_header_additional_page'] = 'Affichage sur les pages Additionnelles'; 73 73 $lang['llgbo_header_most_visited'] = 'Affichage sur la page Plus visitées'; 74 74 $lang['llgbo_header_best_rated'] = 'Affichage sur la page Mieux notées'; … … 79 79 $lang['llgbo_header_search']= 'Affichage sur la page Recherche'; 80 80 $lang['llgbo_header_comments']= 'Affichage sur la page Commentaires'; 81 $lang['llgbo_header_about']= 'Affichage sur la page A propos';81 $lang['llgbo_header_about']= 'Affichage sur la page A propos'; 82 82 $lang['llgbo_header_notification']= 'Affichage sur la page Notification'; 83 83 $lang['llgbo_header_register'] = 'Affichage sur la page Inscription'; … … 87 87 88 88 89 90 91 89 ?> -
extensions/LLGBO2/main.inc.php
r4574 r4578 46 46 function MyBeginheader() 47 47 { global $page,$conf; 48 49 48 If ($conf['LLGBO_SETTINGS'][2] == 'true' ) // reset nofollow, noindex 50 49 { unset ($page['meta_robots']);} … … 54 53 {global $template,$conf; 55 54 $page_name = script_basename(); 55 if (!isset($page_name)) {$page_name ='index';} 56 56 if ($conf['LLGBO_SETTINGS'] [6] = 'true' ) 57 57 {$no_header = false; 58 if ( $page_name == 'index')58 if ( $page_name == 'index') 59 59 {// print_r($_GET.'----'.$page_name ); 60 60 if ((count ($_GET)) == 0 and ($conf['LLGBO_HEADER'][0] == 'false')) {$no_header = true;}// home … … 74 74 if ((strpos( $cle ,'created-monthly-list') == true ) and ($conf['LLGBO_HEADER'][12] == 'false')) {$no_header = true;break;} 75 75 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;} 78 77 } 79 78 } … … 90 89 {$template->append('head_elements',"\n".' <STYLE type="text/css">#theHeader{display: none}</STYLE>');} 91 90 } 92 93 94 91 // 95 92 If ($conf['LLGBO_SETTINGS'] [9] == 'true' )
Note: See TracChangeset
for help on using the changeset viewer.