relocate templates; fix use of deprecated before_template
This commit is contained in:
		| @@ -8,7 +8,7 @@ | ||||
|             <h3 class="device_label">[% d.ip %]</h3> | ||||
|             <p class="device_label">[% d.dns.remove(settings.domain_suffix) %]</p> | ||||
|           </div> | ||||
|           [%+ TRY %][% INCLUDE "inc/device/${tab.id}.tt" %][% CATCH %]<!-- no "[% tab.id %]" search options -->[% END %] | ||||
|           [%+ TRY %][% INCLUDE "sidebar/device/${tab.id}.tt" %][% CATCH %]<!-- no "[% tab.id %]" search options -->[% END %] | ||||
|         </div> <!-- /tab-pane --> | ||||
|         [% END %] | ||||
|       </div> <!-- /tab-content --> | ||||
| @@ -29,5 +29,5 @@ | ||||
| </div> | ||||
|  | ||||
| <script type="text/javascript"> | ||||
| [%+ INCLUDE 'inc/js/device.js' -%] | ||||
| [%+ INCLUDE 'js/device.js' -%] | ||||
| </script> | ||||
|   | ||||
| @@ -8,7 +8,7 @@ | ||||
|             <div class="clearfix"> | ||||
|               <input class="span3" name="q" value="[% params.q %]" type="text"/> | ||||
|             </div> | ||||
|             [%+ TRY %][% INCLUDE "inc/search/${tab.id}.tt" %][% CATCH %]<!-- no "[% tab.id %]" search options -->[% END %] | ||||
|             [%+ TRY %][% INCLUDE "sidebar/search/${tab.id}.tt" %][% CATCH %]<!-- no "[% tab.id %]" search options -->[% END %] | ||||
|             <input name="tab" value="[% tab.id %]" type="hidden"/> | ||||
|             <div class="nd_search clearfix"> | ||||
|               <button id="[% tab.id %]_submit" type="submit" class="btn info">Search Again</button> | ||||
| @@ -38,5 +38,5 @@ | ||||
| </div> | ||||
|  | ||||
| <script type="text/javascript"> | ||||
| [%+ INCLUDE 'inc/js/search.js' -%] | ||||
| [%+ INCLUDE 'js/search.js' -%] | ||||
| </script> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user