Removed file/folder
git-svn-id: https://192.168.0.254/svn/Proyectos.ConstruccionesCNJ_Web/trunk@7 a1d75475-e439-6a4c-b115-a3aab481e8ec
This commit is contained in:
parent
dd4c84c533
commit
ac81c47837
@ -1,9 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:43:53
|
||||
compiled from gallery:themes/siriux/templates/module.tpl */ ?>
|
||||
<div class="gbBlock">
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['theme']['moduleTemplate']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['theme']['moduleL10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
</div>
|
||||
@ -1,63 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:41:47
|
||||
compiled from gallery:modules/publishxp/templates/SelectAlbum.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'repeat', 'gallery:modules/publishxp/templates/SelectAlbum.tpl', 31, false),array('modifier', 'default', 'gallery:modules/publishxp/templates/SelectAlbum.tpl', 32, false),)), $this); ?>
|
||||
<form action="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
" enctype="application/x-www-form-urlencoded" method="post"
|
||||
id="publishXpForm">
|
||||
<div>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
<?php ob_start(); echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=publishxp.NewAlbum"), $this); $this->_smarty_vars['capture']['url'] = ob_get_contents(); ob_end_clean(); ?>
|
||||
setSubtitle("<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Choose an album for new photos, or create a new album.",'arg1' => $this->_smarty_vars['capture']['url'],'forJavascript' => true), $this);?>
|
||||
");
|
||||
setOnBackUrl("<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=publishxp.SelectAlbum"), $this);?>
|
||||
");
|
||||
setSubmitOnNext(true);
|
||||
setButtons(false, true, false);
|
||||
// ]]>
|
||||
</script>
|
||||
<?php echo $this->_reg_objects['g'][0]->hiddenFormVars(array(), $this);?>
|
||||
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'controller'), $this);?>
|
||||
" value="publishxp.SelectAlbum"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formName]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['formName']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][select]"), $this);?>
|
||||
" value="1"/>
|
||||
</div>
|
||||
<div class="gbBlock">
|
||||
<div>
|
||||
<select id="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[albumId]"), $this);?>
|
||||
" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[albumId]"), $this);?>
|
||||
"
|
||||
size="15" width="40" style="width: 100%; margin-top: 10px">
|
||||
<?php $_from = $this->_tpl_vars['SelectAlbum']['albumTree']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['album']):
|
||||
?>
|
||||
<option value="<?php echo $this->_tpl_vars['album']['data']['id']; ?>
|
||||
"
|
||||
<?php if (( $this->_tpl_vars['album']['data']['id'] == $this->_tpl_vars['form']['albumId'] )): ?>selected="selected"<?php endif; ?>>
|
||||
<?php echo ((is_array($_tmp=" ")) ? $this->_run_mod_handler('repeat', true, $_tmp, $this->_tpl_vars['album']['depth']) : smarty_modifier_repeat($_tmp, $this->_tpl_vars['album']['depth'])); ?>
|
||||
--
|
||||
<?php echo ((is_array($_tmp=@$this->_tpl_vars['album']['data']['title'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['album']['data']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['album']['data']['pathComponent'])); ?>
|
||||
|
||||
</option>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</select>
|
||||
<script type="text/javascript">document.getElementById('publishXpForm')['<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[albumId]"), $this);?>
|
||||
'].focus();</script>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][newAlbum]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'New Album'), $this);?>
|
||||
"/>
|
||||
<?php if (isset ( $this->_tpl_vars['form']['error']['albumId']['missing'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'You must select an album'), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@ -1,86 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:44:18
|
||||
compiled from gallery:themes/CNJ/templates/photo.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('function', 'math', 'gallery:themes/CNJ/templates/photo.tpl', 55, false),array('modifier', 'markup', 'gallery:themes/CNJ/templates/photo.tpl', 57, false),array('modifier', 'default', 'gallery:themes/CNJ/templates/photo.tpl', 57, false),)), $this); ?>
|
||||
<div class="breadcrumb">
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.BreadCrumb",'skipRoot' => true,'separator' => "/"), $this);?>
|
||||
|
||||
</div>
|
||||
<?php if (! empty ( $this->_tpl_vars['theme']['imageViews'] )): $this->assign('image', $this->_tpl_vars['theme']['imageViews'][$this->_tpl_vars['theme']['imageViewsIndex']]); endif; if (! empty ( $this->_tpl_vars['theme']['imageViews'] )): ob_start(); ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.DownloadItem",'arg2' => "itemId=".($this->_tpl_vars['theme']['item']['id']),'forceFullUrl' => true,'forceSessionId' => true), $this);?>
|
||||
">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Download %s",'arg1' => $this->_tpl_vars['theme']['sourceImage']['itemTypeName']['1']), $this);?>
|
||||
|
||||
</a>
|
||||
<?php $this->_smarty_vars['capture']['fallback'] = ob_get_contents(); ob_end_clean(); if (( $this->_tpl_vars['image']['viewInline'] )): ?>
|
||||
<div class="gallery-photo">
|
||||
<?php if ($this->_tpl_vars['theme']['params']['enableImageMap']): echo ''; if (isset ( $this->_tpl_vars['theme']['navigator']['back'] )): echo '<a href="'; echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['theme']['navigator']['back']['urlParams']), $this); echo '"id="prevArrow" style="position: absolute; margin: 30px 0 0 30px; visibility: hidden"onmouseover="document.getElementById(\'prevArrow\').style.visibility=\'visible\'"onmouseout="document.getElementById(\'prevArrow\').style.visibility=\'hidden\'"><img src="'; echo $this->_reg_objects['g'][0]->theme(array('url' => "images/arrow-left.gif"), $this); echo '" alt="" width="20" height="17"/></a>'; endif; echo ''; echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['theme']['item'],'image' => $this->_tpl_vars['image'],'class' => "gallery-photo",'fallback' => $this->_smarty_vars['capture']['fallback'],'usemap' => "#prevnext"), $this); echo ''; if (isset ( $this->_tpl_vars['theme']['navigator']['next'] )): echo '<a href="'; echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['theme']['navigator']['next']['urlParams']), $this); echo '"id="nextArrow" style="position:absolute; margin: 30px 0 0 -50px; visibility: hidden"onmouseover="document.getElementById(\'nextArrow\').style.visibility=\'visible\'"onmouseout="document.getElementById(\'nextArrow\').style.visibility=\'hidden\'"><img src="'; echo $this->_reg_objects['g'][0]->theme(array('url' => "images/arrow-right.gif"), $this); echo '" alt="" width="20" height="17"/></a>'; endif; echo ''; else: echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['theme']['item'],'image' => $this->_tpl_vars['image'],'class' => "gallery-photo",'fallback' => $this->_smarty_vars['capture']['fallback']), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php else: echo $this->_smarty_vars['capture']['fallback']; ?>
|
||||
|
||||
<?php endif; else: echo $this->_reg_objects['g'][0]->text(array('text' => "There is nothing to view for this item."), $this);?>
|
||||
|
||||
<?php endif; if ($this->_tpl_vars['theme']['params']['enableImageMap'] && ! empty ( $this->_tpl_vars['image']['width'] ) && ! empty ( $this->_tpl_vars['image']['height'] )): ?>
|
||||
<map id="prevnext" name="prevnext">
|
||||
<?php if (isset ( $this->_tpl_vars['theme']['navigator']['back'] )): ?>
|
||||
<area shape="rect" coords="0,0,<?php echo smarty_function_math(array('equation' => "round(x/2-1)",'x' => $this->_tpl_vars['image']['width']), $this);?>
|
||||
,<?php echo $this->_tpl_vars['image']['height']; ?>
|
||||
"
|
||||
href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['theme']['navigator']['back']['urlParams']), $this);?>
|
||||
"
|
||||
alt="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['theme']['item']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp, 'strip') : smarty_modifier_markup($_tmp, 'strip')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['theme']['item']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['theme']['item']['pathComponent'])); ?>
|
||||
"
|
||||
onmouseover="document.getElementById('prevArrow').style.visibility='visible'"
|
||||
onmouseout="document.getElementById('prevArrow').style.visibility='hidden'"/>
|
||||
<?php endif; if (isset ( $this->_tpl_vars['theme']['navigator']['next'] )): ?>
|
||||
<area shape="rect" coords="<?php echo smarty_function_math(array('equation' => "round(x/2)",'x' => $this->_tpl_vars['image']['width']), $this);?>
|
||||
,0,<?php echo $this->_tpl_vars['image']['width']; ?>
|
||||
,<?php echo $this->_tpl_vars['image']['height']; ?>
|
||||
"
|
||||
href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['theme']['navigator']['next']['urlParams']), $this);?>
|
||||
"
|
||||
alt="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['theme']['item']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp, 'strip') : smarty_modifier_markup($_tmp, 'strip')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['theme']['item']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['theme']['item']['pathComponent'])); ?>
|
||||
"
|
||||
onmouseover="document.getElementById('nextArrow').style.visibility='visible'"
|
||||
onmouseout="document.getElementById('nextArrow').style.visibility='hidden'"/>
|
||||
<?php endif; ?>
|
||||
</map>
|
||||
<?php endif; ?>
|
||||
<br style="clear: both;" />
|
||||
<?php if (! empty ( $this->_tpl_vars['theme']['navigator'] )): echo $this->_reg_objects['g'][0]->callback(array('type' => "core.LoadPeers",'item' => $this->_tpl_vars['theme']['item'],'windowSize' => 1), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.Navigator",'navigator' => $this->_tpl_vars['theme']['navigator'],'prefix' => "« ",'suffix' => " »",'currentItem' => $this->_tpl_vars['block']['core']['LoadPeers']['thisPeerIndex'],'totalItems' => $this->_tpl_vars['block']['core']['LoadPeers']['peerCount']), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
<hr/>
|
||||
<?php if (! empty ( $this->_tpl_vars['theme']['item']['description'] ) && ( $this->_tpl_vars['theme']['item']['description'] != $this->_tpl_vars['theme']['item']['title'] )): ?>
|
||||
<p><?php echo ((is_array($_tmp=$this->_tpl_vars['theme']['item']['description'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
</p>
|
||||
<?php endif; if ($this->_tpl_vars['user']['isRegisteredUser']): if (! empty ( $this->_tpl_vars['theme']['sourceImage'] ) && ( count ( $this->_tpl_vars['theme']['imageViews'] ) > 1 || $this->_tpl_vars['theme']['sourceImage']['mimeType'] != $this->_tpl_vars['theme']['item']['mimeType'] )): ?>
|
||||
<p>
|
||||
<?php if ($this->_tpl_vars['theme']['sourceImage']['mimeType'] != $this->_tpl_vars['theme']['item']['mimeType']): ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.DownloadItem",'arg2' => "itemId=".($this->_tpl_vars['theme']['item']['id'])), $this);?>
|
||||
">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Download %s in original format",'arg1' => $this->_tpl_vars['theme']['sourceImage']['itemTypeName']['1']), $this);?>
|
||||
|
||||
<?php else: ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.DownloadItem",'arg2' => "itemId=".($this->_tpl_vars['theme']['sourceImage']['id'])), $this);?>
|
||||
">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Download %s",'arg1' => $this->_tpl_vars['theme']['sourceImage']['itemTypeName']['1']), $this);?>
|
||||
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['theme']['sourceImage']['width'] )): echo $this->_reg_objects['g'][0]->text(array('text' => "(%dx%d)",'arg1' => $this->_tpl_vars['theme']['sourceImage']['width'],'arg2' => $this->_tpl_vars['theme']['sourceImage']['height']), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
</p>
|
||||
<?php endif; $_from = $this->_tpl_vars['theme']['params']['photoBlocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['block']):
|
||||
echo $this->_reg_objects['g'][0]->block(array('type' => $this->_tpl_vars['block']['0'],'params' => $this->_tpl_vars['block']['1']), $this);?>
|
||||
|
||||
<?php endforeach; endif; unset($_from); echo $this->_reg_objects['g'][0]->block(array('type' => "core.GuestPreview",'class' => 'gbBlock'), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.EmergencyEditItemLink",'class' => 'gbBlock','checkBlocks' => 'photo'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
@ -1,135 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:41:51
|
||||
compiled from gallery:modules/publishxp/templates/NewAlbum.tpl */ ?>
|
||||
<form action="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
" enctype="application/x-www-form-urlencoded" method="post"
|
||||
id="publishXpForm">
|
||||
<div>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
setSubtitle("<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Specify the name and title for the new album.",'forJavascript' => true), $this);?>
|
||||
");
|
||||
setSubmitOnNext(true);
|
||||
setOnBackUrl("<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=publishxp.SelectAlbum",'htmlEntities' => false), $this);?>
|
||||
");
|
||||
setButtons(true, true, false);
|
||||
// ]]>
|
||||
</script>
|
||||
<?php echo $this->_reg_objects['g'][0]->hiddenFormVars(array(), $this);?>
|
||||
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'controller'), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['controller']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formName]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['formName']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[parentId]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['parentId']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][newAlbum]"), $this);?>
|
||||
" value="1"/>
|
||||
</div>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<h2>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Create a new album'), $this);?>
|
||||
|
||||
</h2>
|
||||
</div>
|
||||
<div class="gbBlock">
|
||||
<h4>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Name'), $this);?>
|
||||
|
||||
<span class="giSubtitle"> <?php echo $this->_reg_objects['g'][0]->text(array('text' => "(required)"), $this);?>
|
||||
</span>
|
||||
</h4>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "The name of this album on your hard disk. It must be unique in this album. Only use alphanumeric characters, underscores or dashes. You will be able to rename it later."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php echo ''; $_from = $this->_tpl_vars['NewAlbum']['parents']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['parent']):
|
||||
echo ''; echo $this->_tpl_vars['parent']['pathComponent']; echo '/'; endforeach; endif; unset($_from); echo ''; ?>
|
||||
|
||||
<input type="text" size="10"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[pathComponent]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['pathComponent']; ?>
|
||||
"/>
|
||||
<script type="text/javascript">document.getElementById('publishXpForm')['<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[pathComponent]"), $this);?>
|
||||
'].focus();</script>
|
||||
<?php if (! empty ( $this->_tpl_vars['form']['error']['pathComponent']['invalid'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Your name contains invalid characters. Please enter another."), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['form']['error']['pathComponent']['missing'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "You must enter a name for this album."), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<h4>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Title'), $this);?>
|
||||
|
||||
</h4>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "This is the album title."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:modules/core/templates/MarkupBar.tpl", 'smarty_include_vars' => array('viewL10domain' => 'modules_core','element' => 'title','firstMarkupBar' => true)));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<input type="text" id="title" size="40" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[title]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['title']; ?>
|
||||
"/>
|
||||
<?php if (! empty ( $this->_tpl_vars['form']['error']['title']['missing'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "You must enter a name for this album."), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<h4>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Summary'), $this);?>
|
||||
|
||||
</h4>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "This is the album summary."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:modules/core/templates/MarkupBar.tpl", 'smarty_include_vars' => array('viewL10domain' => 'modules_core','element' => 'summary')));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<input type="text" id="summary" size="40" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[summary]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['summary']; ?>
|
||||
"/>
|
||||
<h4>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Keywords'), $this);?>
|
||||
|
||||
</h4>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Keywords are not visible, but are searchable."), $this);?>
|
||||
|
||||
</p>
|
||||
<textarea rows="2" cols="58" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[keywords]"), $this);?>
|
||||
"><?php echo $this->_tpl_vars['form']['keywords']; ?>
|
||||
</textarea>
|
||||
<h4 class="giTitle">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Description'), $this);?>
|
||||
|
||||
</h4>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "This is the long description of the album."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:modules/core/templates/MarkupBar.tpl", 'smarty_include_vars' => array('viewL10domain' => 'modules_core','element' => 'description')));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<textarea id="description" rows="4" cols="58" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[description]"), $this);?>
|
||||
"><?php echo $this->_tpl_vars['form']['description']; ?>
|
||||
</textarea>
|
||||
</div>
|
||||
</form>
|
||||
@ -1,58 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-10-31 13:10:59
|
||||
compiled from gallery:modules/core/templates/UserAdmin.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'gallery:modules/core/templates/UserAdmin.tpl', 8, false),)), $this); ?>
|
||||
<form action="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
" method="post" id="userAdminForm"
|
||||
enctype="<?php echo ((is_array($_tmp=@$this->_tpl_vars['UserAdmin']['enctype'])) ? $this->_run_mod_handler('default', true, $_tmp, "application/x-www-form-urlencoded") : smarty_modifier_default($_tmp, "application/x-www-form-urlencoded")); ?>
|
||||
">
|
||||
<div>
|
||||
<?php echo $this->_reg_objects['g'][0]->hiddenFormVars(array(), $this);?>
|
||||
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'controller'), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['controller']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formName]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['formName']; ?>
|
||||
"/>
|
||||
</div>
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td id="gsSidebarCol"><div id="gsSidebar" class="gcBorder1">
|
||||
<div class="gbBlock">
|
||||
<h2> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'User Options'), $this);?>
|
||||
</h2>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['UserAdmin']['subViewChoices']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['choice']):
|
||||
?>
|
||||
<li class="<?php echo $this->_reg_objects['g'][0]->linkId(array('urlParams' => $this->_tpl_vars['choice']), $this);?>
|
||||
">
|
||||
<?php if (( $this->_tpl_vars['UserAdmin']['subViewName'] == $this->_tpl_vars['choice']['view'] )): echo $this->_tpl_vars['choice']['name']; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.UserAdmin",'arg2' => "subView=".($this->_tpl_vars['choice']['view'])), $this);?>
|
||||
">
|
||||
<?php echo $this->_tpl_vars['choice']['name']; ?>
|
||||
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.NavigationLinks",'class' => 'gbBlock','navigationLinks' => $this->_tpl_vars['UserAdmin']['navigationLinks']), $this);?>
|
||||
|
||||
</div></td>
|
||||
<td>
|
||||
<div id="gsContent" class="gcBorder1">
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['UserAdmin']['viewBodyFile']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['UserAdmin']['viewL10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@ -1,87 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-10-31 13:10:59
|
||||
compiled from gallery:modules/core/templates/UserLogin.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'gallery:modules/core/templates/UserLogin.tpl', 50, false),array('modifier', 'default', 'gallery:modules/core/templates/UserLogin.tpl', 65, false),)), $this); ?>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<h2> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Login to your account'), $this);?>
|
||||
</h2>
|
||||
</div>
|
||||
<?php ob_start(); echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.UserAdmin",'arg2' => "subView=core.UserRecoverPassword",'arg3' => "return=1"), $this); $this->_smarty_vars['capture']['recoverUrl'] = ob_get_contents(); ob_end_clean(); if ($this->_tpl_vars['user']['isGuest']): ?>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'return'), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['returnUrl']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[returnUrl]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['returnUrl']; ?>
|
||||
"/>
|
||||
<div class="gbBlock">
|
||||
<?php if (isset ( $this->_tpl_vars['status']['passwordRecovered'] )): ?>
|
||||
<div class="gbBlock"><h2 class="giSuccess">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Your password has been recovered, please login."), $this);?>
|
||||
|
||||
</h2></div>
|
||||
<?php endif; ?>
|
||||
<h4> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Username'), $this);?>
|
||||
</h4>
|
||||
<input type="text" id="giFormUsername" size="16"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[username]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['username']; ?>
|
||||
"/>
|
||||
<script type="text/javascript">
|
||||
document.getElementById('userAdminForm')['<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[username]"), $this);?>
|
||||
'].focus();
|
||||
</script>
|
||||
<?php if (isset ( $this->_tpl_vars['form']['error']['username']['missing'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'You must enter a username'), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; if (isset ( $this->_tpl_vars['form']['error']['username']['disabled'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Logins to this account are temporarily disabled due to multiple failed login attempts. Wait for access to be restored, or use the <a href=\"%s\">recover password</a> page to re-enable this account.",'arg1' => $this->_smarty_vars['capture']['recoverUrl']), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<h4> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Password'), $this);?>
|
||||
</h4>
|
||||
<input type="password" id="giFormPassword" size="16" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[password]"), $this);?>
|
||||
"/>
|
||||
<?php if (isset ( $this->_tpl_vars['form']['error']['password']['missing'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'You must enter a password'), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; if (isset ( $this->_tpl_vars['form']['error']['invalidPassword'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Your login information is incorrect. Please try again."), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php echo $this->_reg_objects['g'][0]->callback(array('type' => "core.LoadValidationPlugins",'key' => ((is_array($_tmp="core.UserLogin.")) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['form']['username']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['form']['username']))), $this);?>
|
||||
|
||||
<?php $_from = $this->_tpl_vars['block']['core']['ValidationPlugins']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plugin']):
|
||||
$_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['plugin']['file']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['plugin']['l10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
endforeach; endif; unset($_from); ?>
|
||||
<div class="gbBlock">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Lost or forgotten passwords can be retrieved using the <a href=\"%s\">recover password</a> page",'arg1' => $this->_smarty_vars['capture']['recoverUrl']), $this);?>
|
||||
|
||||
</div>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][login]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Login'), $this);?>
|
||||
"/>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][cancel]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Cancel'), $this);?>
|
||||
"/>
|
||||
</div>
|
||||
<?php else: ?> <div class="gbBlock">
|
||||
<h4> <?php echo $this->_reg_objects['g'][0]->text(array('text' => "Welcome, %s!",'arg1' => ((is_array($_tmp=@$this->_tpl_vars['user']['fullName'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['user']['userName']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['user']['userName']))), $this);?>
|
||||
</h4>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
@ -1,212 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:39
|
||||
compiled from gallery:themes/ajaxian/templates/album.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'markup', 'gallery:themes/ajaxian/templates/album.tpl', 7, false),array('modifier', 'default', 'gallery:themes/ajaxian/templates/album.tpl', 7, false),array('modifier', 'entitytruncate', 'gallery:themes/ajaxian/templates/album.tpl', 110, false),)), $this); ?>
|
||||
<h2 id="item-title"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['theme']['item']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, ' ') : smarty_modifier_default($_tmp, ' ')); ?>
|
||||
</h2>
|
||||
<p>ljlksjflfsdjljlfsd</p>
|
||||
<?php if (! empty ( $this->_tpl_vars['theme']['navigator'] )): ?>
|
||||
<div class="gbBlock gcBackground2 gbNavigator">
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.Navigator",'navigator' => $this->_tpl_vars['theme']['navigator'],'reverseOrder' => true), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; if (! count ( $this->_tpl_vars['theme']['children'] )): ?>
|
||||
<div class="gbBlock giDescription gbEmptyAlbum">
|
||||
<p class="emptyAlbum">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "This album is empty."), $this);?>
|
||||
|
||||
<?php if (isset ( $this->_tpl_vars['theme']['permissions']['core_addDataItem'] )): ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ItemAdmin",'arg2' => "subView=core.ItemAdd",'arg3' => "itemId=".($this->_tpl_vars['theme']['item']['id'])), $this);?>
|
||||
"><?php echo $this->_reg_objects['g'][0]->text(array('text' => "Add a photo!"), $this);?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div id="main-image-container">
|
||||
<div id="slideshow-controls">
|
||||
<ul id="control-buttons">
|
||||
<li><button id="controls-left">
|
||||
<img src="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "images/controls-left.png"), $this);?>
|
||||
" alt="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Left'), $this);?>
|
||||
" />
|
||||
</button></li>
|
||||
<li><button id="controls-play">
|
||||
<img src="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "images/controls-play.png"), $this);?>
|
||||
" alt="<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Play/Pause"), $this);?>
|
||||
" />
|
||||
</button></li>
|
||||
<li><button id="controls-right">
|
||||
<img src="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "images/controls-right.png"), $this);?>
|
||||
" alt="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Right'), $this);?>
|
||||
" />
|
||||
</button></li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php if ($this->_tpl_vars['theme']['imageCount'] > 0): ?>
|
||||
<div id="sliding-frame">
|
||||
<div id="loading">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Loading Album..."), $this);?>
|
||||
|
||||
</div>
|
||||
<p><img src="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "images/blank.png"), $this);?>
|
||||
"
|
||||
alt="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Main image placeholder'), $this);?>
|
||||
" id="main-image" /></p>
|
||||
</div>
|
||||
<?php endif; $this->assign('childrenInColumnCount', 0); $this->assign('subalbumCount', 0); ?>
|
||||
<div id="thumbs-container">
|
||||
<table id="gsThumbMatrix">
|
||||
<tr valign="top">
|
||||
<?php $_from = $this->_tpl_vars['theme']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['child']):
|
||||
if (! $this->_tpl_vars['child']['canContainChildren'] && $this->_tpl_vars['child']['entityType'] != 'GalleryLinkItem'): if (( $this->_tpl_vars['childrenInColumnCount'] == $this->_tpl_vars['theme']['params']['columns'] )): ?>
|
||||
</tr><tr valign="top">
|
||||
<?php $this->assign('childrenInColumnCount', 0); endif; $this->assign('childrenInColumnCount', ($this->_tpl_vars['childrenInColumnCount']+1)); ?>
|
||||
<td class="giItemCell">
|
||||
<?php if (isset ( $this->_tpl_vars['theme']['params']['itemFrame'] ) && isset ( $this->_tpl_vars['child']['thumbnail'] )): $this->_tag_stack[] = array('container', array('type' => "imageframe.ImageFrame",'frame' => $this->_tpl_vars['theme']['params']['itemFrame']), $this); $_block_repeat=true; $this->_reg_objects['g'][0]->container($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['theme']['pageUrl'],'arg1' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
"><?php echo $this->_reg_objects['g'][0]->image(array('id' => "%ID%",'item' => $this->_tpl_vars['child'],'image' => $this->_tpl_vars['child']['thumbnail'],'class' => "%CLASS% giThumbnail size:=".($this->_tpl_vars['child']['size'])."= summary:=".($this->_tpl_vars['child']['summary'])."= description:=".($this->_tpl_vars['child']['description'])."="), $this);?>
|
||||
</a>
|
||||
<?php $_obj_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo $this->_reg_objects['g'][0]->container($this->_tag_stack[count($this->_tag_stack)-1][1], $_obj_block_content, $this, $_block_repeat);} array_pop($this->_tag_stack);?>
|
||||
|
||||
<?php elseif (isset ( $this->_tpl_vars['child']['thumbnail'] )): ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['theme']['pageUrl'],'arg1' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
"><?php echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['child'],'image' => $this->_tpl_vars['child']['thumbnail'],'class' => "r giThumbnail size:=".($this->_tpl_vars['child']['size'])."= summary:=".($this->_tpl_vars['child']['summary'])."= description:=".($this->_tpl_vars['child']['description'])."="), $this);?>
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['theme']['pageUrl'],'arg1' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
"
|
||||
class="giMissingThumbnail">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'no thumbnail'), $this);?>
|
||||
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<?php else: $this->assign('subalbumCount', ($this->_tpl_vars['subalbumCount']+1)); endif; endforeach; endif; unset($_from); unset($this->_sections['flush']);
|
||||
$this->_sections['flush']['name'] = 'flush';
|
||||
$this->_sections['flush']['start'] = (int)$this->_tpl_vars['childrenInColumnCount'];
|
||||
$this->_sections['flush']['loop'] = is_array($_loop=$this->_tpl_vars['theme']['params']['columns']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
|
||||
$this->_sections['flush']['show'] = true;
|
||||
$this->_sections['flush']['max'] = $this->_sections['flush']['loop'];
|
||||
$this->_sections['flush']['step'] = 1;
|
||||
if ($this->_sections['flush']['start'] < 0)
|
||||
$this->_sections['flush']['start'] = max($this->_sections['flush']['step'] > 0 ? 0 : -1, $this->_sections['flush']['loop'] + $this->_sections['flush']['start']);
|
||||
else
|
||||
$this->_sections['flush']['start'] = min($this->_sections['flush']['start'], $this->_sections['flush']['step'] > 0 ? $this->_sections['flush']['loop'] : $this->_sections['flush']['loop']-1);
|
||||
if ($this->_sections['flush']['show']) {
|
||||
$this->_sections['flush']['total'] = min(ceil(($this->_sections['flush']['step'] > 0 ? $this->_sections['flush']['loop'] - $this->_sections['flush']['start'] : $this->_sections['flush']['start']+1)/abs($this->_sections['flush']['step'])), $this->_sections['flush']['max']);
|
||||
if ($this->_sections['flush']['total'] == 0)
|
||||
$this->_sections['flush']['show'] = false;
|
||||
} else
|
||||
$this->_sections['flush']['total'] = 0;
|
||||
if ($this->_sections['flush']['show']):
|
||||
|
||||
for ($this->_sections['flush']['index'] = $this->_sections['flush']['start'], $this->_sections['flush']['iteration'] = 1;
|
||||
$this->_sections['flush']['iteration'] <= $this->_sections['flush']['total'];
|
||||
$this->_sections['flush']['index'] += $this->_sections['flush']['step'], $this->_sections['flush']['iteration']++):
|
||||
$this->_sections['flush']['rownum'] = $this->_sections['flush']['iteration'];
|
||||
$this->_sections['flush']['index_prev'] = $this->_sections['flush']['index'] - $this->_sections['flush']['step'];
|
||||
$this->_sections['flush']['index_next'] = $this->_sections['flush']['index'] + $this->_sections['flush']['step'];
|
||||
$this->_sections['flush']['first'] = ($this->_sections['flush']['iteration'] == 1);
|
||||
$this->_sections['flush']['last'] = ($this->_sections['flush']['iteration'] == $this->_sections['flush']['total']);
|
||||
?>
|
||||
<td> </td>
|
||||
<?php endfor; endif; ?>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?php $this->assign('childrenInColumnCount', 0); if ($this->_tpl_vars['subalbumCount'] > 0): ?>
|
||||
<div id="subalbums-container">
|
||||
<h3><?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Subalbums'), $this);?>
|
||||
</h3>
|
||||
<table id="gsSubAlbumMatrix">
|
||||
<tr valign="top">
|
||||
<?php $_from = $this->_tpl_vars['theme']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['child']):
|
||||
if ($this->_tpl_vars['child']['canContainChildren'] || $this->_tpl_vars['child']['entityType'] == 'GalleryLinkItem'): if (( $this->_tpl_vars['childrenInColumnCount'] == 2 )): ?>
|
||||
</tr><tr>
|
||||
<?php $this->assign('childrenInColumnCount', 0); endif; $this->assign('childrenInColumnCount', ($this->_tpl_vars['childrenInColumnCount']+1)); ?>
|
||||
<td class="giAlbumCell gcBackground1">
|
||||
<?php if (isset ( $this->_tpl_vars['child']['thumbnail'] )): ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
">
|
||||
<?php echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['child'],'image' => $this->_tpl_vars['child']['thumbnail'],'class' => 'giThumbnail'), $this);?>
|
||||
|
||||
<?php echo ((is_array($_tmp=$this->_tpl_vars['child']['title'])) ? $this->_run_mod_handler('entitytruncate', true, $_tmp, 25) : smarty_modifier_entitytruncate($_tmp, 25)); ?>
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
"
|
||||
class="giMissingThumbnail">
|
||||
<img src="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "images/missing.png"), $this);?>
|
||||
" width="40" height="40"
|
||||
alt="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'no thumbnail'), $this);?>
|
||||
" />
|
||||
<?php echo ((is_array($_tmp=$this->_tpl_vars['child']['title'])) ? $this->_run_mod_handler('entitytruncate', true, $_tmp, 25) : smarty_modifier_entitytruncate($_tmp, 25)); ?>
|
||||
</a>
|
||||
<?php endif; echo $this->_reg_objects['g'][0]->block(array('type' => "core.ItemInfo",'item' => $this->_tpl_vars['child'],'showDate' => false,'showOwner' => $this->_tpl_vars['theme']['params']['showAlbumOwner'],'showSize' => true,'showViewCount' => true,'showSummaries' => true,'class' => 'giInfo'), $this);?>
|
||||
|
||||
</td>
|
||||
<?php endif; endforeach; endif; unset($_from); unset($this->_sections['flush']);
|
||||
$this->_sections['flush']['name'] = 'flush';
|
||||
$this->_sections['flush']['start'] = (int)$this->_tpl_vars['childrenInColumnCount'];
|
||||
$this->_sections['flush']['loop'] = is_array($_loop=2) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
|
||||
$this->_sections['flush']['show'] = true;
|
||||
$this->_sections['flush']['max'] = $this->_sections['flush']['loop'];
|
||||
$this->_sections['flush']['step'] = 1;
|
||||
if ($this->_sections['flush']['start'] < 0)
|
||||
$this->_sections['flush']['start'] = max($this->_sections['flush']['step'] > 0 ? 0 : -1, $this->_sections['flush']['loop'] + $this->_sections['flush']['start']);
|
||||
else
|
||||
$this->_sections['flush']['start'] = min($this->_sections['flush']['start'], $this->_sections['flush']['step'] > 0 ? $this->_sections['flush']['loop'] : $this->_sections['flush']['loop']-1);
|
||||
if ($this->_sections['flush']['show']) {
|
||||
$this->_sections['flush']['total'] = min(ceil(($this->_sections['flush']['step'] > 0 ? $this->_sections['flush']['loop'] - $this->_sections['flush']['start'] : $this->_sections['flush']['start']+1)/abs($this->_sections['flush']['step'])), $this->_sections['flush']['max']);
|
||||
if ($this->_sections['flush']['total'] == 0)
|
||||
$this->_sections['flush']['show'] = false;
|
||||
} else
|
||||
$this->_sections['flush']['total'] = 0;
|
||||
if ($this->_sections['flush']['show']):
|
||||
|
||||
for ($this->_sections['flush']['index'] = $this->_sections['flush']['start'], $this->_sections['flush']['iteration'] = 1;
|
||||
$this->_sections['flush']['iteration'] <= $this->_sections['flush']['total'];
|
||||
$this->_sections['flush']['index'] += $this->_sections['flush']['step'], $this->_sections['flush']['iteration']++):
|
||||
$this->_sections['flush']['rownum'] = $this->_sections['flush']['iteration'];
|
||||
$this->_sections['flush']['index_prev'] = $this->_sections['flush']['index'] - $this->_sections['flush']['step'];
|
||||
$this->_sections['flush']['index_next'] = $this->_sections['flush']['index'] + $this->_sections['flush']['step'];
|
||||
$this->_sections['flush']['first'] = ($this->_sections['flush']['iteration'] == 1);
|
||||
$this->_sections['flush']['last'] = ($this->_sections['flush']['iteration'] == $this->_sections['flush']['total']);
|
||||
?>
|
||||
<td> </td>
|
||||
<?php endfor; endif; ?>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<?php endif; endif; if (! empty ( $this->_tpl_vars['theme']['navigator'] )): ?>
|
||||
<div class="gbBlock gcBackground2 gbNavigator">
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.Navigator",'navigator' => $this->_tpl_vars['theme']['navigator']), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
var slideshowImageWidths = new Array(<?php if ($this->_tpl_vars['theme']['imageCount'] == 1): ?>1);
|
||||
slideshowImageWidths[0] = <?php echo $this->_tpl_vars['theme']['imageWidths']; ?>
|
||||
;
|
||||
<?php else: echo $this->_tpl_vars['theme']['imageWidths']; ?>
|
||||
);<?php endif; ?>
|
||||
var slideshowImages = new Array();
|
||||
<?php $_from = $this->_tpl_vars['theme']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['i'] => $this->_tpl_vars['it']):
|
||||
if (! $this->_tpl_vars['it']['canContainChildren'] && $this->_tpl_vars['it']['entityType'] != 'GalleryLinkItem'): ?>
|
||||
slideshowImages.push('<?php if (isset ( $this->_tpl_vars['it']['image'] )): echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.DownloadItem",'arg2' => "itemId=".($this->_tpl_vars['it']['image']['id']),'arg3' => "serialNumber=".($this->_tpl_vars['it']['image']['serialNumber']),'htmlEntities' => false), $this); else: echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['theme']['pageUrl'],'arg1' => "itemId=".($this->_tpl_vars['it']['id']),'htmlEntities' => false), $this); endif; ?>');
|
||||
<?php endif; endforeach; endif; unset($_from); ?>
|
||||
// ]]>
|
||||
</script>
|
||||
<?php $_from = $this->_tpl_vars['theme']['params']['albumBlocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['block']):
|
||||
echo $this->_reg_objects['g'][0]->block(array('type' => $this->_tpl_vars['block']['0'],'params' => $this->_tpl_vars['block']['1']), $this);?>
|
||||
|
||||
<?php endforeach; endif; unset($_from); echo $this->_reg_objects['g'][0]->block(array('type' => "core.GuestPreview",'class' => 'gbBlock'), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.EmergencyEditItemLink",'class' => 'gbBlock','checkBlocks' => 'album'), $this);?>
|
||||
@ -1,9 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:37
|
||||
compiled from gallery:themes/siriux/templates/admin.tpl */ ?>
|
||||
<div class="gallery-admin">
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['theme']['adminTemplate']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['theme']['adminL10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
</div>
|
||||
@ -1,104 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:38
|
||||
compiled from gallery:modules/core/templates/AdminMaintenance.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'gallery:modules/core/templates/AdminMaintenance.tpl', 34, false),)), $this); ?>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<h2> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'System Maintenance'), $this);?>
|
||||
</h2>
|
||||
</div>
|
||||
<?php if (isset ( $this->_tpl_vars['status']['run'] )): ?>
|
||||
<div class="gbBlock">
|
||||
<?php ob_start(); ?><b><?php echo $this->_reg_objects['g'][0]->text(array('text' => $this->_tpl_vars['AdminMaintenance']['tasks'][$this->_tpl_vars['status']['run']['taskId']]['title'],'l10Domain' => $this->_tpl_vars['AdminMaintenance']['tasks'][$this->_tpl_vars['status']['run']['taskId']]['l10Domain']), $this);?>
|
||||
</b><?php $this->_smarty_vars['capture']['taskTitle'] = ob_get_contents(); ob_end_clean(); if (( $this->_tpl_vars['status']['run']['success'] )): ?>
|
||||
<h2 class="giSuccess">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Completed %s task successfully.",'arg1' => $this->_smarty_vars['capture']['taskTitle']), $this);?>
|
||||
|
||||
</h2>
|
||||
<?php else: ?>
|
||||
<h2 class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "The %s task failed to complete successfully.",'arg1' => $this->_smarty_vars['capture']['taskTitle']), $this);?>
|
||||
|
||||
</h2>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="gbBlock">
|
||||
<table class="gbDataTable" width="100%">
|
||||
<tr>
|
||||
<th> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Task name'), $this);?>
|
||||
</th>
|
||||
<th> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Last run'), $this);?>
|
||||
</th>
|
||||
<th> <?php echo $this->_reg_objects['g'][0]->text(array('text' => "Success/Fail"), $this);?>
|
||||
</th>
|
||||
<th> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Action'), $this);?>
|
||||
</th>
|
||||
</tr>
|
||||
<?php $_from = $this->_tpl_vars['AdminMaintenance']['tasks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['taskId'] => $this->_tpl_vars['info']):
|
||||
echo smarty_function_cycle(array('values' => "gbEven,gbOdd",'assign' => 'rowClass'), $this);?>
|
||||
|
||||
<tr class="<?php echo $this->_tpl_vars['rowClass']; ?>
|
||||
">
|
||||
<td>
|
||||
<span id="task-<?php echo $this->_tpl_vars['taskId']; ?>
|
||||
-toggle"
|
||||
class="giBlockToggle gcBackground1 gcBorder2"
|
||||
style="border-width: 1px"
|
||||
onclick="BlockToggle('task-<?php echo $this->_tpl_vars['taskId']; ?>
|
||||
-description', 'task-<?php echo $this->_tpl_vars['taskId']; ?>
|
||||
-toggle', 'table-row')"><?php if (! isset ( $this->_tpl_vars['status']['run'] ) || $this->_tpl_vars['status']['run']['taskId'] != $this->_tpl_vars['taskId']): ?>+<?php else: ?>-<?php endif; ?></span>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => $this->_tpl_vars['info']['title'],'l10Domain' => $this->_tpl_vars['info']['l10Domain']), $this);?>
|
||||
|
||||
</td><td>
|
||||
<?php if (isset ( $this->_tpl_vars['info']['timestamp'] )): echo $this->_reg_objects['g'][0]->date(array('timestamp' => $this->_tpl_vars['info']['timestamp'],'style' => 'datetime'), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => 'Not run yet'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</td><td>
|
||||
<?php if (isset ( $this->_tpl_vars['info']['success'] )): if ($this->_tpl_vars['info']['success']): ?>
|
||||
<div class="giSuccess">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Success'), $this);?>
|
||||
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Failed'), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; else: echo $this->_reg_objects['g'][0]->text(array('text' => 'Not run yet'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</td><td>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "controller=core.AdminMaintenance",'arg2' => "form[action][runTask]=1",'arg3' => "taskId=".($this->_tpl_vars['taskId'])), $this);?>
|
||||
"<?php if (isset ( $this->_tpl_vars['info']['confirmRun'] )): ?> onclick="return confirm('<?php echo $this->_reg_objects['g'][0]->text(array('text' => $this->_tpl_vars['info']['title'],'forJavascript' => 1), $this);?>
|
||||
: <?php echo $this->_reg_objects['g'][0]->text(array('text' => "Are you sure?",'forJavascript' => 1), $this);?>
|
||||
')"
|
||||
<?php endif; ?>><?php echo $this->_reg_objects['g'][0]->text(array('text' => 'run now'), $this);?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="<?php echo $this->_tpl_vars['rowClass']; ?>
|
||||
" id="task-<?php echo $this->_tpl_vars['taskId']; ?>
|
||||
-description"
|
||||
<?php if (! isset ( $this->_tpl_vars['status']['run'] ) || $this->_tpl_vars['status']['run']['taskId'] != $this->_tpl_vars['taskId']): ?>style="display: none"<?php endif; ?>>
|
||||
<td colspan="4">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => $this->_tpl_vars['info']['description'],'l10Domain' => $this->_tpl_vars['info']['l10Domain']), $this);?>
|
||||
|
||||
<?php if (! empty ( $this->_tpl_vars['info']['details'] )): ?>
|
||||
<p class="giDescription"> <?php echo $this->_reg_objects['g'][0]->text(array('text' => "Last Run Details:"), $this);?>
|
||||
</p>
|
||||
<p class="giInfo">
|
||||
<?php $_from = $this->_tpl_vars['info']['details']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['text']):
|
||||
echo $this->_tpl_vars['text']; ?>
|
||||
<br/>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</table>
|
||||
</div>
|
||||
@ -1,27 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:41:00
|
||||
compiled from themes/siriux/templates/error.tpl */ ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<?php echo $this->_reg_objects['g'][0]->head(array(), $this);?>
|
||||
|
||||
<?php if (empty ( $this->_tpl_vars['head']['title'] )): ?>
|
||||
<title><?php echo $this->_reg_objects['g'][0]->text(array('text' => "Error!"), $this);?>
|
||||
</title>
|
||||
<?php endif; ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "theme.css"), $this);?>
|
||||
"/>
|
||||
</head>
|
||||
<body class="gallery">
|
||||
<div <?php echo $this->_reg_objects['g'][0]->mainDivAttributes(array(), $this);?>
|
||||
>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['theme']['errorTemplate'], 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
</div>
|
||||
<?php echo $this->_reg_objects['g'][0]->debug(array(), $this);?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -1,57 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:05
|
||||
compiled from gallery:modules/publishxp/templates/Options.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'gallery:modules/publishxp/templates/Options.tpl', 8, false),)), $this); ?>
|
||||
<form action="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
" method="post" id="publishXpForm"
|
||||
enctype="<?php echo ((is_array($_tmp=@$this->_tpl_vars['UserAdmin']['enctype'])) ? $this->_run_mod_handler('default', true, $_tmp, "application/x-www-form-urlencoded") : smarty_modifier_default($_tmp, "application/x-www-form-urlencoded")); ?>
|
||||
">
|
||||
<div>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
setSubtitle("<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Set options for the photos to be added.",'forJavascript' => true), $this);?>
|
||||
");
|
||||
setOnBackUrl("<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=publishxp.SelectAlbum",'arg2' => "albumId=".($this->_tpl_vars['form']['albumId']),'htmlEntities' => false), $this);?>
|
||||
");
|
||||
setSubmitOnNext(true);
|
||||
setButtons(true, true, false);
|
||||
// ]]>
|
||||
</script>
|
||||
<?php echo $this->_reg_objects['g'][0]->hiddenFormVars(array(), $this);?>
|
||||
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'controller'), $this);?>
|
||||
" value="publishxp.Options"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formName]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['formName']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[albumId]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['albumId']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][setOptions]"), $this);?>
|
||||
" value="1"/>
|
||||
</div>
|
||||
<div class="gbBlock">
|
||||
<h3> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Standard Options'), $this);?>
|
||||
</h3>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Now that you have chosen the destination album, the following options can be used when adding the photos to Gallery."), $this);?>
|
||||
|
||||
</p>
|
||||
<input type="checkbox" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[stripExtensions]"), $this);?>
|
||||
" <?php if (! empty ( $this->_tpl_vars['form']['stripExtensions'] )): ?>checked<?php endif; ?>>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Strip file extensions?"), $this);?>
|
||||
|
||||
<br/>
|
||||
<input type="checkbox" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[setCaptions]"), $this);?>
|
||||
" <?php if (! empty ( $this->_tpl_vars['form']['setCaptions'] )): ?>checked<?php endif; ?>>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Set captions on the published items?"), $this);?>
|
||||
|
||||
</div>
|
||||
<?php $_from = $this->_tpl_vars['Options']['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['option']):
|
||||
$_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['option']['file']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['option']['l10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
endforeach; endif; unset($_from); ?>
|
||||
</form>
|
||||
@ -1,39 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:50
|
||||
compiled from gallery:modules/core/templates/blocks/ItemLinks.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'gallery:modules/core/templates/blocks/ItemLinks.tpl', 32, false),array('modifier', 'lower', 'gallery:modules/core/templates/blocks/ItemLinks.tpl', 34, false),)), $this); ?>
|
||||
<?php if (! isset ( $this->_tpl_vars['links'] ) && isset ( $this->_tpl_vars['theme']['itemLinks'] )): $this->assign('links', $this->_tpl_vars['theme']['itemLinks']); endif; if (! empty ( $this->_tpl_vars['links'] )): if (empty ( $this->_tpl_vars['item'] )): $this->assign('item', $this->_tpl_vars['theme']['item']); endif; if (! isset ( $this->_tpl_vars['lowercase'] )): $this->assign('lowercase', false); endif; if (! isset ( $this->_tpl_vars['useDropdown'] )): $this->assign('useDropdown', true); endif; ?>
|
||||
<div class="<?php echo $this->_tpl_vars['class']; ?>
|
||||
">
|
||||
<?php if (count ( $this->_tpl_vars['links'] ) > 1 && $this->_tpl_vars['useDropdown']): ?>
|
||||
<select onchange="var value = this.value; this.options[0].selected = true; eval(value)">
|
||||
<option value="">
|
||||
<?php if ($this->_tpl_vars['item']['canContainChildren']): echo $this->_reg_objects['g'][0]->text(array('text' => "« album actions »"), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => "« item actions »"), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</option>
|
||||
<?php $_from = $this->_tpl_vars['links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['link']):
|
||||
?>
|
||||
<option value="<?php if (isset ( $this->_tpl_vars['link']['script'] )): echo $this->_tpl_vars['link']['script']; else: ?>window.location = '<?php echo $this->_reg_objects['g'][0]->url(array('params' => ((is_array($_tmp=@$this->_tpl_vars['link']['params'])) ? $this->_run_mod_handler('default', true, $_tmp, null) : smarty_modifier_default($_tmp, null)),'options' => ((is_array($_tmp=@$this->_tpl_vars['link']['options'])) ? $this->_run_mod_handler('default', true, $_tmp, null) : smarty_modifier_default($_tmp, null))), $this);?>
|
||||
'<?php endif; ?>"<?php if (! empty ( $this->_tpl_vars['link']['selected'] )): ?> selected="selected"<?php endif; ?>>
|
||||
<?php if ($this->_tpl_vars['lowercase']): echo ((is_array($_tmp=$this->_tpl_vars['link']['text'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
|
||||
<?php else: echo $this->_tpl_vars['link']['text']; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</option>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</select>
|
||||
<?php else: $_from = $this->_tpl_vars['links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['link']):
|
||||
?>
|
||||
<a class="gbAdminLink <?php echo $this->_reg_objects['g'][0]->linkid(array('urlParams' => ((is_array($_tmp=@$this->_tpl_vars['link']['params'])) ? $this->_run_mod_handler('default', true, $_tmp, null) : smarty_modifier_default($_tmp, null))), $this);?>
|
||||
" href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => ((is_array($_tmp=@$this->_tpl_vars['link']['params'])) ? $this->_run_mod_handler('default', true, $_tmp, null) : smarty_modifier_default($_tmp, null)),'options' => ((is_array($_tmp=@$this->_tpl_vars['link']['options'])) ? $this->_run_mod_handler('default', true, $_tmp, null) : smarty_modifier_default($_tmp, null))), $this);?>
|
||||
"<?php if (isset ( $this->_tpl_vars['link']['script'] )): ?> onclick="<?php echo $this->_tpl_vars['link']['script']; ?>
|
||||
"<?php endif; if (isset ( $this->_tpl_vars['link']['attrs'] )): ?> <?php echo $this->_tpl_vars['link']['attrs']; endif; ?>><?php if ($this->_tpl_vars['lowercase']): echo ((is_array($_tmp=$this->_tpl_vars['link']['text'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); else: echo $this->_tpl_vars['link']['text']; endif; ?></a>
|
||||
<?php endforeach; endif; unset($_from); endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
@ -1,7 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:45
|
||||
compiled from gallery:themes/ajaxian/templates/admin.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['theme']['adminTemplate']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['theme']['adminL10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
@ -1,177 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:41:08
|
||||
compiled from gallery:modules/core/templates/ItemDelete.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'gallery:modules/core/templates/ItemDelete.tpl', 77, false),)), $this); ?>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<h2> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Delete Items'), $this);?>
|
||||
</h2>
|
||||
</div>
|
||||
<?php if (( isset ( $this->_tpl_vars['status']['deleted'] ) )): ?>
|
||||
<div class="gbBlock">
|
||||
<?php if (( $this->_tpl_vars['status']['deleted']['count'] == 0 )): ?>
|
||||
<h2 class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'No items were selected for deletion'), $this);?>
|
||||
|
||||
<?php else: ?>
|
||||
<h2 class="giSuccess">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('one' => "Successfully deleted %d item",'many' => "Successfully deleted %d items",'count' => $this->_tpl_vars['status']['deleted']['count'],'arg1' => $this->_tpl_vars['status']['deleted']['count']), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</h2></div>
|
||||
<?php endif; ?>
|
||||
<div class="gbBlock">
|
||||
<?php if (empty ( $this->_tpl_vars['ItemDelete']['peers'] )): ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'This album contains no items to delete'), $this);?>
|
||||
|
||||
</p>
|
||||
<?php else: ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Choose the items you want to delete'), $this);?>
|
||||
|
||||
<?php if (( $this->_tpl_vars['ItemDelete']['numPages'] > 1 )): echo $this->_reg_objects['g'][0]->text(array('text' => "(page %d of %d)",'arg1' => $this->_tpl_vars['ItemDelete']['page'],'arg2' => $this->_tpl_vars['ItemDelete']['numPages']), $this);?>
|
||||
|
||||
<br/>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Items selected here will remain selected when moving between pages."), $this);?>
|
||||
|
||||
<?php if (! empty ( $this->_tpl_vars['ItemDelete']['selectedIds'] )): ?>
|
||||
<br/>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('one' => "One item selected on other pages.",'many' => "%d items selected on other pages.",'count' => $this->_tpl_vars['ItemDelete']['selectedIdCount'],'arg1' => $this->_tpl_vars['ItemDelete']['selectedIdCount']), $this);?>
|
||||
|
||||
<?php endif; endif; ?>
|
||||
</p>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'page'), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['ItemDelete']['page']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formname]"), $this);?>
|
||||
" value="DeleteItem"/>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
function setCheck(val) {
|
||||
var frm = document.getElementById('itemAdminForm');
|
||||
<?php $_from = $this->_tpl_vars['ItemDelete']['peers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['peer']):
|
||||
?>
|
||||
frm.elements['g2_form[selectedIds][<?php echo $this->_tpl_vars['peer']['id']; ?>
|
||||
]'].checked = val;
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
}
|
||||
function invertCheck(val) {
|
||||
var frm = document.getElementById('itemAdminForm');
|
||||
<?php $_from = $this->_tpl_vars['ItemDelete']['peers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['peer']):
|
||||
?>
|
||||
frm.elements['g2_form[selectedIds][<?php echo $this->_tpl_vars['peer']['id']; ?>
|
||||
]'].checked =
|
||||
!frm.elements['g2_form[selectedIds][<?php echo $this->_tpl_vars['peer']['id']; ?>
|
||||
]'].checked;
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
<table>
|
||||
<colgroup width="60"/>
|
||||
<?php $_from = $this->_tpl_vars['ItemDelete']['peers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['peer']):
|
||||
?>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<?php if (isset ( $this->_tpl_vars['peer']['thumbnail'] )): ?>
|
||||
<a id="thumb_<?php echo $this->_tpl_vars['peer']['id']; ?>
|
||||
" href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['peer']['id'])), $this);?>
|
||||
">
|
||||
<?php echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['peer'],'image' => $this->_tpl_vars['peer']['thumbnail'],'maxSize' => 50,'class' => 'giThumbnail'), $this);?>
|
||||
|
||||
</a>
|
||||
<?php else: ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</td><td>
|
||||
<input type="checkbox" id="cb_<?php echo $this->_tpl_vars['peer']['id']; ?>
|
||||
"<?php if ($this->_tpl_vars['peer']['selected']): ?> checked="checked"<?php endif; ?>
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[selectedIds][".($this->_tpl_vars['peer']['id'])."]"), $this);?>
|
||||
"/>
|
||||
</td><td>
|
||||
<label for="cb_<?php echo $this->_tpl_vars['peer']['id']; ?>
|
||||
">
|
||||
<?php echo ((is_array($_tmp=@$this->_tpl_vars['peer']['title'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['peer']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['peer']['pathComponent'])); ?>
|
||||
|
||||
</label>
|
||||
<i>
|
||||
<?php if (isset ( $this->_tpl_vars['ItemDelete']['peerTypes']['data'][$this->_tpl_vars['peer']['id']] )): echo $this->_reg_objects['g'][0]->text(array('text' => "(data)"), $this);?>
|
||||
|
||||
<?php endif; if (isset ( $this->_tpl_vars['ItemDelete']['peerTypes']['album'][$this->_tpl_vars['peer']['id']] )): if (isset ( $this->_tpl_vars['ItemDelete']['peerDescendentCounts'][$this->_tpl_vars['peer']['id']] )): echo $this->_reg_objects['g'][0]->text(array('one' => "(album containing %d item)",'many' => "(album containing %d items)",'count' => $this->_tpl_vars['ItemDelete']['peerDescendentCounts'][$this->_tpl_vars['peer']['id']],'arg1' => $this->_tpl_vars['ItemDelete']['peerDescendentCounts'][$this->_tpl_vars['peer']['id']]), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => "(empty album)"), $this);?>
|
||||
|
||||
<?php endif; endif; ?>
|
||||
</i>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
<?php $_from = $this->_tpl_vars['ItemDelete']['peers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['peer']):
|
||||
if (isset ( $this->_tpl_vars['peer']['resize'] )): ?>
|
||||
new YAHOO.widget.Tooltip("gTooltip", {
|
||||
context: "thumb_<?php echo $this->_tpl_vars['peer']['id']; ?>
|
||||
", text: '<?php echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['peer'],'image' => $this->_tpl_vars['peer']['resize'],'class' => 'giThumbnail','maxSize' => 500,'alt' => "",'longdesc' => ""), $this);?>
|
||||
',
|
||||
showDelay: 250 });
|
||||
<?php elseif (isset ( $this->_tpl_vars['peer']['thumbnail'] )): ?>
|
||||
new YAHOO.widget.Tooltip("gTooltip", {
|
||||
context: "thumb_<?php echo $this->_tpl_vars['peer']['id']; ?>
|
||||
", text: '<?php echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['peer'],'image' => $this->_tpl_vars['peer']['thumbnail'],'class' => 'giThumbnail','alt' => "",'longdesc' => ""), $this);?>
|
||||
',
|
||||
showDelay: 250 });
|
||||
<?php endif; endforeach; endif; unset($_from); ?>
|
||||
//]]>
|
||||
</script>
|
||||
</table>
|
||||
<?php $_from = $this->_tpl_vars['ItemDelete']['selectedIds']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['selectedId']):
|
||||
?>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[selectedIds][".($this->_tpl_vars['selectedId'])."]"), $this);?>
|
||||
" value="on"/>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[numPerPage]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['ItemDelete']['numPerPage']; ?>
|
||||
"/>
|
||||
<br/>
|
||||
<input type="button" class="inputTypeButton" onclick="setCheck(1)"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][checkall]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Check All'), $this);?>
|
||||
"/>
|
||||
<input type="button" class="inputTypeButton" onclick="setCheck(0)"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][checknone]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Check None'), $this);?>
|
||||
"/>
|
||||
<input type="button" class="inputTypeButton" onclick="invertCheck()"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][invert]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Invert'), $this);?>
|
||||
"/>
|
||||
<?php if (( $this->_tpl_vars['ItemDelete']['page'] > 1 )): ?>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][previous]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Previous Page'), $this);?>
|
||||
"/>
|
||||
<?php endif; if (( $this->_tpl_vars['ItemDelete']['page'] < $this->_tpl_vars['ItemDelete']['numPages'] )): ?>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][next]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Next Page'), $this);?>
|
||||
"/>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][delete]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Delete'), $this);?>
|
||||
"/>
|
||||
<?php if ($this->_tpl_vars['ItemDelete']['canCancel']): ?>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][cancel]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Cancel'), $this);?>
|
||||
"/>
|
||||
<?php endif; endif; ?>
|
||||
</div>
|
||||
@ -1,37 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:49
|
||||
compiled from gallery:modules/thumbnail/templates/CustomThumbnail.tpl */ ?>
|
||||
<div class="gbBlock">
|
||||
<h3> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Custom Thumbnail'), $this);?>
|
||||
</h3>
|
||||
<p class="giDescription">
|
||||
<?php if (isset ( $this->_tpl_vars['CustomThumbnailOption']['thumbnail'] )): ?>
|
||||
<input type="checkbox" id="CustomThumbnailOption_delete"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[CustomThumbnailOption][delete]"), $this);?>
|
||||
"/>
|
||||
<label for="CustomThumbnailOption_delete">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Remove custom thumbnail for this item'), $this);?>
|
||||
|
||||
</label>
|
||||
</p>
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => "Upload a JPEG image to use as the thumbnail for this item."), $this);?>
|
||||
<br/>
|
||||
<?php if ($this->_tpl_vars['CustomThumbnailOption']['canResize']): echo $this->_reg_objects['g'][0]->text(array('text' => "Image does not need to be thumbnail size; it will be resized as needed."), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => "No toolkit available for resizing so uploaded image must be thumbnail sized."), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
<input type="file" size="45" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[1]"), $this);?>
|
||||
"/>
|
||||
<?php if (! empty ( $this->_tpl_vars['form']['CustomThumbnailOption']['error']['missingFile'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Missing image file'), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['form']['CustomThumbnailOption']['error']['imageMime'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Thumbnail image must be a JPEG'), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; endif; ?>
|
||||
</div>
|
||||
@ -1,113 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:39
|
||||
compiled from gallery:themes/ajaxian/templates/theme.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'markup', 'gallery:themes/ajaxian/templates/theme.tpl', 14, false),array('modifier', 'default', 'gallery:themes/ajaxian/templates/theme.tpl', 14, false),)), $this); ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html lang="<?php echo $this->_reg_objects['g'][0]->language(array(), $this);?>
|
||||
">
|
||||
<head>
|
||||
<?php echo $this->_reg_objects['g'][0]->head(array(), $this);?>
|
||||
|
||||
<?php if (empty ( $this->_tpl_vars['head']['title'] )): ?>
|
||||
<title><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['theme']['item']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp, 'strip') : smarty_modifier_markup($_tmp, 'strip')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['theme']['item']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['theme']['item']['pathComponent'])); ?>
|
||||
</title>
|
||||
<?php endif; ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "theme.css"), $this);?>
|
||||
" />
|
||||
<?php if ($this->_tpl_vars['theme']['pageType'] == 'album' || $this->_tpl_vars['theme']['pageType'] == 'photo'): ?>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
var DEBUG_AJAXIAN = false; /* Show debug output down the side */
|
||||
var LOADING_IMAGE = '<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Loading Image...",'forJavascript' => true), $this);?>
|
||||
';
|
||||
var PHOTO_DATA = '<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Photo Data','forJavascript' => true), $this);?>
|
||||
';
|
||||
var FILE_SIZE = '<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Full image size: %s kilobytes.",'arg1' => "%SIZE%",'forJavascript' => true), $this);?>
|
||||
';
|
||||
var SUMMARY = '<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Summary: ",'forJavascript' => true), $this);?>
|
||||
';
|
||||
var DESCRIPTION = '<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Description: ",'forJavascript' => true), $this);?>
|
||||
';
|
||||
var VIEW_IMAGE = '<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'View fullsize image','forJavascript' => true), $this);?>
|
||||
';
|
||||
// ]]>
|
||||
</script>
|
||||
<script type="text/javascript" src="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "javascript/common-functions.js"), $this);?>
|
||||
"></script>
|
||||
<script type="text/javascript" src="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "javascript/thumbnail-functions.js"), $this);?>
|
||||
"></script>
|
||||
<script type="text/javascript" src="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "javascript/slideshow-functions.js"), $this);?>
|
||||
"></script>
|
||||
<?php endif; ?>
|
||||
</head>
|
||||
<body class="gallery">
|
||||
<div id="msgarea"></div>
|
||||
<div <?php echo $this->_reg_objects['g'][0]->mainDivAttributes(array(), $this);?>
|
||||
>
|
||||
<div id="white-rap">
|
||||
<?php if ($this->_tpl_vars['theme']['useFullScreen']): $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['theme']['moduleTemplate']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['theme']['moduleL10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
elseif ($this->_tpl_vars['theme']['pageType'] == 'progressbar'): ?>
|
||||
<div id="header">
|
||||
<h1><img src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "images/galleryLogo_sm.gif"), $this);?>
|
||||
" width="107" height="48" alt=""
|
||||
id="main-logo" /></h1>
|
||||
</div>
|
||||
<div id="main"><div id="frame">
|
||||
<?php echo $this->_reg_objects['g'][0]->theme(array('include' => "progressbar.tpl"), $this);?>
|
||||
|
||||
</div></div>
|
||||
<?php else: ?>
|
||||
<div id="header">
|
||||
<h1><a href="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
"><img src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "images/galleryLogo_sm.gif"), $this);?>
|
||||
"
|
||||
width="107" height="48" alt="Gallery" id="main-logo" /></a></h1>
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "search.SearchBlock",'showAdvancedLink' => false), $this);?>
|
||||
|
||||
<div class="gbBreadCrumb">
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.BreadCrumb"), $this);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:modules/core/templates/JavaScriptWarning.tpl", 'smarty_include_vars' => array('l10Domain' => 'modules_core')));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div id="main">
|
||||
<div id="frame">
|
||||
<?php if ($this->_tpl_vars['theme']['pageType'] == 'album'): echo $this->_reg_objects['g'][0]->theme(array('include' => "album.tpl"), $this);?>
|
||||
|
||||
<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'photo'): echo $this->_reg_objects['g'][0]->theme(array('include' => "photo.tpl"), $this);?>
|
||||
|
||||
<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'admin'): echo $this->_reg_objects['g'][0]->theme(array('include' => "admin.tpl"), $this);?>
|
||||
|
||||
<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'module'): echo $this->_reg_objects['g'][0]->theme(array('include' => "module.tpl"), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p><?php echo $this->_reg_objects['g'][0]->logoButton(array('type' => 'validation'), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->logoButton(array('type' => 'gallery2'), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->logoButton(array('type' => "gallery2-version"), $this);?>
|
||||
</p>
|
||||
<p id="footerSystemLinks">
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.SystemLinks",'order' => "core.SiteAdmin core.YourAccount core.Login core.Logout",'othersAt' => 4), $this);?>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo $this->_reg_objects['g'][0]->trailer(array(), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->debug(array(), $this);?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -1,57 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:45
|
||||
compiled from gallery:modules/core/templates/ItemEdit.tpl */ ?>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<h2> <?php echo $this->_reg_objects['g'][0]->text(array('text' => "Edit %s",'arg1' => $this->_tpl_vars['ItemEdit']['itemTypeNames']['0']), $this);?>
|
||||
</h2>
|
||||
</div>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'editPlugin'), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['ItemEdit']['editPlugin']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[serialNumber]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['serialNumber']; ?>
|
||||
"/>
|
||||
<?php if (! empty ( $this->_tpl_vars['status'] ) || ! empty ( $this->_tpl_vars['form']['error'] )): ?>
|
||||
<div class="gbBlock">
|
||||
<?php if (! empty ( $this->_tpl_vars['status'] )): ?>
|
||||
<h2 class="giSuccess">
|
||||
<?php if (! empty ( $this->_tpl_vars['status']['editMessage'] )): echo $this->_tpl_vars['status']['editMessage']; ?>
|
||||
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['status']['warning'] )): ?>
|
||||
<div class="giWarning">
|
||||
<?php $_from = $this->_tpl_vars['status']['warning']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['warning']):
|
||||
echo $this->_tpl_vars['warning']; ?>
|
||||
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</h2>
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['form']['error'] )): ?>
|
||||
<h2 class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "There was a problem processing your request."), $this);?>
|
||||
|
||||
</h2>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="gbTabBar">
|
||||
<?php $_from = $this->_tpl_vars['ItemEdit']['plugins']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plugin']):
|
||||
if ($this->_tpl_vars['plugin']['isSelected']): ?>
|
||||
<span class="giSelected o"><span>
|
||||
<?php echo $this->_tpl_vars['plugin']['title']; ?>
|
||||
|
||||
</span></span>
|
||||
<?php else: ?>
|
||||
<span class="o"><span>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ItemAdmin",'arg2' => "subView=core.ItemEdit",'arg3' => "itemId=".($this->_tpl_vars['ItemAdmin']['item']['id']),'arg4' => "editPlugin=".($this->_tpl_vars['plugin']['id'])), $this);?>
|
||||
"><?php echo $this->_tpl_vars['plugin']['title']; ?>
|
||||
</a>
|
||||
</span></span>
|
||||
<?php endif; endforeach; endif; unset($_from); ?>
|
||||
</div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['ItemEdit']['pluginFile']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['ItemEdit']['pluginL10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
@ -1,29 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:50
|
||||
compiled from gallery:modules/core/templates/blocks/SystemLinks.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'replace', 'gallery:modules/core/templates/blocks/SystemLinks.tpl', 7, false),array('modifier', 'default', 'gallery:modules/core/templates/blocks/SystemLinks.tpl', 8, false),array('modifier', 'split', 'gallery:modules/core/templates/blocks/SystemLinks.tpl', 8, false),)), $this); ?>
|
||||
<?php $this->assign('class', ((is_array($_tmp=$this->_tpl_vars['class'])) ? $this->_run_mod_handler('replace', true, $_tmp, 'SystemLinks', 'SystemLink') : smarty_modifier_replace($_tmp, 'SystemLinks', 'SystemLink'))); $this->assign('order', ((is_array($_tmp=((is_array($_tmp=@$this->_tpl_vars['order'])) ? $this->_run_mod_handler('default', true, $_tmp, "") : smarty_modifier_default($_tmp, "")))) ? $this->_run_mod_handler('split', true, $_tmp) : smarty_modifier_split($_tmp))); $this->assign('othersAt', ((is_array($_tmp=@$this->_tpl_vars['othersAt'])) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0))); $this->assign('othersAt', $this->_tpl_vars['othersAt']-1); $this->assign('separator', ((is_array($_tmp=@$this->_tpl_vars['separator'])) ? $this->_run_mod_handler('default', true, $_tmp, "") : smarty_modifier_default($_tmp, ""))); ob_start(); $_from = $this->_tpl_vars['theme']['systemLinks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['linkId'] => $this->_tpl_vars['link']):
|
||||
if (! in_array ( $this->_tpl_vars['linkId'] , $this->_tpl_vars['order'] )): ?>
|
||||
<span class="<?php echo $this->_tpl_vars['class']; ?>
|
||||
">
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['link']['params']), $this);?>
|
||||
"><?php echo $this->_tpl_vars['link']['text']; ?>
|
||||
</a>
|
||||
</span>
|
||||
<?php echo $this->_tpl_vars['separator']; ?>
|
||||
|
||||
<?php endif; endforeach; endif; unset($_from); $this->_smarty_vars['capture']['SystemLinks'] = ob_get_contents(); ob_end_clean(); $_from = $this->_tpl_vars['order']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['linkId']):
|
||||
if ($this->_tpl_vars['index'] == $this->_tpl_vars['othersAt']): $this->assign('SystemLinksShown', true); echo $this->_smarty_vars['capture']['SystemLinks']; ?>
|
||||
|
||||
<?php endif; if (isset ( $this->_tpl_vars['theme']['systemLinks'][$this->_tpl_vars['linkId']] )): ?>
|
||||
<span class="<?php echo $this->_tpl_vars['class']; ?>
|
||||
">
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['theme']['systemLinks'][$this->_tpl_vars['linkId']]['params']), $this);?>
|
||||
"><?php echo $this->_tpl_vars['theme']['systemLinks'][$this->_tpl_vars['linkId']]['text']; ?>
|
||||
</a>
|
||||
</span>
|
||||
<?php echo $this->_tpl_vars['separator']; ?>
|
||||
|
||||
<?php endif; endforeach; endif; unset($_from); if (! isset ( $this->_tpl_vars['SystemLinksShown'] )): echo $this->_smarty_vars['capture']['SystemLinks']; endif; ?>
|
||||
@ -1,29 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:44:18
|
||||
compiled from gallery:modules/core/templates/blocks/Navigator.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'gallery:modules/core/templates/blocks/Navigator.tpl', 12, false),array('modifier', 'split', 'gallery:modules/core/templates/blocks/Navigator.tpl', 19, false),)), $this); ?>
|
||||
<?php if (isset ( $this->_tpl_vars['reverseOrder'] ) && $this->_tpl_vars['reverseOrder']): $this->assign('order', "next-and-last current first-and-previous"); else: $this->assign('order', "first-and-previous current next-and-last"); endif; $this->assign('prefix', ((is_array($_tmp=@$this->_tpl_vars['prefix'])) ? $this->_run_mod_handler('default', true, $_tmp, "") : smarty_modifier_default($_tmp, ""))); $this->assign('suffix', ((is_array($_tmp=@$this->_tpl_vars['suffix'])) ? $this->_run_mod_handler('default', true, $_tmp, "") : smarty_modifier_default($_tmp, ""))); ?>
|
||||
<div class="<?php echo $this->_tpl_vars['class']; ?>
|
||||
">
|
||||
<?php $_from = ((is_array($_tmp=$this->_tpl_vars['order'])) ? $this->_run_mod_handler('split', true, $_tmp) : smarty_modifier_split($_tmp)); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['which']):
|
||||
if ($this->_tpl_vars['which'] == "next-and-last"): ?>
|
||||
<div class="next-and-last<?php if (! isset ( $this->_tpl_vars['navigator']['first'] ) && ! isset ( $this->_tpl_vars['navigator']['back'] )): ?> no-previous<?php endif; ?>">
|
||||
<?php echo ''; if (isset ( $this->_tpl_vars['navigator']['next'] )): echo ' '; echo '<a href="'; echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['navigator']['next']['urlParams']), $this); echo '" class="next">'; echo $this->_reg_objects['g'][0]->text(array('text' => 'next'), $this); echo ''; echo $this->_tpl_vars['suffix']; echo ''; if (isset ( $this->_tpl_vars['navigator']['next']['thumbnail'] )): echo ''; echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['navigator']['next']['item'],'image' => $this->_tpl_vars['navigator']['next']['thumbnail'],'maxSize' => 40,'class' => 'next'), $this); echo ''; endif; echo '</a>'; endif; echo ''; if (isset ( $this->_tpl_vars['navigator']['last'] )): echo '<a href="'; echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['navigator']['last']['urlParams']), $this); echo '" class="last">'; echo $this->_reg_objects['g'][0]->text(array('text' => 'last'), $this); echo ''; echo $this->_tpl_vars['suffix']; echo ''; if (isset ( $this->_tpl_vars['navigator']['last']['thumbnail'] )): echo ''; echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['navigator']['last']['item'],'image' => $this->_tpl_vars['navigator']['last']['thumbnail'],'maxSize' => 40,'class' => 'last'), $this); echo ''; endif; echo '</a>'; endif; echo ''; ?>
|
||||
|
||||
</div>
|
||||
<?php elseif ($this->_tpl_vars['which'] == 'current'): if (( isset ( $this->_tpl_vars['currentPage'] ) && isset ( $this->_tpl_vars['totalPages'] ) ) || ( isset ( $this->_tpl_vars['currentItem'] ) && isset ( $this->_tpl_vars['totalItems'] ) )): ?>
|
||||
<span class="current">
|
||||
<?php if (isset ( $this->_tpl_vars['currentPage'] )): echo $this->_reg_objects['g'][0]->text(array('text' => "Page %d of %d",'arg1' => $this->_tpl_vars['currentPage'],'arg2' => $this->_tpl_vars['totalPages']), $this);?>
|
||||
|
||||
<?php else: if (isset ( $this->_tpl_vars['currentItem'] )): echo $this->_reg_objects['g'][0]->text(array('text' => "%d of %d",'arg1' => $this->_tpl_vars['currentItem'],'arg2' => $this->_tpl_vars['totalItems']), $this);?>
|
||||
|
||||
<?php endif; endif; ?>
|
||||
</span>
|
||||
<?php endif; else: ?>
|
||||
<div class="first-and-previous">
|
||||
<?php echo ''; if (isset ( $this->_tpl_vars['navigator']['first'] )): echo '<a href="'; echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['navigator']['first']['urlParams']), $this); echo '" class="first">'; if (isset ( $this->_tpl_vars['navigator']['first']['thumbnail'] )): echo ''; echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['navigator']['first']['item'],'image' => $this->_tpl_vars['navigator']['first']['thumbnail'],'maxSize' => '40','class' => 'first'), $this); echo ''; endif; echo ''; echo $this->_tpl_vars['prefix']; echo ''; echo $this->_reg_objects['g'][0]->text(array('text' => 'first'), $this); echo '</a>'; endif; echo ''; if (isset ( $this->_tpl_vars['navigator']['back'] )): echo ' '; echo '<a href="'; echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['navigator']['back']['urlParams']), $this); echo '" class="previous">'; if (isset ( $this->_tpl_vars['navigator']['back']['thumbnail'] )): echo ''; echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['navigator']['back']['item'],'image' => $this->_tpl_vars['navigator']['back']['thumbnail'],'maxSize' => '40','class' => 'previous'), $this); echo ''; endif; echo ''; echo $this->_tpl_vars['prefix']; echo ''; echo $this->_reg_objects['g'][0]->text(array('text' => 'previous'), $this); echo '</a>'; endif; echo ''; ?>
|
||||
|
||||
</div>
|
||||
<?php endif; endforeach; endif; unset($_from); ?>
|
||||
</div>
|
||||
@ -1,166 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:43:53
|
||||
compiled from gallery:modules/search/templates/SearchScan.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'gallery:modules/search/templates/SearchScan.tpl', 106, false),array('modifier', 'markup', 'gallery:modules/search/templates/SearchScan.tpl', 106, false),)), $this); ?>
|
||||
<form id="SearchScan" action="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
" method="post">
|
||||
<div id="gsContent" class="gcBorder1">
|
||||
<div class="gbBlock gcBackground1">
|
||||
<h2> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Search the Gallery'), $this);?>
|
||||
</h2>
|
||||
</div>
|
||||
<?php echo $this->_reg_objects['g'][0]->hiddenFormVars(array(), $this);?>
|
||||
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'controller'), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['SearchScan']['controller']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formName]"), $this);?>
|
||||
" value="SearchScan"/>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
function setCheck(val) {
|
||||
<?php $_from = $this->_tpl_vars['SearchScan']['modules']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['moduleId'] => $this->_tpl_vars['moduleInfo']):
|
||||
$_from = $this->_tpl_vars['moduleInfo']['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['optionId'] => $this->_tpl_vars['optionInfo']):
|
||||
?>
|
||||
document.getElementById('cb_<?php echo $this->_tpl_vars['moduleId']; ?>
|
||||
_<?php echo $this->_tpl_vars['optionId']; ?>
|
||||
').checked = val;
|
||||
<?php endforeach; endif; unset($_from); endforeach; endif; unset($_from); ?>
|
||||
}
|
||||
function invertCheck() {
|
||||
var o;
|
||||
<?php $_from = $this->_tpl_vars['SearchScan']['modules']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['moduleId'] => $this->_tpl_vars['moduleInfo']):
|
||||
$_from = $this->_tpl_vars['moduleInfo']['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['optionId'] => $this->_tpl_vars['optionInfo']):
|
||||
?>
|
||||
o = document.getElementById('cb_<?php echo $this->_tpl_vars['moduleId']; ?>
|
||||
_<?php echo $this->_tpl_vars['optionId']; ?>
|
||||
'); o.checked = !o.checked;
|
||||
<?php endforeach; endif; unset($_from); endforeach; endif; unset($_from); ?>
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
<div class="gbBlock">
|
||||
<input type="text" size="50"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[searchCriteria]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['searchCriteria']; ?>
|
||||
"/>
|
||||
<script type="text/javascript">
|
||||
document.getElementById('SearchScan')['<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[searchCriteria]"), $this);?>
|
||||
'].focus();
|
||||
</script>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][search]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Search'), $this);?>
|
||||
"/>
|
||||
<?php if (isset ( $this->_tpl_vars['form']['error']['searchCriteria']['missing'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "You must enter some text to search for!"), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div style="margin: 0.5em 0">
|
||||
<?php $_from = $this->_tpl_vars['SearchScan']['modules']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['moduleId'] => $this->_tpl_vars['moduleInfo']):
|
||||
$_from = $this->_tpl_vars['moduleInfo']['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['optionId'] => $this->_tpl_vars['optionInfo']):
|
||||
?>
|
||||
<input type="checkbox" id="cb_<?php echo $this->_tpl_vars['moduleId']; ?>
|
||||
_<?php echo $this->_tpl_vars['optionId']; ?>
|
||||
"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[options][".($this->_tpl_vars['moduleId'])."][".($this->_tpl_vars['optionId'])."]"), $this);?>
|
||||
"
|
||||
<?php if (isset ( $this->_tpl_vars['form']['options'][$this->_tpl_vars['moduleId']][$this->_tpl_vars['optionId']] )): ?>checked="checked"<?php endif; ?>/>
|
||||
<label for="cb_<?php echo $this->_tpl_vars['moduleId']; ?>
|
||||
_<?php echo $this->_tpl_vars['optionId']; ?>
|
||||
">
|
||||
<?php echo $this->_tpl_vars['optionInfo']['description']; ?>
|
||||
|
||||
</label>
|
||||
<?php endforeach; endif; unset($_from); endforeach; endif; unset($_from); ?>
|
||||
</div>
|
||||
<div>
|
||||
<a href="javascript:setCheck(1)"><?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Check All'), $this);?>
|
||||
</a>
|
||||
|
||||
<a href="javascript:setCheck(0)"><?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Uncheck All'), $this);?>
|
||||
</a>
|
||||
|
||||
<a href="javascript:invertCheck()"><?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Invert'), $this);?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php $this->assign('resultCount', '0'); if (! empty ( $this->_tpl_vars['SearchScan']['searchResults'] )): $_from = $this->_tpl_vars['SearchScan']['searchResults']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['moduleId'] => $this->_tpl_vars['results']):
|
||||
$this->assign('resultCount', $this->_tpl_vars['resultCount']+$this->_tpl_vars['results']['count']); ?>
|
||||
<div class="gbBlock">
|
||||
<h4>
|
||||
<?php echo $this->_tpl_vars['SearchScan']['modules'][$this->_tpl_vars['moduleId']]['name']; ?>
|
||||
|
||||
<?php if (( $this->_tpl_vars['results']['count'] > 0 )): echo $this->_reg_objects['g'][0]->text(array('text' => "Results %d - %d",'arg1' => $this->_tpl_vars['results']['start'],'arg2' => $this->_tpl_vars['results']['end']), $this);?>
|
||||
|
||||
<?php endif; if (( $this->_tpl_vars['results']['count'] > $this->_tpl_vars['results']['end'] )): $this->assign('moduleId', $this->_tpl_vars['moduleId']); ?>
|
||||
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][showAll][".($this->_tpl_vars['moduleId'])."]"), $this);?>
|
||||
"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Show all %d",'arg1' => $this->_tpl_vars['results']['count']), $this);?>
|
||||
"/>
|
||||
<?php endif; ?>
|
||||
</h4>
|
||||
<?php $this->assign('searchCriteria', $this->_tpl_vars['form']['searchCriteria']); if (( sizeof ( $this->_tpl_vars['results']['results'] ) > 0 )): ?>
|
||||
<table><tr>
|
||||
<?php $_from = $this->_tpl_vars['results']['results']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['result']):
|
||||
$this->assign('itemId', $this->_tpl_vars['result']['itemId']); ?>
|
||||
<td class="<?php if ($this->_tpl_vars['SearchScan']['items'][$this->_tpl_vars['itemId']]['canContainChildren']): ?>gbItemAlbum<?php else: ?>gbItemImage<?php endif; ?>"
|
||||
style="width: 10%">
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['itemId'])), $this);?>
|
||||
">
|
||||
<?php if (isset ( $this->_tpl_vars['SearchScan']['thumbnails'][$this->_tpl_vars['itemId']] )): echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['SearchScan']['items'][$this->_tpl_vars['itemId']],'image' => $this->_tpl_vars['SearchScan']['thumbnails'][$this->_tpl_vars['itemId']],'class' => 'giThumbnail'), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => 'No thumbnail'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
<ul class="giInfo">
|
||||
<?php $_from = $this->_tpl_vars['result']['fields']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['field']):
|
||||
if (isset ( $this->_tpl_vars['field']['value'] )): ?>
|
||||
<li>
|
||||
<span class="ResultKey"><?php echo $this->_tpl_vars['field']['key']; ?>
|
||||
:</span>
|
||||
<span class="ResultData"><?php echo ((is_array($_tmp=((is_array($_tmp=@$this->_tpl_vars['field']['value'])) ? $this->_run_mod_handler('default', true, $_tmp, " ") : smarty_modifier_default($_tmp, " ")))) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
</span>
|
||||
</li>
|
||||
<?php endif; endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr></table>
|
||||
<script type="text/javascript">
|
||||
search_HighlightResults('<?php echo $this->_tpl_vars['searchCriteria']; ?>
|
||||
');
|
||||
</script>
|
||||
<?php else: ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'No results found for'), $this);?>
|
||||
'<?php echo $this->_tpl_vars['form']['searchCriteria']; ?>
|
||||
'
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endforeach; endif; unset($_from); endif; if ($this->_tpl_vars['resultCount'] > 0 && $this->_tpl_vars['SearchScan']['slideshowAvailable']): ?>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][slideshow]"), $this);?>
|
||||
"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'View these results in a slideshow'), $this);?>
|
||||
"/>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -1,75 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:37
|
||||
compiled from gallery:themes/siriux/templates/theme.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'markup', 'gallery:themes/siriux/templates/theme.tpl', 14, false),array('modifier', 'default', 'gallery:themes/siriux/templates/theme.tpl', 14, false),)), $this); ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html lang="<?php echo $this->_reg_objects['g'][0]->language(array(), $this);?>
|
||||
">
|
||||
<head>
|
||||
<?php echo $this->_reg_objects['g'][0]->head(array(), $this);?>
|
||||
|
||||
<?php if (empty ( $this->_tpl_vars['head']['title'] )): ?>
|
||||
<title><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['theme']['item']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp, 'strip') : smarty_modifier_markup($_tmp, 'strip')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['theme']['item']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['theme']['item']['pathComponent'])); ?>
|
||||
</title>
|
||||
<?php endif; ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "theme.css"), $this);?>
|
||||
"/>
|
||||
<style type="text/css">
|
||||
.content { width: <?php echo $this->_tpl_vars['theme']['params']['contentWidth']; ?>
|
||||
px; }
|
||||
<?php if (! empty ( $this->_tpl_vars['theme']['params']['thumbnailSize'] )): $this->assign('thumbCellSize', $this->_tpl_vars['theme']['params']['thumbnailSize']+30); ?>
|
||||
.gallery-thumb { width: <?php echo $this->_tpl_vars['thumbCellSize']; ?>
|
||||
px; height: <?php echo $this->_tpl_vars['thumbCellSize']; ?>
|
||||
px; }
|
||||
.gallery-album { height: <?php echo $this->_tpl_vars['thumbCellSize']+30; ?>
|
||||
px; }
|
||||
<?php endif; ?>
|
||||
</style>
|
||||
</head>
|
||||
<body class="gallery">
|
||||
<div <?php echo $this->_reg_objects['g'][0]->mainDivAttributes(array(), $this);?>
|
||||
>
|
||||
<?php if ($this->_tpl_vars['theme']['useFullScreen']): $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['theme']['moduleTemplate']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['theme']['moduleL10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
elseif ($this->_tpl_vars['theme']['pageType'] == 'progressbar'): ?>
|
||||
<div class="header"></div>
|
||||
<div class="content">
|
||||
<?php echo $this->_reg_objects['g'][0]->theme(array('include' => "progressbar.tpl"), $this);?>
|
||||
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="header"></div>
|
||||
<div class="content">
|
||||
<div class="breadcrumb">
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.BreadCrumb",'skipRoot' => true,'separator' => "/"), $this);?>
|
||||
|
||||
</div>
|
||||
<?php if ($this->_tpl_vars['theme']['pageType'] == 'album'): echo $this->_reg_objects['g'][0]->theme(array('include' => "album.tpl"), $this);?>
|
||||
|
||||
<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'photo'): echo $this->_reg_objects['g'][0]->theme(array('include' => "photo.tpl"), $this);?>
|
||||
|
||||
<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'admin'): echo $this->_reg_objects['g'][0]->theme(array('include' => "admin.tpl"), $this);?>
|
||||
|
||||
<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'module'): echo $this->_reg_objects['g'][0]->theme(array('include' => "module.tpl"), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
<div class="footer">
|
||||
<?php echo $this->_reg_objects['g'][0]->logoButton(array('type' => 'validation'), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->logoButton(array('type' => 'gallery2'), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->logoButton(array('type' => "gallery2-version"), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->logoButton(array('type' => 'donate'), $this);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?> </div>
|
||||
<?php echo $this->_reg_objects['g'][0]->trailer(array(), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->debug(array(), $this);?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -1,25 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:43
|
||||
compiled from gallery:modules/core/templates/ItemDeleteSingle.tpl */ ?>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<h2> <?php echo $this->_reg_objects['g'][0]->text(array('text' => "Delete %s",'arg1' => $this->_tpl_vars['ItemDeleteSingle']['itemTypeNames']['0']), $this);?>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="gbBlock">
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Are you sure you want to delete this %s?",'arg1' => $this->_tpl_vars['ItemDeleteSingle']['itemTypeNames']['1']), $this);?>
|
||||
|
||||
<?php if ($this->_tpl_vars['ItemDeleteSingle']['childCount'] > 0): echo $this->_reg_objects['g'][0]->text(array('one' => "It contains %d item.",'many' => "It contains %d items.",'count' => $this->_tpl_vars['ItemDeleteSingle']['childCount'],'arg1' => $this->_tpl_vars['ItemDeleteSingle']['childCount']), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
<strong>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "There is no undo!"), $this);?>
|
||||
|
||||
</strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][delete]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Delete'), $this);?>
|
||||
"/>
|
||||
</div>
|
||||
@ -1,63 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:41:40
|
||||
compiled from gallery:modules/publishxp/templates/PublishXpLogin.tpl */ ?>
|
||||
<form action="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
" enctype="application/x-www-form-urlencoded" method="post"
|
||||
id="publishXpForm">
|
||||
<div>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
setSubtitle("<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Login to your account','forJavascript' => true), $this);?>
|
||||
");
|
||||
setSubmitOnNext(true);
|
||||
setButtons(false, true, false);
|
||||
// ]]>
|
||||
</script>
|
||||
<?php echo $this->_reg_objects['g'][0]->hiddenFormVars(array(), $this);?>
|
||||
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'controller'), $this);?>
|
||||
" value="publishxp.PublishXpLogin"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formName]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['formName']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][login]"), $this);?>
|
||||
" value="1"/>
|
||||
</div>
|
||||
<div class="gbBlock">
|
||||
<h4>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Username'), $this);?>
|
||||
|
||||
</h4>
|
||||
<input id="giFormUsername" type="text" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[userName]"), $this);?>
|
||||
"
|
||||
size="16" value="<?php echo $this->_tpl_vars['form']['userName']; ?>
|
||||
"/>
|
||||
<script type="text/javascript">document.getElementById('publishXpForm')['<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[userName]"), $this);?>
|
||||
'].focus();</script>
|
||||
<?php if (isset ( $this->_tpl_vars['form']['error']['userName']['missing'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'You must enter a username'), $this);?>
|
||||
|
||||
</div>
|
||||
<?php elseif (isset ( $this->_tpl_vars['form']['error']['userName']['disabled'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Logins temporarily disabled due to multiple failed login attempts."), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<h4> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Password'), $this);?>
|
||||
</h4>
|
||||
<input id="giFormPassword" type="password" size="16" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[password]"), $this);?>
|
||||
"/>
|
||||
<?php if (isset ( $this->_tpl_vars['form']['error']['password']['missing'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'You must enter a password'), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; if (isset ( $this->_tpl_vars['form']['error']['password']['invalid'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Your login information is incorrect. Please try again."), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -1,34 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:43
|
||||
compiled from gallery:themes/CNJ/templates/header.tpl */ ?>
|
||||
<div class="header">
|
||||
<div id="logo">
|
||||
<a href="/" title="Página principal"><h1><span>CNJ</span></h1></a>
|
||||
<h2><span>Estudio de cocina y baño</span></h2>
|
||||
<?php if (empty ( $this->_tpl_vars['theme']['parents'] )): ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div id="topmenu">
|
||||
<div class="seccionmenu">
|
||||
<h3>Catálogo</h3>
|
||||
<ul>
|
||||
<li><a href="/catalogo/cocinas">Cocinas</a></li>
|
||||
<li><a href="/catalogo/banos">Baños</a></li>
|
||||
<li><a href="/catalogo/complementos">Complementos</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="seccionmenu">
|
||||
<h3>Acerca de CNJ</h3>
|
||||
<ul>
|
||||
<li><a href="/galeria">Galería de montajes</a></li>
|
||||
<li><a href="/situacion">Plano de situación</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="seccionmenu">
|
||||
<h3>Contacto</h3>
|
||||
<p>Avd. Reyes Católicos, 8<br/>
|
||||
28220 Majadahonda - Madrid<br/>
|
||||
Teléfono: 91 638 63 11<br/>Fax: 91 638 64 97
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1,19 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:50
|
||||
compiled from gallery:modules/core/templates/blocks/GuestPreview.tpl */ ?>
|
||||
<?php if ($this->_tpl_vars['user']['isRegisteredUser']): ?>
|
||||
<div class="<?php echo $this->_tpl_vars['class']; ?>
|
||||
">
|
||||
<?php ob_start(); if (( $this->_tpl_vars['theme']['guestPreviewMode'] )): ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "controller=core.ShowItem",'arg2' => "guestPreviewMode=0",'arg3' => "return=1"), $this);?>
|
||||
"><?php echo $this->_tpl_vars['user']['userName']; ?>
|
||||
</a> | <span class="active"> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'guest'), $this);?>
|
||||
</span>
|
||||
<?php else: ?>
|
||||
<span class="active"> <?php echo $this->_tpl_vars['user']['userName']; ?>
|
||||
</span> | <a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "controller=core.ShowItem",'arg2' => "guestPreviewMode=1",'arg3' => "return=1"), $this);?>
|
||||
"><?php echo $this->_reg_objects['g'][0]->text(array('text' => 'guest'), $this);?>
|
||||
</a>
|
||||
<?php endif; $this->_smarty_vars['capture']['guestPreviewMode'] = ob_get_contents(); ob_end_clean(); echo $this->_reg_objects['g'][0]->text(array('text' => "display mode: %s",'arg1' => $this->_smarty_vars['capture']['guestPreviewMode']), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
@ -1,185 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:41:00
|
||||
compiled from modules/core/templates/ErrorPage.tpl */ ?>
|
||||
<div id="gsContent" class="gcBorder1" style="border-width: 1px 0 0 1px">
|
||||
<div class="gbBlock gcBackground1">
|
||||
<h2>
|
||||
<?php if (isset ( $this->_tpl_vars['ErrorPage']['code']['obsoleteData'] )): echo $this->_reg_objects['g'][0]->text(array('text' => "Edit Conflict!"), $this);?>
|
||||
|
||||
<?php elseif (isset ( $this->_tpl_vars['ErrorPage']['code']['securityViolation'] )): echo $this->_reg_objects['g'][0]->text(array('text' => 'Security Violation'), $this);?>
|
||||
|
||||
<?php elseif (isset ( $this->_tpl_vars['ErrorPage']['code']['storageFailure'] )): echo $this->_reg_objects['g'][0]->text(array('text' => 'Database Error'), $this);?>
|
||||
|
||||
<?php elseif (isset ( $this->_tpl_vars['ErrorPage']['code']['platformFailure'] )): echo $this->_reg_objects['g'][0]->text(array('text' => 'Platform Error'), $this);?>
|
||||
|
||||
<?php elseif (isset ( $this->_tpl_vars['ErrorPage']['code']['requestAuthenticationFailure'] )): echo $this->_reg_objects['g'][0]->text(array('text' => 'Authentication Failure'), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => 'Error'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="gbBlock">
|
||||
<?php if (isset ( $this->_tpl_vars['ErrorPage']['code']['obsoleteData'] )): ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Your change cannot be completed because somebody else has made a conflicting change to the same item. Use the back button in your browser to go back to the page you were on, then <b>reload that page</b> and try your change again."), $this);?>
|
||||
|
||||
<br/>
|
||||
<a href="javascript:history.back()"> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Go back and try again'), $this);?>
|
||||
</a>
|
||||
</p>
|
||||
<?php if ($this->_tpl_vars['ErrorPage']['isAdmin']): ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "If this problem happens repeatedly, it may be because of corruption in your cache. Site Administrators can clear out this cache."), $this);?>
|
||||
|
||||
<br/>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "lib/support?cache"), $this);?>
|
||||
"> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Clear the cache'), $this);?>
|
||||
</a>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<p class="giDescription" style="margin-top: 0.5em">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Alternatively, you can return to the main Gallery page and resume browsing."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php elseif (isset ( $this->_tpl_vars['ErrorPage']['code']['securityViolation'] )): ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "The action you attempted is not permitted."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php elseif (isset ( $this->_tpl_vars['ErrorPage']['code']['requestAuthenticationFailure'] )): ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Your change cannot be completed due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php elseif (isset ( $this->_tpl_vars['ErrorPage']['code']['storageFailure'] )): ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "An error has occurred while interacting with the database."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php if ($this->_tpl_vars['ErrorPage']['isAdmin'] && ! isset ( $this->_tpl_vars['ErrorPage']['debug'] )): echo $this->_reg_objects['g'][0]->text(array('text' => "The exact nature of database errors is not captured unless Gallery debug mode is enabled in config.php. Before seeking support for this error please enable buffered debug output and retry the operation. Look near the bottom of the lengthy debug output to find error details."), $this);?>
|
||||
|
||||
<?php endif; elseif (isset ( $this->_tpl_vars['ErrorPage']['code']['platformFailure'] )): ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "An error has occurred while interacting with the platform."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php if ($this->_tpl_vars['ErrorPage']['isAdmin'] && ! isset ( $this->_tpl_vars['ErrorPage']['debug'] )): echo $this->_reg_objects['g'][0]->text(array('text' => "The exact nature of the platform error is unknown. A common cause are insufficient file system permissions. This can happen if you or your webhost changed something in the file system, e.g. by restoring data from a backup."), $this);?>
|
||||
|
||||
<?php endif; elseif (isset ( $this->_tpl_vars['ErrorPage']['code']['missingObject'] )): ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Item not found."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php else: ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "An error has occurred."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<p class="giDescription">
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
"> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Back to the Gallery'), $this);?>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<?php if (! empty ( $this->_tpl_vars['ErrorPage']['stackTrace'] )): ?>
|
||||
<div class="gbBlock">
|
||||
<h3>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Error Detail'), $this);?>
|
||||
|
||||
<span id="trace-toggle" class="giBlockToggle gcBackground1 gcBorder2"
|
||||
style="border-width: 1px" onclick="BlockToggle('giStackTrace', 'trace-toggle')"> <?php if ($this->_tpl_vars['ErrorPage']['isAdmin']): ?>-<?php else: ?>+<?php endif; ?> </span>
|
||||
</h3>
|
||||
<div id="giStackTrace" style="margin-left: 0.8em<?php if (! $this->_tpl_vars['ErrorPage']['isAdmin']): ?>; display: none<?php endif; ?>">
|
||||
<?php echo $this->_tpl_vars['ErrorPage']['stackTrace']; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; if ($this->_tpl_vars['ErrorPage']['isAdmin']): ?>
|
||||
<div class="gbBlock">
|
||||
<h3> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'System Information'), $this);?>
|
||||
</h3>
|
||||
<table class="gbDataTable"><tr>
|
||||
<td>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Gallery version'), $this);?>
|
||||
|
||||
</td><td>
|
||||
<?php echo $this->_tpl_vars['ErrorPage']['version']; ?>
|
||||
|
||||
</td>
|
||||
</tr><tr>
|
||||
<td>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'PHP version'), $this);?>
|
||||
|
||||
</td><td>
|
||||
<?php echo $this->_tpl_vars['ErrorPage']['phpversion']; ?>
|
||||
<?php echo $this->_tpl_vars['ErrorPage']['php_sapi_name']; ?>
|
||||
|
||||
</td>
|
||||
</tr><tr>
|
||||
<td>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Webserver'), $this);?>
|
||||
|
||||
</td><td>
|
||||
<?php echo $this->_tpl_vars['ErrorPage']['webserver']; ?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php if (isset ( $this->_tpl_vars['ErrorPage']['dbType'] )): ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Database'), $this);?>
|
||||
|
||||
</td><td>
|
||||
<?php echo $this->_tpl_vars['ErrorPage']['dbType']; ?>
|
||||
<?php echo $this->_tpl_vars['ErrorPage']['dbVersion']; ?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; if (isset ( $this->_tpl_vars['ErrorPage']['toolkits'] )): ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Toolkits'), $this);?>
|
||||
|
||||
</td><td>
|
||||
<?php echo $this->_tpl_vars['ErrorPage']['toolkits']; ?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Operating system'), $this);?>
|
||||
|
||||
</td><td>
|
||||
<?php echo $this->_tpl_vars['ErrorPage']['php_uname']; ?>
|
||||
|
||||
</td>
|
||||
</tr><tr>
|
||||
<td>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Browser'), $this);?>
|
||||
|
||||
</td><td>
|
||||
<?php echo $this->_tpl_vars['ErrorPage']['browser']; ?>
|
||||
|
||||
</td>
|
||||
</tr></table>
|
||||
</div>
|
||||
<?php endif; if (isset ( $this->_tpl_vars['ErrorPage']['debug'] )): ?>
|
||||
<div class="gbBlock">
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:templates/debug.tpl", 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
</div>
|
||||
<?php endif; if (isset ( $this->_tpl_vars['ErrorPage']['profile'] )): ?>
|
||||
<div class="gbBlock">
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:templates/profile.tpl", 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
@ -1,171 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:41:52
|
||||
compiled from gallery:modules/core/templates/MarkupBar.tpl */ ?>
|
||||
<?php if ($this->_tpl_vars['theme']['markupType'] == 'bbcode'): if (! empty ( $this->_tpl_vars['firstMarkupBar'] )): ?>
|
||||
<script type="text/javascript"><?php echo '
|
||||
// <![CDATA[
|
||||
function openOrCloseTextElement(elementId, bbCodeElement, button) {
|
||||
var element = document.getElementById(elementId);
|
||||
if (!button.g2ToggleMode) {
|
||||
element.value = element.value + \'[\' + bbCodeElement + \']\';
|
||||
button.value = \'*\' + button.value;
|
||||
} else {
|
||||
element.value = element.value + \'[/\' + bbCodeElement + \']\';
|
||||
button.value = button.value.substring(1);
|
||||
}
|
||||
element.focus();
|
||||
button.g2ToggleMode = !button.g2ToggleMode;
|
||||
}
|
||||
function appendTextElement(elementId, bbCodeElement, button) {
|
||||
var element = document.getElementById(elementId);
|
||||
element.value = element.value + \'[\' + bbCodeElement + \']\';
|
||||
element.focus();
|
||||
}
|
||||
var isInit = false;
|
||||
function appendColorElement(elementId, button) {
|
||||
var colorChooser = document.getElementById(\'Markup_colorChooser\');
|
||||
if (!button.g2ToggleMode) {
|
||||
/* if we already have a popup, don\'t do anything */
|
||||
if (colorChooser.style.display == \'block\') {
|
||||
return;
|
||||
}
|
||||
button.value = \'*\' + button.value;
|
||||
colorChooser.g2ElementId = elementId;
|
||||
if (!isInit) {
|
||||
init();
|
||||
isInit = true;
|
||||
}
|
||||
if (colorChooser.style.display == \'block\') {
|
||||
colorChooser.style.display = \'none\';
|
||||
} else {
|
||||
var pos = YAHOO.util.Dom.getXY(button);
|
||||
colorChooser.style.display = \'block\';
|
||||
YAHOO.util.Dom.setXY(colorChooser, [pos[0] + 30, pos[1] + button.offsetHeight + 10]);
|
||||
}
|
||||
} else {
|
||||
button.value = button.value.substring(1);
|
||||
/* if popup is on the screen just dismiss it */
|
||||
if (colorChooser.style.display == \'block\') {
|
||||
colorChooser.style.display=\'none\';
|
||||
} else {
|
||||
var element = document.getElementById(elementId);
|
||||
element.value = element.value + \'[/color]\';
|
||||
element.focus();
|
||||
}
|
||||
}
|
||||
button.g2ToggleMode = !button.g2ToggleMode;
|
||||
}
|
||||
'; ?>
|
||||
|
||||
function appendUrlElement(elementId, bbCodeElement) {
|
||||
var element = document.getElementById(elementId);
|
||||
var url = prompt('<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Enter a URL','forJavascript' => true), $this);?>
|
||||
', ''), text = null;
|
||||
if (url != null) text = prompt('<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Enter some text describing the URL','forJavascript' => true), $this);?>
|
||||
', '');
|
||||
if (text != null) {
|
||||
if (text.length) element.value = element.value + '[url=' + url + ']' + text + '[/url]';
|
||||
else element.value = element.value + '[url]' + url + '[/url]';
|
||||
}
|
||||
element.focus();
|
||||
}
|
||||
function appendImageElement(elementId, bbCodeElement) {
|
||||
var element = document.getElementById(elementId);
|
||||
var url = prompt('<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Enter an image URL','forJavascript' => true), $this);?>
|
||||
', '');
|
||||
if (url != null) element.value = element.value + '[img]' + url + '[/img]';
|
||||
element.focus();
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
<script type="text/javascript" src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "lib/yui/yahoo-min.js"), $this);?>
|
||||
"></script>
|
||||
<script type="text/javascript" src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "lib/yui/event-min.js"), $this);?>
|
||||
"></script>
|
||||
<script type="text/javascript" src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "lib/yui/dom-min.js"), $this);?>
|
||||
"></script>
|
||||
<script type="text/javascript" src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "lib/yui/animation-min.js"), $this);?>
|
||||
"></script>
|
||||
<script type="text/javascript" src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "lib/yui/dragdrop-min.js"), $this);?>
|
||||
"></script>
|
||||
<script type="text/javascript" src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "lib/yui/color.js"), $this);?>
|
||||
"></script>
|
||||
<script type="text/javascript" src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "lib/yui/slider-min.js"), $this);?>
|
||||
"></script>
|
||||
<script type="text/javascript" src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "lib/javascript/ColorChooser.js"), $this);?>
|
||||
"></script>
|
||||
<?php endif; ?>
|
||||
<div class="gbMarkupBar">
|
||||
<input type="button" class="inputTypeButton" tabindex="32767"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => "B <!-- Button label for Bold -->"), $this);?>
|
||||
"
|
||||
onclick="openOrCloseTextElement('<?php echo $this->_tpl_vars['element']; ?>
|
||||
', 'b', this)"
|
||||
style="font-weight: bold;"/>
|
||||
<input type="button" class="inputTypeButton" tabindex="32767"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => "i <!-- Button label for italic -->"), $this);?>
|
||||
"
|
||||
onclick="openOrCloseTextElement('<?php echo $this->_tpl_vars['element']; ?>
|
||||
', 'i', this)"
|
||||
style="font-style: italic; padding-left: 1px; padding-right: 4px"/>
|
||||
<input type="button" class="inputTypeButton" tabindex="32767"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'list'), $this);?>
|
||||
"
|
||||
onclick="openOrCloseTextElement('<?php echo $this->_tpl_vars['element']; ?>
|
||||
', 'list', this)"/>
|
||||
<input type="button" class="inputTypeButton" tabindex="32767"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'bullet'), $this);?>
|
||||
"
|
||||
onclick="appendTextElement('<?php echo $this->_tpl_vars['element']; ?>
|
||||
', '*', this)"/>
|
||||
<input type="button" class="inputTypeButton" tabindex="32767"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'url'), $this);?>
|
||||
"
|
||||
onclick="appendUrlElement('<?php echo $this->_tpl_vars['element']; ?>
|
||||
', this)"/>
|
||||
<input type="button" class="inputTypeButton" tabindex="32767"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'image'), $this);?>
|
||||
"
|
||||
onclick="appendImageElement('<?php echo $this->_tpl_vars['element']; ?>
|
||||
', this)"/>
|
||||
<input type="button" class="inputTypeButton" tabindex="32767"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'color'), $this);?>
|
||||
" id="<?php echo $this->_tpl_vars['element']; ?>
|
||||
_color"
|
||||
onclick="appendColorElement('<?php echo $this->_tpl_vars['element']; ?>
|
||||
', this)"/>
|
||||
</div>
|
||||
<?php if (! empty ( $this->_tpl_vars['firstMarkupBar'] )): ?>
|
||||
<div id="Markup_colorChooser">
|
||||
<div id="Markup_colorHandle"> </div>
|
||||
<div id="Markup_pickerDiv">
|
||||
<img id="Markup_pickerBg" src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "modules/core/data/pickerbg.png"), $this);?>
|
||||
" alt=""/>
|
||||
<div id="Markup_selector"><img src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "modules/core/data/select.gif"), $this);?>
|
||||
" alt=""/></div>
|
||||
</div>
|
||||
<div id="Markup_hueBg">
|
||||
<div id="Markup_hueThumb"><img src="<?php echo $this->_reg_objects['g'][0]->url(array('href' => "modules/core/data/hline.png"), $this);?>
|
||||
" alt=""/></div>
|
||||
</div>
|
||||
<div id="Markup_valdiv">
|
||||
<br/>
|
||||
R <input name="rval" id="Markup_rval" type="text" value="0" size="3" maxlength="3"/>
|
||||
H <input name="hval" id="Markup_hval" type="text" value="0" size="3" maxlength="3"/>
|
||||
<br/>
|
||||
G <input name="gval" id="Markup_gval" type="text" value="0" size="3" maxlength="3"/>
|
||||
S <input name="gsal" id="Markup_sval" type="text" value="0" size="3" maxlength="3"/>
|
||||
<br/>
|
||||
B <input name="bval" id="Markup_bval" type="text" value="0" size="3" maxlength="3"/>
|
||||
V <input name="vval" id="Markup_vval" type="text" value="0" size="3" maxlength="3"/>
|
||||
<br/>
|
||||
<br/>
|
||||
# <input name="hexval" id="Markup_hexval" type="text" value="0" size="6" maxlength="6"/>
|
||||
<br/>
|
||||
<input value="Done" class="yui-log-button" style="font-size: 11px;" type="button"
|
||||
onclick="userUpdate()"/>
|
||||
</div>
|
||||
<div id="Markup_swatch"> </div>
|
||||
<div id="Markup_hint"><?php echo $this->_reg_objects['g'][0]->text(array('text' => "You can also use the <a href=\"%s\" target=\"_new\">color name</a> for example: %s",'arg1' => "http://www.w3.org/TR/2002/WD-css3-color-20020418/#html4",'arg2' => "[color=red]Your Text[/color]"), $this);?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; endif; ?>
|
||||
@ -1,96 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:43
|
||||
compiled from gallery:themes/CNJ/templates/theme.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'markup', 'gallery:themes/CNJ/templates/theme.tpl', 17, false),array('modifier', 'default', 'gallery:themes/CNJ/templates/theme.tpl', 17, false),)), $this); ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html lang="<?php echo $this->_reg_objects['g'][0]->language(array(), $this);?>
|
||||
">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<?php echo $this->_reg_objects['g'][0]->head(array(), $this);?>
|
||||
|
||||
<?php if (( empty ( $this->_tpl_vars['theme']['parents'] ) && $this->_tpl_vars['theme']['pageType'] == 'album' )): ?>
|
||||
<title>CNJ Estudio de Cocina y Baño</title>
|
||||
<?php elseif (empty ( $this->_tpl_vars['head']['title'] )): ?>
|
||||
<title>CNJ Estudio de Cocina y Baño - <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['theme']['item']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp, 'strip') : smarty_modifier_markup($_tmp, 'strip')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['theme']['item']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['theme']['item']['pathComponent'])); ?>
|
||||
</title>
|
||||
<?php endif; ?>
|
||||
<meta name="keywords" content="armarios, cocinas, puertas, tarimas, carpinteria, vestidores, auximobel, tarima, campanas, encimeras, lavavajillas, electrodomésticos, hogar, reforma" />
|
||||
<meta name="description" content="Especialistas en armarios, cocinas, mobiliario, muebles de baño y tarima" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "theme.css"), $this);?>
|
||||
"/>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "lightbox.css"), $this);?>
|
||||
"/>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "jd.gallery.css"), $this);?>
|
||||
"/>
|
||||
<?php echo '
|
||||
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
_uacct = "UA-297093-8";
|
||||
urchinTracker();
|
||||
</script>
|
||||
'; ?>
|
||||
|
||||
</head>
|
||||
<body class="gallery">
|
||||
<div <?php echo $this->_reg_objects['g'][0]->mainDivAttributes(array(), $this);?>
|
||||
>
|
||||
<?php if ($this->_tpl_vars['theme']['useFullScreen']): $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['theme']['moduleTemplate']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['theme']['moduleL10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
elseif ($this->_tpl_vars['theme']['pageType'] == 'progressbar'): echo $this->_reg_objects['g'][0]->theme(array('include' => "header.tpl"), $this);?>
|
||||
|
||||
<div class="content">
|
||||
<?php echo $this->_reg_objects['g'][0]->theme(array('include' => "progressbar.tpl"), $this);?>
|
||||
|
||||
</div>
|
||||
<?php else: echo $this->_reg_objects['g'][0]->theme(array('include' => "header.tpl"), $this);?>
|
||||
|
||||
<div class="content">
|
||||
<?php if (( empty ( $this->_tpl_vars['theme']['parents'] ) && $this->_tpl_vars['theme']['pageType'] == 'album' )): echo $this->_reg_objects['g'][0]->theme(array('include' => "frontpage.tpl"), $this);?>
|
||||
|
||||
<?php elseif (( $this->_tpl_vars['theme']['pageType'] == 'album' ) && ( $this->_tpl_vars['theme']['item']['id'] == 97 )): ?>
|
||||
<?php echo $this->_reg_objects['g'][0]->theme(array('include' => "contacto.tpl"), $this);?>
|
||||
|
||||
<?php elseif (( $this->_tpl_vars['theme']['pageType'] == 'album' ) && ( $this->_tpl_vars['theme']['item']['id'] == 144 )): ?>
|
||||
<?php echo $this->_reg_objects['g'][0]->theme(array('include' => "album_catalogo.tpl"), $this);?>
|
||||
|
||||
<?php elseif (( $this->_tpl_vars['theme']['pageType'] == 'album' ) && ( $this->_tpl_vars['theme']['item']['id'] == 345 )): echo $this->_reg_objects['g'][0]->theme(array('include' => "album_cocinas.tpl"), $this);?>
|
||||
|
||||
<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'album'): echo $this->_reg_objects['g'][0]->theme(array('include' => "album.tpl"), $this);?>
|
||||
|
||||
<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'photo'): echo $this->_reg_objects['g'][0]->theme(array('include' => "photo.tpl"), $this);?>
|
||||
|
||||
<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'admin'): echo $this->_reg_objects['g'][0]->theme(array('include' => "admin.tpl"), $this);?>
|
||||
|
||||
<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'module'): echo $this->_reg_objects['g'][0]->theme(array('include' => "module.tpl"), $this);?>
|
||||
|
||||
<?php endif; if ($this->_tpl_vars['user']['isRegisteredUser']): if (empty ( $this->_tpl_vars['theme']['parents'] )): ?>
|
||||
<div class="gbSystemLinks">
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.SystemLinks",'order' => "core.SiteAdmin core.YourAccount core.Login core.Logout",'othersAt' => 4), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<div class="footer">
|
||||
<div class="text-footer">
|
||||
<p>Copyright 2007 - Construcciones CNJ S.A.</p>
|
||||
<p>Disenado por <a href="http://www.rodax-software.com">Rodax Software S.L.</a></p>
|
||||
</div>
|
||||
<?php if (! $this->_tpl_vars['user']['isRegisteredUser']): ?>
|
||||
<div class="login">
|
||||
<p><a href="/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin">Iniciar sesión</a></p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?> </div>
|
||||
<?php echo $this->_reg_objects['g'][0]->trailer(array(), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->debug(array(), $this);?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -1,62 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:49:02
|
||||
compiled from gallery:themes/CNJ/templates/progressbar.tpl */ ?>
|
||||
<div id="ProgressBar" class="gbBlock">
|
||||
<h3 id="progressTitle">
|
||||
|
||||
</h3>
|
||||
<p id="progressDescription">
|
||||
|
||||
</p>
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td id="progressDone"> </td>
|
||||
<td id="progressToGo"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<p id="progressTimeRemaining">
|
||||
|
||||
</p>
|
||||
<p id="progressMemoryInfo">
|
||||
|
||||
</p>
|
||||
<p id="progressErrorInfo" style="display: none">
|
||||
</p>
|
||||
<a id="progressContinueLink" style="display: none">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Continue..."), $this);?>
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<?php $this->_tag_stack[] = array('addToTrailer', array(), $this); $_block_repeat=true; $this->_reg_objects['g'][0]->addToTrailer($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start(); echo '
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
var saveToGoDisplay = document.getElementById(\'progressToGo\').style.display;
|
||||
function updateProgressBar(title, description, percentComplete, timeRemaining, memoryInfo) {
|
||||
document.getElementById(\'progressTitle\').innerHTML = title;
|
||||
document.getElementById(\'progressDescription\').innerHTML = description;
|
||||
var progressMade = Math.round(percentComplete * 100);
|
||||
var progressToGo = document.getElementById(\'progressToGo\');
|
||||
if (progressMade == 100) {
|
||||
progressToGo.style.display = \'none\';
|
||||
} else {
|
||||
progressToGo.style.display = saveToGoDisplay;
|
||||
progressToGo.style.width = (100 - progressMade) + "%";
|
||||
}
|
||||
document.getElementById(\'progressDone\').style.width = progressMade + "%";
|
||||
document.getElementById(\'progressTimeRemaining\').innerHTML = timeRemaining;
|
||||
document.getElementById(\'progressMemoryInfo\').innerHTML = memoryInfo;
|
||||
}
|
||||
function completeProgressBar(url) {
|
||||
var link = document.getElementById(\'progressContinueLink\');
|
||||
link.href = url;
|
||||
link.style.display = \'inline\';
|
||||
}
|
||||
function errorProgressBar(html) {
|
||||
var errorInfo = document.getElementById(\'progressErrorInfo\');
|
||||
errorInfo.innerHTML = html;
|
||||
errorInfo.style.display = \'block\';
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
'; ?>
|
||||
|
||||
<?php $_obj_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo $this->_reg_objects['g'][0]->addToTrailer($this->_tag_stack[count($this->_tag_stack)-1][1], $_obj_block_content, $this, $_block_repeat);} array_pop($this->_tag_stack);?>
|
||||
@ -1,61 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:41:40
|
||||
compiled from gallery:modules/publishxp/templates/Head.tpl */ ?>
|
||||
<title>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Publish XP'), $this);?>
|
||||
|
||||
</title>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
var onBackUrl = null;
|
||||
var submitOnNext = false;
|
||||
var title="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Upload to Gallery','forJavascript' => true), $this);?>
|
||||
";
|
||||
<?php $this->assign('XpDebug', false); if (( $this->_tpl_vars['XpDebug'] )): echo '
|
||||
function MockWizard() {
|
||||
this.SetWizardButtons = function x(backButton, nextButton, finishButton) { }
|
||||
this.SetHeaderText = function y(title, subTitle) { }
|
||||
this.FinalBack = function z() { }
|
||||
}
|
||||
if (window.external) {
|
||||
impl = window.external;
|
||||
} else {
|
||||
impl = new MockWizard();
|
||||
}
|
||||
'; ?>
|
||||
|
||||
<?php else: ?>
|
||||
impl = window.external;
|
||||
<?php endif; echo '
|
||||
function setOnBackUrl(url) {
|
||||
onBackUrl = url;
|
||||
}
|
||||
function setButtons(backButton, nextButton, finishButton) {
|
||||
impl.SetWizardButtons(backButton, nextButton, finishButton);
|
||||
}
|
||||
function setSubtitle(subTitle) {
|
||||
impl.SetHeaderText(title, subTitle);
|
||||
}
|
||||
function OnBack() {
|
||||
if (onBackUrl) {
|
||||
window.location.href = onBackUrl;
|
||||
setButtons(false, true, false);
|
||||
} else {
|
||||
impl.FinalBack();
|
||||
}
|
||||
}
|
||||
function setSubmitOnNext(boolValue) {
|
||||
submitOnNext = boolValue;
|
||||
}
|
||||
function OnNext() {
|
||||
if (submitOnNext) {
|
||||
document.getElementById(\'publishXpForm\').submit();
|
||||
}
|
||||
}
|
||||
'; ?>
|
||||
|
||||
// ]]>
|
||||
</script>
|
||||
<?php if (( $this->_tpl_vars['XpDebug'] )): ?>
|
||||
<input type="button" onclick="OnBack()" value="< Back">
|
||||
<input type="button" onclick="OnNext()" value="Next >">
|
||||
<?php endif; ?>
|
||||
@ -1,45 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:50
|
||||
compiled from gallery:modules/search/templates/blocks/SearchBlock.tpl */ ?>
|
||||
<?php if (! isset ( $this->_tpl_vars['showAdvancedLink'] )): ?> <?php $this->assign('showAdvancedLink', 'true'); ?> <?php endif; $this->_tag_stack[] = array('addToTrailer', array(), $this); $_block_repeat=true; $this->_reg_objects['g'][0]->addToTrailer($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
search_SearchBlock_init('<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Search the Gallery'), $this);?>
|
||||
', '<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Please enter a search term."), $this);?>
|
||||
');
|
||||
// ]]>
|
||||
</script>
|
||||
<?php $_obj_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo $this->_reg_objects['g'][0]->addToTrailer($this->_tag_stack[count($this->_tag_stack)-1][1], $_obj_block_content, $this, $_block_repeat);} array_pop($this->_tag_stack);?>
|
||||
|
||||
<div class="<?php echo $this->_tpl_vars['class']; ?>
|
||||
">
|
||||
<form id="search_SearchBlock" action="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
" method="post" onsubmit="return search_SearchBlock_checkForm()">
|
||||
<div>
|
||||
<?php echo $this->_reg_objects['g'][0]->hiddenFormVars(array(), $this);?>
|
||||
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'view'), $this);?>
|
||||
" value="search.SearchScan"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formName]"), $this);?>
|
||||
" value="search_SearchBlock"/>
|
||||
<input type="text" id="searchCriteria" size="18"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[searchCriteria]"), $this);?>
|
||||
"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Search the Gallery'), $this);?>
|
||||
"
|
||||
onfocus="search_SearchBlock_focus()"
|
||||
onblur="search_SearchBlock_blur()"
|
||||
class="textbox"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[useDefaultSettings]"), $this);?>
|
||||
" value="1" />
|
||||
</div>
|
||||
<?php if ($this->_tpl_vars['showAdvancedLink']): ?>
|
||||
<div>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=search.SearchScan",'arg2' => "form[useDefaultSettings]=1",'arg3' => "return=1"), $this);?>
|
||||
"
|
||||
class="<?php echo $this->_reg_objects['g'][0]->linkId(array('view' => "search.SearchScan"), $this);?>
|
||||
advanced"><?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Advanced Search'), $this);?>
|
||||
</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</form>
|
||||
</div>
|
||||
@ -1,83 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:18
|
||||
compiled from gallery:themes/CNJ/templates/frontpage.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'replace', 'gallery:themes/CNJ/templates/frontpage.tpl', 69, false),array('modifier', 'markup', 'gallery:themes/CNJ/templates/frontpage.tpl', 98, false),)), $this); ?>
|
||||
<?php if (! count ( $this->_tpl_vars['theme']['children'] )): ?>
|
||||
<div class="gallery-empty">
|
||||
<p><strong><?php echo $this->_reg_objects['g'][0]->text(array('text' => "This album is empty."), $this);?>
|
||||
</strong></p>
|
||||
<?php if (isset ( $this->_tpl_vars['theme']['permissions']['core_addDataItem'] )): ?>
|
||||
<p><a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ItemAdmin",'arg2' => "subView=core.ItemAdd",'arg3' => "itemId=".($this->_tpl_vars['theme']['item']['id'])), $this);?>
|
||||
"><?php echo $this->_reg_objects['g'][0]->text(array('text' => "Add a photo!"), $this);?>
|
||||
</a></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
|
||||
<?php echo '
|
||||
<script src=\'/themes/cnj/scripts/mootools.js\' type="text/javascript"></script>
|
||||
<script src=\'/themes/cnj/scripts/jd.gallery.js\' type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
function startGallery() {
|
||||
var myGallery = new gallery($(\'myGallery\'), {
|
||||
timed: true,
|
||||
delay: 6000,
|
||||
fadeDuration: 2000,
|
||||
useThumbGenerator: true,
|
||||
showCarousel: true,
|
||||
preloader: true,
|
||||
imageSelector: "img.gallery-photo"
|
||||
});
|
||||
}
|
||||
window.onDomReady(startGallery);
|
||||
</script>
|
||||
'; ?>
|
||||
|
||||
<?php $this->assign('firstItem', true); $_from = $this->_tpl_vars['theme']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['child']):
|
||||
if (! $this->_tpl_vars['child']['canContainChildren']): if ($this->_tpl_vars['firstItem']): ?>
|
||||
<div id="myGallery" class="gallery-items">
|
||||
<?php $this->assign('firstItem', false); endif; ?>
|
||||
<div class="imageElement">
|
||||
<h3><?php echo $this->_tpl_vars['child']['summary']; ?>
|
||||
</h3>
|
||||
<p><?php echo $this->_tpl_vars['child']['description']; ?>
|
||||
</p>
|
||||
<?php if (( $this->_tpl_vars['child']['canContainChildren'] || $this->_tpl_vars['child']['entityType'] == 'GalleryLinkItem' )): $this->assign('frameType', 'albumFrame'); ob_start(); echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
|
||||
<?php $this->_smarty_vars['capture']['default'] = ob_get_contents(); $this->assign('linkUrl', ob_get_contents());ob_end_clean(); else: $this->assign('frameType', 'itemFrame'); if (isset ( $this->_tpl_vars['child']['linkId'] ) && $this->_tpl_vars['theme']['guestPreviewMode'] == 0): ?>
|
||||
<?php ob_start(); echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['theme']['pageUrl'],'arg1' => "itemId=".($this->_tpl_vars['child']['linkId'])), $this);?>
|
||||
|
||||
<?php $this->_smarty_vars['capture']['default'] = ob_get_contents(); $this->assign('linkId', ob_get_contents());ob_end_clean(); ob_start(); echo ((is_array($_tmp=$this->_tpl_vars['linkId'])) ? $this->_run_mod_handler('replace', true, $_tmp, ($this->_tpl_vars['child']['pathComponent']).".html", "") : smarty_modifier_replace($_tmp, ($this->_tpl_vars['child']['pathComponent']).".html", "")); ?>
|
||||
|
||||
<?php $this->_smarty_vars['capture']['default'] = ob_get_contents(); $this->assign('linkUrl', ob_get_contents());ob_end_clean(); ?>
|
||||
<a class='open' title="<?php echo $this->_tpl_vars['child']['summary']; ?>
|
||||
" href="<?php echo $this->_reg_objects['g'][0]->text(array('text' => ($this->_tpl_vars['linkUrl'])), $this);?>
|
||||
"></a>
|
||||
<?php else: ?>
|
||||
<a class='open' title="<?php echo $this->_tpl_vars['child']['summary']; ?>
|
||||
" href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
">a</a>
|
||||
<?php endif; endif; if (isset ( $this->_tpl_vars['child']['thumbnail'] )): ?>
|
||||
<?php echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['child'],'image' => $this->_tpl_vars['child']['thumbnail'],'class' => 'gallery-photo'), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => 'no thumbnail'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; endforeach; endif; unset($_from); if (! $this->_tpl_vars['firstItem']): ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<?php endif; endif; if ($this->_tpl_vars['theme']['totalPages'] > 1): echo $this->_reg_objects['g'][0]->block(array('type' => "core.Navigator",'navigator' => $this->_tpl_vars['theme']['navigator'],'prefix' => "« ",'suffix' => " »",'currentPage' => $this->_tpl_vars['theme']['currentPage'],'totalPages' => $this->_tpl_vars['theme']['totalPages']), $this);?>
|
||||
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['theme']['item']['description'] )): ?>
|
||||
<hr />
|
||||
<p><?php echo ((is_array($_tmp=$this->_tpl_vars['theme']['item']['description'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
</p>
|
||||
<?php endif; if ($this->_tpl_vars['user']['isRegisteredUser']): $_from = $this->_tpl_vars['theme']['params']['albumBlocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['block']):
|
||||
echo $this->_reg_objects['g'][0]->block(array('type' => $this->_tpl_vars['block']['0'],'params' => $this->_tpl_vars['block']['1']), $this);?>
|
||||
|
||||
<?php endforeach; endif; unset($_from); endif; echo $this->_reg_objects['g'][0]->block(array('type' => "core.GuestPreview",'class' => 'gbBlock'), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.EmergencyEditItemLink",'class' => 'gbBlock','checkBlocks' => 'album'), $this);?>
|
||||
@ -1,204 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:44:14
|
||||
compiled from gallery:modules/search/templates/SearchShowAll.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'gallery:modules/search/templates/SearchShowAll.tpl', 120, false),array('modifier', 'markup', 'gallery:modules/search/templates/SearchShowAll.tpl', 120, false),)), $this); ?>
|
||||
<form id="SearchShowAll" action="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
" method="post">
|
||||
<div id="gsContent" class="gcBorder1">
|
||||
<div class="gbBlock gcBackground1">
|
||||
<h2>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "%s Search Results for ",'arg1' => $this->_tpl_vars['SearchShowAll']['moduleInfo']['name']), $this);?>
|
||||
|
||||
'<?php echo $this->_tpl_vars['form']['searchCriteria']; ?>
|
||||
'
|
||||
</h2>
|
||||
</div>
|
||||
<?php echo $this->_reg_objects['g'][0]->hiddenFormVars(array(), $this);?>
|
||||
|
||||
<input type="hidden"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'controller'), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['SearchShowAll']['controller']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formName]"), $this);?>
|
||||
" value="SearchShowAll"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[moduleId]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['moduleId']; ?>
|
||||
"/>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[page]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['page']; ?>
|
||||
"/>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
function setCheck(val) {
|
||||
<?php $_from = $this->_tpl_vars['SearchShowAll']['moduleInfo']['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['optionId'] => $this->_tpl_vars['optionInfo']):
|
||||
?>
|
||||
document.getElementById('cb_<?php echo $this->_tpl_vars['optionId']; ?>
|
||||
').checked = val;
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
}
|
||||
function invertCheck() {
|
||||
var o;
|
||||
<?php $_from = $this->_tpl_vars['SearchShowAll']['moduleInfo']['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['optionId'] => $this->_tpl_vars['optionInfo']):
|
||||
?>
|
||||
o = document.getElementById('cb_<?php echo $this->_tpl_vars['optionId']; ?>
|
||||
'); o.checked = !o.checked;
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
<div class="gbBlock">
|
||||
<input type="text" size="50"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[searchCriteria]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['searchCriteria']; ?>
|
||||
"/>
|
||||
<script type="text/javascript">
|
||||
document.getElementById('SearchShowAll')['<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[searchCriteria]"), $this);?>
|
||||
'].focus();
|
||||
</script>
|
||||
<input type="hidden"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[lastSearchCriteria]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['searchCriteria']; ?>
|
||||
"/>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][search]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Search'), $this);?>
|
||||
"/>
|
||||
<?php if (isset ( $this->_tpl_vars['form']['error']['searchCriteria']['missing'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "You must enter some text to search for!"), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div style="margin: 0.5em 0">
|
||||
<?php $_from = $this->_tpl_vars['SearchShowAll']['moduleInfo']['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['optionId'] => $this->_tpl_vars['optionInfo']):
|
||||
?>
|
||||
<input id="cb_<?php echo $this->_tpl_vars['optionId']; ?>
|
||||
" type="checkbox"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[options][".($this->_tpl_vars['SearchShowAll']['moduleId'])."][".($this->_tpl_vars['optionId'])."]"), $this);?>
|
||||
"
|
||||
<?php if (isset ( $this->_tpl_vars['form']['options'][$this->_tpl_vars['SearchShowAll']['moduleId']][$this->_tpl_vars['optionId']] )): ?>checked="checked"<?php endif; ?>/>
|
||||
<label for="cb_<?php echo $this->_tpl_vars['optionId']; ?>
|
||||
">
|
||||
<?php echo $this->_tpl_vars['optionInfo']['description']; ?>
|
||||
|
||||
</label>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</div>
|
||||
<div>
|
||||
<a href="javascript:setCheck(1)"><?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Check All'), $this);?>
|
||||
</a>
|
||||
|
||||
<a href="javascript:setCheck(0)"><?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Uncheck All'), $this);?>
|
||||
</a>
|
||||
|
||||
<a href="javascript:invertCheck()"><?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Invert'), $this);?>
|
||||
</a
|
||||
</div>
|
||||
</div>
|
||||
<?php if (! empty ( $this->_tpl_vars['SearchShowAll']['results'] )): ?>
|
||||
<div class="gbBlock">
|
||||
<div>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][scan]"), $this);?>
|
||||
"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Search All Modules'), $this);?>
|
||||
"/>
|
||||
</div>
|
||||
<h4>
|
||||
<?php echo $this->_tpl_vars['SearchShowAll']['moduleInfo']['name']; ?>
|
||||
|
||||
<?php if (( $this->_tpl_vars['SearchShowAll']['results']['count'] > 0 )): echo $this->_reg_objects['g'][0]->text(array('text' => "Results %d - %d of %d, Page %d of %d",'arg1' => $this->_tpl_vars['SearchShowAll']['results']['start'],'arg2' => $this->_tpl_vars['SearchShowAll']['results']['end'],'arg3' => $this->_tpl_vars['SearchShowAll']['results']['count'],'arg4' => $this->_tpl_vars['form']['page'],'arg5' => $this->_tpl_vars['SearchShowAll']['maxPages']), $this);?>
|
||||
|
||||
<?php endif; if (( $this->_tpl_vars['form']['page'] > 1 )): ?>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][previousPage]"), $this);?>
|
||||
"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => "« Back"), $this);?>
|
||||
"/>
|
||||
<?php endif; if (( $this->_tpl_vars['form']['page'] < $this->_tpl_vars['SearchShowAll']['maxPages'] )): ?>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][nextPage]"), $this);?>
|
||||
"
|
||||
value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Next »"), $this);?>
|
||||
"/>
|
||||
<?php endif; ?>
|
||||
</h4>
|
||||
<?php if (( sizeof ( $this->_tpl_vars['SearchShowAll']['results']['results'] ) > 0 )): $this->assign('childrenInColumnCount', 0); ?>
|
||||
<table><tr>
|
||||
<?php $_from = $this->_tpl_vars['SearchShowAll']['results']['results']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['result']):
|
||||
if (( $this->_tpl_vars['childrenInColumnCount'] == 4 )): ?>
|
||||
</tr><tr>
|
||||
<?php $this->assign('childrenInColumnCount', 0); endif; $this->assign('childrenInColumnCount', ($this->_tpl_vars['childrenInColumnCount']+1)); $this->assign('itemId', $this->_tpl_vars['result']['itemId']); ?>
|
||||
<td class="<?php if ($this->_tpl_vars['SearchShowAll']['items'][$this->_tpl_vars['itemId']]['canContainChildren']): ?>gbItemAlbum<?php else: ?>gbItemImage<?php endif; ?>"
|
||||
style="width: 10%">
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['itemId'])), $this);?>
|
||||
">
|
||||
<?php if (isset ( $this->_tpl_vars['SearchShowAll']['thumbnails'][$this->_tpl_vars['itemId']] )): echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['SearchShowAll']['items'][$this->_tpl_vars['itemId']],'image' => $this->_tpl_vars['SearchShowAll']['thumbnails'][$this->_tpl_vars['itemId']],'class' => 'giThumbnail'), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => 'No thumbnail'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
<ul class="giInfo">
|
||||
<?php $_from = $this->_tpl_vars['result']['fields']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['field']):
|
||||
?>
|
||||
<li>
|
||||
<span class="ResultKey"><?php echo $this->_tpl_vars['field']['key']; ?>
|
||||
:</span>
|
||||
<span class="ResultData"><?php echo ((is_array($_tmp=((is_array($_tmp=@$this->_tpl_vars['field']['value'])) ? $this->_run_mod_handler('default', true, $_tmp, " ") : smarty_modifier_default($_tmp, " ")))) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
</span>
|
||||
</li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); unset($this->_sections['flush']);
|
||||
$this->_sections['flush']['name'] = 'flush';
|
||||
$this->_sections['flush']['start'] = (int)$this->_tpl_vars['childrenInColumnCount'];
|
||||
$this->_sections['flush']['loop'] = is_array($_loop=4) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
|
||||
$this->_sections['flush']['show'] = true;
|
||||
$this->_sections['flush']['max'] = $this->_sections['flush']['loop'];
|
||||
$this->_sections['flush']['step'] = 1;
|
||||
if ($this->_sections['flush']['start'] < 0)
|
||||
$this->_sections['flush']['start'] = max($this->_sections['flush']['step'] > 0 ? 0 : -1, $this->_sections['flush']['loop'] + $this->_sections['flush']['start']);
|
||||
else
|
||||
$this->_sections['flush']['start'] = min($this->_sections['flush']['start'], $this->_sections['flush']['step'] > 0 ? $this->_sections['flush']['loop'] : $this->_sections['flush']['loop']-1);
|
||||
if ($this->_sections['flush']['show']) {
|
||||
$this->_sections['flush']['total'] = min(ceil(($this->_sections['flush']['step'] > 0 ? $this->_sections['flush']['loop'] - $this->_sections['flush']['start'] : $this->_sections['flush']['start']+1)/abs($this->_sections['flush']['step'])), $this->_sections['flush']['max']);
|
||||
if ($this->_sections['flush']['total'] == 0)
|
||||
$this->_sections['flush']['show'] = false;
|
||||
} else
|
||||
$this->_sections['flush']['total'] = 0;
|
||||
if ($this->_sections['flush']['show']):
|
||||
|
||||
for ($this->_sections['flush']['index'] = $this->_sections['flush']['start'], $this->_sections['flush']['iteration'] = 1;
|
||||
$this->_sections['flush']['iteration'] <= $this->_sections['flush']['total'];
|
||||
$this->_sections['flush']['index'] += $this->_sections['flush']['step'], $this->_sections['flush']['iteration']++):
|
||||
$this->_sections['flush']['rownum'] = $this->_sections['flush']['iteration'];
|
||||
$this->_sections['flush']['index_prev'] = $this->_sections['flush']['index'] - $this->_sections['flush']['step'];
|
||||
$this->_sections['flush']['index_next'] = $this->_sections['flush']['index'] + $this->_sections['flush']['step'];
|
||||
$this->_sections['flush']['first'] = ($this->_sections['flush']['iteration'] == 1);
|
||||
$this->_sections['flush']['last'] = ($this->_sections['flush']['iteration'] == $this->_sections['flush']['total']);
|
||||
?>
|
||||
<td> </td>
|
||||
<?php endfor; endif; ?>
|
||||
</tr></table>
|
||||
<script type="text/javascript">
|
||||
search_HighlightResults('<?php echo $this->_tpl_vars['form']['searchCriteria']; ?>
|
||||
');
|
||||
</script>
|
||||
<?php else: ?>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'No results found for'), $this);?>
|
||||
'<?php echo $this->_tpl_vars['form']['searchCriteria']; ?>
|
||||
'
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</form>
|
||||
@ -1,71 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:43
|
||||
compiled from gallery:modules/core/templates/ItemAdmin.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'markup', 'gallery:modules/core/templates/ItemAdmin.tpl', 28, false),)), $this); ?>
|
||||
<form action="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
" method="post" enctype="<?php echo $this->_tpl_vars['ItemAdmin']['enctype']; ?>
|
||||
" id="itemAdminForm">
|
||||
<div>
|
||||
<?php echo $this->_reg_objects['g'][0]->hiddenFormVars(array(), $this);?>
|
||||
|
||||
<?php if (! empty ( $this->_tpl_vars['controller'] )): ?>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'controller'), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['controller']; ?>
|
||||
"/>
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['form']['formName'] )): ?>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formName]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['formName']; ?>
|
||||
"/>
|
||||
<?php endif; ?>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'itemId'), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['ItemAdmin']['item']['id']; ?>
|
||||
"/>
|
||||
</div>
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td id="gsSidebarCol"><div id="gsSidebar" class="gcBorder1">
|
||||
<?php if ($this->_tpl_vars['ItemAdmin']['item']['parentId'] || ! empty ( $this->_tpl_vars['ItemAdmin']['thumbnail'] )): ?>
|
||||
<div class="gbBlock">
|
||||
<?php if (empty ( $this->_tpl_vars['ItemAdmin']['thumbnail'] )): echo $this->_reg_objects['g'][0]->text(array('text' => 'No Thumbnail'), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['ItemAdmin']['item'],'image' => $this->_tpl_vars['ItemAdmin']['thumbnail'],'maxSize' => 130), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
<h3> <?php echo ((is_array($_tmp=$this->_tpl_vars['ItemAdmin']['item']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
</h3>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="gbBlock">
|
||||
<h2> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Options'), $this);?>
|
||||
</h2>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['ItemAdmin']['subViewChoices']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['choiceName'] => $this->_tpl_vars['choiceParams']):
|
||||
?>
|
||||
<li class="<?php echo $this->_reg_objects['g'][0]->linkId(array('urlParams' => $this->_tpl_vars['choiceParams']), $this);?>
|
||||
">
|
||||
<?php if (isset ( $this->_tpl_vars['choiceParams']['active'] )): echo $this->_tpl_vars['choiceName']; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['choiceParams']), $this);?>
|
||||
"> <?php echo $this->_tpl_vars['choiceName']; ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.NavigationLinks",'class' => 'gbBlock','navigationLinks' => $this->_tpl_vars['ItemAdmin']['navigationLinks']), $this);?>
|
||||
|
||||
</div></td>
|
||||
<td>
|
||||
<div id="gsContent" class="gcBorder1">
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['ItemAdmin']['viewBodyFile']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['ItemAdmin']['viewL10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
</div>
|
||||
</td>
|
||||
</tr></table>
|
||||
</form>
|
||||
@ -1,63 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:11
|
||||
compiled from gallery:modules/publishxp/templates/UploadItems.tpl */ ?>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
setSubtitle("");
|
||||
setOnBackUrl("<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=publishxp.Options",'arg2' => "albumId=".($this->_tpl_vars['UploadItems']['albumId']),'arg3' => "setCaptions=".($this->_tpl_vars['UploadItems']['setCaptions']),'arg4' => "stripExtensions=".($this->_tpl_vars['UploadItems']['stripExtensions']),'htmlEntities' => false), $this);?>
|
||||
");
|
||||
setSubmitOnNext(true);
|
||||
setButtons(false, true, false);
|
||||
function publishItems() {
|
||||
var xml = window.external.Property("TransferManifest");
|
||||
var files = xml.selectNodes("transfermanifest/filelist/file");
|
||||
for (i = 0; i < files.length; i++) {
|
||||
var postTag = xml.createNode(1, "post", "");
|
||||
postTag.setAttribute("href", "<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "controller=publishxp.UploadItems",'htmlEntities' => false,'forceFullUrl' => true), $this);?>
|
||||
");
|
||||
postTag.setAttribute("name", "userFile");
|
||||
var dataTag = xml.createNode(1, "formdata", "");
|
||||
dataTag.setAttribute("name", "MAX_FILE_SIZE");
|
||||
dataTag.text = "10000000";
|
||||
postTag.appendChild(dataTag);
|
||||
var dataTag = xml.createNode(1, "formdata", "");
|
||||
dataTag.setAttribute("name", "<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'controller'), $this);?>
|
||||
");
|
||||
dataTag.text = "publishxp.UploadItems";
|
||||
postTag.appendChild(dataTag);
|
||||
var dataTag = xml.createNode(1, "formdata", "");
|
||||
dataTag.setAttribute("name", "<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][uploadItem]"), $this);?>
|
||||
");
|
||||
dataTag.text = "1";
|
||||
postTag.appendChild(dataTag);
|
||||
var dataTag = xml.createNode(1, "formdata", "");
|
||||
dataTag.setAttribute("name", "<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[albumId]"), $this);?>
|
||||
");
|
||||
dataTag.text = "<?php echo $this->_tpl_vars['UploadItems']['albumId']; ?>
|
||||
";
|
||||
postTag.appendChild(dataTag);
|
||||
var dataTag = xml.createNode(1, "formdata", "");
|
||||
dataTag.setAttribute("name", "<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[setCaptions]"), $this);?>
|
||||
");
|
||||
dataTag.text = "<?php echo $this->_tpl_vars['UploadItems']['setCaptions']; ?>
|
||||
";
|
||||
postTag.appendChild(dataTag);
|
||||
var dataTag = xml.createNode(1, "formdata", "");
|
||||
dataTag.setAttribute("name", "<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[stripExtensions]"), $this);?>
|
||||
");
|
||||
dataTag.text = "<?php echo $this->_tpl_vars['UploadItems']['stripExtensions']; ?>
|
||||
";
|
||||
postTag.appendChild(dataTag);
|
||||
files.item(i).appendChild(postTag);
|
||||
}
|
||||
var uploadTag = xml.createNode(1, "uploadinfo", "");
|
||||
var htmluiTag = xml.createNode(1, "htmlui", "");
|
||||
htmluiTag.text = "<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['UploadItems']['albumId']),'htmlEntities' => false,'forceFullUrl' => true), $this);?>
|
||||
";
|
||||
uploadTag.appendChild(htmluiTag);
|
||||
xml.documentElement.appendChild(uploadTag);
|
||||
window.external.Property("TransferManifest")=xml;
|
||||
window.external.FinalNext();
|
||||
}
|
||||
publishItems();
|
||||
// ]]>
|
||||
</script>
|
||||
@ -1,236 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:49
|
||||
compiled from gallery:modules/core/templates/ItemEditItem.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_select_date', 'gallery:modules/core/templates/ItemEditItem.tpl', 112, false),array('function', 'html_select_time', 'gallery:modules/core/templates/ItemEditItem.tpl', 117, false),array('modifier', 'utf8', 'gallery:modules/core/templates/ItemEditItem.tpl', 115, false),)), $this); ?>
|
||||
<div class="gbBlock">
|
||||
<?php if ($this->_tpl_vars['ItemEditItem']['can']['changePathComponent']): ?>
|
||||
<div>
|
||||
<h2>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Name'), $this);?>
|
||||
|
||||
<span class="giSubtitle">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "(required)"), $this);?>
|
||||
|
||||
</span>
|
||||
</h2>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "The name of this item on your hard disk. It must be unique in this album. Only use alphanumeric characters, underscores or dashes."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php echo ''; $_from = $this->_tpl_vars['ItemAdmin']['parents']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['parent']):
|
||||
echo ''; if (empty ( $this->_tpl_vars['parent']['parentId'] )): echo '/'; else: echo ''; echo $this->_tpl_vars['parent']['pathComponent']; echo '/'; endif; echo ''; endforeach; endif; unset($_from); echo ''; ?>
|
||||
|
||||
<input type="text" size="40"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[pathComponent]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['pathComponent']; ?>
|
||||
"/>
|
||||
<?php if (isset ( $this->_tpl_vars['form']['error']['pathComponent']['invalid'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Your name contains invalid characters. Please choose another."), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; if (isset ( $this->_tpl_vars['form']['error']['pathComponent']['missing'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "You must enter a name for this item."), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; if (isset ( $this->_tpl_vars['form']['error']['pathComponent']['collision'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "The name you entered is already in use. Please choose another."), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div>
|
||||
<h4> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Title'), $this);?>
|
||||
</h4>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "The title of this item."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:modules/core/templates/MarkupBar.tpl", 'smarty_include_vars' => array('viewL10domain' => 'modules_core','element' => 'title','firstMarkupBar' => true)));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<input type="text" id="title" size="60"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[title]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['title']; ?>
|
||||
"/>
|
||||
<?php if (! empty ( $this->_tpl_vars['form']['error']['title']['missingRootTitle'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "The root album must have a title."), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div>
|
||||
<h4> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Summary'), $this);?>
|
||||
</h4>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "The summary of this item."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:modules/core/templates/MarkupBar.tpl", 'smarty_include_vars' => array('viewL10domain' => 'modules_core','element' => 'summary')));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<input type="text" id="summary" size="60"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[summary]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['summary']; ?>
|
||||
"/>
|
||||
</div>
|
||||
<div>
|
||||
<h4> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Keywords'), $this);?>
|
||||
</h4>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Keywords are not visible, but are searchable."), $this);?>
|
||||
|
||||
</p>
|
||||
<textarea rows="2" cols="60"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[keywords]"), $this);?>
|
||||
"><?php echo $this->_tpl_vars['form']['keywords']; ?>
|
||||
</textarea>
|
||||
</div>
|
||||
<div>
|
||||
<h4> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Description'), $this);?>
|
||||
</h4>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "This is the long description of the item."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:modules/core/templates/MarkupBar.tpl", 'smarty_include_vars' => array('viewL10domain' => 'modules_core','element' => 'description')));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<textarea id="description" rows="4" cols="60"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[description]"), $this);?>
|
||||
"><?php echo $this->_tpl_vars['form']['description']; ?>
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gbBlock">
|
||||
<h3> <?php echo $this->_reg_objects['g'][0]->text(array('text' => "%s Date and Time",'arg1' => $this->_tpl_vars['ItemEditItem']['typeName']['0']), $this);?>
|
||||
</h3>
|
||||
<p class="giDescription">
|
||||
<?php if (! empty ( $this->_tpl_vars['ItemEditItem']['isItemPhoto'] )): echo $this->_reg_objects['g'][0]->text(array('text' => "Set the date and time when this image was captured."), $this);?>
|
||||
|
||||
<?php elseif (! empty ( $this->_tpl_vars['ItemEditItem']['isItemUnknown'] )): echo $this->_reg_objects['g'][0]->text(array('text' => "Set the date and time to be displayed for this item."), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => "Set the date and time to be displayed for this %s.",'arg1' => $this->_tpl_vars['ItemEditItem']['typeName']['1']), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
<p>
|
||||
<?php ob_start(); echo ''; echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[originationTimestampSplit]"), $this); echo ''; $this->_smarty_vars['capture']['originationTimestampField'] = ob_get_contents(); ob_end_clean(); echo $this->_reg_objects['g'][0]->text(array('text' => "Date:"), $this);?>
|
||||
|
||||
<?php ob_start(); echo smarty_function_html_select_date(array('time' => $this->_tpl_vars['form']['originationTimestamp'],'field_array' => $this->_smarty_vars['capture']['originationTimestampField'],'start_year' => '1970','end_year' => "+0"), $this);?>
|
||||
|
||||
<?php $this->_smarty_vars['capture']['htmlSelectDate'] = ob_get_contents(); ob_end_clean(); echo ((is_array($_tmp=$this->_smarty_vars['capture']['htmlSelectDate'])) ? $this->_run_mod_handler('utf8', true, $_tmp) : smarty_modifier_utf8($_tmp)); ?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Time:"), $this);?>
|
||||
|
||||
<?php echo smarty_function_html_select_time(array('time' => $this->_tpl_vars['form']['originationTimestamp'],'field_array' => $this->_smarty_vars['capture']['originationTimestampField']), $this);?>
|
||||
|
||||
<br/>
|
||||
</p>
|
||||
<?php if (! empty ( $this->_tpl_vars['ItemEditItem']['originationTimestamp'] )): ?>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
function setOriginationTimestamp() {
|
||||
var frm = document.getElementById('itemAdminForm');
|
||||
frm.elements['<?php echo $this->_smarty_vars['capture']['originationTimestampField']; ?>
|
||||
[Date_Month]'].value = '<?php echo $this->_tpl_vars['ItemEditItem']['originationTimestamp']['Date_Month']; ?>
|
||||
';
|
||||
frm.elements['<?php echo $this->_smarty_vars['capture']['originationTimestampField']; ?>
|
||||
[Date_Day]'].value = '<?php echo $this->_tpl_vars['ItemEditItem']['originationTimestamp']['Date_Day']; ?>
|
||||
';
|
||||
frm.elements['<?php echo $this->_smarty_vars['capture']['originationTimestampField']; ?>
|
||||
[Date_Year]'].value = '<?php echo $this->_tpl_vars['ItemEditItem']['originationTimestamp']['Date_Year']; ?>
|
||||
';
|
||||
frm.elements['<?php echo $this->_smarty_vars['capture']['originationTimestampField']; ?>
|
||||
[Time_Hour]'].value = '<?php echo $this->_tpl_vars['ItemEditItem']['originationTimestamp']['Time_Hour']; ?>
|
||||
';
|
||||
frm.elements['<?php echo $this->_smarty_vars['capture']['originationTimestampField']; ?>
|
||||
[Time_Minute]'].value = '<?php echo $this->_tpl_vars['ItemEditItem']['originationTimestamp']['Time_Minute']; ?>
|
||||
';
|
||||
frm.elements['<?php echo $this->_smarty_vars['capture']['originationTimestampField']; ?>
|
||||
[Time_Second]'].value = '<?php echo $this->_tpl_vars['ItemEditItem']['originationTimestamp']['Time_Second']; ?>
|
||||
';
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
<p>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Use the original capture date and time from file information (e.g. Exif tag):"), $this);?>
|
||||
|
||||
<br/>
|
||||
<a href="#" onclick="setOriginationTimestamp();return false">
|
||||
<?php echo $this->_reg_objects['g'][0]->date(array('timestamp' => $this->_tpl_vars['ItemEditItem']['originationTimestamp']['timestamp'],'style' => 'datetime'), $this);?>
|
||||
|
||||
</a>
|
||||
</p>
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['form']['error']['originationTimestamp']['invalid'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'You must enter a valid date and time'), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php if ($this->_tpl_vars['ItemEditItem']['can']['editThumbnail']): ?>
|
||||
<div class="gbBlock">
|
||||
<h3> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Thumbnail'), $this);?>
|
||||
</h3>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Set the size of the thumbnail. The largest side of the thumbnail will be no larger than this value. Leave this field blank if you don't want a thumbnail."), $this);?>
|
||||
|
||||
</p>
|
||||
<?php if ($this->_tpl_vars['ItemEditItem']['can']['createThumbnail']): ?>
|
||||
<input type="text" size="6"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[thumbnail][size]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['thumbnail']['size']; ?>
|
||||
"/>
|
||||
<?php else: ?>
|
||||
<b>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "There are no graphics toolkits enabled that support this type of item, so we cannot create or modify a thumbnail."), $this);?>
|
||||
|
||||
<?php if ($this->_tpl_vars['user']['isAdmin']): ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.SiteAdmin",'arg2' => "subView=core.AdminPlugins"), $this);?>
|
||||
">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'site admin'), $this);?>
|
||||
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</b>
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['form']['error']['thumbnail']['size']['invalid'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "You must enter a number (greater than zero)"), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['form']['error']['thumbnail']['create'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Unable to create a thumbnail for this item'), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; $_from = $this->_tpl_vars['ItemEdit']['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['option']):
|
||||
$_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['option']['file']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['option']['l10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
endforeach; endif; unset($_from); ?>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][save]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Save'), $this);?>
|
||||
"/>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][undo]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Reset'), $this);?>
|
||||
"/>
|
||||
</div>
|
||||
@ -1,22 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:37
|
||||
compiled from gallery:modules/core/templates/blocks/NavigationLinks.tpl */ ?>
|
||||
<?php if (! empty ( $this->_tpl_vars['navigationLinks'] )): ?>
|
||||
<div class="<?php echo $this->_tpl_vars['class']; ?>
|
||||
">
|
||||
<h3> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Navigation'), $this);?>
|
||||
</h3>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['navigationLinks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['link']):
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $this->_tpl_vars['link']['url']; ?>
|
||||
">
|
||||
<?php echo $this->_tpl_vars['link']['name']; ?>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
@ -1,179 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:45
|
||||
compiled from gallery:modules/core/templates/ItemEditAlbum.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'gallery:modules/core/templates/ItemEditAlbum.tpl', 13, false),array('function', 'counter', 'gallery:modules/core/templates/ItemEditAlbum.tpl', 62, false),array('function', 'cycle', 'gallery:modules/core/templates/ItemEditAlbum.tpl', 64, false),)), $this); ?>
|
||||
<div class="gbBlock">
|
||||
<h2> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Sort order'), $this);?>
|
||||
</h2>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "This sets the sort order for the album. This applies to all current items, and any newly added items."), $this);?>
|
||||
|
||||
</p>
|
||||
<select name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[orderBy]"), $this);?>
|
||||
" onchange="pickOrder()">
|
||||
<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['ItemEditAlbum']['orderByList'],'selected' => $this->_tpl_vars['form']['orderBy']), $this);?>
|
||||
|
||||
</select>
|
||||
<select name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[orderDirection]"), $this);?>
|
||||
">
|
||||
<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['ItemEditAlbum']['orderDirectionList'],'selected' => $this->_tpl_vars['form']['orderDirection']), $this);?>
|
||||
|
||||
</select>
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'with'), $this);?>
|
||||
|
||||
<select name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[presort]"), $this);?>
|
||||
">
|
||||
<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['ItemEditAlbum']['presortList'],'selected' => $this->_tpl_vars['form']['presort']), $this);?>
|
||||
|
||||
</select><br/>
|
||||
<?php echo $this->_reg_objects['g'][0]->changeInDescendents(array('module' => 'sort','text' => 'Apply to all subalbums'), $this);?>
|
||||
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
function pickOrder() {
|
||||
var list = '<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[orderBy]"), $this);?>
|
||||
';
|
||||
var frm = document.getElementById('itemAdminForm');
|
||||
var index = frm.elements[list].selectedIndex;
|
||||
list = '<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[orderDirection]"), $this);?>
|
||||
';
|
||||
frm.elements[list].disabled = (index <= 1) ?1:0;
|
||||
list = '<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[presort]"), $this);?>
|
||||
';
|
||||
frm.elements[list].disabled = (index <= 1) ?1:0;
|
||||
}
|
||||
pickOrder();
|
||||
// ]]>
|
||||
</script>
|
||||
</div>
|
||||
<div class="gbBlock">
|
||||
<h3> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Thumbnails'), $this);?>
|
||||
</h3>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => " Every item requires a thumbnail. Set the default size in pixels here."), $this);?>
|
||||
|
||||
</p>
|
||||
<input type="text" size="6"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[thumbnail][size]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['thumbnail']['size']; ?>
|
||||
"/>
|
||||
<?php if (! empty ( $this->_tpl_vars['form']['error']['thumbnail']['size']['invalid'] )): ?>
|
||||
<div class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "You must enter a number (greater than zero)"), $this);?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<br/>
|
||||
<?php echo $this->_reg_objects['g'][0]->changeInDescendents(array('module' => 'thumbnail','text' => 'Use this thumbnail size in all subalbums'), $this);?>
|
||||
|
||||
</div>
|
||||
<div class="gbBlock">
|
||||
<h3> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Resized Images'), $this);?>
|
||||
</h3>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Each item in your album can have multiple sizes. Define the default sizes here."), $this);?>
|
||||
|
||||
</p>
|
||||
<table class="gbDataTable"><tr>
|
||||
<th align="center"> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Active'), $this);?>
|
||||
</th>
|
||||
<th> <?php echo $this->_reg_objects['g'][0]->text(array('text' => "Target Size (pixels)"), $this);?>
|
||||
</th>
|
||||
</tr>
|
||||
<?php echo smarty_function_counter(array('start' => 0,'assign' => 'index'), $this);?>
|
||||
|
||||
<?php $_from = $this->_tpl_vars['form']['resizes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['resize']):
|
||||
?>
|
||||
<tr class="<?php echo smarty_function_cycle(array('values' => "gbEven,gbOdd"), $this);?>
|
||||
">
|
||||
<td align="center">
|
||||
<input type="checkbox"<?php if ($this->_tpl_vars['form']['resizes'][$this->_tpl_vars['index']]['active']): ?> checked="checked"<?php endif; ?>
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[resizes][".($this->_tpl_vars['index'])."][active]"), $this);?>
|
||||
"/>
|
||||
</td><td>
|
||||
<?php echo $this->_reg_objects['g'][0]->dimensions(array('formVar' => "form[resizes][".($this->_tpl_vars['index'])."]",'width' => $this->_tpl_vars['form']['resizes'][$this->_tpl_vars['index']]['width'],'height' => $this->_tpl_vars['form']['resizes'][$this->_tpl_vars['index']]['height']), $this);?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php if (! empty ( $this->_tpl_vars['form']['error']['resizes'][$this->_tpl_vars['index']]['size']['missing'] )): ?>
|
||||
<tr><td colspan="2" class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'You must enter a valid size'), $this);?>
|
||||
|
||||
</td></tr>
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['form']['error']['resizes'][$this->_tpl_vars['index']]['size']['invalid'] )): ?>
|
||||
<tr><td colspan="2" class="giError">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "You must enter a number (greater than zero)"), $this);?>
|
||||
|
||||
</td></tr>
|
||||
<?php endif; echo smarty_function_counter(array(), $this);?>
|
||||
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</table>
|
||||
<?php echo $this->_reg_objects['g'][0]->changeInDescendents(array('module' => 'resizes','text' => 'Use these target sizes in all subalbums'), $this);?>
|
||||
|
||||
</div>
|
||||
<div class="gbBlock">
|
||||
<h3> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Apply settings to existing items'), $this);?>
|
||||
</h3>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "The thumbnail and resized image settings are for all new items. To apply these settings to all the items in your album, check the appropriate box. Including subalbums will apply each album's own settings to its thumbnails/resizes, which may not match the settings above. Building images now makes this operation take longer, but saves the time to build and cache each file when it is first viewed."), $this);?>
|
||||
|
||||
</p>
|
||||
<table><tr><td>
|
||||
<input type="checkbox" id="cbRecreateThumbs"<?php if ($this->_tpl_vars['form']['recreateThumbnails']): ?> checked="checked"<?php endif; ?>
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[recreateThumbnails]"), $this);?>
|
||||
"/>
|
||||
<label for="cbRecreateThumbs">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Apply album setting to thumbnails'), $this);?>
|
||||
|
||||
</label>
|
||||
</td><td>
|
||||
<?php echo $this->_reg_objects['g'][0]->changeInDescendents(array('module' => 'recreateThumbnails','text' => "... and for all subalbums"), $this);?>
|
||||
|
||||
</td><td>
|
||||
<input type="checkbox" id="cbBuildThumbs"<?php if ($this->_tpl_vars['form']['buildThumbnails']): ?> checked="checked"<?php endif; ?>
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[buildThumbnails]"), $this);?>
|
||||
"/>
|
||||
<label for="cbBuildThumbs">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Build thumbnails too'), $this);?>
|
||||
|
||||
</label>
|
||||
</td></tr><tr><td>
|
||||
<input type="checkbox" id="cbRecreateResizes"<?php if ($this->_tpl_vars['form']['recreateResizes']): ?> checked="checked"<?php endif; ?>
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[recreateResizes]"), $this);?>
|
||||
"/>
|
||||
<label for="cbRecreateResizes">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Apply album setting to resized images'), $this);?>
|
||||
|
||||
</label>
|
||||
</td><td>
|
||||
<?php echo $this->_reg_objects['g'][0]->changeInDescendents(array('module' => 'recreateResizes','text' => "... and for all subalbums"), $this);?>
|
||||
|
||||
</td><td>
|
||||
<input type="checkbox" id="cbBuildResizes"<?php if ($this->_tpl_vars['form']['buildResizes']): ?> checked="checked"<?php endif; ?>
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[buildResizes]"), $this);?>
|
||||
"/>
|
||||
<label for="cbBuildResizes">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Build resizes too'), $this);?>
|
||||
|
||||
</label>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
<?php $_from = $this->_tpl_vars['ItemEdit']['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['option']):
|
||||
$_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['option']['file']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['option']['l10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
endforeach; endif; unset($_from); ?>
|
||||
<div class="gbBlock gcBackground1">
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][save]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Save'), $this);?>
|
||||
"/>
|
||||
<input type="submit" class="inputTypeSubmit"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][undo]"), $this);?>
|
||||
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Reset'), $this);?>
|
||||
"/>
|
||||
</div>
|
||||
@ -1,17 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:05
|
||||
compiled from gallery:modules/core/templates/CreateThumbnailOption.tpl */ ?>
|
||||
<div class="gbBlock">
|
||||
<h3> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Thumbnails'), $this);?>
|
||||
</h3>
|
||||
<p class="giDescription">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Gallery can create thumbnails at upload time, or create them the first time you want to see the thumbnail itself. Either way, it will create the thumbnail once and save it, but if you create them at upload time it makes viewing albums for the first time go faster at the expense of a longer upload time."), $this);?>
|
||||
|
||||
</p>
|
||||
<input type="checkbox" id="CreateThumbnail_cb" checked="checked"
|
||||
name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[CreateThumbnailOption][createThumbnail]"), $this);?>
|
||||
"/>
|
||||
<label for="CreateThumbnail_cb">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Create thumbnails now'), $this);?>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
@ -1,69 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:37
|
||||
compiled from gallery:modules/core/templates/SiteAdmin.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'gallery:modules/core/templates/SiteAdmin.tpl', 8, false),)), $this); ?>
|
||||
<form action="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
|
||||
" method="post" id="siteAdminForm"
|
||||
enctype="<?php echo ((is_array($_tmp=@$this->_tpl_vars['SiteAdmin']['enctype'])) ? $this->_run_mod_handler('default', true, $_tmp, "application/x-www-form-urlencoded") : smarty_modifier_default($_tmp, "application/x-www-form-urlencoded")); ?>
|
||||
">
|
||||
<div>
|
||||
<?php echo $this->_reg_objects['g'][0]->hiddenFormVars(array(), $this);?>
|
||||
|
||||
<?php if (! empty ( $this->_tpl_vars['controller'] )): ?>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'controller'), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['controller']; ?>
|
||||
"/>
|
||||
<?php endif; if (! empty ( $this->_tpl_vars['form']['formName'] )): ?>
|
||||
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formName]"), $this);?>
|
||||
" value="<?php echo $this->_tpl_vars['form']['formName']; ?>
|
||||
" />
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td id="gsSidebarCol"><div id="gsSidebar" class="gcBorder1">
|
||||
<div class="gbBlock">
|
||||
<h2> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Admin Options'), $this);?>
|
||||
</h2>
|
||||
<ul id="gbSiteAdminLinks">
|
||||
<?php $_from = $this->_tpl_vars['SiteAdmin']['subViewGroups']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['group']):
|
||||
?>
|
||||
<li> <span><?php echo $this->_tpl_vars['group']['0']['groupLabel']; ?>
|
||||
</span>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['group']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['choice']):
|
||||
?>
|
||||
<li class="<?php echo $this->_reg_objects['g'][0]->linkId(array('view' => $this->_tpl_vars['choice']['view']['subView']), $this);?>
|
||||
">
|
||||
<?php if (! empty ( $this->_tpl_vars['choice']['selected'] )): echo $this->_tpl_vars['choice']['name']; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['choice']['view']), $this);?>
|
||||
">
|
||||
<?php echo $this->_tpl_vars['choice']['name']; ?>
|
||||
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.NavigationLinks",'class' => 'gbBlock','navigationLinks' => $this->_tpl_vars['SiteAdmin']['navigationLinks']), $this);?>
|
||||
|
||||
</div></td>
|
||||
<td>
|
||||
<div id="gsContent" class="gcBorder1">
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['SiteAdmin']['viewBodyFile']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['SiteAdmin']['viewL10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
</div>
|
||||
</td>
|
||||
</tr></table>
|
||||
</form>
|
||||
@ -1,85 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:50
|
||||
compiled from gallery:themes/CNJ/templates/album_cocinas.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'markup', 'gallery:themes/CNJ/templates/album_cocinas.tpl', 29, false),array('modifier', 'entitytruncate', 'gallery:themes/CNJ/templates/album_cocinas.tpl', 87, false),)), $this); ?>
|
||||
<?php $this->assign('firstItem', true); ?>
|
||||
<div class="banner-cabeceras">
|
||||
<?php $_from = $this->_tpl_vars['theme']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['child']):
|
||||
if (! $this->_tpl_vars['child']['canContainChildren']): if ($this->_tpl_vars['user']['isRegisteredUser']): ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
">
|
||||
<?php endif; ?>
|
||||
<?php if (isset ( $this->_tpl_vars['child']['thumbnail'] )): echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['child'],'image' => $this->_tpl_vars['child']['thumbnail']), $this);?>
|
||||
|
||||
<?php endif; if ($this->_tpl_vars['user']['isRegisteredUser']): ?>
|
||||
</a>
|
||||
<?php endif; endif; endforeach; endif; unset($_from); ?>
|
||||
</div>
|
||||
<?php if (! empty ( $this->_tpl_vars['theme']['item']['description'] )): ?>
|
||||
<p><?php echo ((is_array($_tmp=$this->_tpl_vars['theme']['item']['description'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
</p>
|
||||
<?php endif; if (! count ( $this->_tpl_vars['theme']['children'] )): ?>
|
||||
<div class="gallery-empty">
|
||||
<p><strong><?php echo $this->_reg_objects['g'][0]->text(array('text' => "This album is empty."), $this);?>
|
||||
</strong></p>
|
||||
<?php if (isset ( $this->_tpl_vars['theme']['permissions']['core_addDataItem'] )): ?>
|
||||
<p><a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ItemAdmin",'arg2' => "subView=core.ItemAdd",'arg3' => "itemId=".($this->_tpl_vars['theme']['item']['id'])), $this);?>
|
||||
"><?php echo $this->_reg_objects['g'][0]->text(array('text' => "Add a photo!"), $this);?>
|
||||
</a></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php else: $this->assign('firstAlbum', true); $this->assign('currentKeywords', "-----------------"); ?>
|
||||
<?php $_from = $this->_tpl_vars['theme']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['child']):
|
||||
if ($this->_tpl_vars['child']['canContainChildren']): ob_start(); echo $this->_tpl_vars['child']['keywords']; $this->_smarty_vars['capture']['keywords'] = ob_get_contents(); ob_end_clean(); if ($this->_smarty_vars['capture']['keywords'] != $this->_tpl_vars['currentKeywords']): if (! $this->_tpl_vars['firstAlbum']): ?>
|
||||
</div> </div> <div class="clear"></div>
|
||||
<?php endif; ?>
|
||||
<div class="gallery-albums">
|
||||
<?php if ($this->_tpl_vars['firstAlbum']): $this->assign('firstAlbum', false); else: ?>
|
||||
<hr/>
|
||||
<?php endif; ?>
|
||||
<h3>
|
||||
<?php if ($this->_smarty_vars['capture']['keywords'] == 'vanguardista'): echo $this->_reg_objects['g'][0]->text(array('text' => "Línea vanguardista"), $this);?>
|
||||
|
||||
<?php else: if ($this->_smarty_vars['capture']['keywords'] == 'moderna'): echo $this->_reg_objects['g'][0]->text(array('text' => "Línea moderna"), $this);?>
|
||||
|
||||
<?php else: if ($this->_smarty_vars['capture']['keywords'] == 'clasica'): echo $this->_reg_objects['g'][0]->text(array('text' => "Línea clásica"), $this);?>
|
||||
|
||||
<?php else: echo $this->_smarty_vars['capture']['keywords']; ?>
|
||||
|
||||
<?php endif; endif; endif; ?>
|
||||
</h3>
|
||||
<div class="gallery-album">
|
||||
<?php $this->assign('currentKeywords', $this->_smarty_vars['capture']['keywords']); endif; ?>
|
||||
<div class="gallery-thumb">
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
">
|
||||
<?php if (isset ( $this->_tpl_vars['child']['thumbnail'] )): echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['child'],'image' => $this->_tpl_vars['child']['thumbnail']), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => 'no thumbnail'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
<!--<p><?php echo $this->_tpl_vars['child']['keywords']; ?>
|
||||
</p>-->
|
||||
<!--<p><?php if (isset ( $this->_tpl_vars['child']['summary'] )): echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['child']['summary'])) ? $this->_run_mod_handler('entitytruncate', true, $_tmp, 256) : smarty_modifier_entitytruncate($_tmp, 256)))) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); endif; ?></p>-->
|
||||
</div>
|
||||
<?php endif; ?> <?php endforeach; endif; unset($_from); if (! $this->_tpl_vars['firstAlbum']): ?>
|
||||
</div> </div> <div class="clear"></div>
|
||||
<?php endif; endif; if ($this->_tpl_vars['theme']['totalPages'] > 1): echo $this->_reg_objects['g'][0]->block(array('type' => "core.Navigator",'navigator' => $this->_tpl_vars['theme']['navigator'],'prefix' => "« ",'suffix' => " »",'currentPage' => $this->_tpl_vars['theme']['currentPage'],'totalPages' => $this->_tpl_vars['theme']['totalPages']), $this);?>
|
||||
|
||||
<?php endif; if ($this->_tpl_vars['user']['isRegisteredUser']): $_from = $this->_tpl_vars['theme']['params']['albumBlocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['block']):
|
||||
echo $this->_reg_objects['g'][0]->block(array('type' => $this->_tpl_vars['block']['0'],'params' => $this->_tpl_vars['block']['1']), $this);?>
|
||||
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<div class="gbSystemLinks">
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.SystemLinks",'order' => "core.SiteAdmin core.YourAccount core.Login core.Logout",'othersAt' => 4), $this);?>
|
||||
|
||||
</div>
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.GuestPreview",'class' => 'gbBlock'), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.EmergencyEditItemLink",'class' => 'gbBlock','checkBlocks' => 'album'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
@ -1,8 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:39
|
||||
compiled from gallery:modules/core/templates/JavaScriptWarning.tpl */ ?>
|
||||
<noscript>
|
||||
<div class="gbBlock giWarning">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "JavaScript must be enabled for this page to function properly. However, it seems JavaScript is either disabled or not supported by your browser. Please enable JavaScript by changing your browser options, then try again."), $this);?>
|
||||
|
||||
</div>
|
||||
</noscript>
|
||||
@ -1,39 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:42:45
|
||||
compiled from gallery:modules/core/templates/Dimensions.tpl */ ?>
|
||||
<?php if ($this->_tpl_vars['callCount'] == 1): echo '
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
var dim_timer = new Array();
|
||||
function dim_keypress(i,w,e) {
|
||||
var key = window.event ? window.event.keyCode : e.which;
|
||||
var h = document.getElementById(w.id + \'_h\');
|
||||
if (((key >= 48 && key <= 57) || key == 8) && (w.value == h.value)) {
|
||||
clearTimeout(dim_timer[i]);
|
||||
dim_timer[i] = setTimeout(\'dim_copy("\' + w.id + \'")\', 500);
|
||||
}
|
||||
}
|
||||
function dim_keydown(i,w) {
|
||||
// IE only gets backspace via keydown..
|
||||
if (window.event && window.event.keyCode == 8) dim_keypress(i,w);
|
||||
}
|
||||
function dim_copy(id) {
|
||||
var w = document.getElementById(id), h = document.getElementById(id + \'_h\');
|
||||
h.value = w.value;
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
'; endif; ?>
|
||||
<input type="text" id="<?php echo $this->_tpl_vars['formVarId']; ?>
|
||||
" size="6" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => $this->_tpl_vars['formVar']), $this);?>
|
||||
[width]"
|
||||
onkeypress="dim_keypress(<?php echo $this->_tpl_vars['callCount']; ?>
|
||||
,this,event)" onkeydown="dim_keydown(<?php echo $this->_tpl_vars['callCount']; ?>
|
||||
,this)"
|
||||
<?php if (isset ( $this->_tpl_vars['width'] )): ?>value="<?php echo $this->_tpl_vars['width']; ?>
|
||||
"<?php endif; ?>/>
|
||||
x
|
||||
<input type="text" id="<?php echo $this->_tpl_vars['formVarId']; ?>
|
||||
_h" size="6" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => $this->_tpl_vars['formVar']), $this);?>
|
||||
[height]"
|
||||
<?php if (isset ( $this->_tpl_vars['height'] )): ?>value="<?php echo $this->_tpl_vars['height']; ?>
|
||||
"<?php endif; ?>/>
|
||||
@ -1,51 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:50
|
||||
compiled from gallery:modules/keyalbum/templates/blocks/KeywordLinks.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'gallery:modules/keyalbum/templates/blocks/KeywordLinks.tpl', 7, false),)), $this); ?>
|
||||
<?php if (((is_array($_tmp=@$this->_tpl_vars['forItem'])) ? $this->_run_mod_handler('default', true, $_tmp, true) : smarty_modifier_default($_tmp, true))): ?> <?php if (empty ( $this->_tpl_vars['item'] )): ?> <?php $this->assign('item', $this->_tpl_vars['theme']['item']); ?> <?php endif; $this->assign('showCloud', ((is_array($_tmp=@$this->_tpl_vars['showCloud'])) ? $this->_run_mod_handler('default', true, $_tmp, false) : smarty_modifier_default($_tmp, false))); if (! empty ( $this->_tpl_vars['item']['keywords'] )): echo $this->_reg_objects['g'][0]->callback(array('type' => "keyalbum.SplitKeywords",'keywords' => $this->_tpl_vars['item']['keywords']), $this);?>
|
||||
|
||||
<div class="<?php echo $this->_tpl_vars['class']; ?>
|
||||
">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Keywords:"), $this);?>
|
||||
|
||||
<?php $_from = $this->_tpl_vars['block']['keyalbum']['keywords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['rawKeyword'] => $this->_tpl_vars['keyword']):
|
||||
?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=keyalbum.KeywordAlbum",'arg2' => "keyword=".($this->_tpl_vars['rawKeyword']),'arg3' => "highlightId=".($this->_tpl_vars['item']['id'])), $this);?>
|
||||
"><?php echo $this->_tpl_vars['keyword']; ?>
|
||||
</a>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</div>
|
||||
<?php endif; else: ?> <?php echo $this->_reg_objects['g'][0]->callback(array('type' => "keyalbum.LoadKeywords",'onlyPublic' => ((is_array($_tmp=@$this->_tpl_vars['onlyPublic'])) ? $this->_run_mod_handler('default', true, $_tmp, true) : smarty_modifier_default($_tmp, true)),'sizeLimit' => ((is_array($_tmp=@$this->_tpl_vars['sizeLimit'])) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)),'maxCloudFontEnlargement' => ((is_array($_tmp=@$this->_tpl_vars['maxCloudFontEnlargement'])) ? $this->_run_mod_handler('default', true, $_tmp, 3) : smarty_modifier_default($_tmp, 3)),'includeFrequency' => $this->_tpl_vars['showCloud']), $this);?>
|
||||
|
||||
<?php if (! empty ( $this->_tpl_vars['block']['keyalbum']['keywords'] )): ?>
|
||||
<div class="<?php echo $this->_tpl_vars['class']; ?>
|
||||
">
|
||||
<?php if ($this->_tpl_vars['showCloud']): $_from = $this->_tpl_vars['block']['keyalbum']['keywords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyword']):
|
||||
?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=keyalbum.KeywordAlbum",'arg2' => "keyword=".($this->_tpl_vars['keyword']['raw'])), $this);?>
|
||||
"<?php if (! empty ( $this->_tpl_vars['keyword']['weight'] )): ?> style="font-size: <?php echo $this->_tpl_vars['keyword']['weight']; ?>
|
||||
em;"<?php endif; ?>>
|
||||
<?php echo $this->_tpl_vars['keyword']['name']; ?>
|
||||
|
||||
</a>
|
||||
<?php endforeach; endif; unset($_from); else: ?>
|
||||
<select onchange="if (this.value) { var newLocation = this.value; this.options[0].selected = true; location.href = newLocation; }">
|
||||
<option value="">
|
||||
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "« Keyword Album »"), $this);?>
|
||||
|
||||
</option>
|
||||
<?php $_from = $this->_tpl_vars['block']['keyalbum']['keywords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyword']):
|
||||
?>
|
||||
<option value="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=keyalbum.KeywordAlbum",'arg2' => "keyword=".($this->_tpl_vars['keyword']['name'])), $this);?>
|
||||
">
|
||||
<?php echo $this->_tpl_vars['keyword']['name']; ?>
|
||||
|
||||
</option>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</select>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; endif; ?>
|
||||
@ -1,13 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:43
|
||||
compiled from gallery:themes/CNJ/templates/admin.tpl */ ?>
|
||||
<div class="breadcrumb">
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.BreadCrumb",'skipRoot' => true,'separator' => "/"), $this);?>
|
||||
|
||||
</div>
|
||||
<div class="gallery-admin">
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['theme']['adminTemplate']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['theme']['adminL10Domain'])));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
</div>
|
||||
@ -1,14 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:50
|
||||
compiled from gallery:modules/core/templates/blocks/EmergencyEditItemLink.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'gallery:modules/core/templates/blocks/EmergencyEditItemLink.tpl', 8, false),)), $this); ?>
|
||||
<?php if (! isset ( $this->_tpl_vars['item'] )): ?> <?php $this->assign('item', $this->_tpl_vars['theme']['item']); ?> <?php endif; echo $this->_reg_objects['g'][0]->callback(array('type' => "core.ShouldShowEmergencyEditItemLink",'permissions' => ((is_array($_tmp=@$this->_tpl_vars['permissions'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['theme']['permissions']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['theme']['permissions'])),'checkBlocks' => ((is_array($_tmp=@$this->_tpl_vars['checkBlocks'])) ? $this->_run_mod_handler('default', true, $_tmp, null) : smarty_modifier_default($_tmp, null)),'checkSidebarBlocks' => ((is_array($_tmp=@$this->_tpl_vars['checkSidebarBlocks'])) ? $this->_run_mod_handler('default', true, $_tmp, false) : smarty_modifier_default($_tmp, false)),'checkAlbumBlocks' => ((is_array($_tmp=@$this->_tpl_vars['checkAlbumBlocks'])) ? $this->_run_mod_handler('default', true, $_tmp, false) : smarty_modifier_default($_tmp, false)),'checkPhotoBlocks' => ((is_array($_tmp=@$this->_tpl_vars['checkPhotoBlocks'])) ? $this->_run_mod_handler('default', true, $_tmp, false) : smarty_modifier_default($_tmp, false))), $this);?>
|
||||
|
||||
<?php if (( $this->_tpl_vars['block']['core']['ShouldShowEmergencyEditItemLink'] )): ?>
|
||||
<div class="<?php echo $this->_tpl_vars['class']; ?>
|
||||
">
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ItemAdmin",'arg2' => "subView=core.ItemEdit",'arg3' => "itemId=".($this->_tpl_vars['item']['id']),'arg4' => "return=true"), $this);?>
|
||||
"> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Edit'), $this);?>
|
||||
</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
@ -1,99 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-31 20:11:00
|
||||
compiled from gallery:themes/CNJ/templates/album.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'markup', 'gallery:themes/CNJ/templates/album.tpl', 34, false),array('modifier', 'entitytruncate', 'gallery:themes/CNJ/templates/album.tpl', 79, false),)), $this); ?>
|
||||
<?php echo '
|
||||
<script src=\'/themes/CNJ/scripts/prototype.js\' type="text/javascript"></script>
|
||||
<script src=\'/themes/CNJ/scripts/scriptaculous.js?load=effects\' type="text/javascript"></script>
|
||||
<script src=\'/themes/CNJ/scripts/lightbox.js\' type="text/javascript"></script>
|
||||
'; ?>
|
||||
|
||||
<?php $this->assign('firstItem', true); if (! count ( $this->_tpl_vars['theme']['children'] )): ?>
|
||||
<div class="gallery-empty">
|
||||
<p><strong><?php echo $this->_reg_objects['g'][0]->text(array('text' => "This album is empty."), $this);?>
|
||||
</strong></p>
|
||||
<?php if (isset ( $this->_tpl_vars['theme']['permissions']['core_addDataItem'] )): ?>
|
||||
<p><a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ItemAdmin",'arg2' => "subView=core.ItemAdd",'arg3' => "itemId=".($this->_tpl_vars['theme']['item']['id'])), $this);?>
|
||||
"><?php echo $this->_reg_objects['g'][0]->text(array('text' => "Add a photo!"), $this);?>
|
||||
</a></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php else: ?> <?php $_from = $this->_tpl_vars['theme']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['child']):
|
||||
if (! $this->_tpl_vars['child']['canContainChildren']): if ($this->_tpl_vars['firstItem']): $this->assign('firstItem', false); ?>
|
||||
<div class="cabecera-album">
|
||||
<div class="foto">
|
||||
<?php if ($this->_tpl_vars['user']['isRegisteredUser']): ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.DownloadItem",'arg2' => "itemId=".($this->_tpl_vars['child']['resizedId']),'forceSessionId' => true), $this);?>
|
||||
"
|
||||
title="<?php echo ((is_array($_tmp=$this->_tpl_vars['child']['summary'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
<br/><?php echo ((is_array($_tmp=$this->_tpl_vars['child']['description'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
"
|
||||
pageLink="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
"
|
||||
rel="lightbox[photos]" >
|
||||
<?php else: ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
">
|
||||
<?php endif; if (isset ( $this->_tpl_vars['child']['thumbnail'] )): echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['child'],'image' => $this->_tpl_vars['child']['thumbnail']), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => 'no thumbnail'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
</div>
|
||||
<div class="texto">
|
||||
<h3><?php echo ((is_array($_tmp=$this->_tpl_vars['child']['keywords'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
</h3>
|
||||
<h2><?php echo ((is_array($_tmp=$this->_tpl_vars['theme']['item']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
</h2>
|
||||
<?php if (! empty ( $this->_tpl_vars['theme']['item']['description'] )): ?>
|
||||
<p><?php echo ((is_array($_tmp=$this->_tpl_vars['theme']['item']['description'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="gallery-albums">
|
||||
<div class="gallery-album">
|
||||
<?php else: ?> <div class="gallery-thumb">
|
||||
<?php if ($this->_tpl_vars['user']['isRegisteredUser']): ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.DownloadItem",'arg2' => "itemId=".($this->_tpl_vars['child']['resizedId']),'forceSessionId' => true), $this);?>
|
||||
"
|
||||
title="<?php echo ((is_array($_tmp=$this->_tpl_vars['child']['summary'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
<br/><?php echo ((is_array($_tmp=$this->_tpl_vars['child']['description'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
|
||||
"
|
||||
pageLink="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
"
|
||||
rel="lightbox[photos]" >
|
||||
<?php else: ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
|
||||
">
|
||||
<?php endif; if (isset ( $this->_tpl_vars['child']['thumbnail'] )): echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['child'],'image' => $this->_tpl_vars['child']['thumbnail']), $this);?>
|
||||
|
||||
<?php else: echo $this->_reg_objects['g'][0]->text(array('text' => 'no thumbnail'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
<!--<p><?php echo $this->_tpl_vars['child']['keywords']; ?>
|
||||
</p>-->
|
||||
<!--<p><?php if (isset ( $this->_tpl_vars['child']['summary'] )): echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['child']['summary'])) ? $this->_run_mod_handler('entitytruncate', true, $_tmp, 256) : smarty_modifier_entitytruncate($_tmp, 256)))) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); endif; ?></p>-->
|
||||
</div>
|
||||
<?php endif; ?> <?php endif; ?> <?php endforeach; endif; unset($_from); if (! $this->_tpl_vars['firstItem']): ?>
|
||||
</div> </div> <div class="clear"></div>
|
||||
<?php endif; endif; if ($this->_tpl_vars['theme']['totalPages'] > 1): echo $this->_reg_objects['g'][0]->block(array('type' => "core.Navigator",'navigator' => $this->_tpl_vars['theme']['navigator'],'prefix' => "« ",'suffix' => " »",'currentPage' => $this->_tpl_vars['theme']['currentPage'],'totalPages' => $this->_tpl_vars['theme']['totalPages']), $this);?>
|
||||
|
||||
<?php endif; if ($this->_tpl_vars['user']['isRegisteredUser']): $_from = $this->_tpl_vars['theme']['params']['albumBlocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['block']):
|
||||
echo $this->_reg_objects['g'][0]->block(array('type' => $this->_tpl_vars['block']['0'],'params' => $this->_tpl_vars['block']['1']), $this);?>
|
||||
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<div class="gbSystemLinks">
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.SystemLinks",'order' => "core.SiteAdmin core.YourAccount core.Login core.Logout",'othersAt' => 4), $this);?>
|
||||
|
||||
</div>
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.GuestPreview",'class' => 'gbBlock'), $this);?>
|
||||
|
||||
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.EmergencyEditItemLink",'class' => 'gbBlock','checkBlocks' => 'album'), $this);?>
|
||||
|
||||
<?php endif; ?>
|
||||
@ -1,36 +0,0 @@
|
||||
<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:37
|
||||
compiled from gallery:modules/core/templates/blocks/BreadCrumb.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('function', 'counter', 'gallery:modules/core/templates/blocks/BreadCrumb.tpl', 16, false),array('modifier', 'markup', 'gallery:modules/core/templates/blocks/BreadCrumb.tpl', 17, false),array('modifier', 'default', 'gallery:modules/core/templates/blocks/BreadCrumb.tpl', 17, false),)), $this); ?>
|
||||
<div class="<?php echo $this->_tpl_vars['class']; ?>
|
||||
">
|
||||
<?php $_from = $this->_tpl_vars['theme']['parents']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['parent'] = array('total' => count($_from), 'iteration' => 0);
|
||||
if ($this->_foreach['parent']['total'] > 0):
|
||||
foreach ($_from as $this->_tpl_vars['parent']):
|
||||
$this->_foreach['parent']['iteration']++;
|
||||
if (! ($this->_foreach['parent']['iteration'] == $this->_foreach['parent']['total'])): ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['parent']['urlParams']), $this);?>
|
||||
" class="BreadCrumb-<?php echo smarty_function_counter(array('name' => 'BreadCrumb'), $this);?>
|
||||
">
|
||||
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['parent']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp, 'strip') : smarty_modifier_markup($_tmp, 'strip')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['parent']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['parent']['pathComponent'])); ?>
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['parent']['urlParams']), $this);?>
|
||||
" class="BreadCrumb-<?php echo smarty_function_counter(array('name' => 'BreadCrumb'), $this);?>
|
||||
">
|
||||
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['parent']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp, 'strip') : smarty_modifier_markup($_tmp, 'strip')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['parent']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['parent']['pathComponent'])); ?>
|
||||
</a>
|
||||
<?php endif; if (isset ( $this->_tpl_vars['separator'] )): ?> <?php echo $this->_tpl_vars['separator']; ?>
|
||||
<?php endif; endforeach; endif; unset($_from); if (( $this->_tpl_vars['theme']['pageType'] == 'admin' || $this->_tpl_vars['theme']['pageType'] == 'module' )): ?>
|
||||
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['theme']['item']['id'])), $this);?>
|
||||
" class="BreadCrumb-<?php echo smarty_function_counter(array('name' => 'BreadCrumb'), $this);?>
|
||||
">
|
||||
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['theme']['item']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp, 'strip') : smarty_modifier_markup($_tmp, 'strip')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['theme']['item']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['theme']['item']['pathComponent'])); ?>
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<span class="BreadCrumb-<?php echo smarty_function_counter(array('name' => 'BreadCrumb'), $this);?>
|
||||
">
|
||||
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['theme']['item']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp, 'strip') : smarty_modifier_markup($_tmp, 'strip')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['theme']['item']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['theme']['item']['pathComponent'])); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user