1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35:
36: ?>
37:
38: <?php
39: $this->layout = '//layouts/column1';
40: $this->pageTitle=Yii::app()->settings->appName . ' - ' . Yii::t('help','Icon Reference');
41:
42:
43: $cssString = "
44: #icon-reference-title {
45: width: 1002px;
46: margin-right: 0;
47: padding: 0 0 0 0;
48: }
49:
50: div.icon-reference {
51: width: 1000px;
52: margin-left: 50px;
53: margin-right: 0;
54: padding: 0 0 0 0;
55: }
56:
57: div.icon-reference .section-title {
58: margin-left: 20px;
59: margin-top: 15px;
60: }
61:
62: div.icon-reference .cell {
63: margin-left: 20px;
64: margin-bottom: 10px;
65: }
66:
67: div.icon-reference .row {
68: width: 460px;
69: height: 60px;
70: line-height: 60px;
71: vertical-align: middle;
72: }
73:
74: div.icon-reference img {
75: vertical-align: middle;
76: display: inline-block;
77: /*margin-bottom: 20px;*/
78: }
79:
80: div.icon-reference .icon-container {
81: float: left;
82: height: 60px;
83: font-size: 30px;
84: color: #004baf; // darkBlue in colors.scss
85: }
86:
87: div.icon-reference .icon-description {
88: margin-left: 60px;
89: height: 60px;
90: }
91:
92: div.icon-reference .icon-description p {
93: vertical-align: middle;
94: margin: 0 0 0 0;
95: display: inline-block;
96: font-size: 12px;
97: font-family: Arial, Helvetica, sans-serif;
98: line-height: 14px;
99: }
100:
101: .img-box .stacked-icon {
102: top: 32px;
103: }
104:
105: .icon-reference .section-title {
106: background: none;
107: }
108:
109:
110: ";
111:
112: Yii::app()->clientScript->registerCss ('icon-reference-css', $cssString);
113:
114:
115: ?>
116:
117: <div id="icon-reference-title" class="page-title">
118: <h2> <?php echo Yii::t('help', 'Icon Reference'); ?> </h2>
119: </div>
120:
121:
122: <div id="icon-reference-section-1" class="icon-reference form p-20">
123: <h2 class="section-title">
124: <?php echo Yii::t ('help', 'X2Engine Modules'); ?>
125: </h2>
126: <div class="column1 cell">
127: <div class="row">
128: <div class="icon-container">
129: <?php echo X2Html::fa('fa-building'); ?>
130: </div>
131: <div class="icon-description">
132: <p> <?php echo CHtml::link (Yii::t('accounts', 'Accounts'), array ('/accounts/accounts/index')); ?> </p>
133: </div>
134: </div>
135: <div class="row">
136: <div class="icon-container">
137: <?php echo X2Html::x2icon('activity') ?>
138: </div>
139: <div class="icon-description">
140: <p> <?php echo CHtml::link (Yii::t('app', 'Activity Feed'), array ('/profile/view', 'id' => Yii::app()->user->getId())); ?> </p>
141: </div>
142: </div>
143: <div class="row">
144: <div class="icon-container">
145: <?php echo X2Html::fa('fa-play-circle') ?>
146: </div>
147: <div class="icon-description">
148: <p> <?php echo CHtml::link (Yii::t('app', 'Actions'), array ('/actions/actions/index')); ?> </p>
149: </div>
150: </div>
151: <div class="row">
152: <div class="icon-container">
153: <?php echo X2Html::fa('fa-calendar-o') ?>
154: </div>
155: <div class="icon-description">
156: <p> <?php echo CHtml::link (Yii::t('calendar', 'Calendar'), array ('/calendar/calendar/index')); ?> </p>
157: </div>
158: </div>
159: <div class="row">
160: <div class="icon-container">
161: <?php echo X2Html::fa('fa-bar-chart') ?>
162: </div>
163: <div class="icon-description">
164: <p> <?php echo Yii::t('app', 'Charts'); ?> </p>
165: </div>
166: </div>
167: <div class="row">
168: <div class="icon-container">
169: <?php echo X2Html::x2icon('contact') ?>
170: </div>
171: <div class="icon-description">
172: <p> <?php echo CHtml::link (Yii::t('contacts', 'Contacts'), array ('/contacts/contacts/index')); ?> </p>
173: </div>
174: </div>
175: <div class="row">
176: <div class="icon-container">
177: <?php echo X2Html::fa('fa-file-o') ?>
178: </div>
179: <div class="icon-description">
180: <p> <?php echo CHtml::link (Yii::t('docs', 'Docs'), array ('/docs/docs/index')); ?> </p>
181: </div>
182: </div>
183: <div class="row">
184: <div class="icon-container">
185: <?php echo X2Html::fa('fa-users'); ?>
186: </div>
187: <div class="icon-description">
188: <p> <?php echo CHtml::link (Yii::t('app', 'Groups'), array ('/groups/groups/index')); ?> </p>
189: </div>
190: </div>
191: </div>
192: <div class="cell">
193: <div class="row">
194: <div class="icon-container">
195: <?php echo X2Html::fa('fa-music'); ?>
196: </div>
197: <div class="icon-description">
198: <p> <?php echo CHtml::link (Yii::t('app', 'Media'), array ('/media/media/index')); ?> </p>
199: </div>
200: </div>
201: <div class="row">
202: <div class="icon-container">
203: <?php echo X2Html::fa('fa-bullhorn') ?>
204: </div>
205: <div class="icon-description">
206: <p> <?php echo CHtml::link (Yii::t('app', 'Marketing'), array ('/marketing/marketing/index')); ?> </p>
207: </div>
208: </div>
209: <div class="row">
210: <div class="icon-container">
211: <?php echo X2Html::fa('fa-bullseye'); ?>
212: </div>
213: <div class="icon-description">
214: <p> <?php echo CHtml::link (Yii::t('opportunities', 'Opportunities'), array ('/opportunities/opportunities/index')); ?> </p>
215: </div>
216: </div>
217: <div class="row">
218: <div class="icon-container">
219: <?php echo X2Html::x2icon('package'); ?>
220: </div>
221: <div class="icon-description">
222: <p> <?php echo CHtml::link (Yii::t('products', 'Products'), array ('/products/products/index')); ?> </p>
223: </div>
224: </div>
225: <div class="row">
226: <div class="icon-container">
227: <?php echo X2Html::x2icon('quotes'); ?>
228: </div>
229: <div class="icon-description">
230: <p> <?php echo CHtml::link (Yii::t('quotes', 'Quotes'), array ('/quotes/quotes/index')); ?> </p>
231: </div>
232: </div>
233: <div class="row">
234: <div class="icon-container">
235: <?php echo X2Html::x2icon('service'); ?>
236: </div>
237: <div class="icon-description">
238: <p> <?php echo CHtml::link (Yii::t('help', 'Services'), array ('/services/services/index')); ?> </p>
239: </div>
240: </div>
241: <div class="row">
242: <div class="icon-container">
243: <?php echo X2Html::x2icon('funnel'); ?>
244: </div>
245: <div class="icon-description">
246: <p> <?php echo CHtml::link (Yii::t('workflow', 'Process'), array ('/workflow/workflow/index')); ?> </p>
247: </div>
248: </div>
249: </div>
250: </div>
251:
252: <?php
253: Yii::app()->clientScript->registerCssFile (Yii::app()->theme->baseUrl.'/css/activityFeed.css');
254:
255:
256:
257: $arr1 = array (
258: 'action_complete' => 'Action Completed',
259: 'action_reminder' => 'Action Reminder',
260: 'generic_calendar_event' => 'Calendar Event',
261: 'doc_update' => 'Document Updated',
262: 'email_from' => 'Email Received',
263: 'email_sent' => 'Email Sent',
264: 'record_create' => 'Record Created',
265: 'record_deleted' => 'Record Deleted',
266: );
267:
268:
269: $arr2 = array (
270: 'notif' => 'Notification',
271: 'web_activity' => 'Web Activity',
272: 'weblead_create' => 'Web Lead Created',
273: 'case_escalated' => 'Case Escalated',
274: 'email_opened' => 'Email Opened',
275: 'workflow_revert' => 'Workflow Reverted',
276: 'workflow_complete' => 'Workflow Completed',
277: 'workflow_start' => 'Workflow Started',
278: );
279:
280:
281: function echoIcons ($array) {
282: foreach($array as $key => $value) {
283: echo "<div class='row'>
284: <div class='img-box $key'>
285: <div class='stacked-icon'></div>
286: </div>
287: <div class='icon-description'>
288: <p>
289: ".Yii::t ('help', $value)."
290: </p>
291: </div>
292: </div>";
293: }
294: }
295: ?>
296:
297:
298: <div id="activity-feed-container" class="icon-reference form p-20">
299: <h2 class="section-title">
300: <?php echo Yii::t ('help', 'Events'); ?>
301: </h2>
302: <div class="column1 cell">
303: <?php echoIcons($arr1); ?>
304: </div>
305: <div class="cell">
306: <?php echoIcons($arr2); ?>
307: </div>
308: </div>
309:
310:
311:
312: