Plugin Directory

Changeset 1525254


Ignore:
Timestamp:
10/31/2016 12:06:44 PM (9 years ago)
Author:
paratheme
Message:

files update

Location:
question-answer/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • question-answer/trunk/assets/front/css/single-question.css

    r1525184 r1525254  
    248248    border: 1px solid #bbb;
    249249    border-top:none;
     250}
     251
     252.form-answer-post .validations .success {
     253  color: #54c671;
     254  font-size: 12px;
     255  padding: 3px 1px;
     256}
     257
     258.form-answer-post .validations .failed {
     259  color: #f0611a;
     260  font-size: 12px;
     261  padding: 3px 1px;
    250262}
    251263
  • question-answer/trunk/languages/question-answer-bn_BD.po

    r1525184 r1525254  
    22msgstr ""
    33"Project-Id-Version: Question Answer\n"
    4 "POT-Creation-Date: 2016-10-31 16:18+0600\n"
    5 "PO-Revision-Date: 2016-10-31 16:18+0600\n"
     4"POT-Creation-Date: 2016-10-31 18:05+0600\n"
     5"PO-Revision-Date: 2016-10-31 18:06+0600\n"
    66"Last-Translator: \n"
    77"Language-Team: pickplugins <support@pickplugins.com>\n"
     
    989989#: templates/single-answer/answer-posting.php:138
    990990#: templates/single-question/answer-posting.php:19
    991 #: templates/single-question/answer-posting.php:138
     991#: templates/single-question/answer-posting.php:154
    992992msgid "Submit Answer"
    993993msgstr "উত্তর দিন"
     
    10041004
    10051005#: templates/single-answer/answer-posting.php:127
    1006 #: templates/single-question/answer-posting.php:127
    10071006msgid "Only visible to admin."
    10081007msgstr "শুধু এডমিন দেখতে পারবে"
    10091008
    10101009#: templates/single-answer/answer-posting.php:130
    1011 #: templates/single-question/answer-posting.php:130
    10121010msgid "Make your Answer Private"
    10131011msgstr "ব্যক্তিগত প্রশ্ন করুন"
     
    10151013#: templates/single-answer/answer-posting.php:139
    10161014#: templates/single-question/answer-content-old.php:134
    1017 #: templates/single-question/answer-posting.php:139
     1015#: templates/single-question/answer-posting.php:155
    10181016msgid "Your answer will be under review."
    10191017msgstr "আপনার উত্তর রিভিউ করা হতে পারে"
     
    11471145msgstr ""
    11481146
     1147#: templates/single-question/answer-posting.php:62
     1148msgid "Answer submitted."
     1149msgstr ""
     1150
     1151#: templates/single-question/answer-posting.php:63
     1152#, php-format
     1153msgid "Status: %s ."
     1154msgstr ""
     1155
     1156#: templates/single-question/answer-posting.php:112
     1157msgid "Content is empty."
     1158msgstr ""
     1159
     1160#: templates/single-question/answer-posting.php:143
     1161msgid "Make your answer private."
     1162msgstr ""
     1163
    11491164#: templates/template-add-question.php:24
    11501165#, php-format
  • question-answer/trunk/languages/question-answer.po

    r1525184 r1525254  
    22msgstr ""
    33"Project-Id-Version: Question Answer\n"
    4 "POT-Creation-Date: 2016-10-31 16:18+0600\n"
    5 "PO-Revision-Date: 2016-10-31 16:18+0600\n"
     4"POT-Creation-Date: 2016-10-31 18:05+0600\n"
     5"PO-Revision-Date: 2016-10-31 18:05+0600\n"
    66"Last-Translator: \n"
    77"Language-Team: pickplugins <support@pickplugins.com>\n"
     
    989989#: templates/single-answer/answer-posting.php:138
    990990#: templates/single-question/answer-posting.php:19
    991 #: templates/single-question/answer-posting.php:138
     991#: templates/single-question/answer-posting.php:154
    992992msgid "Submit Answer"
    993993msgstr ""
     
    10021002
    10031003#: templates/single-answer/answer-posting.php:127
    1004 #: templates/single-question/answer-posting.php:127
    10051004msgid "Only visible to admin."
    10061005msgstr ""
    10071006
    10081007#: templates/single-answer/answer-posting.php:130
    1009 #: templates/single-question/answer-posting.php:130
    10101008msgid "Make your Answer Private"
    10111009msgstr ""
     
    10131011#: templates/single-answer/answer-posting.php:139
    10141012#: templates/single-question/answer-content-old.php:134
    1015 #: templates/single-question/answer-posting.php:139
     1013#: templates/single-question/answer-posting.php:155
    10161014msgid "Your answer will be under review."
    10171015msgstr ""
     
    11451143msgstr ""
    11461144
     1145#: templates/single-question/answer-posting.php:62
     1146msgid "Answer submitted."
     1147msgstr ""
     1148
     1149#: templates/single-question/answer-posting.php:63
     1150#, php-format
     1151msgid "Status: %s ."
     1152msgstr ""
     1153
     1154#: templates/single-question/answer-posting.php:112
     1155msgid "Content is empty."
     1156msgstr ""
     1157
     1158#: templates/single-question/answer-posting.php:143
     1159msgid "Make your answer private."
     1160msgstr ""
     1161
    11471162#: templates/template-add-question.php:24
    11481163#, php-format
  • question-answer/trunk/templates/single-question/answer-posting.php

    r1525184 r1525254  
    1414?>
    1515
    16 <div class="answer-post clearfix">
     16<div class="answer-post  clearfix">
    1717   
    1818    <div class="answer-post-header" _status="0">
     
    3535    }
    3636?>
    37     <form class="form-answer-post" enctype="multipart/form-data" class="" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
     37    <form class="form-answer-post pickform" enctype="multipart/form-data" class="" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
    3838<?php
    3939    $editor_id      = 'qa-answer-editor';
     
    5959            $new_answer_post_ID = wp_insert_post($new_answer_post, true);
    6060           
    61            
    62            
     61            echo '<div class="validations">';
     62            echo '<div class="success"><i class="fa fa-check"></i> '.__('Answer submitted.', QA_TEXTDOMAIN).'</div>';
     63            echo '<div class="success"><i class="fa fa-check"></i> '.sprintf(__('Status: %s .', QA_TEXTDOMAIN), $qa_submitted_answer_status).'</div>';         
     64            echo '</div>';
    6365           
    6466            $userid = get_current_user_id();
     
    104106            wp_safe_redirect( wp_get_referer() );
    105107            $editor_content = '';
    106         }
     108            }
     109        else{
     110           
     111            echo '<div class="validations">';
     112            echo '<div class="failed"><i class="fa fa-exclamation-circle"></i> '.__('Content is empty.', QA_TEXTDOMAIN).'</div>';
     113           
     114            echo '</div>';
     115           
     116            }
     117       
     118       
     119       
     120       
     121       
     122       
    107123    }
    108124   
     
    125141        <label for="is_private">
    126142            <input id="is_private" type="checkbox" <?php echo $checked; ?> class="" value="1" name="is_private" />
    127             <?php echo __('Only visible to admin.',QA_TEXTDOMAIN); ?>
     143            <?php echo __('Make your answer private.',QA_TEXTDOMAIN); ?>
    128144           
    129145        </label>
    130         <span class="qa_ttt"><?php echo __('Make your Answer Private',QA_TEXTDOMAIN); ?></span>
     146       
    131147    </div>
    132148    <br><br>
Note: See TracChangeset for help on using the changeset viewer.