Changeset 4494 for extensions
- Timestamp:
- Dec 14, 2009, 11:56:22 PM (15 years ago)
- Location:
- extensions/Juza
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Juza/script.tpl
r4482 r4494 1 {if isset($Juza_active)} 1 2 {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} 2 3 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"} 3 4 {assign var=JUZA value=$ROOT_URL|@cat:"template/"|@cat:$themeconf.template|@cat:"/theme/"|@cat:$themeconf.theme} 4 5 {known_script id="juza" src=$JUZA|@cat:"/js/juzascript.js"} 6 {/if} 5 7 <table cellspacing="0" class="juzabar"> 6 8 <tbody><tr> … … 22 24 </div> 23 25 {/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 26 {if isset($Juza_config)} 31 <form id="Juza_config" method="post" class="properties" action="index.php ?&Juza_config=true&Juza_viewed=true">27 <form id="Juza_config" method="post" class="properties" action="index.php"> 32 28 <fieldset id="Juza_config_fs"> 29 <legend><span class="legend">{'Juza Theme Configuration'|@translate}</span></legend> 33 30 <ul> 34 31 <li> … … 69 66 </fieldset> 70 67 <p> 68 <input type="hidden" value="true" name="Juza_conf" /> 71 69 <input class="submit" type="submit" name="Juza_submit" value="{'Submit'|@translate}"> 70 <input class="submit" type="submit" name="Juza_reset" value="{'Reset'|@translate}"> 71 <input class="submit" type="submit" name="Juza_close" value="{'Close'|@translate}"> 72 72 </p> 73 73 </form> -
extensions/Juza/theme.css
r4482 r4494 13 13 .juzabar { margin: 12pt 0 6pt; font-size: 10pt; width: 100%; background-color: #353735 !important; text-align: center; } 14 14 15 a { color: #FB9700 !important }16 a:hover { color: #ef5810 !important }15 input.conf, a { color: #FB9700 !important } 16 input.conf:hover, a:hover { color: #ef5810 !important } 17 17 h3 img.icon { display: none !important; } 18 18 img.icon[alt="(!)"] { display: none; } … … 35 35 .content ul.thumbnailCategories li { width:100%; } 36 36 .content ul.thumbnailCategories li.Juza-cat { margin:0 0 20px; height:295px; min-height:295px; } 37 37 input[type="submit"].conf { border:0;margin-top: 7; margin-bottom: 0;background-color: transparent !important; font-weight:normal; } 38 38 a.home { position: absolute; left: 20px; top: 20px; font-size:9px; } 39 39 .content ul.thumbnails span.wrap1 { background-color: #000 !important; width: 140px; height: 140px; min-width: 140px; min-height: 140px; max-width: 140px; max-height: 140px; margin:0 2px 2px 0; border: 1px solid #444; } … … 58 58 #Juza_config input[type="submit"] { margin:10px auto 15px; } 59 59 #Juza_config .range { text-align: left; float: left; margin-left: 10px; font-style:italic; } 60 legend .legend { padding: 0 10px; } 60 61 #copyright { margin-top: 885px; } 61 62 #copyright * { color: #383838; } -
extensions/Juza/themeconf.inc.php
r4482 r4494 21 21 global $user, $conf; 22 22 $user["expand"] = true; /* Forced to assign subcategory links inside each category on index page */ 23 if (!isset($conf['Juza_active'])) $conf['Juza_active'] = true; /* Missing = active */24 23 25 24 /* No handlers at all or Open ? */ 26 if ($conf['enable_plugins'] and $conf['Juza_active']) {25 if ($conf['enable_plugins']) { 27 26 include_once(JUZA_PATH.'include/functions.inc.php'); 28 27 add_event_handler('loc_after_page_header', 'Juza_hook', 20); 29 if (isset($_GET['Juza_config'])) {30 add_event_handler('loc_after_page_header', 'Juza_admin', 10);31 }32 28 } 33 29 ?>
Note: See TracChangeset
for help on using the changeset viewer.