Changeset 1243318
- Timestamp:
- 09/11/2015 12:27:17 PM (10 years ago)
- File:
-
- 1 edited
-
cyclos/trunk/cyclos-public.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cyclos/trunk/cyclos-public.php
r1242511 r1243318 28 28 // Register style sheet 29 29 add_action( 'wp_enqueue_scripts', 'registerCyclosStyles' ); 30 31 30 32 31 // Create the widget to display the login form … … 75 74 76 75 // Returns the html to show when shortcode is used. 77 return'76 $out = ' 78 77 <div class="cyclosFormBox cyclosForgotContainer" style="display:none"> 79 78 <form class="cyclosForgotPasswordForm" action="#" method="post"> … … 115 114 </div> 116 115 </form> 117 </div> 116 </div>'; 117 if (!array_key_exists('cyclos_behavior_applied', $GLOBALS)) { 118 $GLOBALS['cyclos_behavior_applied'] = true; 119 $out = $out . ' 118 120 <script> 119 121 jQuery(document).ready(function($) { … … 243 245 }); 244 246 </script> 245 '; 247 '; 248 } 249 return $out; 246 250 } 247 251
Note: See TracChangeset
for help on using the changeset viewer.