Changeset 190 for dev/templates

Show
Ignore:
Timestamp:
03/16/07 17:12:55 (15 years ago)
Author:
exi
Message:

This is a big update...
Moved all admin scripts to common/admin.
Moved all includes and classes to common/includes.
Edited all include-paths to reflect the movement.
Fixed a bug with the session system allowing every registered user to access admin pages.
Replaced calls to date() to use a wrapper so gmdate can be used.
Replaced some calls to $config with calls to the static object.
Fixed a big which caused the portrait_grab to not download a new picute.
Added a classified-state to kills.
Removed the sync_server server script in this tree.
Added code to help modules find the includes to index.php.

Location:
dev/templates
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • dev/templates/admin_options_field_head.tpl

    r177 r190  
    1 <form id="options2 name="options" method="post" action="?a=admin&amp;field={$field}&amp;sub={$sub}"> 
     1<form id="options" name="options" method="post" action="?a=admin&amp;field={$field}&amp;sub={$sub}"> 
    22<input type="hidden" name="field" value="{$field}"> 
    33<input type="hidden" name="sub" value="{$sub}"> 
  • dev/templates/block_comments.tpl

    r133 r190  
    1313            <p>{$comments[i].comment}</p> 
    1414{if $page->isAdmin()} 
    15             <a href="javascript:openWindow('?a=comments_delete&c_id={$comments[i].id}', null, 480, 350, '' );">Delete Comment</a> 
     15            <a href="javascript:openWindow('?a=admin_comments_delete&c_id={$comments[i].id}', null, 480, 350, '' );">Delete Comment</a> 
    1616{/if} 
    1717          </td>