Changeset 557 for trunk/plog-admin/plog-options.php
- Timestamp:
- 07/14/08 22:15:37 (4 months ago)
- Files:
-
- 1 modified
-
trunk/plog-admin/plog-options.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plog-admin/plog-options.php
r555 r557 125 125 configure_mod_rewrite($config["use_mod_rewrite"]); 126 126 127 if (!isset($error_flag)) $output .= '<p class="actions">' . plog_tr("You have updated your settings successfully.") . '</p>';127 if (!isset($error_flag)) $output .= "\n\t" . '<p class="actions">' . plog_tr("You have updated your settings successfully.") . '</p>' . "\n"; 128 128 129 129 $_SESSION["msg"] = $output; … … 151 151 ); 152 152 153 $output .= ' 154 <h1>' . plog_tr("System Options") . '</h1> 153 $output .= "\n\t" . '<h1>' . plog_tr("System Options") . '</h1> 155 154 156 155 <form action="'.$_SERVER["PHP_SELF"].'" method="post"> … … 158 157 <table class="option-table"> 159 158 <tr class="alt"> 160 <td><label for="gallery_name">' . plog_tr("Gallery Name:") . '</label> ' . plog_tr("(optional)") . '</td>159 <td><label for="gallery_name">' . plog_tr("Gallery Name:") . '</label><br /> ' . plog_tr("(optional)") . '</td> 161 160 <td><input size="45" type="text" id="gallery_name" name="gallery_name" value="'.stripslashes($config['gallery_name']).'" /></td> 162 161 </tr> 163 162 <tr> 164 <td><label for="gallery_url">' . plog_tr('Gallery URL:') . '</label> </td>163 <td><label for="gallery_url">' . plog_tr('Gallery URL:') . '</label></td> 165 164 <td><input size="45" type="text" id="gallery_url" name="gallery_url" value="'.stripslashes($config['gallery_url']).'" /></td> 166 165 </tr> … … 206 205 </tr> 207 206 <tr> 208 <td><label for="generate_intermediate">' . plog_tr('Generate Intermediate Pictures?') . '</label> :</td>207 <td><label for="generate_intermediate">' . plog_tr('Generate Intermediate Pictures?') . '</label></td> 209 208 <td><input type="checkbox" id="generate_intermediate" name="generate_intermediate" value="1" '.$generate_intermediate.' /></td> 210 209 </tr> … … 218 217 </tr> 219 218 <tr class="alt"> 220 <td><label for="image_quality">' . plog_tr('JPEG Image Quality ') . '</label><br /> ' . plog_tr("(1=worst, 95=best, 75=default):") . '</label></td>219 <td><label for="image_quality">' . plog_tr('JPEG Image Quality:') . '</label><br /> ' . plog_tr("(1=worst, 95=best, 75=default)") . '</label></td> 221 220 <td><input size="5" type="text" id="image_quality" name="image_quality" value="'.$config['compression'].'" /></td> 222 221 </tr> … … 293 292 </tr> 294 293 <tr class="alt"> 295 <td><label for="square_thumbs">' . plog_tr('Use Cropped Square Thumbnails? :') .'</label></td>294 <td><label for="square_thumbs">' . plog_tr('Use Cropped Square Thumbnails?') .'</label></td> 296 295 <td>'; 297 296 if ($config['square_thumbs'] == 1) $checked = "checked='checked'"; else $checked = ""; … … 305 304 </tr> 306 305 <tr class="alt"> 307 <td><label for="thumb_nav_range">' . plog_tr('Thumbnail Navigation Range ') . '</label><br /> ' . plog_tr('(0 for whole album):') . '</td>306 <td><label for="thumb_nav_range">' . plog_tr('Thumbnail Navigation Range:') . '</label><br /> ' . plog_tr('(0 for whole album)') . '</td> 308 307 <td><input size="5" type="text" id="thumb_nav_range" name="thumb_nav_range" value="'.$config['thumb_nav_range'].'" /></td> 309 308 </tr> … … 324 323 <table class="option-table"> 325 324 <tr> 326 <td><label for="date_format">' . plog_tr('Date Format ') . '</label>:</td>325 <td><label for="date_format">' . plog_tr('Date Format:') . '</label></td> 327 326 <td> 328 327 <select id="date_format" name="date_format">'; … … 336 335 </tr> 337 336 <tr class="alt"> 338 <td><label for="allow_dl" >' . plog_tr('Allow Compressed Recursive Downloads?') . '</label>:</td>337 <td><label for="allow_dl" style="white-space: nowrap;">' . plog_tr('Allow Compressed Recursive Downloads?') . '</label></td> 339 338 <td>'; 340 339 if ($config['allow_dl'] == 1) $checked = "checked='checked'"; else $checked = ""; … … 358 357 </tr> 359 358 <tr class="alt"> 360 <td><label for="use_mod_rewrite">' . plog_tr('Generate Cruft-Free URLs ') . '</label><br /> ' . plog_tr('(requires mod_rewrite)') . '</td>359 <td><label for="use_mod_rewrite">' . plog_tr('Generate Cruft-Free URLs:') . '</label><br /> ' . plog_tr('(requires mod_rewrite)') . '</td> 361 360 <td>'; 362 361 $htaccess_file = $config["basedir"] . ".htaccess";
