diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2007-09-03 23:35:06 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2007-09-03 23:35:06 +0400 |
commit | 713b9f4b6f723365c29e816b2c4587edafd05dae (patch) | |
tree | 2a7c0f6d407fca04b3ddf9ff6d0f5ce97be305cc | |
parent | 05a31ac27d740604dd4e76059391039bd6f0fe3c (diff) |
git-svn-id: http://dev.piwik.org/svn/trunk@56 59fd770c-687e-43c8-a1e3-f5a4ff64c105
-rw-r--r-- | tmp/templates_c/%%05^055^055FEB02%%UsersManager.tpl.php | 138 | ||||
-rw-r--r-- | tmp/templates_c/%%0F^0FA^0FAD1594%%debug.tpl.php | 263 | ||||
-rw-r--r-- | tmp/templates_c/%%51^513^513E196B%%form.tpl.php | 46 | ||||
-rw-r--r-- | tmp/templates_c/%%61^614^614EB811%%genericForm.tpl.php | 54 | ||||
-rw-r--r-- | tmp/templates_c/%%6A^6A5^6A537DD8%%login.tpl.php | 12 | ||||
-rw-r--r-- | tmp/templates_c/%%86^864^8644F0D6%%home.tpl.php | 15 | ||||
-rw-r--r-- | tmp/templates_c/%%A6^A6A^A6A3DC79%%SitesManager.tpl.php | 61 |
7 files changed, 0 insertions, 589 deletions
diff --git a/tmp/templates_c/%%05^055^055FEB02%%UsersManager.tpl.php b/tmp/templates_c/%%05^055^055FEB02%%UsersManager.tpl.php deleted file mode 100644 index 691ac242ca..0000000000 --- a/tmp/templates_c/%%05^055^055FEB02%%UsersManager.tpl.php +++ /dev/null @@ -1,138 +0,0 @@ -<?php /* Smarty version 2.6.18, created on 2007-09-03 13:57:39 - compiled from UsersManager/templates/UsersManager.tpl */ ?> -<script type="text/javascript" src="libs/jquery/jquery.js"></script> - -<?php echo ' - -<style> -#access td, #users td -{ - spacing: 0px; - padding: 2px 5px 5px 4px; - border: 1px solid #660000; - width:100px; -} - - -#ajaxError{ - color:red; - text-align:center; - font-weight:bold; - width:550px; - border: 3px solid red; - margin: 10px; - padding: 10px; -} - -#addrow img { - vertical-align:middle; -} -#addrow a { - text-decoration:none; -} - -#accessUpdated{ - display:none; - border:2px solid green; - color:green; - width:100px; - text-align:center; -} - -</style> -'; ?> - - -<h2>Access</h2> - -<div id="sites"> -<form method="get" action="<?php echo $this->_tpl_vars['formUrl']; ?> -" id="accessSites"> - <input type="hidden" name="module" value="UsersManager"> - <p>Sites: <select id="selectIdsite" name="idsite" onchange="this.form.submit()"> - - <optgroup label="All websites"> - <option label="All websites" value="-1" <?php if ($this->_tpl_vars['idSiteSelected'] == -1): ?> selected="selected"<?php endif; ?>>Apply to all websites</option> - </optgroup> - <optgroup label="Sites"> - <?php $_from = $this->_tpl_vars['websites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['info']): -?> - <option value="<?php echo $this->_tpl_vars['info']['idsite']; ?> -" <?php if ($this->_tpl_vars['idSiteSelected'] == $this->_tpl_vars['info']['idsite']): ?> selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['info']['name']; ?> -</option> - <?php endforeach; endif; unset($_from); ?> - </optgroup> - - </select></p> -</form> -</div> - -<table id="access"> -<tr> - <td>User</td> - <td>No access</td> - <td>View</td> - <td>Admin</td> -</tr> -<?php $_from = $this->_tpl_vars['usersAccessByWebsite']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['login'] => $this->_tpl_vars['access']): -?> -<?php $this->assign('accesValid', "<img src='plugins/UsersManager/images/ok.png' class='accessGranted'>"); ?> -<?php $this->assign('accesInvalid', "<img src='plugins/UsersManager/images/no-access.png' class='updateAccess'>"); ?> -<tr> - <td id='login'><?php echo $this->_tpl_vars['login']; ?> -</td> - <td id='noaccess'><?php if ($this->_tpl_vars['access'] == 'noaccess' && $this->_tpl_vars['idSiteSelected'] != -1): ?><?php echo $this->_tpl_vars['accesValid']; ?> -<?php else: ?><?php echo $this->_tpl_vars['accesInvalid']; ?> -<?php endif; ?> </td> - <td id='view'><?php if ($this->_tpl_vars['access'] == 'view' && $this->_tpl_vars['idSiteSelected'] != -1): ?><?php echo $this->_tpl_vars['accesValid']; ?> -<?php else: ?><?php echo $this->_tpl_vars['accesInvalid']; ?> -<?php endif; ?> </td> - <td id='admin'><?php if ($this->_tpl_vars['access'] == 'admin' && $this->_tpl_vars['idSiteSelected'] != -1): ?><?php echo $this->_tpl_vars['accesValid']; ?> -<?php else: ?><?php echo $this->_tpl_vars['accesInvalid']; ?> -<?php endif; ?> </td> -</tr> -<?php endforeach; endif; unset($_from); ?> -</table> - -<div id="accessUpdated">Done!</div> - - -<h2>Users</h2> - -<div id="ajaxError" style="display:none"></div> -<div id="ajaxLoading" style="display:none">Loading... <img src="themes/default/loading.gif"></div> -<table id="users"> - <tbody> - <tr> - <td>Login</td> - <td>Password</td> - <td>Email</td> - <td>Alias</td> - <td>Edit</td> - <td>Delete</td> - </tr> - <?php $_from = $this->_tpl_vars['users']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['i'] => $this->_tpl_vars['user']): -?> - <tr class="editable" id="row<?php echo $this->_tpl_vars['i']; ?> -"> - <td id="userLogin" class="editable"><?php echo $this->_tpl_vars['user']['login']; ?> -</td> - <td id="password" class="editable">-</td> - <td id="email" class="editable"><?php echo $this->_tpl_vars['user']['email']; ?> -</td> - <td id="alias" class="editable"><?php echo $this->_tpl_vars['user']['alias']; ?> -</td> - <td><img src='plugins/UsersManager/images/edit.png' class="edituser" id="row<?php echo $this->_tpl_vars['i']; ?> -" href='#'></td> - <td><img src='plugins/UsersManager/images/remove.png' class="deleteuser" id="row<?php echo $this->_tpl_vars['i']; ?> -" value="Delete"></td> - </tr> - <?php endforeach; endif; unset($_from); ?> - </tbody> - -</table> -<div id="addrow"><img src='plugins/UsersManager/images/add.png'> <a href="#">Add a new user</a></div> -<script type="text/javascript" src="plugins/UsersManager/templates/UsersManager.js"></script>
\ No newline at end of file diff --git a/tmp/templates_c/%%0F^0FA^0FAD1594%%debug.tpl.php b/tmp/templates_c/%%0F^0FA^0FAD1594%%debug.tpl.php deleted file mode 100644 index 32618b90f7..0000000000 --- a/tmp/templates_c/%%0F^0FA^0FAD1594%%debug.tpl.php +++ /dev/null @@ -1,263 +0,0 @@ -<?php /* Smarty version 2.6.18, created on 2007-09-03 13:57:31 - compiled from file:/home/matt/dev/piwiktrunk/libs/Smarty/debug.tpl */ ?> -<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); -smarty_core_load_plugins(array('plugins' => array(array('function', 'assign_debug_info', 'file:/home/matt/dev/piwiktrunk/libs/Smarty/debug.tpl', 3, false),array('function', 'cycle', 'file:/home/matt/dev/piwiktrunk/libs/Smarty/debug.tpl', 119, false),array('modifier', 'escape', 'file:/home/matt/dev/piwiktrunk/libs/Smarty/debug.tpl', 102, false),array('modifier', 'string_format', 'file:/home/matt/dev/piwiktrunk/libs/Smarty/debug.tpl', 105, false),array('modifier', 'debug_print_var', 'file:/home/matt/dev/piwiktrunk/libs/Smarty/debug.tpl', 121, false),)), $this); ?> -<?php echo smarty_function_assign_debug_info(array(), $this);?> - -<?php ob_start(); ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> -<head> - <title>Smarty Debug Console</title> -<?php echo ' -<style type="text/css"> -/* <![CDATA[ */ -body, h1, h2, td, th, p { - font-family: sans-serif; - font-weight: normal; - font-size: 0.9em; - margin: 1px; - padding: 0; -} - -h1 { - margin: 0; - text-align: left; - padding: 2px; - background-color: #f0c040; - color: black; - font-weight: bold; - font-size: 1.2em; - } - -h2 { - background-color: #9B410E; - color: white; - text-align: left; - font-weight: bold; - padding: 2px; - border-top: 1px solid black; -} - -body { - background: black; -} - -p, table, div { - background: #f0ead8; -} - -p { - margin: 0; - font-style: italic; - text-align: center; -} - -table { - width: 100%; -} - -th, td { - font-family: monospace; - vertical-align: top; - text-align: left; - width: 50%; -} - -td { - color: green; -} - -.odd { - background-color: #eeeeee; -} - -.even { - background-color: #fafafa; -} - -.exectime { - font-size: 0.8em; - font-style: italic; -} - -#table_assigned_vars th { - color: blue; -} - -#table_config_vars th { - color: maroon; -} -/* ]]> */ -</style> -'; ?> - -</head> -<body> - -<h1>Smarty Debug Console</h1> - -<h2>included templates & config files (load time in seconds)</h2> - -<div> -<?php unset($this->_sections['templates']); -$this->_sections['templates']['name'] = 'templates'; -$this->_sections['templates']['loop'] = is_array($_loop=$this->_tpl_vars['_debug_tpls']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); -$this->_sections['templates']['show'] = true; -$this->_sections['templates']['max'] = $this->_sections['templates']['loop']; -$this->_sections['templates']['step'] = 1; -$this->_sections['templates']['start'] = $this->_sections['templates']['step'] > 0 ? 0 : $this->_sections['templates']['loop']-1; -if ($this->_sections['templates']['show']) { - $this->_sections['templates']['total'] = $this->_sections['templates']['loop']; - if ($this->_sections['templates']['total'] == 0) - $this->_sections['templates']['show'] = false; -} else - $this->_sections['templates']['total'] = 0; -if ($this->_sections['templates']['show']): - - for ($this->_sections['templates']['index'] = $this->_sections['templates']['start'], $this->_sections['templates']['iteration'] = 1; - $this->_sections['templates']['iteration'] <= $this->_sections['templates']['total']; - $this->_sections['templates']['index'] += $this->_sections['templates']['step'], $this->_sections['templates']['iteration']++): -$this->_sections['templates']['rownum'] = $this->_sections['templates']['iteration']; -$this->_sections['templates']['index_prev'] = $this->_sections['templates']['index'] - $this->_sections['templates']['step']; -$this->_sections['templates']['index_next'] = $this->_sections['templates']['index'] + $this->_sections['templates']['step']; -$this->_sections['templates']['first'] = ($this->_sections['templates']['iteration'] == 1); -$this->_sections['templates']['last'] = ($this->_sections['templates']['iteration'] == $this->_sections['templates']['total']); -?> - <?php unset($this->_sections['indent']); -$this->_sections['indent']['name'] = 'indent'; -$this->_sections['indent']['loop'] = is_array($_loop=$this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['depth']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); -$this->_sections['indent']['show'] = true; -$this->_sections['indent']['max'] = $this->_sections['indent']['loop']; -$this->_sections['indent']['step'] = 1; -$this->_sections['indent']['start'] = $this->_sections['indent']['step'] > 0 ? 0 : $this->_sections['indent']['loop']-1; -if ($this->_sections['indent']['show']) { - $this->_sections['indent']['total'] = $this->_sections['indent']['loop']; - if ($this->_sections['indent']['total'] == 0) - $this->_sections['indent']['show'] = false; -} else - $this->_sections['indent']['total'] = 0; -if ($this->_sections['indent']['show']): - - for ($this->_sections['indent']['index'] = $this->_sections['indent']['start'], $this->_sections['indent']['iteration'] = 1; - $this->_sections['indent']['iteration'] <= $this->_sections['indent']['total']; - $this->_sections['indent']['index'] += $this->_sections['indent']['step'], $this->_sections['indent']['iteration']++): -$this->_sections['indent']['rownum'] = $this->_sections['indent']['iteration']; -$this->_sections['indent']['index_prev'] = $this->_sections['indent']['index'] - $this->_sections['indent']['step']; -$this->_sections['indent']['index_next'] = $this->_sections['indent']['index'] + $this->_sections['indent']['step']; -$this->_sections['indent']['first'] = ($this->_sections['indent']['iteration'] == 1); -$this->_sections['indent']['last'] = ($this->_sections['indent']['iteration'] == $this->_sections['indent']['total']); -?> <?php endfor; endif; ?> - <font color=<?php if ($this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['type'] == 'template'): ?>brown<?php elseif ($this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['type'] == 'insert'): ?>black<?php else: ?>green<?php endif; ?>> - <?php echo ((is_array($_tmp=$this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['filename'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?> -</font> - <?php if (isset ( $this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['exec_time'] )): ?> - <span class="exectime"> - (<?php echo ((is_array($_tmp=$this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['exec_time'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.5f") : smarty_modifier_string_format($_tmp, "%.5f")); ?> -) - <?php if ($this->_sections['templates']['index'] == 0): ?>(total)<?php endif; ?> - </span> - <?php endif; ?> - <br /> -<?php endfor; else: ?> - <p>no templates included</p> -<?php endif; ?> -</div> - -<h2>assigned template variables</h2> - -<table id="table_assigned_vars"> - <?php unset($this->_sections['vars']); -$this->_sections['vars']['name'] = 'vars'; -$this->_sections['vars']['loop'] = is_array($_loop=$this->_tpl_vars['_debug_keys']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); -$this->_sections['vars']['show'] = true; -$this->_sections['vars']['max'] = $this->_sections['vars']['loop']; -$this->_sections['vars']['step'] = 1; -$this->_sections['vars']['start'] = $this->_sections['vars']['step'] > 0 ? 0 : $this->_sections['vars']['loop']-1; -if ($this->_sections['vars']['show']) { - $this->_sections['vars']['total'] = $this->_sections['vars']['loop']; - if ($this->_sections['vars']['total'] == 0) - $this->_sections['vars']['show'] = false; -} else - $this->_sections['vars']['total'] = 0; -if ($this->_sections['vars']['show']): - - for ($this->_sections['vars']['index'] = $this->_sections['vars']['start'], $this->_sections['vars']['iteration'] = 1; - $this->_sections['vars']['iteration'] <= $this->_sections['vars']['total']; - $this->_sections['vars']['index'] += $this->_sections['vars']['step'], $this->_sections['vars']['iteration']++): -$this->_sections['vars']['rownum'] = $this->_sections['vars']['iteration']; -$this->_sections['vars']['index_prev'] = $this->_sections['vars']['index'] - $this->_sections['vars']['step']; -$this->_sections['vars']['index_next'] = $this->_sections['vars']['index'] + $this->_sections['vars']['step']; -$this->_sections['vars']['first'] = ($this->_sections['vars']['iteration'] == 1); -$this->_sections['vars']['last'] = ($this->_sections['vars']['iteration'] == $this->_sections['vars']['total']); -?> - <tr class="<?php echo smarty_function_cycle(array('values' => "odd,even"), $this);?> -"> - <th>{$<?php echo ((is_array($_tmp=$this->_tpl_vars['_debug_keys'][$this->_sections['vars']['index']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?> -}</th> - <td><?php echo smarty_modifier_debug_print_var($this->_tpl_vars['_debug_vals'][$this->_sections['vars']['index']]); ?> -</td></tr> - <?php endfor; else: ?> - <tr><td><p>no template variables assigned</p></td></tr> - <?php endif; ?> -</table> - -<h2>assigned config file variables (outer template scope)</h2> - -<table id="table_config_vars"> - <?php unset($this->_sections['config_vars']); -$this->_sections['config_vars']['name'] = 'config_vars'; -$this->_sections['config_vars']['loop'] = is_array($_loop=$this->_tpl_vars['_debug_config_keys']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); -$this->_sections['config_vars']['show'] = true; -$this->_sections['config_vars']['max'] = $this->_sections['config_vars']['loop']; -$this->_sections['config_vars']['step'] = 1; -$this->_sections['config_vars']['start'] = $this->_sections['config_vars']['step'] > 0 ? 0 : $this->_sections['config_vars']['loop']-1; -if ($this->_sections['config_vars']['show']) { - $this->_sections['config_vars']['total'] = $this->_sections['config_vars']['loop']; - if ($this->_sections['config_vars']['total'] == 0) - $this->_sections['config_vars']['show'] = false; -} else - $this->_sections['config_vars']['total'] = 0; -if ($this->_sections['config_vars']['show']): - - for ($this->_sections['config_vars']['index'] = $this->_sections['config_vars']['start'], $this->_sections['config_vars']['iteration'] = 1; - $this->_sections['config_vars']['iteration'] <= $this->_sections['config_vars']['total']; - $this->_sections['config_vars']['index'] += $this->_sections['config_vars']['step'], $this->_sections['config_vars']['iteration']++): -$this->_sections['config_vars']['rownum'] = $this->_sections['config_vars']['iteration']; -$this->_sections['config_vars']['index_prev'] = $this->_sections['config_vars']['index'] - $this->_sections['config_vars']['step']; -$this->_sections['config_vars']['index_next'] = $this->_sections['config_vars']['index'] + $this->_sections['config_vars']['step']; -$this->_sections['config_vars']['first'] = ($this->_sections['config_vars']['iteration'] == 1); -$this->_sections['config_vars']['last'] = ($this->_sections['config_vars']['iteration'] == $this->_sections['config_vars']['total']); -?> - <tr class="<?php echo smarty_function_cycle(array('values' => "odd,even"), $this);?> -"> - <th>{#<?php echo ((is_array($_tmp=$this->_tpl_vars['_debug_config_keys'][$this->_sections['config_vars']['index']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?> -#}</th> - <td><?php echo smarty_modifier_debug_print_var($this->_tpl_vars['_debug_config_vals'][$this->_sections['config_vars']['index']]); ?> -</td></tr> - <?php endfor; else: ?> - <tr><td><p>no config vars assigned</p></td></tr> - <?php endif; ?> -</table> -</body> -</html> -<?php $this->_smarty_vars['capture']['default'] = ob_get_contents(); $this->assign('debug_output', ob_get_contents());ob_end_clean(); ?> -<?php if (isset ( $this->_tpl_vars['_smarty_debug_output'] ) && $this->_tpl_vars['_smarty_debug_output'] == 'html'): ?> - <?php echo $this->_tpl_vars['debug_output']; ?> - -<?php else: ?> -<script type="text/javascript"> -// <![CDATA[ - if ( self.name == '' ) { - var title = 'Console'; - } - else { - var title = 'Console_' + self.name; - } - _smarty_console = window.open("",title.value,"width=680,height=600,resizable,scrollbars=yes"); - _smarty_console.document.write('<?php echo ((is_array($_tmp=$this->_tpl_vars['debug_output'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript')); ?> -'); - _smarty_console.document.close(); -// ]]> -</script> -<?php endif; ?>
\ No newline at end of file diff --git a/tmp/templates_c/%%51^513^513E196B%%form.tpl.php b/tmp/templates_c/%%51^513^513E196B%%form.tpl.php deleted file mode 100644 index 6d7d738d67..0000000000 --- a/tmp/templates_c/%%51^513^513E196B%%form.tpl.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php /* Smarty version 2.6.18, created on 2007-08-30 11:23:07 - compiled from form.tpl */ ?> - -<form <?php echo $this->_tpl_vars['form_data']['attributes']; ?> -> -<!-- Output hidden fields --> -<?php echo $this->_tpl_vars['form_data']['hidden']; ?> - -<!-- Display the fields --> -<?php $_from = $this->_tpl_vars['list_elements']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['title'] => $this->_tpl_vars['data']): -?> - <h3><?php echo $this->_tpl_vars['title']; ?> -</h3> - <div class="centrer"> - <table class="centrer"> - <?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['fieldname']): -?> - <?php if ($this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['label']): ?> - <tr> - <td><?php echo $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['label']; ?> -</td> - <td><?php echo $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['html']; ?> -</td> - </tr> - <?php else: ?> - <?php $_from = $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['radio']): -?> - <tr> - <td><?php echo $this->_tpl_vars['radio']['label']; ?> -</td> - <td><?php echo $this->_tpl_vars['radio']['html']; ?> -</td> - </tr> - <?php endforeach; endif; unset($_from); ?> - <?php endif; ?> - <?php endforeach; endif; unset($_from); ?> - </table> - </div> -<?php endforeach; endif; unset($_from); ?> -<div class="boutonsAction"> - -</div> -</form>
\ No newline at end of file diff --git a/tmp/templates_c/%%61^614^614EB811%%genericForm.tpl.php b/tmp/templates_c/%%61^614^614EB811%%genericForm.tpl.php deleted file mode 100644 index 9ae4fecc4e..0000000000 --- a/tmp/templates_c/%%61^614^614EB811%%genericForm.tpl.php +++ /dev/null @@ -1,54 +0,0 @@ -<?php /* Smarty version 2.6.18, created on 2007-08-31 19:21:11 - compiled from genericForm.tpl */ ?> - -<?php if ($this->_tpl_vars['form_data']['errors']): ?> - <div id="adminErrors"> - <strong>Errors</strong> - <ul> - <?php $_from = $this->_tpl_vars['form_data']['errors']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['data']): -?> - <li><?php echo $this->_tpl_vars['data']; ?> -</li> - <?php endforeach; endif; unset($_from); ?> - </ul> - </div> -<?php endif; ?> - - -<form <?php echo $this->_tpl_vars['form_data']['attributes']; ?> -> -<!-- Output hidden fields --> - -<!-- Display the fields --> -<?php $_from = $this->_tpl_vars['element_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['title'] => $this->_tpl_vars['data']): -?> - <h3><?php echo $this->_tpl_vars['title']; ?> -</h3> - <div class="centrer"> - <table class="centrer"> - <?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['fieldname']): -?> - <?php if ($this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['label']): ?> - <tr> - <td><?php echo $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['label']; ?> -</td> - <td><?php echo $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['html']; ?> -</td> - </tr> - <?php elseif ($this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['type'] == 'hidden'): ?> - <tr><td colspan=2><?php echo $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['html']; ?> -</td></tr> - <?php endif; ?> - <?php endforeach; endif; unset($_from); ?> - </table> - </div> -<?php endforeach; endif; unset($_from); ?> -<div class="boutonsAction"> - -<?php echo $this->_tpl_vars['form_data']['submit']['html']; ?> - -</div> -</form>
\ No newline at end of file diff --git a/tmp/templates_c/%%6A^6A5^6A537DD8%%login.tpl.php b/tmp/templates_c/%%6A^6A5^6A537DD8%%login.tpl.php deleted file mode 100644 index d39c9b6da7..0000000000 --- a/tmp/templates_c/%%6A^6A5^6A537DD8%%login.tpl.php +++ /dev/null @@ -1,12 +0,0 @@ -<?php /* Smarty version 2.6.18, created on 2007-08-30 13:34:22 - compiled from login.tpl */ ?> -<?php if ($this->_tpl_vars['AccessErrorString']): ?> -<b><?php echo $this->_tpl_vars['AccessErrorString']; ?> -</b> -<?php endif; ?> - -<?php $_smarty_tpl_vars = $this->_tpl_vars; -$this->_smarty_include(array('smarty_include_tpl_file' => "genericForm.tpl", 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?>
\ No newline at end of file diff --git a/tmp/templates_c/%%86^864^8644F0D6%%home.tpl.php b/tmp/templates_c/%%86^864^8644F0D6%%home.tpl.php deleted file mode 100644 index 83ac6bdf46..0000000000 --- a/tmp/templates_c/%%86^864^8644F0D6%%home.tpl.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php /* Smarty version 2.6.18, created on 2007-08-30 11:20:11 - compiled from home.tpl */ ?> -<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); -smarty_core_load_plugins(array('plugins' => array(array('function', 'debug', 'home.tpl', 4, false),)), $this); ?> -Home TEMPLATE SMARTY - - -<?php echo smarty_function_debug(array(), $this);?> - - -<?php $_smarty_tpl_vars = $this->_tpl_vars; -$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['subTemplate'], 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?>
\ No newline at end of file diff --git a/tmp/templates_c/%%A6^A6A^A6A3DC79%%SitesManager.tpl.php b/tmp/templates_c/%%A6^A6A^A6A3DC79%%SitesManager.tpl.php deleted file mode 100644 index 15f1c776f7..0000000000 --- a/tmp/templates_c/%%A6^A6A^A6A3DC79%%SitesManager.tpl.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php /* Smarty version 2.6.18, created on 2007-09-03 13:48:31 - compiled from SitesManager/templates/SitesManager.tpl */ ?> -<?php echo ' -<style> -* { -font-family:Trebuchet MS,arial,sans-serif; -} - -textarea{ - font-family: Trebuchet MS, Verdana; - font-size:0.85em; - -} - -#editSites{ - valign:top; -} -</style> -'; ?> - -<script type="text/javascript" src="libs/jquery/jquery.js"></script> - -<h2>Sites</h2> -<div id="ajaxError" style="display:none"></div> -<div id="ajaxLoading" style="display:none">Loading... <img src="themes/default/loading.gif"></div> - -<table id="editSites" border=1 cellpadding="10"> - <tbody> - <tr> - <td>Id</td> - <td>Name</td> - <td>URLs</td> - </tr> - - <?php $_from = $this->_tpl_vars['sites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['i'] => $this->_tpl_vars['site']): -?> - <tr id="row<?php echo $this->_tpl_vars['i']; ?> -"> - <td id="idSite"><?php echo $this->_tpl_vars['site']['idsite']; ?> -</td> - <td id="name" class="editableSite"><?php echo $this->_tpl_vars['site']['name']; ?> -</td> - <td id="urls" class="editableSite"><?php $_from = $this->_tpl_vars['site']['alias_urls']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['url']): -?><?php echo $this->_tpl_vars['url']; ?> -<br><?php endforeach; endif; unset($_from); ?></td> - <td><img src='plugins/UsersManager/images/edit.png' class="editSite" id="row<?php echo $this->_tpl_vars['i']; ?> -" href='#'></td> - <td><img src='plugins/UsersManager/images/remove.png' class="deleteSite" id="row<?php echo $this->_tpl_vars['i']; ?> -" value="Delete"></td> - - </tr> - <?php endforeach; endif; unset($_from); ?> - - </tbody> -</table> -<div id="addRowSite"><img src='plugins/UsersManager/images/add.png'> <a href="#">Add a new Site</a></div> - -<script type="text/javascript" src="plugins/UsersManager/templates/UsersManager.js"></script> -<script type="text/javascript" src="plugins/SitesManager/templates/SitesManager.js"></script>
\ No newline at end of file |