openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 10a9d9986657b6207cf6654f4e872bba5ae61e66
parent 4f940fc2c883447ee66bc74d4c4e5cef599cd4cf
Author: Jan Dankert <devnull@localhost>
Date:   Fri, 24 Feb 2012 23:58:37 +0100

Menüpunkt für Hinzufügen/Löschen von Projekten

Diffstat:
themes/default/templates/project/add.tpl.src.xml | 34++++++++++++++++++++++++++++++++++
themes/default/templates/project/edit.tpl.src.xml | 69+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
themes/default/templates/project/listing.tpl.src.php | 16----------------
themes/default/templates/project/listing.tpl.src.xml | 4----
themes/default/templates/project/remove.tpl.src.xml | 4++++
5 files changed, 103 insertions(+), 24 deletions(-)

diff --git a/themes/default/templates/project/add.tpl.src.xml b/themes/default/templates/project/add.tpl.src.xml @@ -0,0 +1,33 @@ +<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.openrat.de/template ../template.xsd"> + <header back="true"></header> + <form method="post"> + <part class="line"> + <part class="label"> + <text text="message:name"></text> + </part> + <part class="input"> + + <input name="name"></input> + </part> + </part> + <fieldset title="message:options"> + <part class="line"> + <part class="label"> + <radio name="type" value="empty"></radio> + <label for="type_empty"> + <text key="empty"></text> + </label> + <part class="input"> + <radio name="type" value="copy"></radio> + <label for="type_copy"> + <text key="copy"></text> + </label> + <selectbox name="projectid" list="projects"></selectbox> + </part> + </part> + </part> + </fieldset> + </form> + <focus field="name"></focus> +</output>+ \ No newline at end of file diff --git a/themes/default/templates/project/edit.tpl.src.xml b/themes/default/templates/project/edit.tpl.src.xml @@ -1,3 +1,64 @@ -<output xmlns="http://www.openrat.de/template" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../template.xsd"><form><fieldset title="message:NAME"><part class="line"><part class="label"><label for="name" key="PROJECT_NAME"></label></part><part class="input"><input name="name" class="name"></input></part></part></fieldset><fieldset title="message:PUBLISH"><part class="line"><part class="label"><label for="target_dir" key="PROJECT_TARGET_DIR"></label></part><part class="input"><input name="target_dir" class="filename"></input></part></part><part class="line"><part class="label"><label for="cmd_after_publish" key="PROJECT_CMD_AFTER_PUBLISH"></label></part><part class="input"><input name="cmd_after_publish" class="filename" readonly="!config:publish/project/override_system_command"></input></part></part></fieldset><fieldset title="message:project_FTP"><part class="line"><part class="label"><label for="ftp_url" key="PROJECT_FTP_URL"></label></part><part class="input"><input name="ftp_url" class="filename" readonly="!config:publish/ftp/enable"></input><newline></newline><checkbox name="ftp_passive" readonly="!config:publish/ftp/enable"></checkbox><label for="ftp_passive" key="PROJECT_FTP_PASSIVE"></label></part></part></fieldset><fieldset title="message:options"><part class="line"><part class="label"></part><part class="input"><checkbox name="content_negotiation"></checkbox><label for="content_negotiation" key="PROJECT_CONTENT_NEGOTIATION"></label></part></part><part class="line"><part class="label"></part><part class="input"><checkbox name="cut_index"></checkbox><label for="cut_index" key="PROJECT_CUT_INDEX"></label></part></part></fieldset></form></output>- \ No newline at end of file +<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.openrat.de/template ../template.xsd"> + <header views="remove,add"></header> + <form> + <fieldset title="message:NAME"> + <part class="line"> + <part class="label"> + <label for="name" key="PROJECT_NAME"></label> + </part> + <part class="input"> + <input name="name" class="name"></input> + </part> + </part> + </fieldset> + <fieldset title="message:PUBLISH"> + <part class="line"> + <part class="label"> + <label for="target_dir" key="PROJECT_TARGET_DIR"></label> + </part> + <part class="input"> + <input name="target_dir" class="filename"></input> + </part> + </part> + <part class="line"> + <part class="label"> + <label for="cmd_after_publish" key="PROJECT_CMD_AFTER_PUBLISH"></label> + </part> + <part class="input"> + <input name="cmd_after_publish" class="filename" + readonly="!config:publish/project/override_system_command"></input> + </part> + </part> + </fieldset> + <fieldset title="message:project_FTP"> + <part class="line"> + <part class="label"> + <label for="ftp_url" key="PROJECT_FTP_URL"></label> + </part> + <part class="input"> + <input name="ftp_url" class="filename" readonly="!config:publish/ftp/enable"></input> + <newline></newline> + <checkbox name="ftp_passive" readonly="!config:publish/ftp/enable"></checkbox> + <label for="ftp_passive" key="PROJECT_FTP_PASSIVE"></label> + </part> + </part> + </fieldset> + <fieldset title="message:options"> + <part class="line"> + <part class="label"></part> + <part class="input"> + <checkbox name="content_negotiation"></checkbox> + <label for="content_negotiation" key="PROJECT_CONTENT_NEGOTIATION"></label> + </part> + </part> + <part class="line"> + <part class="label"></part> + <part class="input"> + <checkbox name="cut_index"></checkbox> + <label for="cut_index" key="PROJECT_CUT_INDEX"></label> + </part> + </part> + </fieldset> + </form> +</output>+ \ No newline at end of file diff --git a/themes/default/templates/project/listing.tpl.src.php b/themes/default/templates/project/listing.tpl.src.php @@ -1,16 +0,0 @@ -dummy - window icon:project name:GLOBAL_PROJECTS width:70% - table - row class:headline - cell - text key:name - cell - text key:GLOBAL_SELECT - - list list:el extract:true - row class:data - cell url:var:url - image file:icon_project - text value:var:name maxlength:30 - cell url:var:use_url - text key:GLOBAL_SELECT diff --git a/themes/default/templates/project/listing.tpl.src.xml b/themes/default/templates/project/listing.tpl.src.xml @@ -1,3 +0,0 @@ -<output xmlns="http://www.openrat.de/template" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../template.xsd"><dummy><window icon="project" name="GLOBAL_PROJECTS" width="70%"><table><row class="headline"><cell><text key="name"></text></cell><cell><text key="GLOBAL_SELECT"></text></cell></row><list list="el" extract="true"><row class="data"><cell url="var:url"><image file="icon_project"></image><text value="var:name" maxlength="30"></text></cell><cell url="var:use_url"><text key="GLOBAL_SELECT"></text></cell></row></list></table></window></dummy></output>- \ No newline at end of file diff --git a/themes/default/templates/project/remove.tpl.src.xml b/themes/default/templates/project/remove.tpl.src.xml @@ -0,0 +1,3 @@ +<output xmlns="http://www.openrat.de/template" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.openrat.de/template ../template.xsd"><dummy><form method="post"><window><row><cell><text text="GLOBAL_NAME"></text></cell><cell><text var="name" class="name"></text></cell></row><row><cell colspan="2"><fieldset title="message:options"><part><checkbox name="delete"></checkbox><label for="delete"><text text="CONFIRM_DELETE"></text></label></part></fieldset></cell></row><row><cell colspan="2" class="act"><button type="ok"></button></cell></row></window></form><focus field="delete"></focus></dummy></output>+ \ No newline at end of file