first commit

This commit is contained in:
2025-03-12 17:06:23 +01:00
commit 2241f7131f
13185 changed files with 1692479 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?php
class stReminderGadgetActions extends stGadgetActions
{
public function executeIndex()
{
stEventDispatcher::getInstance()->notify(new sfEvent($this, 'stReminderBackend.beforeReminderCount', array()));
$c = new Criteria();
$c->add(BackendAlertPeer::DISPLAY,1);
$c->addDescendingOrderByColumn(BackendAlertPeer::CREATED_AT);
$this->items = BackendAlertPeer::doSelect($c);
}
}

View File

@@ -0,0 +1,24 @@
<div class="content_update_box">
<table>
<?php foreach ($items as $item) :?>
<tr>
<?php $item->setCulture($sf_params->get('culture')); ?>
<td style="width: 130px; vertical-align: top;">
<?php echo $item->getCreatedAt(); ?>
</td>
<td>
<?php echo $item->getName(); ?>
</td>
<tr>
<?php endforeach; ?>
</table>
</div>
<style type="text/css">
.content_update_box {
max-width: 480px;
margin: 0px auto
}
</style>
<div class="clear"></div>