Skip to content

Commit

Permalink
Add CIL Portugal as a method
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Dec 13, 2023
1 parent bd92b14 commit d03d393
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/calculation-methods.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<li>Algeria</li>
<li>Kementerian Agama Republik Indonesia</li>
<li>Morocco</li>

<li>Comunidate Islamica de Lisboa (Portugal)</li>
</ul>
<p>
If you understand how these work and want to see some detail, just see <a href="https://api.aladhan.com/v1/methods" target="_blank">https://api.aladhan.com/v1/methods</a>.
Expand Down Expand Up @@ -140,7 +140,8 @@
If you're not happy with the angle defintions of any of the other methods, you can use the API to create your own.
To do this, you can use any timings related endpoint, like timings, timingsByAddress, timingsByCity, calendar, calendarByAddress, etc.
For the method, pass 99 - this means you'll be passing your own method parameters in the 'methodSettings' parameter.
The methodSettings parameter accepts comma separated values in the following order:</p>
The methodSettings parameter accepts comma separated values in the following order:
</p>
<p>
<p><code>FajrAngle,MaghribAngleOrMinsAfterSunset,IshaAngleOrMinsAfterMaghrib</code></p>
</p>
Expand Down
1 change: 1 addition & 0 deletions templates/calendar.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<option value="19">Algeria</option>
<option value="20">Kementerian Agama Republik Indonesia</option>
<option value="21">Morocco</option>
<option value="22">Comunidade Islamica de Lisboa</option>
<option value="99">Custom</option>
</select>
</div>
Expand Down
1 change: 1 addition & 0 deletions templates/play.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
<option value="19" <?=$times['meta']['method']['id'] == "19" ? "selected" : ""?>>Algeria</option>
<option value="20" <?=$times['meta']['method']['id'] == "20" ? "selected" : ""?>>Kementerian Agama Republik Indonesia</option>
<option value="21" <?=$times['meta']['method']['id'] == "21" ? "selected" : ""?>>Morocco</option>
<option value="22" <?=$times['meta']['method']['id'] == "22" ? "selected" : ""?>>Comunidade Islamica de Lisboa</option>
<option value="99">Custom</option>
</select>
</div>
Expand Down

0 comments on commit d03d393

Please sign in to comment.