Download html/modules.php from EdgarNotPoe/headspace-zen-joomla-template-e06uv: direct link, hf CLI and curl.
- Browser
- Download file 874 Bytes
-
https://huggingface.co/spaces/EdgarNotPoe/headspace-zen-joomla-template-e06uv/resolve/main/html/modules.php
- Command line
-
hf download hf://spaces/EdgarNotPoe/headspace-zen-joomla-template-e06uv/html/modules.php
-
curl -L -o modules.php https://huggingface.co/spaces/EdgarNotPoe/headspace-zen-joomla-template-e06uv/resolve/main/html/modules.php
874 Bytes
| defined('_JEXEC') or die; | |
| function modChrome_card($module, &$params, &$attribs) { | |
| if ($module->content) { | |
| echo '<div class="bg-white rounded-3xl p-6 shadow-sm border border-orange-100 mb-6">'; | |
| if ($module->showtitle) { | |
| echo '<h3 class="text-lg font-bold text-gray-800 mb-4 flex items-center">'; | |
| echo '<span class="w-2 h-2 rounded-full bg-orange-400 mr-2"></span>'; | |
| echo $module->title; | |
| echo '</h3>'; | |
| } | |
| echo '<div class="text-gray-600">'; | |
| echo $module->content; | |
| echo '</div>'; | |
| echo '</div>'; | |
| } | |
| } | |
| function modChrome_none($module, &$params, &$attribs) { | |
| if ($module->content) { | |
| if ($module->showtitle) { | |
| echo '<h3 class="font-semibold text-gray-800 mb-2">' . $module->title . '</h3>'; | |
| } | |
| echo $module->content; | |
| } | |
| } |