Updated roc script, install module for the examples, and updated demo site folder.
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
setlocal
|
||||
set ROC_CMD=%~dp0..\..\tools\roc.exe
|
||||
set ROC_CMD=call %~dp0..\..\tools\roc.bat
|
||||
set ROC_CMS_DIR=%~dp0
|
||||
|
||||
%ROC_CMD% install --module ..\..\modules\admin --dir %ROC_CMS_DIR%
|
||||
%ROC_CMD% install --module ..\..\modules\auth --dir %ROC_CMS_DIR%
|
||||
%ROC_CMD% install --module ..\..\modules\basic_auth --dir %ROC_CMS_DIR%
|
||||
%ROC_CMD% install --module ..\..\modules\node --dir %ROC_CMS_DIR%
|
||||
%ROC_CMD% install --module ..\..\modules\blog --dir %ROC_CMS_DIR%
|
||||
%ROC_CMD% install --module ..\..\modules\node --dir %ROC_CMS_DIR%
|
||||
%ROC_CMD% install --module ..\..\modules\oauth20 --dir %ROC_CMS_DIR%
|
||||
%ROC_CMD% install --module ..\..\modules\openid --dir %ROC_CMS_DIR%
|
||||
%ROC_CMD% install --module ..\..\modules\recent_changes --dir %ROC_CMS_DIR%
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>You have required a new password at <a href="...">ROC CMS</a></p>
|
||||
<p>You have required a new password at <a href="$host">ROC CMS</a></p>
|
||||
|
||||
<p>To complete your request, please click on this link to genereate a new password:<p>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>You have request a new activation token at<a href="...">ROC CMS</a></p>
|
||||
<p>You have request a new activation token at <a href="$host">ROC CMS</a></p>
|
||||
|
||||
<p>To complete your registration, please click on this link to activate your account:<p>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<meta name="author" content="ROC CMS">
|
||||
</head>
|
||||
<body>
|
||||
<p>Welcome to<a href="...">ROC CMS</a></p>
|
||||
<p>Welcome to<a href="$host">ROC CMS</a></p>
|
||||
<p>Thank you for joining us.</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -25,5 +25,5 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{/unless}
|
||||
</div>
|
||||
{/unless}
|
||||
</div>
|
||||
|
||||
39
tools/roc.bat
Normal file
39
tools/roc.bat
Normal file
@@ -0,0 +1,39 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
if "%ROC_TOOL_PATH%" == "" goto LOCAL_ROC_TOOL
|
||||
goto start
|
||||
|
||||
:LOCAL_ROC_TOOL
|
||||
if exist "%~dp0roc.exe" set ROC_TOOL_PATH=%~dp0
|
||||
|
||||
if "%ROC_TOOL_PATH%" == "" goto SEARCH_ROC_TOOL
|
||||
goto START
|
||||
|
||||
:SEARCH_ROC_TOOL
|
||||
for %%f in (roc.exe) do (
|
||||
if exist "%%~dp$PATH:f" set ROC_TOOL_PATH="%%~dp$PATH:f"
|
||||
)
|
||||
if "%ROC_TOOL_PATH%" == "" goto BUILD_ROC_TOOL
|
||||
echo Using roc.exe from %ROC_TOOL_PATH%
|
||||
goto START
|
||||
|
||||
:BUILD_ROC_TOOL
|
||||
set ROC_SRCDIR=%~dp0roc
|
||||
set ROC_COMPDIR=%~dp0.roc-comp
|
||||
mkdir %ROC_COMPDIR%
|
||||
call ecb -config %ROC_SRCDIR%\roc.ecf -finalize -c_compile -project_path %ROC_COMPDIR%
|
||||
copy %ROC_COMPDIR%\EIFGENs\roc\F_code\roc.exe %~dp0roc.exe
|
||||
rd /q/s %ROC_COMPDIR%
|
||||
|
||||
set ROC_TOOL_PATH=%~dp0
|
||||
goto START
|
||||
|
||||
:START
|
||||
echo Calling %ROC_TOOL_PATH%roc.exe %*
|
||||
call %ROC_TOOL_PATH%roc.exe %*
|
||||
goto END
|
||||
|
||||
:END
|
||||
endlocal
|
||||
exit /B 0
|
||||
Reference in New Issue
Block a user