summaryrefslogtreecommitdiff
path: root/tt-rss.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-26 14:21:42 +0300
committerAndrew Dolgov <[email protected]>2009-02-26 14:21:42 +0300
commit2b60628a0625a2637ad290350a7173faaa6b0f58 (patch)
treeed6dd7cc988662316aca22144b173ba084232e2d /tt-rss.php
parenta52dca6cc57ee1e1e3d1f1f22d0d618700d63bc6 (diff)
use optgroup tag for grouped select boxes
Diffstat (limited to 'tt-rss.php')
-rw-r--r--tt-rss.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tt-rss.php b/tt-rss.php
index 7a492f84c..b963cd150 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -189,25 +189,25 @@ window.onload = init;
<option value="qmcDefault" selected="selected"><?php echo __('Actions...') ?></option>
<option value="qmcSearch"><?php echo __('Search...') ?></option>
<!-- <option value="qmcPrefs"><?php echo __('Preferences') ?></option> -->
- <option disabled="disabled">--------</option>
- <option style="color : #5050aa" disabled="disabled"><?php echo __('Feed actions:') ?></option>
+ <optgroup label="<?php echo __('Feed actions:') ?>">
<option value="qmcAddFeed">&nbsp;&nbsp;<?php echo __('Subscribe to feed...') ?></option>
<option value="qmcEditFeed">&nbsp;&nbsp;<?php echo __('Edit this feed...') ?></option>
<!-- <option value="qmcClearFeed">&nbsp;&nbsp;<?php echo __('Clear articles') ?></option> -->
<option value="qmcRescoreFeed">&nbsp;&nbsp;<?php echo __('Rescore feed') ?></option>
<option value="qmcRemoveFeed">&nbsp;&nbsp;<?php echo __('Unsubscribe') ?></option>
- <option disabled="disabled">--------</option>
- <option style="color : #5050aa" disabled="disabled"><?php echo __('All feeds:') ?></option>
+ </optgroup>
+ <optgroup label="<?php echo __('All feeds:') ?>">
<option value="qmcCatchupAll">&nbsp;&nbsp;<?php echo __('Mark as read') ?></option>
<option value="qmcShowOnlyUnread">&nbsp;&nbsp;<?php echo __('(Un)hide read feeds') ?></option>
- <option disabled="disabled">--------</option>
- <option style="color : #5050aa" disabled="disabled"><?php echo __('Other actions:') ?></option>
+ </optgroup>
+ <optgroup label="<?php echo __('Other actions:') ?>">
<option value="qmcAddLabel">&nbsp;&nbsp;<?php echo __('Create label...') ?></option>
<option value="qmcAddFilter">&nbsp;&nbsp;<?php echo __('Create filter...') ?></option>
<option value="qmcResetUI">&nbsp;&nbsp;<?php echo __('Reset UI layout') ?></option>
<option value="qmcResetCats">&nbsp;&nbsp;<?php echo __('Reset category order') ?></option>
<option value="qmcHKhelp"><?php echo __('&nbsp;&nbsp;Keyboard shortcuts') ?></option>
+ </optgroup>
</select>
</div>