source: extensions/Juza/script.tpl @ 4482

Last change on this file since 4482 was 4482, checked in by vdigital, 14 years ago

[Update] For Juza - Minor changes for plg

Pendings:

  • Configuration (On going, just first steps have been done)
  • Exception management
  • Menubar
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
2{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
3{assign var=JUZA value=$ROOT_URL|@cat:"template/"|@cat:$themeconf.template|@cat:"/theme/"|@cat:$themeconf.theme}
4{known_script id="juza" src=$JUZA|@cat:"/js/juzascript.js"}
5<table cellspacing="0" class="juzabar">
6<tbody><tr>
7<td style="width: 155px;">HOME PAGE</td>
8<td style="width: 155px;">PORTFOLIO</td>
9<td style="width: 155px;"><a href="{$ROOT_URL}index.php"><strong>GALLERIES</strong></a></td>
10<td style="width: 155px;"><a title="See available tags" href="{$ROOT_URL}tags.php"><strong>TAGS</strong></a></td>
11<td style="width: 155px;">ABOUT JUZA</td>
12<td style="width: 155px;">E-MAIL</td>
13<td style="width: 155px;">LINKS</td>
14<td style="width: 155px;">JUZA FORUM</td>
15</tr>
16</tbody></table>
17{if isset($thumbnails) }
18<div id="ix-desc" style="display:none">
19{foreach from=$thumbnails item=thumbnail}
20  <div title="{$thumbnail.FILE_DESC|@htmlspecialchars}" class="Thumb-{$thumbnail.ID}" width="{$thumbnail.FILE_WIDTH}" height="{$thumbnail.FILE_HEIGHT}"></div>
21{/foreach}
22</div>
23{/if}
24{php}
25  global $template;
26  if ( is_admin() )
27    $template->append('footer_elements', ' - Juza Theme <a title="Juza Configuration" href="index.php?&Juza_config=true">' . l10n('Configuration') .'</a>');
28  if ( isset($_GET['Juza_config']) ) $this->assign('Juza_config', true);
29{/php}
30{if isset($Juza_config)}
31<form id="Juza_config" method="post" class="properties" action="index.php?&Juza_config=true&Juza_viewed=true">
32<fieldset id="Juza_config_fs">
33  <ul>
34    <li>
35      <label>
36        <span class="property">{'Activate Juza handlers'|@translate}</span>
37        <input type="checkbox" name="Juza_handlers" {$Juza_handlers} />
38        <span class="range">{'Browser refresh is needed on new value'|@translate}</span>
39     </label>
40    </li>
41    <li>
42      <span class="property">
43        <label for="Width">{'Index picture max-width'|@translate}</label>
44      </span>
45      <input type="text" size="4" maxlength="4" name="Juza_width" id="Juza_width" value="{$Juza_width}" />
46      <span class="range">{'[300:885]'|@translate}</span>
47    </li>
48    <li>
49      <span class="property">
50        <label for="Height">{'Index picture cropping-height'|@translate}</label>
51      </span>
52      <input type="text" size="4" maxlength="4" name="Juza_height" id="Juza_height" value="{$Juza_height}" />
53       <span class="range">{'[110:400]'|@translate}</span>
54   </li>
55    <li>
56      <span class="property">
57        <label for="Shift">{'Index picture top-shift'|@translate}</label>
58      </span>
59      <input type="text" size="4" maxlength="4" name="Juza_shift" id="Juza_height" value="{$Juza_shift}" />
60      <span class="range">{'[-320:0]'|@translate}</span>
61    </li>
62    <li>
63      <label>
64        <span class="property">{'Auto cropping and shifting'|@translate}</span>
65        <input type="checkbox" name="Juza_Auto_CS" {$Juza_Auto_CS} />
66      </label>
67    </li>
68  </ul>
69</fieldset>
70  <p>
71    <input class="submit" type="submit" name="Juza_submit" value="{'Submit'|@translate}">
72  </p>
73</form>
74{/if}
Note: See TracBrowser for help on using the repository browser.