- Timestamp:
- 03/29/11 14:11:14 (14 months ago)
- Location:
- trunk
- Files:
-
- 5 added
- 3 edited
-
admin/css/styles.css (modified) (1 diff)
-
components/actions (added)
-
components/actions/frontend.php (added)
-
components/actions/index.html (added)
-
components/actions/model.php (added)
-
components/actions/router.php (added)
-
core/classes/actions.class.php (modified) (2 diffs)
-
templates/_default_/admin/actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/css/styles.css
r591 r733 598 598 padding:2px 0px; 599 599 overflow:hidden; 600 } 601 602 .action_delete{ 603 display:block; 604 width: 16px; 605 height: 16px; 606 background: url(/templates/_default_/images/icons/delete.png) no-repeat left 1px; 607 float:right; 608 margin-left: 6px; 600 609 } 601 610 -
trunk/core/classes/actions.class.php
r625 r733 169 169 } 170 170 171 public static function removeLogById($id){ 172 173 $inDB = cmsDatabase::getInstance(); 174 175 $inDB->query("DELETE FROM cms_actions_log WHERE id = '{$id}'"); 176 177 } 178 171 179 // ============================================================================ // 172 180 // ============================================================================ // … … 279 287 if (!$inUser->id) { $this->where('log.is_users_only = 0'); } 280 288 281 $sql = "SELECT log.object as object, 289 $sql = "SELECT log.id as id, 290 log.object as object, 282 291 log.object_url as object_url, 283 292 log.target as target, -
trunk/templates/_default_/admin/actions.php
r591 r733 3 3 <?php foreach($actions as $action) { ?> 4 4 <div class="action_entry act_<?php echo $action['name']; ?>"> 5 <div class="action_date<?php if ($action['is_new']){ ?> is_new<?php } ?>"><?php echo $action['pubdate']; ?> íàçàä</div> 5 <div class="action_date 6 <?php if ($action['is_new']){ ?> is_new<?php } ?>"><?php echo $action['pubdate']; ?> íàçàä 7 <a href="/actions/delete/<?php echo $action['id']; ?>" class="action_delete" title="Óäàëèòü" onclick="if(!confirm('Óäàëèòü çàïèñü èç ëåíòû?')){ return false; }"></a> 8 </div> 6 9 <div class="action_title"> 7 10 <a href="<?php echo $action['user_url']; ?>" class="action_user"><?php echo $action['user_nickname']; ?></a>
Note: See TracChangeset
for help on using the changeset viewer.
