filter[not] -> flag[not] to more accurate represent action
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 24 Sep 2010 17:55:18 +0000 (11:55 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 24 Sep 2010 17:55:18 +0000 (11:55 -0600)
imp/js/dimpbase.js
imp/templates/dimp/index.inc

index 8efbaa9..0edd538 100644 (file)
@@ -898,12 +898,12 @@ var DimpBase = {
             if (menu.endsWith('_setflag') || menu.endsWith('_unsetflag')) {
                 flag = elt.retrieve('flag');
                 this.flag(flag, this.convertFlag(flag, menu.endsWith('_setflag')));
-            } else if (menu.endsWith('_filter') || menu.endsWith('_filternot')) {
+            } else if (menu.endsWith('_flag') || menu.endsWith('_flagnot')) {
                 this.search = {
                     flag: elt.retrieve('flag'),
                     label: this.viewport.getMetaData('label'),
                     mbox: this.folder,
-                    not: menu.endsWith('_filternot')
+                    not: menu.endsWith('_flagnot')
                 };
                 this.go('folder:' + DIMP.conf.fsearchid);
             } else {
@@ -3034,8 +3034,8 @@ var DimpBase = {
                 type: 'qsearchopts'
             });
             DM.addSubMenu('ctx_qsearchopts_by', 'ctx_qsearchby');
-            DM.addSubMenu('ctx_qsearchopts_filter', 'ctx_flag');
-            DM.addSubMenu('ctx_qsearchopts_filternot', 'ctx_flag');
+            DM.addSubMenu('ctx_qsearchopts_flag', 'ctx_flag');
+            DM.addSubMenu('ctx_qsearchopts_flagnot', 'ctx_flag');
         }
 
         /* Store these text strings for updating purposes. */
index fb0b5a4..4f3c426 100644 (file)
@@ -487,8 +487,8 @@ function _simpleButton($id, $text, $image, $nodisplay = false)
 <div class="context" id="ctx_qsearchopts" style="display:none">
  <a id="ctx_qsearchopts_by"><?php echo _("Search By") ?></a>
  <div class="sep"></div>
- <a id="ctx_qsearchopts_filter"><?php echo _("Show Only") ?></a>
- <a id="ctx_qsearchopts_filternot"><?php echo _("Don't Show") ?></a>
+ <a id="ctx_qsearchopts_flag"><?php echo _("Show Only") ?></a>
+ <a id="ctx_qsearchopts_flagnot"><?php echo _("Don't Show") ?></a>
  <div class="sep"></div>
  <a id="ctx_qsearchopts_advanced"><?php echo _("Advanced Search...") ?></a>
 </div>