`forced_ads_reload_lock` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
`forced_ads_min_stay` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
`forced_ads_added` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
-`forced_ads_last_locked` TIMESTAMP NULL DEFAULT NULL,
-`forced_ads_lock_reason` TINYTEXT,
PRIMARY KEY (`forced_ads_id`)",
'Forced Ads Data');
'ADMIN_FORCED_ADS_CLICKS_COUNTER' => "Anzahl Forced-Klicks",
'ADMIN_FORCED_ADS_HAS_FRAMEBREAKER' => "Framekiller?",
'ADMIN_FORCED_ADS_ADDED' => "Hinzugefügt?",
- 'ADMIN_FORCED_ADS_LAST_LOCKED' => "Zuletzt gesperrt",
- 'ADMIN_FORCED_ADS_LOCK_REASON' => "Sperrgrund",
));
// [EOF]
<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_ads%}" method="post">
<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
<tr>
- <td align="center" colspan="7" class="table_header">
+ <td align="center" colspan="5" class="table_header">
<strong>{--ADMIN_LIST_FORCED_ADS_TITLE--}</strong>
</td>
</tr>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_ADS_TYPE--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_ADS_HAS_FRAMEBREAKER--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_ADS_ADDED--}</strong></td>
- <td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_ADS_LAST_LOCKED--}</strong></td>
- <td class="header_column bottom" align="center"><strong>{--ADMIN_FORCED_ADS_LOCK_REASON--}</strong></td>
</tr>
$content
<tr>
- <td class="table_footer" colspan="7">
+ <td class="table_footer" colspan="5">
<input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
<input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
- <input type="submit" class="form_delete" name="lock" value="{--ADMIN_ACTION_LOCK_SUBMIT--}" />
<input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
</td>
</tr>
<td align="center" class="bottom right {%template,ColorSwitch%}">
{%pipe,translateYesNo=$content[forced_ads_framebreaker]%}
</td>
- <td align="center" class="bottom right {%template,ColorSwitch%}">
- $content[forced_ads_added]
- </td>
- <td align="center" class="bottom right {%template,ColorSwitch%}">
- $content[forced_ads_last_locked]
- </td>
<td align="center" class="bottom {%template,ColorSwitch%}">
- {%pipe,fixEmptyContentToDashes=$content[forced_ads_lock_reason]%}
+ $content[forced_ads_added]
</td>
</tr>
<select-data-from-list-entry type="string" table="" value="forced_ads_type" alias="" function="" />
<select-data-from-list-entry type="string" table="" value="forced_ads_framebreaker" alias="" function="" />
<select-data-from-list-entry type="string" table="" value="forced_ads_added" alias="forced_ads_added" function="UNIX_TIMESTAMP" />
- <select-data-from-list-entry type="string" table="" value="forced_ads_last_locked" alias="forced_ads_last_locked" function="UNIX_TIMESTAMP" />
- <select-data-from-list-entry type="string" table="" value="forced_ads_lock_reason" alias="" function="" />
</select-data-from-list>
<!--
And the column list to perform the WHERE statement on.
<callback-extra-parameter-list-entry type="int" column="forced_ads_added" value="2" />
</callback-extra-parameter-list>
</column-callback-list-entry>
- <!--
- Second column to "translate".
- //-->
- <column-callback-list-entry>
- <column-callback-data type="string" value="forced_ads_last_locked" callback="generateDateTime" />
- <callback-extra-parameter-list>
- <callback-extra-parameter-list-entry type="int" column="forced_ads_last_locked" value="2" />
- </callback-extra-parameter-list>
- </column-callback-list-entry>
</column-callback-list>
</admin-list-data>