openrat-cms

# OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

commit ffa7b798fc9084e5f10cac55e5198cf96c8a6286
parent 9c4bc41f094c2c3e26159269cedf095dedb8438c
Author: Jan Dankert <develop@jandankert.de>
Date:   Fri, 18 Oct 2019 22:58:46 +0200

Fix: Show correct user icons.

Diffstat:
modules/cms-ui/themes/default/html/views/file/info.php | 12++++++------
modules/cms-ui/themes/default/html/views/file/info.tpl.src.xml | 12++++++------
modules/cms-ui/themes/default/html/views/image/info.php | 8++++----
modules/cms-ui/themes/default/html/views/image/info.tpl.src.xml | 8++++----
4 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/modules/cms-ui/themes/default/html/views/file/info.php b/modules/cms-ui/themes/default/html/views/file/info.php @@ -152,13 +152,13 @@ </div> <div class="input"> - <img src="./modules/cms-ui/themes/default/images/icon/el_date.png" /> + <i class="image-icon image-icon--action-el_date"></i> <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($create_date) ?> <br/> - <img src="./modules/cms-ui/themes/default/images/icon/user.png" /> + <i class="image-icon image-icon--action-user"></i> <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($create_user) ?> @@ -170,13 +170,13 @@ </div> <div class="input"> - <img src="./modules/cms-ui/themes/default/images/icon/el_date.png" /> + <i class="image-icon image-icon--action-el_date"></i> <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> <br/> - <img src="./modules/cms-ui/themes/default/images/icon/user.png" /> + <i class="image-icon image-icon--action-user"></i> <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($lastchange_user) ?> @@ -190,13 +190,13 @@ </label> </div> <div class="input"> - <img src="./modules/cms-ui/themes/default/images/icon/el_date.png" /> + <i class="image-icon image-icon--action-el_date"></i> <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($published_date) ?> <br/> - <img src="./modules/cms-ui/themes/default/images/icon/user.png" /> + <i class="image-icon image-icon--action-user"></i> <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($published_user) ?> diff --git a/modules/cms-ui/themes/default/html/views/file/info.tpl.src.xml b/modules/cms-ui/themes/default/html/views/file/info.tpl.src.xml @@ -125,10 +125,10 @@ <text text="global_created"></text> </part> <part class="input"> - <image icon="el_date"></image> + <image elementtype="date"></image> <date date="var:create_date"></date> <newline></newline> - <image icon="user"></image> + <image action="user"></image> <user user="var:create_user"></user> </part> </part> @@ -137,10 +137,10 @@ <text text="global_lastchange"></text> </part> <part class="input"> - <image icon="el_date"></image> + <image elementtype="date"></image> <date date="var:lastchange_date"></date> <newline></newline> - <image icon="user"></image> + <image action="user"></image> <user user="var:lastchange_user"></user> </part> </part> @@ -151,10 +151,10 @@ </label> </part> <part class="input"> - <image icon="el_date"></image> + <image elementtype="date"></image> <date date="var:published_date"></date> <newline></newline> - <image icon="user"></image> + <image action="user"></image> <user user="var:published_user"></user> </part> </part> diff --git a/modules/cms-ui/themes/default/html/views/image/info.php b/modules/cms-ui/themes/default/html/views/image/info.php @@ -152,13 +152,13 @@ </div> <div class="input"> - <img src="./modules/cms-ui/themes/default/images/icon/el_date.png" /> + <i class="image-icon image-icon--action-el_date"></i> <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($create_date) ?> <br/> - <img src="./modules/cms-ui/themes/default/images/icon/user.png" /> + <i class="image-icon image-icon--action-user"></i> <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($create_user) ?> @@ -170,13 +170,13 @@ </div> <div class="input"> - <img src="./modules/cms-ui/themes/default/images/icon/el_date.png" /> + <i class="image-icon image-icon--action-el_date"></i> <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> <br/> - <img src="./modules/cms-ui/themes/default/images/icon/user.png" /> + <i class="image-icon image-icon--action-user"></i> <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($lastchange_user) ?> diff --git a/modules/cms-ui/themes/default/html/views/image/info.tpl.src.xml b/modules/cms-ui/themes/default/html/views/image/info.tpl.src.xml @@ -125,10 +125,10 @@ <text text="global_created"></text> </part> <part class="input"> - <image icon="el_date"></image> + <image elementtype="date"></image> <date date="var:create_date"></date> <newline></newline> - <image icon="user"></image> + <image action="user"></image> <user user="var:create_user"></user> </part> </part> @@ -137,10 +137,10 @@ <text text="global_lastchange"></text> </part> <part class="input"> - <image icon="el_date"></image> + <image elementtype="date"></image> <date date="var:lastchange_date"></date> <newline></newline> - <image icon="user"></image> + <image action="user"></image> <user user="var:lastchange_user"></user> </part> </part>