diff options
author | Nils Adermann <naderman@naderman.de> | 2006-06-03 22:19:41 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2006-06-03 22:19:41 +0000 |
commit | 6ba50e34d60441e3eaf6c9fe1bff95a902393c84 (patch) | |
tree | e9ba8f0c1c5ff596a41ca070a0a80e641efebc77 /phpBB/adm/style/acp_styles.html | |
parent | 9aa9cb4bb6d9ad21db25bf24e70ed35b92c0f1a9 (diff) | |
download | forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar.gz forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar.bz2 forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar.xz forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.zip |
- removed useless code from style.php
- added a view template cache mode to acp_styles
- syntax highlighting for the acp css
- completed refresh actions for themes and templates
- fixed theme and template installation
- use a function for generating database theme data
- removed useless code from mcp_queue.php
we might need to do some more tests of acp_styles with safe_mode on
git-svn-id: file:///svn/phpbb/trunk@6007 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/style/acp_styles.html')
-rw-r--r-- | phpBB/adm/style/acp_styles.html | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/phpBB/adm/style/acp_styles.html b/phpBB/adm/style/acp_styles.html index b38a35702d..3a5b6330db 100644 --- a/phpBB/adm/style/acp_styles.html +++ b/phpBB/adm/style/acp_styles.html @@ -244,6 +244,8 @@ //--> </script> + <a href="{U_BACK}" style="float: right">« {L_BACK}</a> + <h1>{L_EDIT_THEME}</h1> <p>{L_EDIT_THEME_EXPLAIN}</p> @@ -374,6 +376,59 @@ </form> <!-- ENDIF --> +<!-- ELSEIF S_CACHE --> + <script language="Javascript" type="text/javascript"> + <!-- + + function viewsource(url) + { + window.open(url, '_source', 'HEIGHT=550,resizable=yes,scrollbars=yes,WIDTH=750'); + return false; + } + + //--> + </script> + + <a href="{U_BACK}" style="float: right">« {L_BACK}</a> + + <h1>{L_TEMPLATE_CACHE}</h1> + + <p>{L_TEMPLATE_CACHE_EXPLAIN}</p> + + <form name="acp_styles" method="post" action="{U_ACTION}"> + + <table cellspacing="1"> + <thead> + <tr> + <th>{L_CACHE_FILENAME}</th> + <th>{L_CACHE_FILESIZE}</th> + <th>{L_CACHE_CACHED}</th> + <th>{L_CACHE_MODIFIED}</th> + <th>{L_MARK}</th> + </tr> + </thead> + <tbody> + <!-- BEGIN file --> + <!-- IF file.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td><a href="{file.U_VIEWSOURCE}" onclick="viewsource('{file.UA_VIEWSOURCE}');return false">{file.FILENAME}</a></td> + <td>{file.FILESIZE}</td> + <td>{file.CACHED}</td> + <td>{file.MODIFIED}</td> + <td><input type="checkbox" name="delete[]" value="{file.FILENAME}" /></td> + </tr> + <!-- BEGINELSE --> + <tr class="row1"> + <td colspan="5">{L_TEMPLATE_CACHE_EMPTY}</td> + </tr> + <!-- END file --> + </table> + + <fieldset class="quick"> + <span class="small"><a href="javascript:marklist('acp_styles', 'delete', true);">Mark all</a> :: <a href="javascript:marklist('acp_styles', 'delete', false);">Unmark all</a></span><br /> + + <input class="button1" type="submit" id="submit" name="submit" value="{L_DELETE_MARKED}" /> + </fieldset> + </form> <!-- ELSEIF S_EXPORT --> <a href="{U_BACK}" style="float: right">« {L_BACK}</a> |