Changeset 4591 for extensions/LLGBO2/admin
- Timestamp:
- Dec 30, 2009, 11:20:00 PM (14 years ago)
- Location:
- extensions/LLGBO2/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/admin/llgbo_admin.php
r4574 r4591 109 109 { 110 110 if (!isset($_POST['llgbo_frame'])) {$_POST['llgbo_frame'] = 'false';} 111 if (!isset($_POST['llgbo_tooltip '])) {$_POST['llgbo_tooltip'] = 'false';}111 if (!isset($_POST['llgbo_tooltip_disp'])) {$_POST['llgbo_tooltip_disp'] = 'false';} 112 112 if (!isset($_POST['llgbo_exifunderbt'])) {$_POST['llgbo_exifunderbt'] = 'false';} 113 113 if (!isset($_POST['llgbo_usemap'])) {$_POST['llgbo_usemap'] = 'false';} … … 119 119 if (!isset($_POST['llgbo_default_navthumb'])) {$_POST['llgbo_default_navthumb'] = 'false';} //9 } 120 120 $param_llgbo = array($_POST['llgbo_frame'], 121 $_POST['llgbo_tooltip '], $_POST['llgbo_exifunderbt'],121 $_POST['llgbo_tooltip_disp'], $_POST['llgbo_exifunderbt'], 122 122 $_POST['llgbo_usemap'], $_POST['llgbo_usemap_thumb'], 123 123 $_POST['llgbo_title_frame'], $_POST['llgbo_header'], … … 240 240 } 241 241 $conf['LLGBO_FRAME'] = explode ("," ,$llgbo_newframe_value ); 242 243 } 242 } 243 if ( isset($_POST['previewsample']) ) 244 { if (isset($_POST['sample'])) { //print_r($_POST); 245 if ($_POST['sample'] == "GOLD") 246 { $llgbo_sample = "#f6e1ac,#d0a641,2,#b08827,1,#f3ead8,5,#9c740e,1,#553b00,1,#5e4400,1,#684d07,1,#977424,1,#95772b,1,#896611,1,#674e13,3,#8e784b,1,#e0c992,2,#e8cb8b,1,#af9045,1,#8a6612,1";} 247 if ($_POST['sample'] == "WHITE") 248 { $llgbo_sample = "#16195f,#ffffff,3,#040404,1,#ffffff,7,#ffffff,1,#fdfdfd,1,#fcfcfc,1,#fafafa,1,#eaeaea,1,#d3d3d3,1,#bababa,1,#9f9f9f,1,#858585,1,#777777,1,#646464,1,#575757,1,#474747,1";} 249 if ($_POST['sample'] == "BLACK") 250 { $llgbo_sample = "#9f7a09,#090909,3,#fafafa,1,#0b0b0b,4,#0c0c0c,4,#1f1f20,1,#29292b,1,#343435,1,#3f3f41,1,#4a4a4b,1,#555557,1,#616163,1,#6d6d6e,1,#79797a,1,#848485,1,#919192,1,#9d9d9e,1";} 251 if ($_POST['sample'] == "METAL") 252 { $llgbo_sample = "#111111,#e8e8e8,2,#babdbf,1,#4a4c4d,3,#a3a7aa,2,#a8acaf,2,#adb2b4,1,#b3b8ba,1,#c0c4c6,2,#c6c9cc,1,#c8cbcd,1,#c5c9cb,1,#c9cdcf,1,#cdd1c2,1,#cdd1c2,1,#b1b3da,1,#666e83,1";} 253 if ($_POST['sample'] == "BLUE") 254 { $llgbo_sample = "#000000,#e8e8e8,2,#b6d0d5,1,#fafefe,9,#a3a7aa,1,#a8acaf,1,#404b54,1,#32403d,1,#b1b7c3,1,#4c5970,1,#303d4e,1,#566662,2,#96abb1,1,#737479,1,#d2d2d7,1,#6e716b,1,#5a5b5c,1";} 255 if ($_POST['sample'] == "B_W") 256 { $llgbo_sample = "#e8cb8b,#fcf6e9,11,#171112,9,#352c2d,1,#fcf6e9,1,#000000,3,#171112,3,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0";} 257 258 259 $conf['LLGBO_FRAME'] = explode ("," ,$llgbo_sample ); } 260 } 261 244 262 // FRAME 245 263 if (isset($conf['LLGBO_FRAME'][0])) {$template->assign(array( 'LLGBO_TITLE_FRAME_COLOR' => $conf['LLGBO_FRAME'][0]));} -
extensions/LLGBO2/admin/llgbo_adminframe.tpl
r4578 r4591 8 8 <span id="gboh2" style ="background:transparent;color:{$LLGBO_TITLE_FRAME_COLOR}">{'llgbo_title_frame_color'|@translate} </span> 9 9 {$FRAME_BEGIN} 10 <div align="center"> <span id="llgbotitle"> {'llgbo_frame_sample'|@translate} </span> <select name="sample"> 11 <option label="GOLD" value="GOLD"><selected="selected">Gold</option> 12 <option label="BLUE" value="BLUE">Blue</option> 13 <option label="METAL" value="METAL">Metal</option> 14 <option label="BLACK" value="BLACK">Black</option> 15 <option label="WHITE" value="WHITE">White</option> 16 <option label="B_W" value="B_W">Black&White</option> 17 </select> <input class="submit" type="submit" value="{'previewsamples'|@translate}" name="previewsample"/> 18 </div> 10 19 <table id="llgboframetable"> 11 <tr> <br>20 <tr> 12 21 <td class="llgbolabel" >{'llgbo_title_frame_color'|@translate} </td> 13 22 <td ><input type="text" name="llgbo_title_frame_color" style="background-color:{$LLGBO_TITLE_FRAME_COLOR}" class="colorwellf" value="{$LLGBO_TITLE_FRAME_COLOR}" /> </td> 14 <br>15 23 </tr> 16 24 <tr> … … 77 85 <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdsize15" class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE15}" /></td> 78 86 </tr> 87 79 88 </table> 80 89 {$FRAME_END} 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> 90 <div align="center"><br> <input class="submit" type="submit" value="{'preview'|@translate}" name="preview"/> <input class="submit" type="submit" value="{'save'|@translate}" name="save" /> 91 92 </div> 82 93 </fieldset> 83 94 </form> 84 <div style="{$LLGBODISPFRAME}">85 <P id="llgbotitle">{'llgbo_samples'|@translate} </p>86 <br>87 <img src="./plugins/look_like_gbo2/samples/blue_white.jpg">88 <br>89 <img src="./plugins/look_like_gbo2/samples/gold.jpg">90 <br>91 <img src="./plugins/look_like_gbo2/samples/metal.jpg">92 <br>93 <img src="./plugins/look_like_gbo2/samples/black.jpg">94 <br>95 </div>96 95 97 96 {* -- smarty syntaxe p55 {ldelim} remplace { et {rdelim} remplace } -- *}
Note: See TracChangeset
for help on using the changeset viewer.