Changeset 1089:049be1a46863 for plugins
- Timestamp:
- 12/19/12 11:57:54 (13 years ago)
- Branch:
- twig
- Location:
- plugins/aboutConfig
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/aboutConfig/admtpl/index.html.twig
r1070 r1089 42 42 </tbody></table> 43 43 {% endfor %} 44 <p>{{ form_field('local_submit') }} 44 <p>{{ form_field('local_submit') }}</p> 45 45 {% endform %} 46 46 </div> … … 75 75 </tbody></table> 76 76 {% endfor %} 77 <p>{{ form_field('global_submit') }} 77 <p>{{ form_field('global_submit') }}</p> 78 78 {% endform %} 79 79 </div> -
plugins/aboutConfig/index.php
r1070 r1089 137 137 # Commons 138 138 if (!empty($_GET['upd'])) { 139 $_ctx->set Message(__('Configuration successfully updated'));139 $_ctx->setAlert(__('Configuration successfully updated')); 140 140 } 141 141 if (!empty($_GET['upda'])) { 142 $_ctx->set Message(__('Settings definition successfully updated'));142 $_ctx->setAlert(__('Settings definition successfully updated')); 143 143 } 144 144 $_ctx->default_tab = !empty($_GET['part']) && $_GET['part'] == 'global' ? 'global' : 'local'; 145 $_ctx-> setPageTitle('about:config');145 $_ctx->fillPageTitle('about:config'); 146 146 $core->tpl->display('@aboutConfig/index.html.twig'); 147 147 ?> -
plugins/aboutConfig/js/aboutConfig.js
r1070 r1089 1 1 $(function() { 2 $("#global_ submit").hide();3 $("#local_ submit").hide();2 $("#global_nav_submit").hide(); 3 $("#local_nav_submit").hide(); 4 4 $("#global_nav").change(function() { 5 5 window.location = $("#global_nav option:selected").val();
Note: See TracChangeset
for help on using the changeset viewer.