changed shortcode name to conform to convention
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 28 Apr 2016 20:15:46 +0000 (16:15 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 28 Apr 2016 20:15:46 +0000 (16:15 -0400)
setup/shortcodeBuilder.php [new file with mode: 0644]
setup/shortcodes.php
views/front/events/frontAdd.html

diff --git a/setup/shortcodeBuilder.php b/setup/shortcodeBuilder.php
new file mode 100644 (file)
index 0000000..3ac00fa
--- /dev/null
@@ -0,0 +1,8 @@
+<?php
+
+/* 
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
index f0b9fdc..cce67ba 100644 (file)
@@ -115,7 +115,7 @@ $glmMembersEventsShortcodes = array(
         )
 
     ),
-    'glm-members-event-frontAdd' => array(
+    'glm-members-event-front-add' => array(
         'plugin'     => GLM_MEMBERS_EVENTS_PLUGIN_SLUG,
         'menu'       => 'events',
         'action'     => 'frontAdd',
index eede800..fe266d3 100644 (file)
@@ -17,7 +17,7 @@
         </tr>
         <tr>
             <th style="color: red;"> End Date </th>
-            <td><input class="glm-datetime-input glm-required" id="edate" name="ending" maxlength="100" type="text" required></td>
+            <td><input class="glm-datetime-input glm-required" id="edate" name="ending" maxlength="100" type="text"></td>
         </tr>
         <tr>
         <tr>