예제 #1
0
 public function adminFeatures()
 {
     AdminPanelHelper::getSingleton()->addSettingsTextField(self::ADDRESS, "Address");
     AdminPanelHelper::getSingleton()->addSettingsTextField(self::PHONE, "Phone");
     AdminPanelHelper::getSingleton()->addSettingsTextField(self::DIRECT, "Direct");
     AdminPanelHelper::getSingleton()->addSettingsTextArea(self::DESCRIPTION, "Site Description");
 }
예제 #2
0
            <h4>Contact DCBIA</h4>
            <div class="form-group">
                <label for="name">Name</label>
                <input class="form-control" type="text" name="name" id="name" ng-model="name" required>
            </div>
            <div class="form-group">
                <label for="email">Email</label>
                <input class="form-control" type="email" name="from" id="from" ng-model="from" required>
            </div>
            <div class="form-group">
                <label for="comment">Comment</label>
                <textarea name="content" cols="30" rows="10" style="resize:none; width:100%;" ng-model="content" id="content" required></textarea>
            </div>
            <input type="hidden" name="send_email">
            <input type="hidden" name="to" id="to" ng-model="to" value="<?php 
echo AdminPanelHelper::getSingleton()->getOption("admin_email");
?>
">
            <input class="button2" type="submit" name="submit" value="Send" ng-click="sendContactEmail()">
        </div>
        <div class="col-sm-6" id="contact-form-sent" ng-show="successfull">
            <h3>Your email was sent successfully</h3>
        </div>
        <div class="col-sm-6">
        	<h4>Info</h4>
                <p>Telephone: (202) 966-8665</p> 
            <p><a href="mailto:info@dcbia.org">info@dcbia.org</a></p>
            <p>District of Columbia Building Industry Association<br>
                455 Massachusetts Avenue, NW, Suite 400<br> 
                Washington, D.C. 20001</p>
        </div>