Changeset 6234 for extensions/LLGBO2/admin
- Timestamp:
- May 18, 2010, 10:15:25 PM (14 years ago)
- Location:
- extensions/LLGBO2/admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/admin/llgbo_admin.php
r4713 r6234 135 135 if (!isset($_POST['llgbo_maintain_header'])) {$_POST['llgbo_maintain_header'] = '';} 136 136 if (!isset($_POST['llgbo_allinfo'])) {$_POST['llgbo_allinfo'] = 'false';} 137 if (!isset($_POST['llgbo_default_navthumb'])) {$_POST['llgbo_default_navthumb'] = 'false';} 137 $_POST['llgbo_hdlightbox'] = 'false'; 138 // compliance HD Shadowbox 139 $query =" SELECT ID FROM piwigo_plugins where id ="."'HDShadowbox'"."and state ='active'" ; 140 $result = pwg_query($query); 141 while ($row = pwg_db_fetch_assoc($result)) 142 { $_POST['llgbo_hdlightbox'] = 'true';} 138 143 if (!isset($_POST['llgbo_always_displayexif'])) {$_POST['llgbo_always_displayexif'] = 'false';} //10 139 144 $param_llgbo = array($_POST['llgbo_frame'], … … 142 147 $_POST['llgbo_title_frame'], $_POST['llgbo_header'], 143 148 $_POST['llgbo_maintain_header'], $_POST['llgbo_allinfo'], 144 $_POST['llgbo_ default_navthumb'] ,$_POST['llgbo_always_displayexif']149 $_POST['llgbo_hdlightbox'] ,$_POST['llgbo_always_displayexif'] 145 150 ); 146 151 $llgbo_new_value = implode ("," , $param_llgbo); … … 176 181 {$template->assign(array( 'LLGBO_ALLINFO' => 'true'));} else { $template->assign( array( 'LLGBO_ALLINFO' => "false"));} 177 182 if ($conf['LLGBO_SETTINGS'][9] == 'true') 178 {$template->assign(array( 'LLGBO_ DEFAULT_NAVTHUMB' => 'true'));} else { $template->assign(array( 'LLGBO_DEFAULT_NAVTHUMB' => "false"));}183 {$template->assign(array( 'LLGBO_HDLIGHTBOX' => 'true'));} else { $template->assign(array( 'LLGBO_HDLIGHTBOX' => "false"));} 179 184 if ($conf['LLGBO_SETTINGS'][10] == 'true') 180 185 {$template->assign(array( 'LLGBO_ALWAYS_DISPLAYEXIF' => 'true'));} else { $template->assign(array( 'LLGBO_ALWAYS_DISPLAYEXIF' => "false"));} -
extensions/LLGBO2/admin/llgbo_adminframe.tpl
r4603 r6234 1 1 2 <div class="infos" style="text-align:left;padding-left:45px;" >{$LLGBOINFO|@translate}</div> 2 {if !empty($LLGBOINFO)}<div class="infos" style="text-align:left;padding-left:50px;" >{$LLGBOINFO|@translate}</div>{/if} 3 3 <h2> {'Title'|@translate} <br> {$LLGBO_VERSION}</h2> 4 4 <h3>{'Step3_Title'|@translate}</h3> 5 <form method="post" action=" {$llgbo_F_ACTION}" class="properties">5 <form method="post" action="" class="properties"> 6 6 <fieldset> 7 7 <div id="framepicker"> </div> -
extensions/LLGBO2/admin/llgbo_adminheader.tpl
r4603 r6234 1 <div class="infos" style="text-align:left;padding-left:45px;" >{$LLGBOINFO|@translate}</div> 1 {if !empty($LLGBOINFO)}<div class="infos" style="text-align:left;padding-left:50px;" >{$LLGBOINFO|@translate}</div>{/if} 2 2 <h2> {'Title'|@translate} <br> {$LLGBO_VERSION}</h2> 3 3 <h3>{'Step4_Title'|@translate}</h3> -
extensions/LLGBO2/admin/llgbo_adminsettings.tpl
r4713 r6234 1 <div class="infos" style="text-align:left;padding-left:45px;" >{$LLGBOINFO|@translate}</div> 1 2 {if !empty($LLGBOINFO)}<div class="infos" style="text-align:left;padding-left:50px;" >{$LLGBOINFO|@translate}</div>{/if} 2 3 <h2> {'Title'|@translate} <br> {$LLGBO_VERSION}</h2> 3 4 <h3>{'Howto'|@translate}</h3> 4 <span>{'llgo_warning_setting'|@translate} </span> 5 <form method="post" action="{$llgbo_F_ACTION}" class="properties"> 5 {if !empty($GALLY)} 6 <span>{'llgo_warning_setting'|@translate} </span>{/if} 7 <form method="post" action="" class="properties"> 6 8 <fieldset> 7 9 8 <table id="llgbotable" style="{$LLGBODISPMANAGE}">10 <table id="llgbotable"> 9 11 <tr> 10 12 <td id="llgbotitle">{'llgo_global_setting'|@translate} </td> … … 38 40 <td class="llgboinput">{html_radios name='llgbo_title_frame' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_TITLE_FRAME}</td> 39 41 </tr> 42 <!-- <tr> 43 <td class="llgbolabel">{'llgbo_hdlightbox'|@translate}</td> 44 <td class="llgboinput">{html_radios name='llgbo_hdlightbox' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HDLIGHTBOX}</td> 45 </tr> --> 40 46 <tr> 41 <tr>42 <td class="llgbolabel">{'llgbo_default_navthumb'|@translate}</td>43 <td class="llgboinput">{html_radios name='llgbo_default_navthumb' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_DEFAULT_NAVTHUMB}</td>44 </tr>45 47 <td class="llgbolabel">{'llgbo_header'|@translate}</td> 46 48 <td class="llgboinput">{html_radios name='llgbo_header' values='true,false'|@explode output='Yes,No'|@explode|translate selected=$LLGBO_HEADER}</td> -
extensions/LLGBO2/admin/llgbo_admintooltip.tpl
r4603 r6234 1 <div class="infos" style="text-align:left;padding-left:45px;" >{$LLGBOINFO|@translate}</div> 1 {if !empty($LLGBOINFO)}<div class="infos" style="text-align:left;padding-left:50px;" >{$LLGBOINFO|@translate}</div>{/if} 2 2 <h2> {'Title'|@translate} <br> {$LLGBO_VERSION}</h2> 3 3 <h3>{'Step2_Title'|@translate}</h3> 4 <form method="post" action=" {$llgbo_F_ACTION}" class="properties">4 <form method="post" action="" class="properties"> 5 5 <fieldset> 6 6
Note: See TracChangeset
for help on using the changeset viewer.