Advertisement
daymobrew

Style buttons in Peter's Collaboration E-mails

Apr 9th, 2013
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.49 KB | None | 0 0
  1. --- peters_collaboration_emails.orig.php    2013-03-29 17:55:18.000000000 +0000
  2. +++ peters_collaboration_emails.php 2013-04-09 11:02:16.982825200 +0100
  3. @@ -863,11 +863,11 @@
  4.              <?php print $pce_contributors_current; ?>            
  5.              <?php print $pce_contributors_remaining; ?>
  6.              
  7. -            <p class="submit"><input type="submit" name="pce_edit_group_submit" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  8. +            <p class="submit"><input type="submit" name="pce_edit_group_submit" class="button action" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  9.          </form>
  10.          
  11.          <form name="pce_delete_group" method="post" action="<?php print '?page=' . basename(__FILE__); ?>">
  12. -            <p class="submit"><input type="hidden" name="pce_groupid" value="<?php print $pce_groupid;?>"><input type="submit" name="pce_delete_group_submit" value="<?php _e('Delete this group', 'peters_collaboration_emails'); ?>" /></p>
  13. +            <p class="submit"><input type="hidden" name="pce_groupid" value="<?php print $pce_groupid;?>"><input type="submit" name="pce_delete_group_submit" class="button action" value="<?php _e('Delete this group', 'peters_collaboration_emails'); ?>" /></p>
  14.          </form>
  15.      </div>
  16.      
  17. @@ -1191,7 +1191,7 @@
  18.          <p><?php _e('These users will be e-mailed if none of the rules below match. Note that they must be either editors or administrators.', 'peters_collaboration_emails'); ?></p>
  19.              <?php print $pce_defaultoptions; ?>
  20.              
  21. -        <p class="submit"><input type="submit" name="pce_modsubmit" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  22. +        <p class="submit"><input type="submit" name="pce_modsubmit" class="button action" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  23.          </form>
  24.              
  25.          <h3><?php _e('Moderators by group', 'peters_collaboration_emails'); ?></h3>
  26. @@ -1205,13 +1205,13 @@
  27.              <?php print $pce_useroptions; ?>
  28.              
  29.          </table>
  30. -        <p class="submit"><input type="submit" name="pce_rulesubmit" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  31. +        <p class="submit"><input type="submit" name="pce_rulesubmit" class="button action" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  32.          </form>
  33.          <form name="pce_groupform" action="<?php print '?page=' . basename(__FILE__); ?>" method="post">
  34.          <h4><?php _e('Add a group', 'peters_collaboration_emails'); ?></h4>
  35.              <?php print $pce_groupoptions; ?>
  36.          
  37. -        <p class="submit"><input type="submit" name="pce_groupsubmit" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  38. +        <p class="submit"><input type="submit" name="pce_groupsubmit" class="button action" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  39.          </form>
  40.          
  41.          <h3><?php _e('Moderators by post type and taxonomy', 'peters_collaboration_emails'); ?></h3>
  42. @@ -1227,7 +1227,7 @@
  43.              <?php print $pce_post_type_rules; ?>
  44.              
  45.          </table>
  46. -        <p class="submit"><input type="submit" name="pce_post_type_submit" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  47. +        <p class="submit"><input type="submit" name="pce_post_type_submit" class="button action" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  48.          </form>
  49.          <form name="pce_add_post_type_form" action="<?php print '?page=' . basename(__FILE__); ?>" method="post">
  50.          <h4><?php _e('Add post-type-specific moderators', 'peters_collaboration_emails'); ?></h4>
  51. @@ -1255,7 +1255,7 @@
  52.              print pce_usersoptions( array(), 'moderators' );
  53.              print '</select></p><p id="pce_post_type_rule_mod_add">E-mail: <input type="text" name="pce_post_type_rule_mod_add" width="30" maxlength="90" /></p>';
  54.              ?>
  55. -        <p class="submit"><input type="submit" name="pce_add_post_type_submit" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  56. +        <p class="submit"><input type="submit" name="pce_add_post_type_submit" class="button action" value="<?php _e('Update', 'peters_collaboration_emails'); ?>" /></p>
  57.          </form>        
  58.      </div>
  59.  
  60. @@ -2071,10 +2071,10 @@
  61.              {
  62.                  print "\n" . '<p>' . __( 'Are you sure you want to remove this post type rule?', 'peters_collaboration_emails' ) . '</p>';
  63.                  print "\n" . '<form method="post" action="?page=' . basename(__FILE__) . '&delete_post_type_rule=' . $rule_id . '">';
  64. -                print "\n" . '<p class="submit"><input type="submit" name="pce_delete_post_type_rule_yes" value="' . __( 'Yes', 'peters_collaboration_emails') . '" /></p>';
  65. +                print "\n" . '<p class="submit"><input type="submit" name="pce_delete_post_type_rule_yes" class="button action" value="' . __( 'Yes', 'peters_collaboration_emails') . '" /></p>';
  66.                  print "\n" . '</form>';
  67.                  print "\n" . '<form method="post" action="?page=' . basename(__FILE__) . '">';
  68. -                print "\n" . '<p class="submit"><input type="submit" value="' . __( 'No, go back', 'peters_collaboration_emails' ) . '" /></p>';
  69. +                print "\n" . '<p class="submit"><input type="submit" class="button action" value="' . __( 'No, go back', 'peters_collaboration_emails' ) . '" /></p>';
  70.                  print "\n" . '</form>';
  71.              }
  72.          }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement