openrat-cms

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

commit e20a84f780b450cb2a9f7a28d97364353cee2a65
parent a61ef1620b01e0a2e4e672e7adf451d8bac01dfa
Author: Jan Dankert <devnull@localhost>
Date:   Thu, 29 Dec 2016 22:30:23 +0100

Erweiterung zu Commit 2f67938141237683117877ccdac2b171a3ee76be.
Die Template-Dateien fehlte noch.

Diffstat:
themes/default/templates/pageelement/archive.tpl.src.xml | 115-------------------------------------------------------------------------------
themes/default/templates/pageelement/history.tpl.src.xml | 115+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/project/history.tpl.src.xml | 54++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/projectlist/history.tpl.src.xml | 40++++++++++++++++++++++++++++++++++++++++
themes/default/templates/start/projecttimeline.tpl.src.xml | 54------------------------------------------------------
themes/default/templates/start/timeline.tpl.src.xml | 40----------------------------------------
themes/default/templates/start/usertimeline.tpl.src.xml | 34----------------------------------
themes/default/templates/user/history.tpl.src.xml | 34++++++++++++++++++++++++++++++++++
8 files changed, 243 insertions(+), 243 deletions(-)

diff --git a/themes/default/templates/pageelement/archive.tpl.src.xml b/themes/default/templates/pageelement/archive.tpl.src.xml @@ -1,114 +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"> - <form method="get" subaction="diff" label="message:compare" - cancel="false" visible="true"> - <table widths="5%,5%,5%,15%,15%,35%,10%,10%"> - <row class="headline"> - <column class="help"> - <text text="GLOBAL_NR"></text> - </column> - <column class="help" colspan="2"> - <if present="compareid"> - <text text="GLOBAL_COMPARE"></text> - </if> - <else> - <text raw="_" /> - </else> - </column> - <column class="help"> - <text text="DATE"></text> - </column> - <column class="help"> - <text text="GLOBAL_USER"></text> - </column> - <column class="help"> - <text text="GLOBAL_VALUE"></text> - </column> - <column class="help"> - <text text="GLOBAL_STATE"></text> - </column> - <column class="help"> - <text text="GLOBAL_ACTION"></text> - </column> - </row> - <if empty="el"> - <row> - <column colspan="8"> - <text text="GLOBAL_NOT_FOUND"></text> - </column> - </row> - </if> - <list list="el" extract="true"> - <row class="data"> - <column> - <text var="lfd_nr"></text> - </column> - <column> - <if present="compareid"> - <radio name="compareid" value="var:id"></radio> - </if> - <else> - <text raw="_" /> - </else> - </column> - <column> - <if present="compareid"> - <radio name="withid" value="var:id"></radio> - </if> - <else> - <text raw="_" /> - </else> - </column> - <column> - <date date="var:date"></date> - </column> - <column> - <text var="user"></text> - </column> - <column> - <text var="value"></text> - </column> - <if true="var:public"> - <column> - <text key="GLOBAL_PUBLIC" type="strong"></text> - </column> - </if> - <else> - <if present="releaseUrl"> - <column class="clickable"> - <link type="post" subaction="release" var1="valueid" - value1="var:valueid" id="var:objectid" title="message:GLOBAL_RELEASE_DESC"> - <text key="GLOBAL_RELEASE" type="strong"></text> - </link> - </column> - </if> - <else> - <column> - <text key="GLOBAL_INACTIVE" type="emphatic" /> - </column> - </else> - </else> - <if true="var:active"> - <column> - <text key="GLOBAL_ACTIVE" type="emphatic"></text> - </column> - </if> - <else> - <if present="useUrl"> - <column class="clickable"> - <link type="post" subaction="use" var1="valueid" value1="var:valueid" - id="var:objectid" title="message:GLOBAL_USE_DESC"> - <text key="GLOBAL_USE"></text> - </link> - </column> - </if> - <else> - <column> - </column> - </else> - </else> - </row> - </list> - </table> - </form> -</output>- \ No newline at end of file diff --git a/themes/default/templates/pageelement/history.tpl.src.xml b/themes/default/templates/pageelement/history.tpl.src.xml @@ -0,0 +1,114 @@ +<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 method="get" subaction="diff" label="message:compare" + cancel="false" visible="true"> + <table widths="5%,5%,5%,15%,15%,35%,10%,10%"> + <row class="headline"> + <column class="help"> + <text text="GLOBAL_NR"></text> + </column> + <column class="help" colspan="2"> + <if present="compareid"> + <text text="GLOBAL_COMPARE"></text> + </if> + <else> + <text raw="_" /> + </else> + </column> + <column class="help"> + <text text="DATE"></text> + </column> + <column class="help"> + <text text="GLOBAL_USER"></text> + </column> + <column class="help"> + <text text="GLOBAL_VALUE"></text> + </column> + <column class="help"> + <text text="GLOBAL_STATE"></text> + </column> + <column class="help"> + <text text="GLOBAL_ACTION"></text> + </column> + </row> + <if empty="el"> + <row> + <column colspan="8"> + <text text="GLOBAL_NOT_FOUND"></text> + </column> + </row> + </if> + <list list="el" extract="true"> + <row class="data"> + <column> + <text var="lfd_nr"></text> + </column> + <column> + <if present="compareid"> + <radio name="compareid" value="var:id"></radio> + </if> + <else> + <text raw="_" /> + </else> + </column> + <column> + <if present="compareid"> + <radio name="withid" value="var:id"></radio> + </if> + <else> + <text raw="_" /> + </else> + </column> + <column> + <date date="var:date"></date> + </column> + <column> + <text var="user"></text> + </column> + <column> + <text var="value"></text> + </column> + <if true="var:public"> + <column> + <text key="GLOBAL_PUBLIC" type="strong"></text> + </column> + </if> + <else> + <if present="releaseUrl"> + <column class="clickable"> + <link type="post" subaction="release" var1="valueid" + value1="var:valueid" id="var:objectid" title="message:GLOBAL_RELEASE_DESC"> + <text key="GLOBAL_RELEASE" type="strong"></text> + </link> + </column> + </if> + <else> + <column> + <text key="GLOBAL_INACTIVE" type="emphatic" /> + </column> + </else> + </else> + <if true="var:active"> + <column> + <text key="GLOBAL_ACTIVE" type="emphatic"></text> + </column> + </if> + <else> + <if present="useUrl"> + <column class="clickable"> + <link type="post" subaction="use" var1="valueid" value1="var:valueid" + id="var:objectid" title="message:GLOBAL_USE_DESC"> + <text key="GLOBAL_USE"></text> + </link> + </column> + </if> + <else> + <column> + </column> + </else> + </else> + </row> + </list> + </table> + </form> +</output>+ \ No newline at end of file diff --git a/themes/default/templates/project/history.tpl.src.xml b/themes/default/templates/project/history.tpl.src.xml @@ -0,0 +1,53 @@ +<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"> + + <table> + <row class="headline"> + <column> + <text key="name"></text> + </column> + <column> + <text key="filename"></text> + </column> + <column> + <text key="user_username"></text> + </column> + <column> + <text key="lastchange" /> + </column> + </row> + <list list="timeline" extract="true"> + + <!-- Den Typ des Objektes ermitteln --> + <if value="var:is_folder" equals="1"> + <set var="type" value="folder" /> + </if> + <if value="var:is_file" equals="1"> + <set var="type" value="file" /> + </if> + <if value="var:is_link" equals="1"> + <set var="type" value="link" /> + </if> + <if value="var:is_page" equals="1"> + <set var="type" value="page" /> + </if> + + <row class="data"> + <column class="clickable"> + <link type="open" name="var:name" id="var:objectid" action="var:type"> + <text var="name" maxlength="30"></text> + </link> + </column> + <column> + <text var="filename" maxlength="30"></text> + </column> + <column> + <text var="username"></text> + </column> + <column> + <date date="var:lastchange_date" /> + </column> + </row> + </list> + </table> +</output>+ \ No newline at end of file diff --git a/themes/default/templates/projectlist/history.tpl.src.xml b/themes/default/templates/projectlist/history.tpl.src.xml @@ -0,0 +1,39 @@ +<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"> + <table> + <row class="headline"> + <column> + <text key="project"></text> + </column> + <column> + <text key="filename"></text> + </column> + <column> + <text key="user_username"></text> + </column> + <column> + <text key="lastchange" /> + </column> + </row> + + <list list="timeline" extract="true"> + <row class="data"> + <column class="clickable"> + <link type="post" action="start" subaction="projectmenu" id="var:projectid"> + <text var="projectname"></text> + </link> + </column> + <column> + <text var="filename" maxlength="30"></text> + </column> + <column> + <text var="username"></text> + </column> + <column> + <date date="var:lastchange_date" /> + </column> + + </row> + </list> + </table> +</output>+ \ No newline at end of file diff --git a/themes/default/templates/start/projecttimeline.tpl.src.xml b/themes/default/templates/start/projecttimeline.tpl.src.xml @@ -1,53 +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"> - - <table> - <row class="headline"> - <column> - <text key="name"></text> - </column> - <column> - <text key="filename"></text> - </column> - <column> - <text key="user_username"></text> - </column> - <column> - <text key="lastchange" /> - </column> - </row> - <list list="timeline" extract="true"> - - <!-- Den Typ des Objektes ermitteln --> - <if value="var:is_folder" equals="1"> - <set var="type" value="folder" /> - </if> - <if value="var:is_file" equals="1"> - <set var="type" value="file" /> - </if> - <if value="var:is_link" equals="1"> - <set var="type" value="link" /> - </if> - <if value="var:is_page" equals="1"> - <set var="type" value="page" /> - </if> - - <row class="data"> - <column class="clickable"> - <link type="open" name="var:name" id="var:objectid" action="var:type"> - <text var="name" maxlength="30"></text> - </link> - </column> - <column> - <text var="filename" maxlength="30"></text> - </column> - <column> - <text var="username"></text> - </column> - <column> - <date date="var:lastchange_date" /> - </column> - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/themes/default/templates/start/timeline.tpl.src.xml b/themes/default/templates/start/timeline.tpl.src.xml @@ -1,39 +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"> - <table> - <row class="headline"> - <column> - <text key="project"></text> - </column> - <column> - <text key="filename"></text> - </column> - <column> - <text key="user_username"></text> - </column> - <column> - <text key="lastchange" /> - </column> - </row> - - <list list="timeline" extract="true"> - <row class="data"> - <column class="clickable"> - <link type="post" action="start" subaction="projectmenu" id="var:projectid"> - <text var="projectname"></text> - </link> - </column> - <column> - <text var="filename" maxlength="30"></text> - </column> - <column> - <text var="username"></text> - </column> - <column> - <date date="var:lastchange_date" /> - </column> - - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/themes/default/templates/start/usertimeline.tpl.src.xml b/themes/default/templates/start/usertimeline.tpl.src.xml @@ -1,33 +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"> - <table> - <row class="headline"> - <column> - <text key="project"></text> - </column> - <column> - <text key="filename"></text> - </column> - <column> - <text key="lastchange" /> - </column> - </row> - - <list list="timeline" extract="true"> - <row class="data"> - <column class="clickable"> - <link type="post" action="start" subaction="projectmenu" id="var:projectid"> - <text var="projectname"></text> - </link> - </column> - <column title="var:filename"> - <text var="filename" maxlength="30"></text> - </column> - <column> - <date date="var:lastchange_date" /> - </column> - - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/themes/default/templates/user/history.tpl.src.xml b/themes/default/templates/user/history.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"> + <table> + <row class="headline"> + <column> + <text key="project"></text> + </column> + <column> + <text key="filename"></text> + </column> + <column> + <text key="lastchange" /> + </column> + </row> + + <list list="timeline" extract="true"> + <row class="data"> + <column class="clickable"> + <link type="post" action="start" subaction="projectmenu" id="var:projectid"> + <text var="projectname"></text> + </link> + </column> + <column title="var:filename"> + <text var="filename" maxlength="30"></text> + </column> + <column> + <date date="var:lastchange_date" /> + </column> + + </row> + </list> + </table> +</output>+ \ No newline at end of file