diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php new file mode 100644 index 0000000..673a051 --- /dev/null +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -0,0 +1,20 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Navigation'] = [ + 'List' => 'List', + 'Profile' => 'Profile', + 'Profiles' => 'Profiles', +]; diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php new file mode 100644 index 0000000..d53f90f --- /dev/null +++ b/Theme/Backend/Lang/api.en.lang.php @@ -0,0 +1,18 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG[1] = [ + 'i:ModuleInstalled' => 'Installation of the module {$1} was successful.', +]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php new file mode 100644 index 0000000..3359ace --- /dev/null +++ b/Theme/Backend/Lang/en.lang.php @@ -0,0 +1,34 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Profile'] = [ + 'Activity' => 'Activity', + 'Birthday' => 'Birthday', + 'ContactInformation' => 'Contact Information', + 'Community' => 'Community', + 'Email' => 'Email', + 'LastLogin' => 'Last Login', + 'Name' => 'Name', + 'Occupation' => 'Occupation', + 'OFF' => 'OFF', + 'ON' => 'ON', + 'Phone' => 'Phone', + 'Profile' => 'Profile', + 'Profiles' => 'Profiles', + 'Ranks' => 'Ranks', + 'Registered' => 'Registered', + 'Skype' => 'Skype', + 'Status' => 'Status', +]; diff --git a/Theme/Backend/img/profile-default-small.jpg b/Theme/Backend/img/profile-default-small.jpg new file mode 100644 index 0000000..6f07f6d Binary files /dev/null and b/Theme/Backend/img/profile-default-small.jpg differ diff --git a/Theme/Backend/profile-list.tpl.php b/Theme/Backend/profile-list.tpl.php new file mode 100644 index 0000000..f7af647 --- /dev/null +++ b/Theme/Backend/profile-list.tpl.php @@ -0,0 +1,51 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); +$footerView->setPages(20); +$footerView->setPage(1); + +$accounts = $this->getData('accounts'); +?> + +
+ + + + + + + + $account) : $count++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/profile/single?id=' . $account->getId()); ?> + +
l11n->lang['Profile']['Profiles']; ?>
l11n->lang[0]['ID']; ?> + l11n->lang['Profile']['Name']; ?> + l11n->lang['Profile']['Activity']; ?> +
render(); ?> +
getId(); ?> + getName3() . ' ' . $account->getName2() . ' ' . $account->getName1(); ?> + getLastActive()->format('Y-m-d'); ?> + + +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/profile-single.tpl.php b/Theme/Backend/profile-single.tpl.php new file mode 100644 index 0000000..e0044bc --- /dev/null +++ b/Theme/Backend/profile-single.tpl.php @@ -0,0 +1,102 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + * @var \Modules\Tasks\Models\Task[] $tasks + */ +$account = $this->getData('account'); +echo $this->getData('nav')->render(); +?> +
+

l11n->lang['Profile']['Profile']; ?>

+
+ + + + + + + + + + + + + + + + + +
l11n->lang['Profile']['Name']; ?> + getName3(); ?>, getName1(); ?> +
l11n->lang['Profile']['Occupation']; ?> + Sailor +
l11n->lang['Profile']['Birthday']; ?> + 06.09.1934 +
l11n->lang['Profile']['Ranks']; ?> + Gosling +
l11n->lang['Profile']['Email']; ?> + getEmail(); ?> +
Address + +
Private + SMALLSYS INC
795 E DRAGRAM
TUCSON AZ 85705
USA +
Work + SMALLSYS INC
795 E DRAGRAM
TUCSON AZ 85705
USA +
l11n->lang['Profile']['Phone']; ?> + +
Private + +01 12345-4567 +
Mobile + +01 12345-4567 +
Work + +01 12345-4567 +
l11n->lang['Profile']['Registered']; ?> + getCreatedAt()->format('Y-m-d'); ?> +
l11n->lang['Profile']['LastLogin']; ?> + getLastActive()->format('Y-m-d'); ?> +
l11n->lang['Profile']['Status']; ?> + getStatus(); ?> +
+ +
+
+ +
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?> + +
l11n->lang['Profile']['Media']; ?>
l11n->lang[0]['ID']; ?> + l11n->lang['Profile']['Title']; ?> + l11n->lang['Profile']['Type']; ?> + l11n->lang['Profile']['Created']; ?> +
render(); ?> +
getId(); ?> + getNewestHistory()->getPosition(); ?> + getNewestHistory()->getPosition(); ?> + getNewestStatus()->getStatus(); ?> + + +
l11n->lang[0]['Empty']; ?> + +
+