-
Notifications
You must be signed in to change notification settings - Fork 988
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,12 +58,13 @@ | |
</div> | ||
<?php endif;?> | ||
|
||
<?php if(intval($templateapiversion) < intval(App()->getConfig("versionnumber")) ):?> | ||
<?php /* Commented out for the moment because it is not properly working | ||
if(intval($templateapiversion) < intval(App()->getConfig("versionnumber")) ):?> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Shnoulle
Collaborator
|
||
<div class="alert alert-warning alert-dismissible" role="alert"> | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span>×</span></button> | ||
<strong><?php eT('This template is out of date.');?></strong> <?php eT('We can not guarantee optimum operation. It would be preferable to use a new template.');?> | ||
</div> | ||
<?php endif;?> | ||
<?php endif; */ ?> | ||
</div> | ||
</div> | ||
|
||
|
@Shnoulle Since we use semantic versioning, comparing ints like that will not work. You will have to use PHP's
version_compare
at least.