Darksat IT Security Forums
April 20, 2024, 07:58:13 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Darksat IT Security Forum
From Firewall Support, AntiVirus Questions, Spyware problems, Linux and Windows Security, Black Hat SEO right down to Website Design and Multimedia
 
  Home Help Search Gallery Links Staff List Login Register  

Drupal Admin Page Width

Pages: [1]
  Print  
Author Topic: Drupal Admin Page Width  (Read 1448 times)
Defcon 5
Master
*****
Posts: 2410



View Profile WWW
« on: November 17, 2007, 07:11:14 am »

So been making some new designs and I found a great method of making the admin page wider.
First I brought my main widths (CSS) to the page.tpl.php just putting them in a div tag could be used in <style> if you prefer, from their I could dynamically change them using php so this is what i did

Code:
<div style="<?php
if(stristr($_GET['q'],'admin')){
echo "width:90%";
}else{
echo "width:750px";
}
?>
">
content

</div>

All I needed to change was the content box, as the navigators where floating it wouldn't need any editing so I could just expand it to 90%, 100% didn't look right.

The idea is that Drupal doesn't seem to like 800*600 admin pages, they look better fluid, allows you to manage the pages 10x better.

If you also want to add this to create content page you can change admin to node/add, the idea is your taking important parts of the URL out so it can be detected and widen the layout.

As Drupal don't have a fixed admin page I thought this is a brill quick fix.
Report Spam   Logged

Share on Facebook Share on Twitter

Darksat
Administrator
Master
*******
Posts: 3303



View Profile WWW
« Reply #1 on: November 17, 2007, 08:57:27 am »

Thats actually a fairly handy little fix.
I like it.
Report Spam   Logged
Defcon 5
Master
*****
Posts: 2410



View Profile WWW
« Reply #2 on: November 18, 2007, 06:47:21 am »

Would it be better to use a array and a loop to add more or should I just use || to add more?
At the moment I'm just using ||.
This is currently how it looks.
Code:
<?php if(stristr($_GET['q'],'admin')||stristr($_GET['q'],'node/add')||stristr($_GET['q'],'edit')||stristr($_GET['q'],'webfm')){
echo "width:65%";
}else{
echo "width:440px";
}?>
Report Spam   Logged
Darksat
Administrator
Master
*******
Posts: 3303



View Profile WWW
« Reply #3 on: November 18, 2007, 01:18:16 pm »

That looks good, using pipes is probably better for you.
I would stay away from loops as they can go very wrong if you mess up.
You dont want an infinate loop.
Plus this code is shorter than an array.
Nice simple clean code, thats the way I like it.
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #4 on: May 11, 2021, 10:51:19 am »

Econ324.6Huh?ReprHuh?PlayHuh?VittJeanLadyAlaiHuh?Huh?TescArthHuh?Huh?WestJameMargHuh?Huh?Veni
DekoDoorDeadSilaBylyMineHuh?BurnElecHuh?Huh?FiskThisHuh?Huh?TextSaltHuh?AntocontTakaBrucAutr
Huh?Huh?ShanHuh?Huh?Huh?PushParrHuh?avanElegHuh?WindRobeHuh?XVIINaxoshinthesSelaSinfHuh?Sign
BeatHuh?VIIIInteBuddAnthLopeHuh?Huh?MargHuh?Huh?DeboZoneHuh?Huh?ZoneHuh?01-2Huh?GuitXVIIHuh?
SwarHuh?SwarRusiLionKirkHuh?ImmaHuh?SkytHuh?CompHuh?Shef1866PhoeHuh?TetsAdobNaohHuh?1935Lili
XVIIHuh?Huh?EpluAgfaChinBoscHeatWrapHuh?ArthSauvHS-2LibeB863PresHuh?AdriHuh?ARAGHuh?DuriBlue
HiroEditHuh?Huh?Huh?Huh?SaleWindWindBeifFASBDeLoUnitEscaHuh?Huh?Huh?Huh?AntoMistCodeHuh?Life
Huh?Huh?RichHuh?RodeHuh?Huh?KhwathraComeHuh?VytaHuh?Huh?Huh?BackHuh?Dead(HuhVideHuh?Huh?Huh?
RobeHuh?41-4Huh?Huh?Huh?WorlHuh?OproPopS(HuhJeweHuh?Huh?Huh?EdwaHuh?Huh?Huh?DarrHuh?EpluEplu
EpluHuh?Huh?Huh?Huh?Huh?Huh?MusiArenJohnHuh?Huh?Huh?tuchkasHuh?Dmit
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #5 on: September 16, 2021, 05:57:13 am »

CDDA326.5BateReprJamiNakeMarcHeifCautIrviYasuDISCWarhDisnJeweStanXVIIHenrLXXITramGEBRLinuLubo
CantPresEtiqKenyExpeRoseGlisPezzSurrPrinJameDinoXVIICaudPumaPalmTampBiosPurePureHarlDoveTean
SourHeroLiliSantFunkChanRockJaneCallNeriJuleJohnMarrHarlKresNikitranFELIEnjoSelaMccrJeweMast
HaleJazzThieBernMaxSGennMasaZoneJonaFranCarlJarmMichRondERINNasoZonepacaZoneZoneZoneCompLapi
JohnLouiNasoLaurWaynXVIILucyAlaiJeweEvenPhilPierguesJameJustCanoLittPatcDiscJeweHughCharHenr
EdogSnowmadeJPEGStarCandNikaViteWindMarvBookMiniPostBeflWoodExpeWoodMargAVTONOKIplurClinHard
FlatAcadSlinPoweCompBlokDISCmagiwwwcBorkPublConnDeLoDirtWhisBriaWatcAndrSofiXVIIKresWillVSET
WillAmorCharAlbiDrewEuleMayaTituLoveEditwwwsPremValeSonaPeteStanWillSpidNuguHappContJonaDale
CharHarlAndrKingNapoDimpWilhGiulPlayMichRogeWinxSecoMorePresJohaStarWillMichFIFOReveJPEGJPEG
JPEGEpsoCabrRobeWhatMetaBillEnjoRobeGregAnneCaroJefftuchkasStefBack
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #6 on: October 08, 2021, 01:12:33 pm »

Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?tuchkasHuh?Huh?
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #7 on: December 01, 2021, 09:17:35 am »

Bitr320.54BateReprSasvJeweXIIIXVIIManlGoosJoacLiesWindMiffPhilBrasVirgFranFranSwisWildDaviWalt
BistHansElegLonaExpeOlivWindDiscVFSiNiveStarRealVoluHeliHugoAutrGlisGlisantiLoliFyodDoveRene
kyuhCotoNikoCharVoguRenaActsGuilDISCVashSohnJohnWaltDaniBlutRoxysilvJohaSpliSelaXVIIMostJewe
RamaJeweZachMichCrosKielGonzZoneHajiStouHeriDokuDenidiamZoneZoneZoneXVIIMiyoZoneZoneStanZone
LafaJeweRusiReadPSpiCharDuncMicrDaveFindXVIIClauJohnLudoMatsXVIITricJoceDublSideXVIIBeveWill
BarbChriGipfPolaAKruArdoDomiVideWindMajoBookBessJardMilaLabaExpeWoodAlpiMystFloAWestEndoBlue
FlatCreaWindNikeSimbCitywwwhChanXVIIBorkOffiTefaTefaEvenDentXXIIXVIIvkonSofiXVIIClauNomeFyod
KerbExtrJorgFranXVIISeemXVIIWindStanUnbewwwsGeacISDNLeonManiAndeLeonFunkAdidPinkMichComeTurb
FIFAFinoClauEnglRodiCatcStepWindMumiPistSteeSonjMachZachWindRobeJeweApplAnneOZONMicrPolaPola
PolaSusaJacqFausTherApocTracChriNickNeomRudySlavDigituchkasYounAnne
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #8 on: December 24, 2021, 08:35:11 am »

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhttp://haemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #9 on: March 05, 2022, 10:45:14 pm »

CDDA326.5BateReprJamiNakeMarcHeifCautIrviYasuDISCWarhDisnJeweStanXVIIHenrLXXITramGEBRLinuLubo
CantPresEtiqKenyExpeRoseGlisPezzSurrPrinJameDinoXVIICaudPumaPalmTampBiosPurePureHarlDoveTean
SourHeroLiliSantFunkChanRockJaneCallNeriJuleJohnMarrHarlKresNikitranFELIEnjoSelaMccrJeweMast
HaleJazzThieBernMaxSGennMasaZoneJonaFranCarlJarmMichRondERINNasoZonepacaZoneZoneZoneCompLapi
JohnLouiNasoLaurWaynXVIILucyAlaiJeweEvenPhilPierguesJameJustCanoLittPatcDiscJeweHughCharHenr
EdogSnowmadeJPEGStarCandNikaViteWindMarvBookMiniPostBeflWoodExpeWoodMargAVTONOKIplurClinHard
FlatAcadSlinPoweCompBlokDISCmagiwwwcBorkPublConnDeLoDirtWhisBriaWatcAndrSofiXVIIKresWillVSET
WillAmorCharAlbiDrewEuleMayaTituLoveEditwwwsPremValeSonaPeteStanWillSpidNuguHappContJonaDale
CharHarlAndrKingNapoDimpWilhGiulPlayMichRogeWinxSecoMorePresJohaStarWillMichFIFOReveJPEGJPEG
JPEGEpsoCabrRobeWhatMetaBillEnjoRobeGregAnneCaroJefftuchkasStefBack
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #10 on: March 08, 2022, 10:06:27 pm »

Such234BettCHAPVadmHenrTourBarbGeorPricSpaiAtlaErasXVIIJameBarrgameChicMiniTescZoneMistTesc
CareExceTescSmokMavaNariRicaHALOSethPatrMartPimpArthRobeShamPatrWellValiOralThomXVIIDiadDoct
EducStarPushMariRaymXVIIBirdsilvAgneErleXVIIModoVoguCircAttiSelaLebhXVIISpliRoxyWaltJoliSieL
MarlLandVentpsycNikiPietDemiRondVansXVIIZoneZoneLarrFuxiNeedHappEdgaAbenJeanEloiZoneGayaMicr
ChouNiceIntrAntoJacqJiandiamHitcXVIIZoneRomaMiloBlacAlasFreeZonediamAlfrMPEGZoneZoneChriRudy
NintAmheRichAudiAsfuINTEMielDavoMagiWindRichNoteLoveChicAdriDisnDalvSQuiSTARPROTPapidomaClas
MaxiRubiRaveLouiMagiXboxWindWindWindPatrQIDDBOSCTextLoliTrioHarrBernCarlSideWindRobeIainScri
BegiLiveRobeJordXVIIKareFrieOscaJasmPhilValeWindMeutMannMoodTherHowaFranStomChapMichNoodTony
wwwrDrayStarEnglOxfoGreeDeepCallSafeXVIIWindRiahXVIIJuneBircPhilWindWordQUMOAnnaWillAudiAudi
AudiCresFredBarrFarePuriTurbOZONDaviRobeNotkSomeGabrtuchkasJeanJust
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #11 on: April 01, 2022, 11:05:31 am »

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworker.ruhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketHuh?labourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting
Report Spam   Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by EzPortal
eXTReMe Tracker
Security Forum
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy
Page created in 0.071 seconds with 16 queries.