diff options
| author | Mate Bartus <mate.bartus@gmail.com> | 2015-10-28 15:00:11 +0100 |
|---|---|---|
| committer | Mate Bartus <mate.bartus@gmail.com> | 2016-01-29 00:03:44 +0100 |
| commit | a649768e17d25bcf55ae539420abe4eb4b7a1ef1 (patch) | |
| tree | f8441c9c77054d6a58bd1e8befa8842ef180be4a /phpBB/adm | |
| parent | 10756f3f87efac29448a48207548d5b71a3206b9 (diff) | |
| download | forums-a649768e17d25bcf55ae539420abe4eb4b7a1ef1.tar forums-a649768e17d25bcf55ae539420abe4eb4b7a1ef1.tar.gz forums-a649768e17d25bcf55ae539420abe4eb4b7a1ef1.tar.bz2 forums-a649768e17d25bcf55ae539420abe4eb4b7a1ef1.tar.xz forums-a649768e17d25bcf55ae539420abe4eb4b7a1ef1.zip | |
[ticket/14262] Move convertor to controller
PHPBB3-14262
Diffstat (limited to 'phpBB/adm')
| -rw-r--r-- | phpBB/adm/style/installer_convert.html | 79 | ||||
| -rw-r--r-- | phpBB/adm/style/installer_convert_old.html | 134 |
2 files changed, 213 insertions, 0 deletions
diff --git a/phpBB/adm/style/installer_convert.html b/phpBB/adm/style/installer_convert.html new file mode 100644 index 0000000000..8f1c51a1cb --- /dev/null +++ b/phpBB/adm/style/installer_convert.html @@ -0,0 +1,79 @@ +<!-- INCLUDE installer_header.html --> +<!-- IF TITLE --><h1>{TITLE}</h1><!-- ENDIF --> +<!-- IF S_ERROR_BOX --> +<div class="errorbox"> + <h3>{ERROR_TITLE}</h3> + <p>{ERROR_MSG}</p> +</div> +<!-- ENDIF --> +<!-- IF BODY --><p>{BODY}</p><!-- ENDIF --> +<!-- IF CONTENT -->{CONTENT}<!-- ENDIF --> +<!-- IF S_CONV_IN_PROGRESS --> +<p class="centered-text"><a href="{U_ACTION}" class="button1<!-- IF S_REFRESH --> disabled<!-- ENDIF -->"<!-- IF S_REFRESH --> onclick="return false;"<!-- ENDIF -->>{L_SUBMIT}</a></p> +<!-- ENDIF --> +<!-- IF S_CONTINUE --> +<div id="download-wrapper" class="download-box"> + <p class="centered-text"> + <a href="{U_NEW_ACTION}" class="button1">{L_CONVERT_NEW_CONVERSION}</a> + <a href="{U_CONTINUE_ACTION}" class="button1">{L_CONTINUE_OLD_CONVERSION}</a> + </p> +</div> +<!-- ENDIF --> +<!-- IF S_LIST --> +<table class="table1"> + <caption>{L_AVAILABLE_CONVERTORS}</caption> + <col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" /> + <thead> + <tr> + <th>{L_SOFTWARE}</th> + <th>{L_VERSION}</th> + <th>{L_AUTHOR}</th> + <th>{L_CONVERT_OPTIONS}</th> + </tr> + </thead> + <tbody> + <!-- IF .convertors --> + <!-- BEGIN convertors --> + <tr> + <td>{convertors.SOFTWARE}</td> + <td>{convertors.VERSION}</td> + <td>{convertors.AUTHOR}</td> + <td><a href="{convertors.U_CONVERT}">{L_CONVERT}</a></td> + </tr> + <!-- END convertors --> + <!-- ELSE --> + <tr> + <td>{L_NO_CONVERTORS}</td> + <td>-</td> + <td>-</td> + <td>-</td> + </tr> + <!-- ENDIF --> + </tbody> +</table> +<!-- ENDIF --> +<!-- IF .checks --> +<fieldset> + + <!-- BEGIN checks --> + <!-- IF checks.S_LEGEND --> + <!-- IF not checks.S_FIRST_ROW --> +</fieldset> + +<fieldset> + <!-- ENDIF --> + <legend>{checks.LEGEND}</legend> + <!-- IF checks.LEGEND_EXPLAIN --><p>{checks.LEGEND_EXPLAIN}</p><!-- ENDIF --> + <!-- ELSE --> + + <dl> + <dt><label>{checks.TITLE}{L_COLON}</label><!-- IF checks.S_EXPLAIN --><br /><span class="explain">{checks.TITLE_EXPLAIN}</span><!-- ENDIF --></dt> + <dd>{checks.RESULT}</dd> + </dl> + <!-- ENDIF --> + <!-- END checks --> + +</fieldset> +<!-- ENDIF --> +<!-- INCLUDEJS {T_ASSETS_PATH}/javascript/installer.js --> +<!-- INCLUDE installer_footer.html --> diff --git a/phpBB/adm/style/installer_convert_old.html b/phpBB/adm/style/installer_convert_old.html new file mode 100644 index 0000000000..75cc151c9e --- /dev/null +++ b/phpBB/adm/style/installer_convert_old.html @@ -0,0 +1,134 @@ +<!-- INCLUDE installer_header.html --> + +<!-- IF S_NOT_INSTALLED --> + + <h1>{TITLE}</h1> + + <p>{BODY}</p> + +<!-- ELSE --> + + <form id="install_convert" method="post" action="{U_ACTION}"> + + <h1>{TITLE}</h1> + + <p>{BODY}</p> + + <!-- IF S_ERROR_BOX --> + <div class="errorbox"> + <h3>{ERROR_TITLE}</h3> + <p>{ERROR_MSG}</p> + </div> + <!-- ENDIF --> + + <!-- IF S_LIST --> + <table class="table1"> + <caption>{L_AVAILABLE_CONVERTORS}</caption> + <col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" /> + <thead> + <tr> + <th>{L_SOFTWARE}</th> + <th>{L_VERSION}</th> + <th>{L_AUTHOR}</th> + <th>{L_OPTIONS}</th> + </tr> + </thead> + <tbody> + <!-- IF .convertors --> + <!-- BEGIN convertors --> + <tr> + <td>{convertors.SOFTWARE}</td> + <td>{convertors.VERSION}</td> + <td>{convertors.AUTHOR}</td> + <td><a href="{convertors.U_CONVERT}">{L_CONVERT}</a></td> + </tr> + <!-- END convertors --> + <!-- ELSE --> + <tr> + <td>{L_NO_CONVERTORS}</td> + <td>-</td> + <td>-</td> + <td>-</td> + </tr> + <!-- ENDIF --> + </tbody> + </table> + <!-- ENDIF --> + + <!-- IF S_CONTINUE --> + </form> + + <fieldset class="submit-buttons"> + <form method="post" action="{U_NEW_ACTION}"> + <input class="button1" type="submit" name="submit_new" value="{L_NEW}" /> + </form> + <br /> + <form method="post" action="{U_CONTINUE_ACTION}"> + <input class="button1" type="submit" name="submit_cont" value="{L_CONTINUE}" /> + </form> + </fieldset> + + <form method="post" action="{U_ACTION}"> + <!-- ENDIF --> + + <!-- IF .checks --> + <fieldset> + + <!-- BEGIN checks --> + <!-- IF checks.S_LEGEND --> + <!-- IF not checks.S_FIRST_ROW --> + </fieldset> + + <fieldset> + <!-- ENDIF --> + <legend>{checks.LEGEND}</legend> + <!-- IF checks.LEGEND_EXPLAIN --><p>{checks.LEGEND_EXPLAIN}</p><!-- ENDIF --> + <!-- ELSE --> + + <dl> + <dt><label>{checks.TITLE}{L_COLON}</label><!-- IF checks.S_EXPLAIN --><br /><span class="explain">{checks.TITLE_EXPLAIN}</span><!-- ENDIF --></dt> + <dd>{checks.RESULT}</dd> + </dl> + <!-- ENDIF --> + <!-- END checks --> + + </fieldset> + <!-- ENDIF --> + + <!-- IF .options --> + <fieldset> + + <!-- BEGIN options --> + <!-- IF options.S_LEGEND --> + <!-- IF not options.S_FIRST_ROW --> + </fieldset> + + <fieldset> + <!-- ENDIF --> + <legend>{options.LEGEND}</legend> + <!-- ELSE --> + + <dl> + <dt><label for="{options.KEY}">{options.TITLE}{L_COLON}</label><!-- IF options.S_EXPLAIN --><br /><span class="explain">{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt> + <dd>{options.CONTENT}</dd> + </dl> + + <!-- ENDIF --> + <!-- END options --> + + </fieldset> + <!-- ENDIF --> + + <!-- IF L_SUBMIT --> + <!-- IF L_MESSAGE --><p>{L_MESSAGE}</p><!-- ENDIF --> + + <fieldset class="submit-buttons"> + {S_HIDDEN} + <!-- IF L_SUBMIT --><input class="button1<!-- IF S_REFRESH --> disabled<!-- ENDIF -->" type="submit" id="submit" <!-- IF S_REFRESH -->disabled="disabled" <!-- ELSE --> onclick="this.className = 'button1 disabled';" onsubmit="this.disabled = 'disabled';" <!-- ENDIF -->name="submit" value="{L_SUBMIT}" /><!-- ENDIF --> + </fieldset> + <!-- ENDIF --> + + </form> +<!-- ENDIF --> + +<!-- INCLUDE installer_footer.html --> |
