/plugin/bez/tpl/ |
H A D | task_box.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 3 <div id="z<?php echo $tpl->get('task')->id ?>" 6 if($tpl->get('task')->state == 'opened') { 7 echo 'priority_' . $tpl->get('task')->priority; 13 <strong><?php echo $tpl->getLang('open') ?>:</strong> 14 <?php echo $tpl->date($tpl->get('task')->create_date) ?> 17 <?php if ($tpl->get('task')->state != 'opened'): ?> 20 <strong><?php echo $tpl->getLang('task_' . $tpl [all...] |
H A D | thread.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 6 <?php if ($tpl->param('action') == '' && $tpl->get('thread')->user_is_coordinator() && $tpl->get('thread')->can_add_tasks()): ?> 8 <a href="<?php echo $tpl->url('thread', 'id', $tpl->get('thread')->id, 'action', 'task_add') ?>#z_" class="bez_subscribe_button"> 9 <span class="bez_awesome"></span> <?php echo $tpl->getLang('correction_add' . $tpl->get('lang_suffix')) ?> 14 <?php foreach ($tpl->get('timeline') as $entity): ?> 16 <?php $tpl [all...] |
H A D | thread_box.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 2 <div data-type="<?php echo $tpl->get('thread')->type ?>" 5 if ($tpl->get('thread')->state == 'opened') { 6 echo 'priority_' . $tpl->get('thread')->priority; 12 <a href="<?php echo $tpl->url('thread', 'id', $tpl->get('thread')->id) ?>"> 13 #<?php echo $tpl->get('thread')->id ?> 16 <?php if ($tpl->get('thread')->type == 'project'): ?> 17 <?php echo $tpl->getLang('project') ?> 18 <?php elseif (!empty($tpl [all...] |
H A D | task_form.php | 2 /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ 3 if ($tpl->action() == 'thread') { 4 $url = $tpl->url('thread', 'id', $tpl->get('thread')->id, 'action', $tpl->param('action', 'add'), 'tid', $tpl->param('tid'), 'kid', $tpl->param('kid')); 5 $id = 'bez:thread' . $tpl->get('thread')->id; 6 } elseif ($tpl->action() == 'task_form') { 7 $url = $tpl [all...] |
H A D | threads.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 3 <?php if (!$tpl->get('no_filters', false)): ?> 5 <?php if ($tpl->factory('thread')->permission() >= BEZ_TABLE_PERMISSION_INSERT): ?> 6 <a href="<?php echo $tpl->url('thread_report', 'type', $tpl->action() == 'projects' ? 'project' : 'issue') ?>" class="bez_start_button" id="bez_report_issue_button"> 7 <?php echo $tpl->getLang('report_' . $tpl->action()) ?> 14 <form action="<?php echo $tpl->url($tpl->action()) ?>" method="post"> 16 <label><?php echo $tpl [all...] |
H A D | task.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 2 <?php if ($tpl->get('task')->thread_id != '' && $tpl->get('task')->thread->acl_of('id') >= BEZ_PERMISSION_VIEW): ?> 5 if ($tpl->get('task')->thread->state == 'opened') { 6 echo 'priority_' . $tpl->get('task')->thread->priority; 10 <strong><?php echo $tpl->getLang('issue') ?>:</strong> 11 <a href="<?php echo $tpl->url('thread', 'id', $tpl->get('task')->thread->id) ?>"> 12 #<?php echo $tpl->get('task')->thread->id ?> 15 <?php if ($tpl [all...] |
H A D | 8d.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 3 <?php if (count($tpl->get('8d_tasks')['correction']) > 0) $D++ ?> 4 <?php if (count($tpl->get('causes')) > 0) $D++ ?> 5 <?php if (count($tpl->get('8d_tasks')['corrective']) > 0) $D++ ?> 6 <?php $corrective_done = array_filter($tpl->get('8d_tasks')['corrective'], function ($task) { 10 <?php if (count($tpl->get('8d_tasks')['preventive']) > 0) $D++ ?> 11 <?php if ($tpl->get('thread')->state == 'closed' || $tpl->get('thread')->state == 'rejected') $D++ ?> 14 <?php printf($tpl->getLang('8d_report_header'), $D); ?> 16 <?php echo $tpl [all...] |
H A D | tasks.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 3 <?php if (!$tpl->get('no_filters', false)): ?> 5 <?php if ($tpl->factory('task')->permission() >= BEZ_TABLE_PERMISSION_INSERT): ?> 6 <a href="<?php echo $tpl->url('task_form') ?>" class="bez_start_button" id="bez_report_task_button"> 7 <?php echo $tpl->getLang('add_task') ?> 14 <form action="<?php echo $tpl->url('tasks') ?>" method="POST"> 17 <label><?php echo $tpl->getLang('reporter') ?>: 19 <option <?php if ($tpl->value('original_poster') == '-all') echo 'selected' ?> 20 value="-all">--- <?php echo $tpl->getLang('all') ?> ---</option> 21 <optgroup label="<?php echo $tpl [all...] |
H A D | report.php | 1 <h1><?php echo $tpl->getLang('report') ?></h1> 4 <form action="<?php echo $tpl->url('report') ?>" method="post"> 6 <label><?php echo $tpl->getLang('report from') ?>: <input name="from" value="<?php echo $tpl->value('from') ?>" class="date start" style="width: 90px"></label> 7 <label><?php echo $tpl->getLang('report to') ?>: <input name="to" value="<?php echo $tpl->value('to') ?>" class="date end" style="width: 90px"></label> 9 <button><?php echo $tpl->getLang('show') ?></button> 14 <h2><?php echo $tpl->getLang('issues') ?></h2> 18 <th><?php echo $tpl->getLang('type') ?></th> 19 <th><?php echo ucfirst($tpl [all...] |
H A D | commcause_form.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 2 <?php $url = $tpl->url('thread', 'id', $tpl->get('thread')->id, 'action', 3 $tpl->param('action') == 'commcause_edit' ? 'commcause_edit' : 'commcause_add', 4 'kid', $tpl->param('kid')) ?> 20 <?php if ($tpl->get('thread_comment')->acl_of('type') >= BEZ_PERMISSION_CHANGE && 21 $tpl->get('thread')->can_add_causes()): ?> 24 <?php if ( $tpl->value('type') == '' || 25 $tpl->value('type') == 'comment') echo 'class="active"' ?> 26 <?php if ( $tpl [all...] |
H A D | commcause_box.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 2 <a id="k<?php echo $tpl->get('thread_comment')->id ?>"></a> 4 <?php echo $tpl->get('thread_comment')->type == 'comment' ? 'bez_type_0' : 'bez_cause' ?> 6 if ($tpl->get('thread_comment')->author == $tpl->current_user()) { 21 <a href="#k<?php echo $tpl->get('thread_comment')->id ?>">#k<?php echo $tpl->get('thread_comment')->id ?></a> 22 <strong><?php echo $tpl->user_name($tpl->get('thread_comment')->author) ?></strong> 24 <?php echo $tpl [all...] |
H A D | kp.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 3 <?php echo $tpl->getLang('kp_report') ?> 5 <?php echo $tpl->mailto('', 6 $tpl->getLang('kp_report').': #'.$tpl->get('thread')->id.' '.$tpl->get('thread')->title, 7 $tpl->url('kp', 'id', $tpl->get('thread')->id) . '?t=' . $_GET['t']); ?>"> 8 ✉ <?php echo $tpl->getLang('send_mail') ?> 16 <a href="<?php echo $tpl [all...] |
H A D | start.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 3 <?php if ($tpl->factory('thread')->permission() >= BEZ_TABLE_PERMISSION_INSERT): ?> 4 <a href="<?php echo $tpl->url('thread_report', 'type', 'issue') ?>" class="bez_start_button" id="bez_report_issue_button"> 5 <?php echo $tpl->getLang('report_threads') ?> 8 <?php if ($tpl->factory('thread')->permission() >= BEZ_TABLE_PERMISSION_INSERT): ?> 9 <a href="<?php echo $tpl->url('thread_report', 'type', 'project') ?>" class="bez_start_button" id="bez_report_issue_button"> 10 <?php echo $tpl->getLang('report_projects') ?> 14 <?php if ($tpl->factory('task')->permission() >= BEZ_TABLE_PERMISSION_INSERT): ?> 15 <a href="<?php echo $tpl->url('task_form') ?>" class="bez_start_button" id="bez_report_task_button"> 16 <?php echo $tpl [all...] |
H A D | thread_report.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 4 <?php if ($tpl->param('id') != ''): ?> 5 <?php $url = $tpl->url('thread_report', 'action', 'update', 'id', $tpl->param('id')) ?> 7 <?php $url = $tpl->url('thread_report', 'action', 'add') ?> 10 <?php if ($tpl->param('id') != ''): ?> 11 <?php $type = $tpl->get('thread')->type ?> 13 <?php $type = $tpl->param('type') ?> 27 <?php if ($tpl->param('id') != ''): ?> 28 <?php $class = 'pr' . $tpl [all...] |
H A D | task_comment_box.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 2 <a id="zk<?php echo $tpl->get('task_comment')->id ?>"></a> 5 if ($tpl->get('task_comment')->author == $tpl->current_user()) { 20 <a href="#zk<?php echo $tpl->get('task_comment')->id ?>">#zk<?php echo $tpl->get('task_comment')->id ?></a> 21 <strong><?php echo $tpl->user_name($tpl->get('task_comment')->author) ?></strong> 23 <?php if ($tpl->get('task_comment')->closing === '1'): ?> 24 <?php echo $tpl [all...] |
H A D | activity_report.php | 2 <?php echo $tpl->getLang('activity_report') ?> 6 <form action="<?php echo $tpl->url('activity_report') ?>" method="post"> 8 <label><?php echo $tpl->getLang('report from') ?>: <input name="from" value="<?php echo $tpl->value('from') ?>" class="date start" style="width: 90px"></label> 9 <label><?php echo $tpl->getLang('report to') ?>: <input name="to" value="<?php echo $tpl->value('to') ?>" class="date end" style="width: 90px"></label> 11 <button><?php echo $tpl->getLang('show') ?></button> 16 <h2><?php echo $tpl->getLang('activity_in_issues') ?></h2> 20 <th><?php echo $tpl->getLang('user') ?></th> 21 <th><?php echo $tpl [all...] |
H A D | task_comment_form.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 2 <?php $url = $tpl->url('task', 'tid', $tpl->get('task')->id, 'action', 3 $tpl->param('action') == 'comment_edit' ? 'comment_edit' : 'comment_add', 4 'zkid', $tpl->param('zkid')) ?> 24 <textarea name="content" class="bez_textarea_content" id="content"><?php echo $tpl->value('content') ?></textarea> 28 <?php if ($tpl->param('zkid') != ''): ?> 29 <a href="<?php echo $tpl->url('task', 'tid', $tpl->get('task')->id) ?><?php if ($tpl [all...] |
H A D | task_programs.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 2 <form action="<?php echo $tpl->url('task_programs') ?>" method="POST"> 8 <?php foreach ($tpl->get('task_programs') as $task_program): ?> 10 <?php if ( in_array($tpl->param('action'), array('edit', 'update')) && 11 $tpl->param('id') == $task_program->id): ?> 15 <input name="name" value="<?php echo $tpl->value('name') ?>" /> 18 <button name="action" value="update"><?php echo $tpl->getLang('save') ?></button> 19 <a href="<?php echo $tpl->url('task_programs') ?>"> 20 <?php echo $tpl->getLang('cancel') ?> 26 <a href="<?php echo $tpl [all...] |
H A D | types.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 2 <form action="<?php echo $tpl->url('types') ?>" method="POST"> 8 <?php foreach ($tpl->get('labels') as $label): ?> 10 <?php if ( in_array($tpl->param('action'), array('edit', 'update')) && 11 $tpl->param('id') == $label->id): ?> 14 <input name="name" value="<?php echo $tpl->value('name') ?>" /> 17 <button name="action" value="update"><?php echo $tpl->getLang('save') ?></button> 18 <a href="<?php echo $tpl->url('types') ?>"> 19 <?php echo $tpl->getLang('cancel') ?> 25 <a href="<?php echo $tpl [all...] |
/plugin/bez/tpl/mail/ |
H A D | task_comment.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 4 <title><?php echo $tpl->get('wiki_title') ?></title> 11 <?php echo $tpl->get('style') ?> 16 <?php echo $tpl->get('wiki_title') ?> 20 <?php echo $tpl->user_name($tpl->get('who')) ?> <?php echo $tpl->getLang($tpl->get('action')) ?> 21 <a href="<?php echo $tpl->url('task', 'tid', $tpl [all...] |
H A D | thread_comment.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 4 <title><?php echo $tpl->get('wiki_title') ?></title> 11 <?php echo $tpl->get('style') ?> 16 <?php echo $tpl->get('wiki_title') ?> 20 <?php echo $tpl->user_name($tpl->get('who')) ?> <?php echo $tpl->getLang($tpl->get('action')) ?> 22 <a href="<?php echo $tpl->url('thread', 'id', $tpl [all...] |
H A D | task.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 4 <title><?php echo $tpl->get('wiki_title') ?></title> 11 <?php echo $tpl->get('style') ?> 16 <?php echo $tpl->get('wiki_title') ?> 20 <?php echo $tpl->user_name($tpl->get('who')) ?> <?php vprintf($tpl->getLang($tpl->get('action')), $tpl->get('action_replacements', array())) ?> 21 <a href="<?php echo $tpl [all...] |
H A D | thread.php | 1 <?php /* @var \dokuwiki\plugin\bez\meta\Tpl $tpl */ ?> 4 <title><?php echo $tpl->get('wiki_title') ?></title> 11 <?php echo $tpl->get('style') ?> 16 <?php echo $tpl->get('wiki_title') ?> 20 <?php echo $tpl->user_name($tpl->get('who')) ?> <?php echo $tpl->getLang($tpl->get('action')) ?> 21 <a href="<?php echo $tpl->url('thread', 'id', $tpl [all...] |
/plugin/regex_template/ |
H A D | action.php | 56 $tpl = io_readFile($my_new_file); 61 if(!$tpl) return ''; 64 $tpl = str_replace('@ID@',$ID,$tpl); 65 $tpl = str_replace('@NS@',getNS($id),$tpl); 66 $tpl = str_replace('@PAGE@',strtr(noNS($ID),'_',' '),$tpl); 67 $tpl = str_replace('@USER@',$_SERVER['REMOTE_USER'],$tpl); 68 $tpl = str_replace('@NAME@',$INFO['userinfo']['name'],$tpl); 69 $tpl = str_replace('@MAIL@',$INFO['userinfo']['mail'],$tpl); 70 $tpl = str_replace('@DATE@',$conf['dformat'],$tpl); 72 $tpl = preg_replace_callback('/%./',create_function('$m','return strftime($m[0]);'),$tpl); [all …]
|
/plugin/templateconfhelper/action/ |
H A D | templateaction.php | 34 $tpl = $conf['template']; 46 $tpl = $u['template']; 58 $tpl = $_GET['utpl']; 62 $tpl = $conf['default_tpl']; 77 $this->_switch( $tpl, $theme ); 119 public function tpl_switch( $tpl ) {/*{{{*/ argument 125 if( preg_match( '/^[\w-]+$/', $tpl )) { 126 $this->_switch( $tpl ); 139 $conf['template'] = $tpl; 141 $tconf = $this->tpl_loadconfig( $tpl ); [all …]
|