Thread: [Phpcms-plugins-cvs] admin4phpCMS/modules/phpcms/templates module_phpcms.tpl,1.4,1.5 phpcms-config.t
Brought to you by:
mjahn
From: Martin J. <mj...@us...> - 2005-05-26 15:56:35
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19290/modules/phpcms/templates Modified Files: module_phpcms.tpl phpcms-config.tpl phpcms-server.tpl Log Message: beginning of phpcms-content and filemanager Index: phpcms-config.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/phpcms-config.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- phpcms-config.tpl 20 May 2005 05:54:04 -0000 1.4 +++ phpcms-config.tpl 26 May 2005 15:55:55 -0000 1.5 @@ -760,15 +760,15 @@ </span> <label class="horizontal"> <span>{#status_on#}</span> - <input type="radio" name="showexpert" value="on" onclick="showArea ('expert');" onkeypress="showArea ('expert');" /> + <input type="radio" name="showexpert" value="on" checked="checked" onclick="showArea ('expert');" onkeypress="showArea ('expert');" /> </label> <label class="horizontal"> <span>{#status_off#}</span> - <input type="radio" name="showexpert" value="off" checked="checked" onclick="hideArea ('expert');" onkeypress="hideArea ('expert');" /> + <input type="radio" name="showexpert" value="off" onclick="hideArea ('expert');" onkeypress="hideArea ('expert');" /> </label> <br style="clear:both;" /> </div> - <div id="expert" class="hidden"> + <div id="expert"> <input type="hidden" name="type[ERROR_ALL]" value="string" /> <div class="label"> <span class="info"> @@ -808,7 +808,7 @@ <input type="hidden" name="func[DOMAIN_NAME]" value="$PHP->GetDomainName()" /> <div class="label"> <span class="info"> - {#label_config_131#} + {#label_config_131#}<br /><small>{$moduledata.autodetect._domain_name}</small> <span> {#label_config_132#} </span> @@ -834,7 +834,7 @@ <input type="hidden" name="func[DOCUMENT_ROOT]" value="$PHP->GetDocRoot()" /> <div class="label"> <span class="info"> - {#label_config_136#} + {#label_config_136#}<br /><small>{$moduledata.autodetect._document_root}</small> <span> {#label_config_137#} </span> @@ -852,15 +852,15 @@ <div id="doc_root" {if ($moduledata.default.DOCUMENT_ROOT.type == 'func')} class="hidden"{/if}> <label> <span class="info"> - Apply Document-Root manually + {#label_config_137a#} </span> <input type="text" name="values[DOCUMENT_ROOT]" value="{if ($moduledata.default.DOCUMENT_ROOT.type == 'string')}{$moduledata.default.DOCUMENT_ROOT.value}{/if}" /> </label> </div> <input type="hidden" name="func[SCRIPT_PATH]" value="$PHP->GetScriptPath()" /> <div class="label"> - <span> - {#label_config_138#} + <span class="info"> + {#label_config_138#}<br /><small>{$moduledata.autodetect._path_info}</small> <span> {#label_config_139#} </span> @@ -886,8 +886,11 @@ <input type="hidden" name="func[SCRIPT_NAME]" value="$PHP->GetScriptName()" /> <div class="label"> - <span> - {#label_config_141#} + <span class="info"> + {#label_config_141#}<br /><small>{$moduledata.autodetect._script_name}</small> + <span> + {#label_config_142#} + </span> </span> <label class="horizontal"> <span>{#label_config_133#}</span> @@ -902,7 +905,7 @@ <div id="script_name" {if ($moduledata.default.SCRIPT_NAME.type == 'func')} class="hidden"{/if}> <label> <span> - {#label_config_142#} + {#label_config_143#} </span> <input type="text" name="values[SCRIPT_NAME]" value="{if ($moduledata.default.SCRIPT_NAME.type == 'string')}{$moduledata.default.SCRIPT_NAME.value}{/if}" /> </label> Index: module_phpcms.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/module_phpcms.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- module_phpcms.tpl 20 May 2005 05:54:04 -0000 1.4 +++ module_phpcms.tpl 26 May 2005 15:55:55 -0000 1.5 @@ -1,4 +1,7 @@ {config_load file="`$MODULE_PATH`/phpcms/module_phpcms_`$LANG`.lng" section="phpcms" scope="local"} +{if ($moduledata.debugmode == 1)} +<p class="warning">Warning: The phpCMS-System is running in DEBUG-Mode. This is not optimal for the security of the phpCMS-Installation</p> +{/if} {if ($moduledata.action == 'config')} {include file="$INDEX_PATH/modules/phpcms/templates/phpcms-config.tpl"} Index: phpcms-server.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/phpcms-server.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- phpcms-server.tpl 20 May 2005 05:54:04 -0000 1.3 +++ phpcms-server.tpl 26 May 2005 15:55:55 -0000 1.4 @@ -164,6 +164,64 @@ {/if} {/if} +<h2>{#title_php#}</h2> +<table id="table_php"> + <colgroup span="2"> + </colgroup> + <thead> + <tr> + <th>{#label_php_name#}</th> + <th>{#label_php_value#}</th> + </tr> + </thead> + <tfoot> + <tr> + <td>{#label_php_name#}</td> + <td>{#label_php_value#}</td> + </tr> + </tfoot> + <tbody> + <tr class="line1"> + <td>{#text_php_php_version#}</td> + <td>{$moduledata.php.php}</td> + </tr> + <tr class="line2"> + <td>{#text_php_zend_version#}</td> + <td>{$moduledata.php.zend}</td> + </tr> + <tr class="line1"> + <td>{#text_php_sapi#}</td> + <td>{$moduledata.php.sapi}</td> + </tr> + <tr class="line2"> + <td>{#text_php_hostname#}</td> + <td>{$moduledata.php.hostname}</td> + </tr> + <tr class="line1"> + <td>{#text_php_os#}</td> + <td>{$moduledata.php.os}</td> + </tr> + <tr class="line2"> + <td>{#text_php_release#}</td> + <td>{$moduledata.php.release}</td> + </tr> + <tr class="line1"> + <td>{#text_php_version#}</td> + <td>{$moduledata.php.version}</td> + </tr> + <tr class="line2"> + <td>{#text_php_machine#}</td> + <td>{$moduledata.php.machine}</td> + </tr> + </tbody> +</table> +<script type="text/javascript"> +<!-- +initTable("table_php"); +--> +</script> + + <h2>{#title_vars#}</h2> <table id="table_server"> <colgroup span="2"> |