File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 140140 $verNr = substr ($matches [0 ][0 ],15 );}
141141
142142 $themeVe = NULL ;
143- $GLOBALS [' updateAv' ] = NULL ;
144143
145144 if ($entry != " ." && $entry != " .." ) {
146145 echo ' <tr>' ;
204203 <a href =" {{ url (' update/theme' )} }" class =" mt-3 ml-3 btn btn-info" >Update themes</a ><br ><br >
205204</details >
206205
207- @if ($GLOBALS [' updateAv' ] == true )<img style =" padding-left :40px ; padding-top :15px ; scale : 1.5 ;" src =" https://img.shields.io/static/v1?label=&message=A theme needs updating&color=brightgreen" >@endif
206+ <?php
207+ try { if ($GLOBALS [' updateAv' ] == true ) echo ' <img style="padding-left:40px; padding-top:15px; scale: 1.5;" src="https://img.shields.io/static/v1?label=&message=A theme needs updating&color=brightgreen">' ;
208+ }catch (Exception $ex ){}
209+ ? >
208210
209211@endif
210212
You can’t perform that action at this time.
0 commit comments